|
@@ -2399,7 +2399,6 @@ export default {
|
|
|
this.$set(this.tableData[item], 'purchaseAmount', '0')
|
|
|
}
|
|
|
})
|
|
|
- // debugger
|
|
|
selectGoodsNum({
|
|
|
goodsId: this.tableData[item].id,
|
|
|
itemType: this.tableData[item].typeno,
|
|
@@ -2900,6 +2899,7 @@ export default {
|
|
|
if (isBack) {
|
|
|
//成功关闭此页面回到列表页
|
|
|
this.$emit("goBack");
|
|
|
+ this.leaveDetailsKey(this.$route.name)
|
|
|
} else {
|
|
|
this.saveActives = ''
|
|
|
this.queryData(res.data.data.id)
|
|
@@ -3016,7 +3016,6 @@ export default {
|
|
|
let getGoodsList = []
|
|
|
let getGiftList = []
|
|
|
let getFeeList = this.$refs.feeInfo.submitData()
|
|
|
- debugger
|
|
|
if (this.goodsActives == 'gift') {
|
|
|
getGiftList = this.goodsShowData
|
|
|
getGoodsList = this.contactsData
|
|
@@ -3037,10 +3036,14 @@ export default {
|
|
|
}).then(() => {
|
|
|
this.editCustomer(true)
|
|
|
}).catch(() => {
|
|
|
+ this.form.id && this.unLock({moduleName: 'xs',tableName: 'business_order', billId: this.form.id})
|
|
|
this.$emit("goBack");
|
|
|
+ this.leaveDetailsKey(this.$route.name)
|
|
|
})
|
|
|
} else {
|
|
|
+ this.form.id && this.unLock({moduleName: 'xs',tableName: 'business_order', billId: this.form.id})
|
|
|
this.$emit("goBack");
|
|
|
+ this.leaveDetailsKey(this.$route.name)
|
|
|
}
|
|
|
},
|
|
|
// 保存列设置
|
|
@@ -3324,7 +3327,8 @@ export default {
|
|
|
moduleName: 'xs',
|
|
|
tableName: 'business_order',
|
|
|
billId: this.form.id,
|
|
|
- no: localStorage.getItem('browserID')
|
|
|
+ no: localStorage.getItem('browserID'),
|
|
|
+ billNo: this.form.orderNo
|
|
|
}
|
|
|
this.saveLoading = true
|
|
|
this.checkLock(data).then(res => {
|