From 15e5f4b47a389fe93c772395d30f6007325e6807 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Mon, 13 Dec 2021 18:30:24 +0800 Subject: [PATCH] 12.13 --- .../ImportantCash/controlCash/cashOut.vue | 211 ++++++++++++++++++ .../ImportantCash/controlCash/cashPaid.vue | 172 ++++++++++++++ .../controlCash/cashRecipients.vue | 17 ++ .../controlCash/cashTransferInto.vue | 211 ++++++++++++++++++ .../list/ImportantCash/controlCash/index.vue | 21 +- .../controlCash2/cashRecipients.vue | 24 ++ .../controlCash2/cashTransferInto.vue | 183 ++++++++++++++- .../list/ImportantCash/controlCash2/index.vue | 21 +- .../manage/list/client/consumerClient.vue | 115 +++++++--- .../manage/list/client/corporateClient.vue | 53 ++++- .../list/personal/currentAccount/deposit.vue | 1 + .../list/personal/currentAccount/index.vue | 10 +- .../personal/currentAccount/openAccount.vue | 28 +-- .../personal/currentAccount/withdrawal.vue | 13 +- .../list/servicesAccount/passwordChange.vue | 6 +- src/utils/utilFunction.js | 29 +++ src/utils/verification.js | 63 ------ src/utils/verify.js | 37 +++ 18 files changed, 1069 insertions(+), 146 deletions(-) create mode 100644 src/utils/utilFunction.js delete mode 100644 src/utils/verification.js create mode 100644 src/utils/verify.js diff --git a/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue b/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue index e69de29..b7ef1db 100644 --- a/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue +++ b/src/pages/manage/list/ImportantCash/controlCash/cashOut.vue @@ -0,0 +1,211 @@ +// 存款 + + + + + \ No newline at end of file diff --git a/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue b/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue index e69de29..114638b 100644 --- a/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue +++ b/src/pages/manage/list/ImportantCash/controlCash/cashPaid.vue @@ -0,0 +1,172 @@ +// 存款 + + + + + \ No newline at end of file diff --git a/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue b/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue index 963c545..24043a4 100644 --- a/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue +++ b/src/pages/manage/list/ImportantCash/controlCash/cashRecipients.vue @@ -5,6 +5,7 @@ ref="filterTable" :data="tableData" height="450" + :row-class-name="tableRowClassName" style="width: 95%"> \ No newline at end of file diff --git a/src/pages/manage/list/ImportantCash/controlCash/cashTransferInto.vue b/src/pages/manage/list/ImportantCash/controlCash/cashTransferInto.vue index e69de29..b7ef1db 100644 --- a/src/pages/manage/list/ImportantCash/controlCash/cashTransferInto.vue +++ b/src/pages/manage/list/ImportantCash/controlCash/cashTransferInto.vue @@ -0,0 +1,211 @@ +// 存款 + + + + + \ No newline at end of file diff --git a/src/pages/manage/list/ImportantCash/controlCash/index.vue b/src/pages/manage/list/ImportantCash/controlCash/index.vue index d6f3af6..f6a576c 100644 --- a/src/pages/manage/list/ImportantCash/controlCash/index.vue +++ b/src/pages/manage/list/ImportantCash/controlCash/index.vue @@ -10,16 +10,17 @@
-

个人业务

+

重空现金

-

活期业务

+

现金管理

-

{{text}}

+

{{textObj[activeIndex]}}

- - - + + + + import cashRecipients from './cashRecipients.vue' +import cashTransferInto from './cashTransferInto.vue' +import cashPaid from './cashPaid.vue' +import cashOut from './cashOut.vue' export default { name: 'index', components:{ - cashRecipients + cashRecipients, + cashTransferInto, + cashPaid, + cashOut }, data() { return { diff --git a/src/pages/manage/list/ImportantCash/controlCash2/cashRecipients.vue b/src/pages/manage/list/ImportantCash/controlCash2/cashRecipients.vue index c8607d4..e973504 100644 --- a/src/pages/manage/list/ImportantCash/controlCash2/cashRecipients.vue +++ b/src/pages/manage/list/ImportantCash/controlCash2/cashRecipients.vue @@ -5,6 +5,7 @@ ref="filterTable" :data="tableData" height="450" + :row-class-name="tableRowClassName" style="width: 95%"> \ No newline at end of file diff --git a/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue b/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue index 95b6364..e973504 100644 --- a/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue +++ b/src/pages/manage/list/ImportantCash/controlCash2/cashTransferInto.vue @@ -1,15 +1,186 @@ +// 存款 - \ No newline at end of file diff --git a/src/pages/manage/list/ImportantCash/controlCash2/index.vue b/src/pages/manage/list/ImportantCash/controlCash2/index.vue index a33b2a4..7de81f1 100644 --- a/src/pages/manage/list/ImportantCash/controlCash2/index.vue +++ b/src/pages/manage/list/ImportantCash/controlCash2/index.vue @@ -14,11 +14,14 @@

凭证管理

-

{{text}}

+

{{textObj[activeIndex]}}

+ + + import cashRecipients from './cashRecipients.vue' +import cashTransferInto from './cashTransferInto.vue' +import cashPaid from './cashPaid.vue' +import cashOut from './cashOut.vue' export default { name: 'index', components:{ - cashRecipients + cashRecipients, + cashTransferInto, + cashPaid, + cashOut }, data() { return { @@ -191,4 +200,12 @@ export default { } } } + + /deep/.el-input input { + text-align: center; + } + + /deep/ .blueText{ + color: blue; + } diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index e098c76..43c7209 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -20,7 +20,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -60,8 +60,8 @@ - - + + @@ -107,6 +107,8 @@ diff --git a/src/pages/manage/list/client/corporateClient.vue b/src/pages/manage/list/client/corporateClient.vue index c07c093..efaff89 100644 --- a/src/pages/manage/list/client/corporateClient.vue +++ b/src/pages/manage/list/client/corporateClient.vue @@ -10,44 +10,44 @@ - + - + - +

请刷身份证

- - + +
- + - + - + - +
- 提交 + 提交 import { mapState } from 'vuex' import { EventBus } from "@/utils/event-bus.js"; +import { vername, vermob } from '@/utils/verify.js' +import { phoneListen, checkRequired } from '@/utils/utilFunction.js' export default { name: 'index', @@ -97,7 +99,18 @@ export default { authorization:false,// 切授权 success:false,// 切成功 form:{ - + name: '', + phone: '', + documentType: '', + companyName: '', + registeredCapital: '', + codeNumber: '', + companyAddress: '', + certificateType: '' + }, + rules: { + phone: vermob, + name: vername }, visible:false, @@ -117,7 +130,23 @@ export default { popSure(){ }, - + submitForm() { + const requiredFields = { + name: '法人姓名', + phone: '联系电话', + companyName: '公司名称', + codeNumber: '代码证号', + certificateType: '法人证件类型' + } + if(checkRequired(this.form, requiredFields)) { + this.$message({ + showClose: true, + message: '必填项都填了', + type: 'success' + }); + } + }, + phoneListen: phoneListen } }; diff --git a/src/pages/manage/list/personal/currentAccount/deposit.vue b/src/pages/manage/list/personal/currentAccount/deposit.vue index a704e4f..12c1f7b 100644 --- a/src/pages/manage/list/personal/currentAccount/deposit.vue +++ b/src/pages/manage/list/personal/currentAccount/deposit.vue @@ -68,6 +68,7 @@ export default{ let ruleReqs = sessionStorage.getItem('ruleReqs') let formList = JSON.parse(ruleReqs); if(this.form.userName && this.form.goldLogo && this.form.annualInterest){ + this.$emit("setDepositFinish"); if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,63,80","type": "3"})}//币种 if (this.form.money){formList.push({"emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "26,57,63,82", "type": "3"})}//金额 if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,63,84", "type": "3"})}//摘要 diff --git a/src/pages/manage/list/personal/currentAccount/index.vue b/src/pages/manage/list/personal/currentAccount/index.vue index dbda7c5..87e77ed 100644 --- a/src/pages/manage/list/personal/currentAccount/index.vue +++ b/src/pages/manage/list/personal/currentAccount/index.vue @@ -22,9 +22,9 @@ - + - + @@ -77,6 +77,8 @@ export default { data() { return { text:'',/* 顶部文字 */ + // 存款完才能取款,否则会提示 + depositFinish: false, textObj:{ '1':'开户', '2':'存款', @@ -109,7 +111,9 @@ export default { this.text = this.textObj[val] this.activeIndex = val }, - + setDepositFinish() { + this.depositFinish = true; + } } }; diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue index 8bfdc07..da11d00 100644 --- a/src/pages/manage/list/personal/currentAccount/openAccount.vue +++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue @@ -9,7 +9,7 @@
- + @@ -19,7 +19,7 @@ - + @@ -31,24 +31,24 @@ - + - + - + - + @@ -73,24 +73,24 @@ - + - + - + - + @@ -114,24 +114,24 @@ - + - + - + - + diff --git a/src/pages/manage/list/personal/currentAccount/withdrawal.vue b/src/pages/manage/list/personal/currentAccount/withdrawal.vue index ec96c01..9a16f5a 100644 --- a/src/pages/manage/list/personal/currentAccount/withdrawal.vue +++ b/src/pages/manage/list/personal/currentAccount/withdrawal.vue @@ -2,7 +2,7 @@