Browse Source

完善出纳付款、收款确认

master
yunuo970428 2 years ago
parent
commit
ba557497ba
  1. 2
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/chunafukuan/chunafukuanguanli/cashier.vue
  2. 19
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceiptAdd.vue

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

@ -84,7 +84,7 @@
<span>{{ scope.row.receiveBankAccount }}</span>
</template>
</el-table-column>
<el-table-column label="收款账户开户行" align="center" width="130">
<el-table-column label="收款账户开户行" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.receiveBank }}</span>
</template>

19
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceiptAdd.vue

@ -308,7 +308,13 @@ export default {
this.formobj.collectionDate = year + '-' + month + '-' + day
},
UpNumber(e) {
e.target.value = e.target.value.replace(/[^0-9.]/g, '')
e.target.value = e.target.value.replace(/[^\d]/g, '') // ."-"
e.target.value = e.target.value.replace(/^00/, '0') // 0
if (e.target.value.indexOf('.') < 0 && e.target.value !== '' && e.target.value !== '-') {
// 0102
console.log(e.target.value)
e.target.value = parseFloat(e.target.value)
}
},
DataDictionary() {
dataDictionary({ type: 'receiptBank' }).then((res) => {
@ -374,7 +380,16 @@ export default {
this.balance = this.formobj.collectionMoney
},
changeSubscriptionMoney() {
this.calculateBalance()
let subscriptionMoney = '0'
for (var i = 0; i < this.formobj.finSelectedReceivablesDetaileds.length; i++) {
if (this.formobj.finSelectedReceivablesDetaileds[i].subscriptionMoney === '') {
subscriptionMoney = '1'
return
}
}
if (subscriptionMoney === '0') {
this.calculateBalance()
}
},
//
calculateBalance() {

Loading…
Cancel
Save