zx 2 gadi atpakaļ
vecāks
revīzija
047cbd4a8d

+ 1 - 1
src/views/TMS/components/importedShip/loadShip.vue

@@ -50,7 +50,7 @@ export default {
   mounted() {},
   methods: {
     onclick() {
-      // this.option.requestUrl = "/api/v1/tms/getLoadShipList?apiId=63&con=" + this.input;
+      this.option.requestUrl = "/api/v1/tms/getLoadShipList?apiId=63&con=" + this.input;
     },
     click(resultId) {
       console.log("aaa" + resultId);

+ 15 - 1
src/views/TMS/components/importedShip/shipmentInstructions.vue

@@ -122,7 +122,21 @@ export default {
     handleClick(tab, event) {
       console.log(tab, event);
     },
-    onclick() {},
+    onclick() {
+         if (this.activeName == "first") {
+          this.option1.requestUrl =
+            "/api/v1/tms/getShipMentInstructionsList?apiId=74&status=未下发&carrierSSOId=" +
+            getCookie("userId") +
+            "&con=" +
+            this.input;  
+      } else{
+          this.option2.requestUrl =
+            "/api/v1/tms/getShipMentInstructionsList?apiId=74&status=已下发&carrierSSOId=" +
+            getCookie("userId") +
+            "&con=" +
+            this.input;  
+      }
+    },
     btnclick() {
       this.$router.push("/addShipmentInstructions/");
     },

+ 13 - 1
src/views/appoint/components/ship/deliveryAttorney.vue

@@ -99,7 +99,19 @@ export default {
       this.amsShipDeliveryList = selection;
     },
     onclick() {
-      this.$message.info("功能尚未开通,请联系管理员!");
+      if (this.activeName == "first") {
+          this.option1.requestUrl =
+            "/api/v1/tms/getAmsshipDeliveryAttroneyList?apiId=73&status=0&carrierSSOId=" +
+            getCookie("userId") +
+            "&con=" +
+            this.input;  
+      } else{
+          this.option2.requestUrl =
+            "/api/v1/tms/getAmsshipDeliveryAttroneyList?apiId=73&status=1&carrierSSOId=" +
+            getCookie("userId") +
+            "&con=" +
+            this.input;  
+      }
     },
     click(pathId) {
       this.$router.push("/path/addDeliveryNotice/" + pathId);

+ 16 - 1
src/views/appoint/components/ship/deliveryNotice.vue

@@ -49,6 +49,7 @@
   </div>
 </template>
 <script>
+import { getCookie } from "@/utils/util.js";
 export default {
   name: "homeworkPath",
   data() {
@@ -70,7 +71,21 @@ export default {
     };
   },
   methods: {
-    onclick() { },
+    onclick() {
+        if (this.activeName == "first") {
+          this.option1.requestUrl =
+            "/api/v1/tms/getshipDeliveryNoticeList?apiId=69&status=0&carrierSSOId=" +
+            getCookie("userId") +
+            "&con=" +
+            this.input;  
+      } else{
+          this.option2.requestUrl =
+            "/api/v1/tms/getshipDeliveryNoticeList?apiId=69&status=1&carrierSSOId=" +
+            getCookie("userId") +
+            "&con=" +
+            this.input;  
+      }
+     },
     addClick() {
       this.$router.push("/addDeliveryNotice/");
     },