解决增加以销定购模块后产生的单据bug

This commit is contained in:
季圣华
2022-05-19 20:21:22 +08:00
parent 6b9efa9b1e
commit 1b419ad908
3 changed files with 29 additions and 3 deletions

View File

@@ -194,6 +194,8 @@
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
{ title: '原数量', key: 'preNumber', width: '4%', type: FormTypes.normal },
{ title: '已采购', key: 'finishNumber', width: '4%', type: FormTypes.normal },
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
validateRules: [{ required: true, message: '${title}不能为空' }]
},
@@ -235,6 +237,8 @@
this.materialTable.columns[1].type = FormTypes.popupJsh
this.getSystemConfig()
this.changeColumnHide()
this.changeFormTypes(this.materialTable.columns, 'preNumber', 0)
this.changeFormTypes(this.materialTable.columns, 'finishNumber', 0)
if (this.action === 'add') {
this.addInit(this.prefixNo)
this.fileList = []