fix bug
This commit is contained in:
@@ -327,7 +327,7 @@ export default {
|
||||
},
|
||||
// 出库
|
||||
partOut(row) {
|
||||
console.log(row.领料单明细流水号, row.出库数量, row.滞货物料与货位对照流水号)
|
||||
console.log(row.出库类型, row.领料单明细流水号, row.出库数量, row.滞货物料与货位对照流水号)
|
||||
this.$confirm('确认出库?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
@@ -355,11 +355,12 @@ export default {
|
||||
} else { this.$message.error('出库失败') }
|
||||
})
|
||||
} else { // 自制件
|
||||
console.log(row.领料单明细流水号, row.工艺计划流水号, row.出库数量, row.收件信息ID, this.getpicikingPeople, row.备注)
|
||||
BasicPart(row.领料单明细流水号, row.工艺计划流水号, row.出库数量, row.收件信息ID, this.getpicikingPeople, row.备注).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('出库成功')
|
||||
this.searchListDetailt()
|
||||
} else { this.$message.error('增加失败') }
|
||||
} else { this.$message.error('出库失败') }
|
||||
})
|
||||
}
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user