物料管理通过弹出
This commit is contained in:
@@ -681,11 +681,6 @@ export default {
|
||||
methods: {
|
||||
// 通过
|
||||
Tongguo(row) {
|
||||
this.$confirm('是否通过?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
Tongguo(row.物料流水号).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.getMaterial()
|
||||
@@ -694,12 +689,17 @@ export default {
|
||||
this.$message.success('通过成功')
|
||||
} else { this.$message.error('通过失败') }
|
||||
})
|
||||
}).catch(() => {
|
||||
this.$message({
|
||||
type: 'info',
|
||||
message: '已取消通过'
|
||||
})
|
||||
})
|
||||
// this.$confirm('是否通过?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning'
|
||||
// }).then(() => {
|
||||
// }).catch(() => {
|
||||
// this.$message({
|
||||
// type: 'info',
|
||||
// message: '已取消通过'
|
||||
// })
|
||||
// })
|
||||
},
|
||||
// 打回
|
||||
Dahui(row) {
|
||||
|
||||
Reference in New Issue
Block a user