|
@@ -2060,7 +2060,7 @@ export default {
|
|
|
orderItemIds: lsit
|
|
|
}
|
|
|
generateShipment(data).then(res => {
|
|
|
- this.$router.$avueRouter.closeTag("/businessManagement/deliveryNotice/index");
|
|
|
+ // this.$router.$avueRouter.closeTag("/businessManagement/deliveryNotice/index");
|
|
|
this.$router.push({
|
|
|
path: "/businessManagement/deliveryNotice/index",
|
|
|
query: {
|
|
@@ -2891,10 +2891,10 @@ export default {
|
|
|
}
|
|
|
this.form.billType = 'XS'
|
|
|
// 如果有id解锁,没有跳过
|
|
|
- this.form.id && this.unLock({moduleName: 'xs',tableName: 'business_order', billId: this.form.id})
|
|
|
+ // this.form.id && this.unLock({moduleName: 'xs',tableName: 'business_order', billId: this.form.id})
|
|
|
this.saveLoading = true
|
|
|
typeSave(this.form).then(res => {
|
|
|
- this.detailData.seeDisabled = true;
|
|
|
+ // this.$set(this.detailData, 'seeDisabled', true);
|
|
|
this.$message({type: "success", message: this.form.id ? "修改成功!" : "新增成功!"});
|
|
|
if (isBack) {
|
|
|
//成功关闭此页面回到列表页
|
|
@@ -3036,12 +3036,12 @@ export default {
|
|
|
}).then(() => {
|
|
|
this.editCustomer(true)
|
|
|
}).catch(() => {
|
|
|
- this.form.id && this.unLock({moduleName: 'xs',tableName: 'business_order', billId: this.form.id})
|
|
|
+ !this.detailData.seeDisabled && 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.detailData.seeDisabled && this.form.id && this.unLock({moduleName: 'xs',tableName: 'business_order', billId: this.form.id})
|
|
|
this.$emit("goBack");
|
|
|
this.leaveDetailsKey(this.$route.name)
|
|
|
}
|
|
@@ -3071,6 +3071,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async resetColumn() {
|
|
|
+ this.customerContact = customerContact
|
|
|
const inSave = await this.delColumnData(
|
|
|
this.getColumnName(15),
|
|
|
customerContact
|
|
@@ -3132,7 +3133,7 @@ export default {
|
|
|
actualQuantitySum = _.add(actualQuantitySum, Number(e.actualQuantity));
|
|
|
integralSum = _.add(integralSum, Number(e.integral));
|
|
|
})
|
|
|
- };
|
|
|
+ }
|
|
|
// 订货数量合计
|
|
|
if (item.property == "orderQuantity") {
|
|
|
sums[index] = orderQuantitySum ? orderQuantitySum.toFixed(2) : "0.00";
|
|
@@ -3268,7 +3269,6 @@ export default {
|
|
|
this.pageLoading = false
|
|
|
})
|
|
|
})
|
|
|
- } else {
|
|
|
}
|
|
|
},
|
|
|
// 验证新旧值对比
|
|
@@ -3334,6 +3334,13 @@ export default {
|
|
|
this.checkLock(data).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
this.onLock(data).then(response => {
|
|
|
+ this.saveActives = ''
|
|
|
+ this.queryData(this.form.id)
|
|
|
+ })
|
|
|
+ this.inDetailsKey(this.$route.name, {
|
|
|
+ moduleName: 'xs',
|
|
|
+ tableName: 'business_order',
|
|
|
+ billId: this.form.id,
|
|
|
})
|
|
|
this.detailData.seeDisabled = false;
|
|
|
}
|