a
This commit is contained in:
@@ -823,12 +823,16 @@ export default {
|
||||
}
|
||||
},
|
||||
back() {
|
||||
edit2(this.materielGroup).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('打回成功')
|
||||
this.searchTable1()
|
||||
} else { this.$message.error('打回失败') }
|
||||
})
|
||||
if (this.materielGroup.length === 0) {
|
||||
this.$message.warning('请勾选物料')
|
||||
} else {
|
||||
edit2(this.materielGroup).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('打回成功')
|
||||
this.searchTable1()
|
||||
} else { this.$message.error('打回失败') }
|
||||
})
|
||||
}
|
||||
},
|
||||
saveMateriel() { // 保存数据
|
||||
this.partGroup = []
|
||||
|
||||
Reference in New Issue
Block a user