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