fix:组盘、入库相关业务修改为混料
This commit is contained in:
@@ -230,7 +230,22 @@ export default {
|
||||
}
|
||||
},
|
||||
materialChoose(row) {
|
||||
this.form.tableData = row
|
||||
debugger
|
||||
// 对新增的行进行校验不能存在相同物料批次
|
||||
row.forEach((item) => {
|
||||
debugger
|
||||
let same_mater = true
|
||||
this.form.tableData.forEach((row) => {
|
||||
debugger
|
||||
if (row.material_code === item.material_code && row.pcsn === item.pcsn) {
|
||||
debugger
|
||||
same_mater = false
|
||||
}
|
||||
})
|
||||
if (same_mater) {
|
||||
this.form.tableData.splice(-1, 0, item)
|
||||
}
|
||||
})
|
||||
},
|
||||
async insertEvent(row) {
|
||||
this.dtlShow = true
|
||||
|
||||
Reference in New Issue
Block a user