QuKatie 3 anos atrás
pai
commit
a1a4a77012

+ 2 - 1
src/api/kaihe/domesticTrade/orderInformation.js

@@ -98,10 +98,11 @@ export function nameOfVessel(query) {
   })
 }
 // 航次
-export function voyageNumber() {
+export function voyageNumber(query) {
   return request({
     url: '/shipping/voyage/list',
     method: 'get',
+    params: query
   })
 }
 

+ 18 - 1
src/views/kaihe/domesticTrade/orderInformation/index.vue

@@ -216,6 +216,9 @@
                   style="width: 100%"
                   :disabled="modify"
                   class="elSelect"
+                  clearable
+                  @change="fvslChange"
+                  @clear="fvslClear"
                   placeholder="请输入模糊查找目的船名"
                 >
                   <el-scrollbar>
@@ -2109,7 +2112,9 @@ export default {
       modify: true,
       doNot: true,
       activeNames: ["1", "2", "3", "4", "5"],
-      form: {},
+      form: {
+        fVoyid:null
+      },
       fMblnoOptions: [],
       uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传的图片服务器地址
       relevantAttachments: [],
@@ -2435,6 +2440,18 @@ export default {
     },
   },
   methods: {
+    fvslChange(id) {
+       voyageNumber({ fPid: id }).then((res) => {
+        this.voyidList = res.rows;
+       });
+      this.form.fVoyid = null;
+    },
+    fvslClear() {
+      voyageNumber().then((res) => {
+        this.voyidList = res.rows;
+      });
+      this.form.fVoyid = null;
+    },
     rejectDeletion() {
       this.$confirm("驳回并删除, 是否继续?", "提示", {
         confirmButtonText: "确定",

+ 0 - 1
src/views/kaihe/shipDynamics/oceanFreightRate/index.vue

@@ -329,7 +329,6 @@
       :fullscreen="dialogFull"
       :title="title"
       :visible.sync="open"
-      close-on-click-modal="false"
       width="80%"
       :close-on-click-modal="false"
       append-to-body>

+ 0 - 1
src/views/kaihe/shipDynamics/vesselList/index.vue

@@ -315,7 +315,6 @@
       :fullscreen="dialogFull"
       :title="title"
       :visible.sync="open"
-      close-on-click-modal="false"
       width="60%"
       :close-on-click-modal="false"
       append-to-body>