fix: 人情账单,网贷账单,自测问题修复。

This commit is contained in:
tianyongbao
2024-07-19 17:34:35 +08:00
parent 7bc9c4acd5
commit 32bebc9434
5 changed files with 14 additions and 11 deletions

View File

@@ -34,6 +34,10 @@
inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-down"></u-icon>
</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--input v-model="form.rate" placeholder="请填写刷卡费率"
inputAlign="right" border="none"></u--input>
@@ -51,10 +55,7 @@
inputAlign="right" border="none"></u--input>
</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--input v-model="form.activationDate" disabled disabledColor="#ffffff" placeholder="请选择启用日期" inputAlign="right" border="none"></u--input>
<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'] }],
merchantName: [{ 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'] }],
ratePlus: [{ type: 'number', required: true, message: '费率+不能为空', trigger: ['change', 'blur'] }],
debitCard: [{ type: 'string', required: true, message: '结算卡不能为空', trigger: ['change', 'blur'] }],

View File

@@ -134,7 +134,8 @@ const data = reactive({
queryBankCardLendParams: {
pageNum: 1,
type: '3',
status: '1',
status: '1',
lendType: '1',
pageSize: 1000
},
rules: {

View File

@@ -109,7 +109,7 @@ import {
delInstallmentHistory
} from '@/api/invest/installmentHistory'
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";
// 计算属性与监听属性是在vue中而非uniap中 需要注意!!!
import {reactive ,toRefs,ref,computed }from "vue";
@@ -127,7 +127,8 @@ const data = reactive({
queryBankCardLendParams: {
pageNum: 1,
type: '3',
status: '1',
status: '1',
lendType: '1',
pageSize: 100
},
queryParams: {
@@ -174,7 +175,7 @@ function getList() {
})
}
function getDict() {
listAccounts(queryBankCardLendParams.value).then((response) => {
listBankcardLend(queryBankCardLendParams.value).then((response) => {
bankCardLendList.value = [response.rows]
})
// 账单状态

View File

@@ -98,7 +98,7 @@ const data = reactive({
installmentDate: null,
period: null,
repaidPeriod: null,
totalInterest: null,
totalInterest: 0,
interestRate: null,
dueDate: null,
closeDate: null,

View File

@@ -101,8 +101,7 @@ const data = reactive({
queryParams: {
name: null,
type: '4',
bankCardLendId: null,
state: '0'
bankCardLendId: null
}
})
const { filterPanel, queryBankCardLendParams, queryParams} = toRefs(data)