更新零件分配
This commit is contained in:
@@ -724,7 +724,7 @@ export default {
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
if (row.零件类型 === '基本件') {
|
||||
if (row.零件类型 === '3') {
|
||||
MoveOut(row.请购单明细流水号, row.基本件流水号).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('移出成功')
|
||||
@@ -736,7 +736,7 @@ export default {
|
||||
})
|
||||
} else { this.$message.error('移出失败') }
|
||||
})
|
||||
} else if (row.零件类型 === '外购件') {
|
||||
} else if (row.零件类型 === '2') {
|
||||
MoveOut1(row.请购单明细流水号, row.标准件和外购件流水号).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('移出成功')
|
||||
@@ -748,7 +748,7 @@ export default {
|
||||
})
|
||||
} else { this.$message.error('移出失败') }
|
||||
})
|
||||
} else if (row.零件类型 === '标准件') {
|
||||
} else if (row.零件类型 === '1') {
|
||||
MoveOut1(row.请购单明细流水号, row.标准件和外购件流水号).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('移出成功')
|
||||
|
||||
Reference in New Issue
Block a user