diff --git a/src/views/emis/emisTmsPack/packageManagement.vue b/src/views/emis/emisTmsPack/packageManagement.vue
index 3dfd65bd..6917065a 100644
--- a/src/views/emis/emisTmsPack/packageManagement.vue
+++ b/src/views/emis/emisTmsPack/packageManagement.vue
@@ -303,11 +303,11 @@
-
+
{{ $t('目的国家') }}
-
+
@@ -527,7 +527,7 @@
rows="2"
/> -->
{{ scope.row.remark }}
-
+
- {{ scope.row.receiveCountryName }}
+ {{ scope.row.sendCountryName }}
+
+
+
+
+ {{ scope.row.destCountryName }}
@@ -356,15 +361,8 @@
-
-
-
-
+
+
@@ -385,6 +383,18 @@
+
+
+
+
+
+
+
@@ -665,7 +675,7 @@
rows="2"
/> -->
-
+
@@ -1006,6 +1016,7 @@ export default {
this.queryParams.params["beginCreateTime"] = dateToStr(new Date(this.dateTimeRange[0]));
this.queryParams.params["endCreateTime"] = dateToStr(new Date(this.dateTimeRange[1]));
}
+ this.queryParams.destCountry = this.queryParams.receiveCountry;
listEmisTmsSiteBatch(this.queryParams).then(response => {
this.emisTmsPackList = response.rows;
this.total = response.total;
@@ -1118,12 +1129,23 @@ export default {
this.$modal.msgError("请先选择至少一条运单信息")
return;
}
+
+ let firstItemCountry = this.emisCoPackDetail.length > 0 ? this.emisCoPackDetail[0].receiveCountry : '';
+ // 将选中的“待组批次”的运单 置为 追加的运单号
+ for(let p = 0; p < this.emisCoPackDetail.length;p++){
+ if(this.emisCoPackDetail[p].receiveCountry != firstItemCountry){
+ this.$message.error("存在了不同的目的国家!");
+ return ;
+ }
+ }
+
let coPackItem={
batchNo: this.coData.batchNo,
batchName: this.coData.batchName || '',
batchDate: this.coData.createTime,
batchType: this.coData.batchType || null,
transType: this.coData.transType || null,
+ destCountry: this.coData.destCountry || null,
startSiteCode: this.coData.startSiteCode || null,
startSiteName: this.coData.startSiteName || null,
nextSiteCode: this.coData.nextSiteCode || null,
@@ -1251,7 +1273,7 @@ export default {
|| this.tempCoPackInfo.airBilllNo != this.coData.airBilllNo
|| this.tempCoPackInfo.etd != this.coData.etd
|| this.tempCoPackInfo.carNo != this.coData.carNo
- // || this.tempCoPackInfo.carTime != this.coData.carTime
+ || this.tempCoPackInfo.destCountry != this.coData.destCountry
|| this.tempCoPackInfo.shipNo != this.coData.shipNo
// || this.tempCoPackInfo.shipTime != this.coData.shipTime
|| this.tempCoPackInfo.totalWaybillQty != this.coData.totalWaybillQty
@@ -1268,7 +1290,7 @@ export default {
this.tempCoPackInfo.airBilllNo = this.coData.airBilllNo;
this.tempCoPackInfo.etd = this.coData.etd;
this.tempCoPackInfo.carNo = this.coData.carNo;
- // this.tempCoPackInfo.carTime = this.coData.carTime;
+ this.tempCoPackInfo.destCountry = this.coData.destCountry;
this.tempCoPackInfo.shipNo = this.coData.shipNo;
// this.tempCoPackInfo.shipTime = this.coData.shipTime;
this.tempCoPackInfo.totalWaybillQty = this.coData.totalWaybillQty;
@@ -1492,8 +1514,13 @@ export default {
this.coPackType="add";
this.coData = {};
if(this.activeName=="first"){
+ let firstItemCountry = this.waitPackList.length > 0 ? this.waitPackList[0].receiveCountry : '';
// 将选中的“待组批次”的运单 置为 追加的运单号
for(let p = 0; p < this.waitPackList.length;p++){
+ if(this.waitPackList[p].receiveCountry != firstItemCountry){
+ this.$message.error("存在了不同的目的国家!");
+ return ;
+ }
this.emisCoPackDetail.push(this.waitPackList[p]);
}
}
@@ -1545,7 +1572,7 @@ export default {
let resData = response.data;
this.coData.batchNo = resData.batchNo;
// this.coData.createTime = resData.createTime;
- // this.coData.destCountry = resData.destCountry;
+ this.coData.destCountry = resData.destCountry;
// this.coData.startSiteCode = resData.startSiteCode;
// this.coData.nextSiteCode = resData.nextSiteCode;
// this.blUnpack = resData.blUnpack;