Browse Source

完善出纳付款列表

zhanglei
yunuo970428 3 months ago
parent
commit
ada1e2a2d6
  1. 16
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue

16
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue

@ -578,8 +578,6 @@ export default {
}) })
} else { } else {
this.formobj.payCode = '' this.formobj.payCode = ''
this.formobj.receiveBankAccount = ''
this.formobj.receiveBank = ''
this.receiveBankAccount_list = [] this.receiveBankAccount_list = []
} }
}, },
@ -656,7 +654,7 @@ export default {
this.formobj.receiveCompany = row.receiveCompany this.formobj.receiveCompany = row.receiveCompany
this.formobj.receiveBankAccount = row.receiveBankAccount this.formobj.receiveBankAccount = row.receiveBankAccount
this.formobj.receiveBank = row.receiveBank this.formobj.receiveBank = row.receiveBank
this.changerRceiveCompany(this.formobj.receiveCompany) this.formobj.payCode = row.payCode
this.formobj.payWayValue = row.payWayValue this.formobj.payWayValue = row.payWayValue
this.changePayWay(row.payWayValue) this.changePayWay(row.payWayValue)
const aa = [] const aa = []
@ -689,8 +687,10 @@ export default {
}, },
handlePayment() { handlePayment() {
if (this.formobj.payCode === '' || this.formobj.payCode === null || this.formobj.payCode === undefined) { if (this.formobj.payCode === '' || this.formobj.payCode === null || this.formobj.payCode === undefined) {
this.$message({ showClose: true, type: 'error', message: '请先刷新浏览器页面后再进行操作' }) const choose = this.receiveCompany_list.filter((item) => item.name === this.formobj.receiveCompany)
return if (choose !== null && choose.length > 0) {
this.formobj.payCode = choose[0].payCode
}
} }
this.formobj.sids = this.sids this.formobj.sids = this.sids
this.submitdisabled = true this.submitdisabled = true
@ -709,8 +709,10 @@ export default {
}, },
handlePass() { handlePass() {
if (this.formobj.payCode === '' || this.formobj.payCode === null || this.formobj.payCode === undefined) { if (this.formobj.payCode === '' || this.formobj.payCode === null || this.formobj.payCode === undefined) {
this.$message({ showClose: true, type: 'error', message: '请先刷新浏览器页面后再进行操作' }) const choose = this.receiveCompany_list.filter((item) => item.name === this.formobj.receiveCompany)
return if (choose !== null && choose.length > 0) {
this.formobj.payCode = choose[0].payCode
}
} }
this.formobj.sids = this.sids this.formobj.sids = this.sids
this.formobj.name = window.sessionStorage.getItem('name') this.formobj.name = window.sessionStorage.getItem('name')

Loading…
Cancel
Save