fix: 人情账单,网贷账单,自测问题修复。
This commit is contained in:
@@ -34,6 +34,10 @@
|
|||||||
inputAlign="right" border="none"></u--input>
|
inputAlign="right" border="none"></u--input>
|
||||||
<u-icon slot="right" name="arrow-down"></u-icon>
|
<u-icon slot="right" name="arrow-down"></u-icon>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
<u-form-item label="编号" required prop="code" >
|
||||||
|
<u--input v-model="form.code" placeholder="请填写编号"
|
||||||
|
inputAlign="right" border="none"></u--input>
|
||||||
|
</u-form-item>
|
||||||
<u-form-item label="刷卡费率" required prop="rate" >
|
<u-form-item label="刷卡费率" required prop="rate" >
|
||||||
<u--input v-model="form.rate" placeholder="请填写刷卡费率"
|
<u--input v-model="form.rate" placeholder="请填写刷卡费率"
|
||||||
inputAlign="right" border="none"></u--input>
|
inputAlign="right" border="none"></u--input>
|
||||||
@@ -51,10 +55,7 @@
|
|||||||
inputAlign="right" border="none"></u--input>
|
inputAlign="right" border="none"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<u-form-item label="编号" prop="code" >
|
|
||||||
<u--input v-model="form.code" placeholder="请填写编号"
|
|
||||||
inputAlign="right" border="none"></u--input>
|
|
||||||
</u-form-item>
|
|
||||||
<u-form-item label="启用日期" prop="activationDate" @click="selectDate()">
|
<u-form-item label="启用日期" prop="activationDate" @click="selectDate()">
|
||||||
<u--input v-model="form.activationDate" disabled disabledColor="#ffffff" placeholder="请选择启用日期" inputAlign="right" border="none"></u--input>
|
<u--input v-model="form.activationDate" disabled disabledColor="#ffffff" placeholder="请选择启用日期" inputAlign="right" border="none"></u--input>
|
||||||
<u-icon slot="right" name="arrow-right"></u-icon>
|
<u-icon slot="right" name="arrow-right"></u-icon>
|
||||||
@@ -154,6 +155,7 @@ const data = reactive({
|
|||||||
typeName: [{ type: 'string', required: true, message: '类型不能为空', trigger: ['change', 'blur'] }],
|
typeName: [{ type: 'string', required: true, message: '类型不能为空', trigger: ['change', 'blur'] }],
|
||||||
merchantName: [{ type: 'string', required: true, message: '商户名称不能为空', trigger: ['change', 'blur'] }],
|
merchantName: [{ type: 'string', required: true, message: '商户名称不能为空', trigger: ['change', 'blur'] }],
|
||||||
statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }],
|
statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }],
|
||||||
|
code: [{ type: 'string', required: true, message: '编号不能为空', trigger: ['change', 'blur'] }],
|
||||||
rate: [{ type: 'number', required: true, message: '刷卡费率不能为空', trigger: ['change', 'blur'] }],
|
rate: [{ type: 'number', required: true, message: '刷卡费率不能为空', trigger: ['change', 'blur'] }],
|
||||||
ratePlus: [{ type: 'number', required: true, message: '费率+不能为空', trigger: ['change', 'blur'] }],
|
ratePlus: [{ type: 'number', required: true, message: '费率+不能为空', trigger: ['change', 'blur'] }],
|
||||||
debitCard: [{ type: 'string', required: true, message: '结算卡不能为空', trigger: ['change', 'blur'] }],
|
debitCard: [{ type: 'string', required: true, message: '结算卡不能为空', trigger: ['change', 'blur'] }],
|
||||||
|
|||||||
@@ -135,6 +135,7 @@ const data = reactive({
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
type: '3',
|
type: '3',
|
||||||
status: '1',
|
status: '1',
|
||||||
|
lendType: '1',
|
||||||
pageSize: 1000
|
pageSize: 1000
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ import {
|
|||||||
delInstallmentHistory
|
delInstallmentHistory
|
||||||
} from '@/api/invest/installmentHistory'
|
} from '@/api/invest/installmentHistory'
|
||||||
import { getDicts } from '@/api/system/dict/data.js'
|
import { getDicts } from '@/api/system/dict/data.js'
|
||||||
import { listAccounts } from '@/api/invest/accounts'
|
import { listBankcardLend } from '@/api/invest/bankcardlend'
|
||||||
import {onLoad,onShow} from "@dcloudio/uni-app";
|
import {onLoad,onShow} from "@dcloudio/uni-app";
|
||||||
// 计算属性与监听属性是在vue中而非uniap中 需要注意!!!
|
// 计算属性与监听属性是在vue中而非uniap中 需要注意!!!
|
||||||
import {reactive ,toRefs,ref,computed }from "vue";
|
import {reactive ,toRefs,ref,computed }from "vue";
|
||||||
@@ -128,6 +128,7 @@ const data = reactive({
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
type: '3',
|
type: '3',
|
||||||
status: '1',
|
status: '1',
|
||||||
|
lendType: '1',
|
||||||
pageSize: 100
|
pageSize: 100
|
||||||
},
|
},
|
||||||
queryParams: {
|
queryParams: {
|
||||||
@@ -174,7 +175,7 @@ function getList() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
function getDict() {
|
function getDict() {
|
||||||
listAccounts(queryBankCardLendParams.value).then((response) => {
|
listBankcardLend(queryBankCardLendParams.value).then((response) => {
|
||||||
bankCardLendList.value = [response.rows]
|
bankCardLendList.value = [response.rows]
|
||||||
})
|
})
|
||||||
// 账单状态
|
// 账单状态
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ const data = reactive({
|
|||||||
installmentDate: null,
|
installmentDate: null,
|
||||||
period: null,
|
period: null,
|
||||||
repaidPeriod: null,
|
repaidPeriod: null,
|
||||||
totalInterest: null,
|
totalInterest: 0,
|
||||||
interestRate: null,
|
interestRate: null,
|
||||||
dueDate: null,
|
dueDate: null,
|
||||||
closeDate: null,
|
closeDate: null,
|
||||||
|
|||||||
@@ -101,8 +101,7 @@ const data = reactive({
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
name: null,
|
name: null,
|
||||||
type: '4',
|
type: '4',
|
||||||
bankCardLendId: null,
|
bankCardLendId: null
|
||||||
state: '0'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const { filterPanel, queryBankCardLendParams, queryParams} = toRefs(data)
|
const { filterPanel, queryBankCardLendParams, queryParams} = toRefs(data)
|
||||||
|
|||||||
Reference in New Issue
Block a user