This commit is contained in:
chenjianan
2019-04-08 11:17:19 +08:00
parent f87b02923c
commit cc333ba88a
2 changed files with 4 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ export function BasicPart(listNumber, data1, data2, data3, data4, data5) {
data: { data: {
type: '2', type: '2',
name: 'MES_机加工MES_库存管理_出库模块_出库零件信息_零件出库', name: 'MES_机加工MES_库存管理_出库模块_出库零件信息_零件出库',
param: '领料单明细流水号=' + listNumber + '工艺计划流水号=' + data1 + '&本次出库数量=' + data2 + '&收件信息ID=' + data3 + '&领用人编号=' + data4 + '&出库备注=' + data5 param: '领料单明细流水号=' + listNumber + '&工艺计划流水号=' + data1 + '&本次出库数量=' + data2 + '&收件信息ID=' + data3 + '&领用人编号=' + data4 + '&出库备注=' + data5
} }
}) })
} }

View File

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