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() },