优化分批出入库单据的展示

This commit is contained in:
季圣华
2021-09-27 00:07:02 +08:00
parent de87989856
commit 4e73947f50
5 changed files with 50 additions and 3 deletions

View File

@@ -112,6 +112,7 @@
loading: false,
dataSource: [],
columns: [
{ title: '仓库名称', key: 'depotId', width: '7%', type: FormTypes.hidden },
{ title: '条码', key: 'barCode', width: '8%', type: FormTypes.popupJsh, multi: true,
validateRules: [{ required: true, message: '${title}不能为空' }]
},
@@ -179,7 +180,6 @@
this.copyAddInit(this.prefixNo)
}
this.initSupplier()
this.initDepot()
},
/** 整理成formData */
classifyIntoFormData(allValues) {
@@ -190,6 +190,7 @@
billMain.subType = '采购订单'
billMain.defaultNumber = billMain.number
for(let item of detailArr){
item.depotId = '' //订单不需要仓库
totalPrice += item.allPrice-0
}
billMain.totalPrice = 0-totalPrice