@@ -934,7 +934,7 @@ data() {
//校验关联主单线路
var checkmasterProductType = (rule, value, callback) => {
if (this.masterBillProductType && this.masterBillProductType != this.form.productType) {
- callback(new Error('输入单号不正确'));// 关联主单和运单线路不一致
+ callback(new Error('主单和虚拟单线路不一致'));// 关联主单和运单线路不一致
} else {
callback();
}
@@ -967,7 +967,7 @@ data() {
mainHasCnt:0,
subHasCnt:0
},
-
+ sendSiteSelectCount:0,//寄件网点变化次数
// 表单校验
rules: {
billCode: [
@@ -1563,7 +1563,7 @@ methods: {
this.reset();
this.form.productTypeSelArr=null;
-
+ this.sendSiteSelectCount =0;
if(this.billCode && this.billCode!=undefined) {
this.loading = true;
getWaybillDetail(this.billCode).then(response => {
@@ -1806,6 +1806,7 @@ methods: {
}
},
onSendSiteSelect(item){
+ this.sendSiteSelectCount ++ ;
////console.log("==onSendSiteSelect==>",item)
////console.log("==onSendSiteSelect==this.form=>",this.form)
@@ -1818,8 +1819,10 @@ methods: {
}
this.form.sendSiteCode=item.siteCode;
this.form.sendSiteName=item.siteName;
- this.form.startSiteCode=item.siteCode;
- this.form.startSiteName=item.siteName;
+ if(this.sendSiteSelectCount > 2){
+ this.form.startSiteCode = item.siteCode;
+ this.form.startSiteName = item.siteName;
+ }
this.initGetTotalAvailablePag(this.form.sendSiteCode);
// this.calcBillFee();
},
diff --git a/src/views/emis/emisWaybill/waybillRecord.vue b/src/views/emis/emisWaybill/waybillRecord.vue
index ab1e15db..bb76795a 100644
--- a/src/views/emis/emisWaybill/waybillRecord.vue
+++ b/src/views/emis/emisWaybill/waybillRecord.vue
@@ -936,7 +936,7 @@ data() {
//校验关联主单线路
var checkmasterProductType = (rule, value, callback) => {
if (this.masterBillProductType && this.masterBillProductType != this.form.productType) {
- callback(new Error('输入单号不正确'));// 关联主单和运单线路不一致
+ callback(new Error('主单和虚拟单线路不一致'));// 关联主单和运单线路不一致
} else {
callback();
}
diff --git a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
index 034569e0..b839e104 100644
--- a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
+++ b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
@@ -1292,7 +1292,7 @@ export default {
//校验关联主单线路
var checkmasterProductType = (rule, value, callback) => {
if (this.masterBillProductType && this.masterBillProductType != this.form.productType) {
- callback(new Error('输入单号不正确'));// 关联主单和运单线路不一致
+ callback(new Error('主单和虚拟单线路不一致'));// 关联主单和运单线路不一致
} else {
callback();
}