From 7bc9c4acd559f7c6ea786d7086d0807a0f612345 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Fri, 19 Jul 2024 14:36:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20H5=E5=8A=9F=E8=83=BD=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=A4=A7=E6=95=B4=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 2 +- .../accounts/accountDealAnalysis/index.vue | 1 + .../statistic/accounts/accountsBalance/index.vue | 1 + .../accounts/creditCardDealAnalysis/index.vue | 1 + .../accounts/dailyExpensesAnalysis/index.vue | 1 + .../accounts/debitDealAnalysis/index.vue | 1 + .../accounts/investDealAnalysis/index.vue | 1 + .../statistic/accounts/posAnalysis/index.vue | 1 + .../statistic/bill/creditBillAnalysis/index.vue | 1 + .../bill/creditInstallmentAnalysis/index.vue | 1 + .../creditInstallmentSettledAnalysis/index.vue | 1 + .../bill/creditRecordAnalysis/index.vue | 1 + .../statistic/bill/futuresAnalysis/index.vue | 1 + .../statistic/bill/investAnalysis/index.vue | 1 + .../statistic/bill/onlineLendAnalysis/index.vue | 1 + .../bill/onlineLendSettledAnalysis/index.vue | 1 + .../statistic/bill/stocksAnalysis/index.vue | 1 + .../work/accounts/accountDealRecord/addEdit.vue | 1 + .../work/accounts/accountDealRecord/list.vue | 1 + src/pages/work/accounts/accounts/commonList.vue | 1 + src/pages/work/accounts/accounts/list.vue | 1 + .../work/accounts/creditTransferRecord/list.vue | 1 + .../work/accounts/debitTransferRecord/list.vue | 1 + .../work/accounts/investAccountDeal/list.vue | 1 + .../work/accounts/investTransferRecord/list.vue | 1 + .../work/accounts/lendTransferRecord/list.vue | 1 + .../work/accounts/posTransferRecord/list.vue | 1 + src/pages/work/base/creditCard/addEdit.vue | 16 +++++++++------- src/pages/work/base/creditCard/list.vue | 2 ++ src/pages/work/base/debitCard/list.vue | 1 + src/pages/work/base/futures/addEdit.vue | 7 +++++++ src/pages/work/base/futures/list.vue | 1 + src/pages/work/base/lend/addEdit.vue | 4 ++-- src/pages/work/base/lend/list.vue | 1 + src/pages/work/base/posmachine/list.vue | 1 + src/pages/work/base/stocks/addEdit.vue | 7 +++++++ src/pages/work/base/stocks/list.vue | 1 + src/pages/work/bill/creditCardBill/addEdit.vue | 4 ++-- src/pages/work/bill/creditCardBill/details.vue | 1 + src/pages/work/bill/creditCardBill/list.vue | 1 + .../bill/creditInstallmentHistory/addEdit.vue | 4 ++-- .../bill/creditInstallmentHistory/details.vue | 1 + .../work/bill/creditInstallmentHistory/list.vue | 1 + .../work/bill/creditQueryRecord/addEdit.vue | 2 +- src/pages/work/bill/creditQueryRecord/list.vue | 1 + src/pages/work/bill/futuresBill/addEdit.vue | 2 +- src/pages/work/bill/futuresBill/details.vue | 1 + src/pages/work/bill/futuresBill/list.vue | 1 + .../work/bill/onlineLendHistory/details.vue | 1 + src/pages/work/bill/onlineLendHistory/list.vue | 1 + .../work/bill/peopleLendHistory/addEdit.vue | 4 ++-- src/pages/work/bill/peopleLendHistory/list.vue | 1 + src/pages/work/bill/stocksBill/addEdit.vue | 2 +- src/pages/work/bill/stocksBill/details.vue | 1 + src/pages/work/bill/stocksBill/list.vue | 1 + src/pages/work/heartJourney/list.vue | 1 + 56 files changed, 81 insertions(+), 19 deletions(-) diff --git a/src/config.js b/src/config.js index f62dfb6..4ad3bb5 100644 --- a/src/config.js +++ b/src/config.js @@ -1,7 +1,7 @@ // 应用全局配置 const config = { // baseUrl: 'https://vue.ruoyi.vip/prod-api', - baseUrl: 'http://152.136.151.187:82/prod-api', + baseUrl: 'http://152.136.151.187:86/prod-api', // baseUrl: 'http://localhost:8080', //cloud后台网关地址 // baseUrl: 'http://192.168.10.3:8080', diff --git a/src/pages/statistic/accounts/accountDealAnalysis/index.vue b/src/pages/statistic/accounts/accountDealAnalysis/index.vue index 278a64a..76b12c9 100644 --- a/src/pages/statistic/accounts/accountDealAnalysis/index.vue +++ b/src/pages/statistic/accounts/accountDealAnalysis/index.vue @@ -211,6 +211,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/accounts/accountsBalance/index.vue b/src/pages/statistic/accounts/accountsBalance/index.vue index 367dbcd..41f5a76 100644 --- a/src/pages/statistic/accounts/accountsBalance/index.vue +++ b/src/pages/statistic/accounts/accountsBalance/index.vue @@ -114,6 +114,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/accounts/creditCardDealAnalysis/index.vue b/src/pages/statistic/accounts/creditCardDealAnalysis/index.vue index f55dcaa..4ea348a 100644 --- a/src/pages/statistic/accounts/creditCardDealAnalysis/index.vue +++ b/src/pages/statistic/accounts/creditCardDealAnalysis/index.vue @@ -230,6 +230,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/accounts/dailyExpensesAnalysis/index.vue b/src/pages/statistic/accounts/dailyExpensesAnalysis/index.vue index 52cf1d3..adadbd5 100644 --- a/src/pages/statistic/accounts/dailyExpensesAnalysis/index.vue +++ b/src/pages/statistic/accounts/dailyExpensesAnalysis/index.vue @@ -192,6 +192,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/accounts/debitDealAnalysis/index.vue b/src/pages/statistic/accounts/debitDealAnalysis/index.vue index 976be47..949fbe9 100644 --- a/src/pages/statistic/accounts/debitDealAnalysis/index.vue +++ b/src/pages/statistic/accounts/debitDealAnalysis/index.vue @@ -225,6 +225,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/accounts/investDealAnalysis/index.vue b/src/pages/statistic/accounts/investDealAnalysis/index.vue index 0844980..a327fa1 100644 --- a/src/pages/statistic/accounts/investDealAnalysis/index.vue +++ b/src/pages/statistic/accounts/investDealAnalysis/index.vue @@ -189,6 +189,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/accounts/posAnalysis/index.vue b/src/pages/statistic/accounts/posAnalysis/index.vue index d3e9d78..8330611 100644 --- a/src/pages/statistic/accounts/posAnalysis/index.vue +++ b/src/pages/statistic/accounts/posAnalysis/index.vue @@ -176,6 +176,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/creditBillAnalysis/index.vue b/src/pages/statistic/bill/creditBillAnalysis/index.vue index fa6989d..9c097a5 100644 --- a/src/pages/statistic/bill/creditBillAnalysis/index.vue +++ b/src/pages/statistic/bill/creditBillAnalysis/index.vue @@ -200,6 +200,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/creditInstallmentAnalysis/index.vue b/src/pages/statistic/bill/creditInstallmentAnalysis/index.vue index 72e8421..696c227 100644 --- a/src/pages/statistic/bill/creditInstallmentAnalysis/index.vue +++ b/src/pages/statistic/bill/creditInstallmentAnalysis/index.vue @@ -188,6 +188,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/creditInstallmentSettledAnalysis/index.vue b/src/pages/statistic/bill/creditInstallmentSettledAnalysis/index.vue index 94d2bd6..6d1c381 100644 --- a/src/pages/statistic/bill/creditInstallmentSettledAnalysis/index.vue +++ b/src/pages/statistic/bill/creditInstallmentSettledAnalysis/index.vue @@ -176,6 +176,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/creditRecordAnalysis/index.vue b/src/pages/statistic/bill/creditRecordAnalysis/index.vue index 7c3b5b9..8651e34 100644 --- a/src/pages/statistic/bill/creditRecordAnalysis/index.vue +++ b/src/pages/statistic/bill/creditRecordAnalysis/index.vue @@ -211,6 +211,7 @@ onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/futuresAnalysis/index.vue b/src/pages/statistic/bill/futuresAnalysis/index.vue index d3353b0..f9fdeba 100644 --- a/src/pages/statistic/bill/futuresAnalysis/index.vue +++ b/src/pages/statistic/bill/futuresAnalysis/index.vue @@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/investAnalysis/index.vue b/src/pages/statistic/bill/investAnalysis/index.vue index ef414b1..4655158 100644 --- a/src/pages/statistic/bill/investAnalysis/index.vue +++ b/src/pages/statistic/bill/investAnalysis/index.vue @@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/onlineLendAnalysis/index.vue b/src/pages/statistic/bill/onlineLendAnalysis/index.vue index 24ad906..f30a866 100644 --- a/src/pages/statistic/bill/onlineLendAnalysis/index.vue +++ b/src/pages/statistic/bill/onlineLendAnalysis/index.vue @@ -189,6 +189,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/onlineLendSettledAnalysis/index.vue b/src/pages/statistic/bill/onlineLendSettledAnalysis/index.vue index 46fc331..405377c 100644 --- a/src/pages/statistic/bill/onlineLendSettledAnalysis/index.vue +++ b/src/pages/statistic/bill/onlineLendSettledAnalysis/index.vue @@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/statistic/bill/stocksAnalysis/index.vue b/src/pages/statistic/bill/stocksAnalysis/index.vue index 84223b4..cca5ae4 100644 --- a/src/pages/statistic/bill/stocksAnalysis/index.vue +++ b/src/pages/statistic/bill/stocksAnalysis/index.vue @@ -177,6 +177,7 @@ import { listBankcardLend } from '@/api/invest/bankcardlend' onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/accountDealRecord/addEdit.vue b/src/pages/work/accounts/accountDealRecord/addEdit.vue index 6883831..c8f839a 100644 --- a/src/pages/work/accounts/accountDealRecord/addEdit.vue +++ b/src/pages/work/accounts/accountDealRecord/addEdit.vue @@ -292,6 +292,7 @@ getDicts('daily_expenses').then(result => { } else { childCategoryShow.value = false form.value.childCategory = form.value.dealCategory + form.value.childCategoryName = form.value.dealCategory } showDealCategory.value = false } diff --git a/src/pages/work/accounts/accountDealRecord/list.vue b/src/pages/work/accounts/accountDealRecord/list.vue index 3107048..be8d4a6 100644 --- a/src/pages/work/accounts/accountDealRecord/list.vue +++ b/src/pages/work/accounts/accountDealRecord/list.vue @@ -190,6 +190,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/accounts/commonList.vue b/src/pages/work/accounts/accounts/commonList.vue index 71c80d1..c1dd575 100644 --- a/src/pages/work/accounts/accounts/commonList.vue +++ b/src/pages/work/accounts/accounts/commonList.vue @@ -96,6 +96,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/accounts/list.vue b/src/pages/work/accounts/accounts/list.vue index 83ecece..199fab1 100644 --- a/src/pages/work/accounts/accounts/list.vue +++ b/src/pages/work/accounts/accounts/list.vue @@ -139,6 +139,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/creditTransferRecord/list.vue b/src/pages/work/accounts/creditTransferRecord/list.vue index db219d2..593712a 100644 --- a/src/pages/work/accounts/creditTransferRecord/list.vue +++ b/src/pages/work/accounts/creditTransferRecord/list.vue @@ -169,6 +169,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/debitTransferRecord/list.vue b/src/pages/work/accounts/debitTransferRecord/list.vue index 0a15799..f7f4b85 100644 --- a/src/pages/work/accounts/debitTransferRecord/list.vue +++ b/src/pages/work/accounts/debitTransferRecord/list.vue @@ -158,6 +158,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/investAccountDeal/list.vue b/src/pages/work/accounts/investAccountDeal/list.vue index 547c60c..f1ed068 100644 --- a/src/pages/work/accounts/investAccountDeal/list.vue +++ b/src/pages/work/accounts/investAccountDeal/list.vue @@ -159,6 +159,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/investTransferRecord/list.vue b/src/pages/work/accounts/investTransferRecord/list.vue index 3ec865b..ed7b861 100644 --- a/src/pages/work/accounts/investTransferRecord/list.vue +++ b/src/pages/work/accounts/investTransferRecord/list.vue @@ -158,6 +158,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/lendTransferRecord/list.vue b/src/pages/work/accounts/lendTransferRecord/list.vue index 59ecadb..018dee6 100644 --- a/src/pages/work/accounts/lendTransferRecord/list.vue +++ b/src/pages/work/accounts/lendTransferRecord/list.vue @@ -156,6 +156,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/accounts/posTransferRecord/list.vue b/src/pages/work/accounts/posTransferRecord/list.vue index 5419fff..a615e3a 100644 --- a/src/pages/work/accounts/posTransferRecord/list.vue +++ b/src/pages/work/accounts/posTransferRecord/list.vue @@ -171,6 +171,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/base/creditCard/addEdit.vue b/src/pages/work/base/creditCard/addEdit.vue index d1f0749..d66de08 100644 --- a/src/pages/work/base/creditCard/addEdit.vue +++ b/src/pages/work/base/creditCard/addEdit.vue @@ -44,6 +44,11 @@ + + + + @@ -65,11 +70,7 @@ - - - - + @@ -162,6 +163,7 @@ const data = reactive({ statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }], creditLimit: [{ type: 'number', required: true, message: '信用卡额度不能为空', trigger: ['change', 'blur'] }], balance: [{ type: 'number', required: true, message: '余额不能为空', trigger: ['change', 'blur'] }], + isNextBillDateName: [{ type: 'string', required: true, message: '账单日消费不能为空', trigger: ['change', 'blur'] }], availableLimit: [{ type: 'number', required: true, message: '可用额度不能为空', trigger: ['change', 'blur'] }], } }) @@ -296,7 +298,7 @@ onLoad((option) => { updateBankcardLend(form.value).then(res => { proxy.$refs['uToast'].show({ message: '修改成功', complete() { - uni.navigateTo({ url: `/pages/work/base/creditCard/list` }) + uni.navigateTo({ url: `/pages/work/base/creditCard/list?flag='addEdit'` }) } }) }) @@ -304,7 +306,7 @@ onLoad((option) => { addBankcardLend(form.value).then(res => { proxy.$refs['uToast'].show({ message: '新增成功', complete() { - uni.navigateTo({ url: `/pages/work/base/creditCard/list` }) + uni.navigateTo({ url: `/pages/work/base/creditCard/list?flag='addEdit'` }) } }) }) diff --git a/src/pages/work/base/creditCard/list.vue b/src/pages/work/base/creditCard/list.vue index bcfffb4..ee8b1ad 100644 --- a/src/pages/work/base/creditCard/list.vue +++ b/src/pages/work/base/creditCard/list.vue @@ -84,6 +84,7 @@ const isZeroBillList = ref([]) const statusList = ref([]) const settingPickShow = ref(false) const settingColumns = ref([]) +const flag = ref('list') const data = reactive({ filterPanel: false, queryParams: { @@ -102,6 +103,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/base/debitCard/list.vue b/src/pages/work/base/debitCard/list.vue index d840f98..521d01f 100644 --- a/src/pages/work/base/debitCard/list.vue +++ b/src/pages/work/base/debitCard/list.vue @@ -106,6 +106,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/base/futures/addEdit.vue b/src/pages/work/base/futures/addEdit.vue index e7ceded..3081296 100644 --- a/src/pages/work/base/futures/addEdit.vue +++ b/src/pages/work/base/futures/addEdit.vue @@ -20,6 +20,10 @@ + + + @@ -113,6 +117,8 @@ const data = reactive({ fundPassword: null, commission: null, bond: null, + balance: null, + availableLimit: null, debitCard: null, activationDate: null, createBy: null, @@ -134,6 +140,7 @@ const data = reactive({ rules: { name: [{ type: 'string', required: true, message: '期货账户名称不能为空', trigger: ['change', 'blur'] }], code: [{ type: 'string', required: true, message: '账号不能为空', trigger: ['change', 'blur'] }], + balance: [{ type: 'number', required: true, message: '余额不能为空', trigger: ['change', 'blur'] }], statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }], } }) diff --git a/src/pages/work/base/futures/list.vue b/src/pages/work/base/futures/list.vue index 2fac2b7..b15e847 100644 --- a/src/pages/work/base/futures/list.vue +++ b/src/pages/work/base/futures/list.vue @@ -93,6 +93,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/base/lend/addEdit.vue b/src/pages/work/base/lend/addEdit.vue index 65ee012..45ddfd3 100644 --- a/src/pages/work/base/lend/addEdit.vue +++ b/src/pages/work/base/lend/addEdit.vue @@ -33,10 +33,10 @@ - + diff --git a/src/pages/work/base/lend/list.vue b/src/pages/work/base/lend/list.vue index dcfe562..67fe0ba 100644 --- a/src/pages/work/base/lend/list.vue +++ b/src/pages/work/base/lend/list.vue @@ -93,6 +93,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/base/posmachine/list.vue b/src/pages/work/base/posmachine/list.vue index e5bce9c..b47cc99 100644 --- a/src/pages/work/base/posmachine/list.vue +++ b/src/pages/work/base/posmachine/list.vue @@ -90,6 +90,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/base/stocks/addEdit.vue b/src/pages/work/base/stocks/addEdit.vue index b75d89f..9268fc7 100644 --- a/src/pages/work/base/stocks/addEdit.vue +++ b/src/pages/work/base/stocks/addEdit.vue @@ -20,6 +20,10 @@ + + + @@ -96,6 +100,8 @@ const data = reactive({ tradingCenterPassword: null, fundPassword: null, commission: null, + balance: null, + availableLimit: null, bond: null, debitCard: null, activationDate: null, @@ -118,6 +124,7 @@ const data = reactive({ rules: { name: [{ type: 'string', required: true, message: '股票账户名称不能为空', trigger: ['change', 'blur'] }], code: [{ type: 'string', required: true, message: '账号不能为空', trigger: ['change', 'blur'] }], + balance: [{ type: 'number', required: true, message: '余额不能为空', trigger: ['change', 'blur'] }], statusName: [{ type: 'string', required: true, message: '账户状态不能为空', trigger: ['change', 'blur'] }], } }) diff --git a/src/pages/work/base/stocks/list.vue b/src/pages/work/base/stocks/list.vue index ea8ef47..dfe8132 100644 --- a/src/pages/work/base/stocks/list.vue +++ b/src/pages/work/base/stocks/list.vue @@ -85,6 +85,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/creditCardBill/addEdit.vue b/src/pages/work/bill/creditCardBill/addEdit.vue index f3960ed..c94ff63 100644 --- a/src/pages/work/bill/creditCardBill/addEdit.vue +++ b/src/pages/work/bill/creditCardBill/addEdit.vue @@ -29,7 +29,7 @@ inputAlign="right" border="none"> - + @@ -183,7 +183,7 @@ onLoad((option) => { proxy.$refs['createTimeRef'].innerValue = new Date().getTime() } function datePickConfirm(e) { - form.value.createTime = dayjs(e.value).format("YYYY-MM-DD") + form.value.billDate = dayjs(e.value).format("YYYY-MM-DD") datePickShow.value = false } function submit() { diff --git a/src/pages/work/bill/creditCardBill/details.vue b/src/pages/work/bill/creditCardBill/details.vue index 1a448f9..872bc63 100644 --- a/src/pages/work/bill/creditCardBill/details.vue +++ b/src/pages/work/bill/creditCardBill/details.vue @@ -127,6 +127,7 @@ onLoad((option) => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/creditCardBill/list.vue b/src/pages/work/bill/creditCardBill/list.vue index faac256..f578460 100644 --- a/src/pages/work/bill/creditCardBill/list.vue +++ b/src/pages/work/bill/creditCardBill/list.vue @@ -112,6 +112,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/creditInstallmentHistory/addEdit.vue b/src/pages/work/bill/creditInstallmentHistory/addEdit.vue index 82bb09b..6cebe74 100644 --- a/src/pages/work/bill/creditInstallmentHistory/addEdit.vue +++ b/src/pages/work/bill/creditInstallmentHistory/addEdit.vue @@ -250,7 +250,7 @@ onLoad((option) => { updateInstallmentHistory(form.value).then(res => { proxy.$refs['uToast'].show({ message: '修改成功', complete() { - uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` }) + uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/list` }) } }) }) @@ -258,7 +258,7 @@ onLoad((option) => { addInstallmentHistory(form.value).then(res => { proxy.$refs['uToast'].show({ message: '新增成功', complete() { - uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` }) + uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/list` }) } }) }) diff --git a/src/pages/work/bill/creditInstallmentHistory/details.vue b/src/pages/work/bill/creditInstallmentHistory/details.vue index 42545a1..62cc991 100644 --- a/src/pages/work/bill/creditInstallmentHistory/details.vue +++ b/src/pages/work/bill/creditInstallmentHistory/details.vue @@ -95,6 +95,7 @@ onLoad((option) => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/creditInstallmentHistory/list.vue b/src/pages/work/bill/creditInstallmentHistory/list.vue index ecda530..64726c2 100644 --- a/src/pages/work/bill/creditInstallmentHistory/list.vue +++ b/src/pages/work/bill/creditInstallmentHistory/list.vue @@ -148,6 +148,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/creditQueryRecord/addEdit.vue b/src/pages/work/bill/creditQueryRecord/addEdit.vue index 632bf89..c94e200 100644 --- a/src/pages/work/bill/creditQueryRecord/addEdit.vue +++ b/src/pages/work/bill/creditQueryRecord/addEdit.vue @@ -24,7 +24,7 @@ - + diff --git a/src/pages/work/bill/creditQueryRecord/list.vue b/src/pages/work/bill/creditQueryRecord/list.vue index 27f9c55..6fca80c 100644 --- a/src/pages/work/bill/creditQueryRecord/list.vue +++ b/src/pages/work/bill/creditQueryRecord/list.vue @@ -108,6 +108,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/futuresBill/addEdit.vue b/src/pages/work/bill/futuresBill/addEdit.vue index 0fd0e5e..cb3005f 100644 --- a/src/pages/work/bill/futuresBill/addEdit.vue +++ b/src/pages/work/bill/futuresBill/addEdit.vue @@ -152,7 +152,7 @@ onLoad((option) => { proxy.$refs['createTimeRef'].innerValue = new Date().getTime() } function datePickConfirm(e) { - form.value.createTime = dayjs(e.value).format("YYYY-MM-DD") + form.value.billDate = dayjs(e.value).format("YYYY-MM-DD") datePickShow.value = false } function submit() { diff --git a/src/pages/work/bill/futuresBill/details.vue b/src/pages/work/bill/futuresBill/details.vue index fd32610..b104cce 100644 --- a/src/pages/work/bill/futuresBill/details.vue +++ b/src/pages/work/bill/futuresBill/details.vue @@ -127,6 +127,7 @@ onLoad((option) => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/futuresBill/list.vue b/src/pages/work/bill/futuresBill/list.vue index f76f974..62e4055 100644 --- a/src/pages/work/bill/futuresBill/list.vue +++ b/src/pages/work/bill/futuresBill/list.vue @@ -87,6 +87,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/onlineLendHistory/details.vue b/src/pages/work/bill/onlineLendHistory/details.vue index da9d8e9..22f7cc9 100644 --- a/src/pages/work/bill/onlineLendHistory/details.vue +++ b/src/pages/work/bill/onlineLendHistory/details.vue @@ -95,6 +95,7 @@ onLoad((option) => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/onlineLendHistory/list.vue b/src/pages/work/bill/onlineLendHistory/list.vue index e848be3..2b646b2 100644 --- a/src/pages/work/bill/onlineLendHistory/list.vue +++ b/src/pages/work/bill/onlineLendHistory/list.vue @@ -148,6 +148,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/peopleLendHistory/addEdit.vue b/src/pages/work/bill/peopleLendHistory/addEdit.vue index a10e446..67c0b1c 100644 --- a/src/pages/work/bill/peopleLendHistory/addEdit.vue +++ b/src/pages/work/bill/peopleLendHistory/addEdit.vue @@ -226,7 +226,7 @@ onLoad((option) => { updateInstallmentHistory(form.value).then(res => { proxy.$refs['uToast'].show({ message: '修改成功', complete() { - uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` }) + uni.navigateTo({ url: `/pages/work/bill/peopleLendHistory/list` }) } }) }) @@ -234,7 +234,7 @@ onLoad((option) => { addInstallmentHistory(form.value).then(res => { proxy.$refs['uToast'].show({ message: '新增成功', complete() { - uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` }) + uni.navigateTo({ url: `/pages/work/bill/peopleLendHistory/list` }) } }) }) diff --git a/src/pages/work/bill/peopleLendHistory/list.vue b/src/pages/work/bill/peopleLendHistory/list.vue index 1ad3e6b..c654a7b 100644 --- a/src/pages/work/bill/peopleLendHistory/list.vue +++ b/src/pages/work/bill/peopleLendHistory/list.vue @@ -116,6 +116,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/stocksBill/addEdit.vue b/src/pages/work/bill/stocksBill/addEdit.vue index 92349d4..28a7539 100644 --- a/src/pages/work/bill/stocksBill/addEdit.vue +++ b/src/pages/work/bill/stocksBill/addEdit.vue @@ -152,7 +152,7 @@ onLoad((option) => { proxy.$refs['createTimeRef'].innerValue = new Date().getTime() } function datePickConfirm(e) { - form.value.createTime = dayjs(e.value).format("YYYY-MM-DD") + form.value.billDate = dayjs(e.value).format("YYYY-MM-DD") datePickShow.value = false } function submit() { diff --git a/src/pages/work/bill/stocksBill/details.vue b/src/pages/work/bill/stocksBill/details.vue index 338c6b0..0d6eee7 100644 --- a/src/pages/work/bill/stocksBill/details.vue +++ b/src/pages/work/bill/stocksBill/details.vue @@ -127,6 +127,7 @@ onLoad((option) => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/bill/stocksBill/list.vue b/src/pages/work/bill/stocksBill/list.vue index b1e318e..b41ba1a 100644 --- a/src/pages/work/bill/stocksBill/list.vue +++ b/src/pages/work/bill/stocksBill/list.vue @@ -87,6 +87,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false } diff --git a/src/pages/work/heartJourney/list.vue b/src/pages/work/heartJourney/list.vue index 955fcb4..386a02c 100644 --- a/src/pages/work/heartJourney/list.vue +++ b/src/pages/work/heartJourney/list.vue @@ -92,6 +92,7 @@ onLoad(() => { onShow(() => { if (isShow.value) { + listData.value=[] getList() isShow.value = false }