From 602c7e85282daf7fc5193eff5b8f561cb768e661 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 24 Dec 2024 10:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=87=BA=E7=BA=B3=E4=BB=98?= =?UTF-8?q?=E6=AC=BE=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chunafukuan/chunafukuanguanli/cashier.vue | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue index b4cce31884..76a7f3bdca 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue @@ -226,7 +226,7 @@ - +
*付款账号
@@ -283,6 +283,7 @@ export default { return { btndisabled: false, submitdisabled: false, + showHide: true, btnList: [ { type: 'primary', @@ -557,16 +558,18 @@ export default { this.getList() }, changePayWay(value) { - let bb = null - this.payWay_list.forEach((e) => { - if (e.dictValue === value) { - bb = { - key: e.dictKey, - value: e.dictValue - } + const choose = this.payWay_list.filter((item) => item.dictValue === value) + if (choose !== null && choose.length > 0) { + this.formobj.payWayKey = choose[0].dictKey + if (choose[0].groupName === '0') { + this.showHide = false + } else { + this.showHide = true } - }) - this.formobj.payWayKey = bb.key + } else { + this.formobj.payWayKey = '' + this.showHide = true + } }, changerRceiveCompany(value) { const choose = this.receiveCompany_list.filter((item) => item.name === value) @@ -788,6 +791,7 @@ export default { } this.disabledCost = false this.submitdisabled = false + this.showHide = true this.diploma_list = [] this.$refs['form_obj'].resetFields() },