|
@@ -1639,6 +1639,7 @@ export default {
|
|
|
if (isBack) {
|
|
|
//成功关闭此页面回到列表页
|
|
|
this.$emit("goBack");
|
|
|
+ this.leaveDetailsKey(this.$route.name)
|
|
|
} else {
|
|
|
this.saveActives = ''
|
|
|
this.queryData(res.data.data.id, false, type)
|
|
@@ -1680,10 +1681,14 @@ export default {
|
|
|
}).then(() => {
|
|
|
this.editCustomer(true)
|
|
|
}).catch(() => {
|
|
|
+ this.form.id && this.unLock({moduleName: 'fh',tableName: 'business_delivery', billId: this.form.id})
|
|
|
this.$emit("goBack");
|
|
|
+ this.leaveDetailsKey(this.$route.name)
|
|
|
})
|
|
|
} else {
|
|
|
+ this.form.id && this.unLock({moduleName: 'fh',tableName: 'business_delivery', billId: this.form.id})
|
|
|
this.$emit("goBack");
|
|
|
+ this.leaveDetailsKey(this.$route.name)
|
|
|
}
|
|
|
},
|
|
|
// 确认发货
|
|
@@ -1992,7 +1997,8 @@ export default {
|
|
|
moduleName: 'fh',
|
|
|
tableName: 'business_delivery',
|
|
|
billId: this.form.id,
|
|
|
- no: localStorage.getItem('browserID')
|
|
|
+ no: localStorage.getItem('browserID'),
|
|
|
+ billNo: this.form.sysNo
|
|
|
}
|
|
|
this.saveLoading = true
|
|
|
this.checkLock(data).then(res => {
|