优化退料保存事件

This commit is contained in:
BianLzhaoMin 2024-06-11 09:58:48 +08:00
parent f905176aa4
commit cd4679b92c
3 changed files with 23 additions and 19 deletions

View File

@ -758,20 +758,22 @@ export default {
type: 'warning',
})
.then(() => {
outboundCompleted({
id: this.dialogQuery.id,
typeId: row.typeId,
}).then((response) => {
this.$modal.msgSuccess('完成出库成功')
this.handleDialogQuery()
this.handleQuery()
})
console.log('确定')
// outboundCompleted({
// id: this.dialogQuery.id,
// typeId: row.typeId,
// }).then((response) => {
// this.$modal.msgSuccess('')
// this.handleDialogQuery()
// this.handleQuery()
// })
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消完成出库',
})
console.log('取消')
// this.$message({
// type: 'info',
// message: '',
// })
})
},
handleOutQuery() {

View File

@ -744,9 +744,10 @@ export default {
if (res.code == 200) {
this.$message({ type: 'success', message: res.msg })
setTimeout(() => {
this.$tab.closeOpenPage({
path: '/claimAndRefund/return/returnApplyByCq',
})
this.$emit('goBackPage')
// this.$tab.closeOpenPage({
// path: '/claimAndRefund/return/returnApplyByCq',
// })
}, 1000)
}
} else {
@ -762,9 +763,10 @@ export default {
if (res.code == 200) {
this.$message({ type: 'success', message: res.msg })
setTimeout(() => {
this.$tab.closeOpenPage({
path: '/claimAndRefund/return/returnApplyByCq',
})
this.$emit('goBackPage')
// this.$tab.closeOpenPage({
// path: '/claimAndRefund/return/returnApplyByCq',
// })
}, 1000)
}
}

View File

@ -42,7 +42,7 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`,
target: `http://10.40.92.52:28080`, //超
target: `http://10.40.92.47:28080`, //超
// target: `http://10.40.92.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/
// target: `http://10.40.92.148:28080`, //帅