优化退料保存事件

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', type: 'warning',
}) })
.then(() => { .then(() => {
outboundCompleted({ console.log('确定')
id: this.dialogQuery.id, // outboundCompleted({
typeId: row.typeId, // id: this.dialogQuery.id,
}).then((response) => { // typeId: row.typeId,
this.$modal.msgSuccess('完成出库成功') // }).then((response) => {
this.handleDialogQuery() // this.$modal.msgSuccess('')
this.handleQuery() // this.handleDialogQuery()
}) // this.handleQuery()
// })
}) })
.catch(() => { .catch(() => {
this.$message({ console.log('取消')
type: 'info', // this.$message({
message: '已取消完成出库', // type: 'info',
}) // message: '',
// })
}) })
}, },
handleOutQuery() { handleOutQuery() {

View File

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

View File

@ -42,7 +42,7 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网 // target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`, // 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.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/ // target: `http://10.40.92.74:8080`,//旭/
// target: `http://10.40.92.148:28080`, //帅 // target: `http://10.40.92.148:28080`, //帅