给带关联单号的单据的明细中在编辑的时候限制新增或者移除商品

This commit is contained in:
季圣华
2022-05-19 00:14:33 +08:00
parent cff16125b0
commit d85ccf3cd4
4 changed files with 15 additions and 3 deletions

View File

@@ -321,6 +321,10 @@
handleIntroJs(this.prefixNo, 1)
})
} else {
if(this.model.linkNumber) {
this.rowCanEdit = false
this.materialTable.columns[1].type = FormTypes.normal
}
this.model.operTime = this.model.operTimeStr
this.model.debt = (this.model.discountLastMoney + this.model.otherMoney - this.model.changeAmount).toFixed(2)
if(this.model.accountId == null) {

View File

@@ -242,6 +242,10 @@
handleIntroJs(this.prefixNo, 1)
})
} else {
if(this.model.linkNumber) {
this.rowCanEdit = false
this.materialTable.columns[1].type = FormTypes.normal
}
this.model.operTime = this.model.operTimeStr
this.fileList = this.model.fileName
this.$nextTick(() => {

View File

@@ -326,6 +326,10 @@
handleIntroJs(this.prefixNo, 1)
})
} else {
if(this.model.linkNumber) {
this.rowCanEdit = false
this.materialTable.columns[1].type = FormTypes.normal
}
this.model.operTime = this.model.operTimeStr
this.model.debt = (this.model.discountLastMoney + this.model.otherMoney - this.model.changeAmount).toFixed(2)
if(this.model.accountId == null) {