优化收付款和对账报表功能,支持退款单修改退款金额

This commit is contained in:
季圣华
2023-04-05 23:35:23 +08:00
parent dd501cdd9c
commit a2fa99e638
7 changed files with 16 additions and 40 deletions

View File

@@ -139,7 +139,7 @@
</a-col>
<a-col :lg="6" :md="12" :sm="24">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="本次退款">
<a-input placeholder="请输入本次退款" v-decorator.trim="[ 'changeAmount' ]" @change="onChangeChangeAmount" :readOnly="backStatus"/>
<a-input placeholder="请输入本次退款" v-decorator.trim="[ 'changeAmount' ]" @change="onChangeChangeAmount"/>
</a-form-item>
</a-col>
<a-col :lg="6" :md="12" :sm="24">
@@ -212,7 +212,6 @@
prefixNo: 'CGTH',
fileList:[],
rowCanEdit: true,
backStatus: true,
model: {},
labelCol: {
xs: { span: 24 },
@@ -302,14 +301,10 @@
if (this.action === 'add') {
this.addInit(this.prefixNo)
this.fileList = []
this.backStatus = true
} else {
if(this.model.linkNumber) {
this.rowCanEdit = false
this.materialTable.columns[1].type = FormTypes.normal
this.backStatus = false
} else {
this.backStatus = true
}
this.model.operTime = this.model.operTimeStr
this.model.debt = (this.model.discountLastMoney + this.model.otherMoney - this.model.changeAmount).toFixed(2)
@@ -383,7 +378,6 @@
},
linkBillListOk(selectBillDetailRows, linkNumber, organId, discountMoney, deposit, remark) {
this.rowCanEdit = false
this.backStatus = false
this.materialTable.columns[1].type = FormTypes.normal
this.changeFormTypes(this.materialTable.columns, 'preNumber', 1)
this.changeFormTypes(this.materialTable.columns, 'finishNumber', 1)