Qukatie 2 недель назад
Родитель
Сommit
2f8911708c

+ 212 - 183
src/views/boxManagement/podComeback/index.vue

@@ -1,31 +1,53 @@
 <template>
   <div>
     <basic-container>
-      <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" :search.sync="query"
-        v-model="form" id="out-table" :header-cell-class-name="headerClassName" ref="crud" @search-change="searchChange"
-        @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange"
-        @size-change="sizeChange" @refresh-change="refreshChange"
+      <avue-crud
+        :option="option"
+        :table-loading="loading"
+        :data="data"
+        :page.sync="page"
+        :search.sync="query"
+        v-model="form"
+        id="out-table"
+        :header-cell-class-name="headerClassName"
+        ref="crud"
+        @search-change="searchChange"
+        @search-reset="searchReset"
+        @selection-change="selectionChange"
+        @current-change="currentChange"
+        @size-change="sizeChange"
+        @refresh-change="refreshChange"
         @resetColumn="resetColumn('crud', 'option', 'optionBack', 506)"
-        @saveColumn="saveColumn('crud', 'option', 'optionBack', 506)" @on-load="onLoad">
+        @saveColumn="saveColumn('crud', 'option', 'optionBack', 506)"
+        @on-load="onLoad"
+      >
         <template slot="menuLeft">
-          <el-button type="success" size="small" :disabled="selectionList.length == 0"
-            @click="allClick('批量修改POD场站')">批量修改POD场站
+          <el-button type="success" size="small" :disabled="selectionList.length == 0" @click="allClick('批量修改POD场站')"
+            >批量修改POD场站
           </el-button>
           <!-- <el-button type="success" size="small" :disabled="selectionList.length == 0"
             @click="allClick('批量确认返场')">批量确认返场
           </el-button> -->
-          <el-button type="warning" size="small" @click="outExport">导 出
-          </el-button>
+          <el-button type="warning" size="small" @click="outExport">导 出 </el-button>
         </template>
       </avue-crud>
       <el-dialog append-to-body :title="title" :visible.sync="podDialog" width="30%" v-dialog-drag @closed="podClosed">
         <span>
-          <avue-form v-if='podDialog' ref="form2" v-model="podForm" :option="podOption">
+          <avue-form v-if="podDialog" ref="form2" v-model="podForm" :option="podOption">
             <tempalte slot="podStationCname">
-              <dic-select v-model="podForm.podStationCname" placeholder="场站" label="cnName" res="records"
-                :slotRight="true" rightLabel="code"
-                url="/blade-los/bcorps/selectList?current=1&size=5&corpTypeName=场站&status=0" :filterable="true"
-                :remote="true" dataName="cnName" @selectChange="dicChange('podStationCname', $event)"></dic-select>
+              <dic-select
+                v-model="podForm.podStationCname"
+                placeholder="场站"
+                label="cnName"
+                res="records"
+                :slotRight="true"
+                rightLabel="code"
+                url="/blade-los/bcorps/selectList?current=1&size=5&corpTypeName=场站&status=0"
+                :filterable="true"
+                :remote="true"
+                dataName="cnName"
+                @selectChange="dicChange('podStationCname', $event)"
+              ></dic-select>
             </tempalte>
           </avue-form>
         </span>
@@ -55,71 +77,76 @@ export default {
         disabled: false,
         column: [
           {
-            label: 'POD场站',
-            prop: 'podStationCname',
+            label: "POD场站",
+            prop: "podStationCname",
             span: 24,
-            rules: [{
-              required: true,
-              message: " ",
-              trigger: "blur"
-            }],
+            rules: [
+              {
+                required: true,
+                message: " ",
+                trigger: "blur"
+              }
+            ]
           },
           {
-            label: '返空日期',
-            prop: 'returnEmptyTime',
+            label: "返空日期",
+            prop: "returnEmptyTime",
             type: "date",
             format: "yyyy-MM-dd",
             valueFormat: "yyyy-MM-dd 00:00:00",
             span: 24,
-            display: false,
-            rules: [{
-              required: true,
-              message: " ",
-              trigger: "blur"
-            }],
+            // display: false,
+            rules: [
+              {
+                required: true,
+                message: " ",
+                trigger: "blur"
+              }
+            ]
           },
           {
-            label: '目的港场站地址',
-            prop: 'podCyAddress',
+            label: "目的港场站地址",
+            prop: "podCyAddress",
             disabled: false
           },
           {
-            label: '目的港场站联系人',
-            prop: 'podCyContact',
+            label: "目的港场站联系人",
+            prop: "podCyContact",
             disabled: false
           },
           {
-            label: '目的港场站邮箱',
-            prop: 'podCyEmail',
+            label: "目的港场站邮箱",
+            prop: "podCyEmail",
             disabled: false
           },
           {
-            label: '目的港场站电话',
-            prop: 'podCyTel',
+            label: "目的港场站电话",
+            prop: "podCyTel",
             disabled: false
           },
           {
-            label: '唛头',
-            prop: 'marks',
+            label: "唛头",
+            prop: "marks",
             span: 24,
             display: false,
-            type: 'textarea',
+            type: "textarea",
             rows: 2,
-            rules: [{
-              required: true,
-              message: " ",
-              trigger: "blur"
-            }],
-          },
-
+            rules: [
+              {
+                required: true,
+                message: " ",
+                trigger: "blur"
+              }
+            ]
+          }
         ]
       },
       form: {},
       query: {
-        whether: '0',
+        whether: "0",
         businessType: "SI",
         actualEtaList: defaultDate2(),
-        boxBelongsTo: 'SOC',
+        boxBelongsTo: "SOC"
       },
       loading: false,
       page: {
@@ -130,7 +157,7 @@ export default {
       selectionList: [],
       option: {},
       optionBack: {
-        height: 'auto',
+        height: "auto",
         calcHeight: 30,
         menuWidth: 140,
         menu: false,
@@ -145,42 +172,42 @@ export default {
         delBtn: false,
         selection: true,
         searchIcon: true,
-        align: 'center',
+        align: "center",
         searchIndex: 3,
         column: [
           {
-            label: '客户',
-            prop: 'corpName',
-            overHidden: true,
+            label: "客户",
+            prop: "corpName",
+            overHidden: true
           },
           {
-            label: '箱号',
-            prop: 'cntrNo',
+            label: "箱号",
+            prop: "cntrNo",
             overHidden: true,
-            search: true,
+            search: true
           },
-                  {
-            label: '还箱日期',
-            prop: 'returnEmptyTime',
+          {
+            label: "还箱日期",
+            prop: "podEmptyContainerReturnDate",
             type: "date",
             format: "yyyy-MM-dd",
             valueFormat: "yyyy-MM-dd",
-            overHidden: true,
+            overHidden: true
           },
           {
-            label: '铅封号',
-            prop: 'sealNo',
-            overHidden: true,
+            label: "铅封号",
+            prop: "sealNo",
+            overHidden: true
           },
           {
-            label: 'HB/L NO',
-            prop: 'hblno',
+            label: "HB/L NO",
+            prop: "hblno",
             overHidden: true,
-            search: true,
+            search: true
           },
           {
-            label: 'POD场站',
-            prop: 'podStationCname',
+            label: "POD场站",
+            prop: "podStationCname",
             overHidden: true,
             search: true,
             type: "select",
@@ -190,22 +217,22 @@ export default {
             props: {
               label: "cnName",
               value: "cnName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: 'MB/L NO',
-            prop: 'mblno',
+            label: "MB/L NO",
+            prop: "mblno",
             overHidden: true,
-            search: true,
+            search: true
           },
           {
-            label: 'ETA',
-            prop: 'eta',
+            label: "ETA",
+            prop: "eta",
             width: 120,
             search: true,
-            searchProp: 'actualEtaList',
+            searchProp: "actualEtaList",
             overHidden: true,
             type: "date",
             searchRange: true,
@@ -231,8 +258,8 @@ export default {
           //   ]
           // },
           {
-            label: '船名',
-            prop: 'vesselEnName',
+            label: "船名",
+            prop: "vesselEnName",
             overHidden: true,
             search: true,
             type: "select",
@@ -242,19 +269,19 @@ export default {
             props: {
               label: "enName",
               value: "enName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: '航次',
-            prop: 'voyageNo',
+            label: "航次",
+            prop: "voyageNo",
             overHidden: true,
-            search: true,
+            search: true
           },
           {
-            label: '起运港',
-            prop: 'polName',
+            label: "起运港",
+            prop: "polName",
             overHidden: true,
             search: true,
             type: "select",
@@ -264,13 +291,13 @@ export default {
             props: {
               label: "cnName",
               value: "cnName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: '卸货港',
-            prop: 'podName',
+            label: "卸货港",
+            prop: "podName",
             overHidden: true,
             search: true,
             type: "select",
@@ -280,57 +307,60 @@ export default {
             props: {
               label: "cnName",
               value: "cnName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: '放箱号',
-            prop: 'containerNumber',
-            overHidden: true,
+            label: "放箱号",
+            prop: "containerNumber",
+            overHidden: true
           },
           {
-            label: '箱属',
-            prop: 'boxBelongsTo',
+            label: "箱属",
+            prop: "boxBelongsTo",
             overHidden: true,
             search: true,
-            type: 'select',
+            type: "select",
             dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxBelongsTo",
             props: {
               label: "dictValue",
               value: "dictValue"
-            },
+            }
           },
           {
-            label: '箱型',
-            prop: 'cntrTypeCode',
-            overHidden: true,
+            label: "箱型",
+            prop: "cntrTypeCode",
+            overHidden: true
           },
           {
-            label: '是否录入',
-            prop: 'whether',
+            label: "是否录入",
+            prop: "whether",
             hide: true,
             overHidden: true,
             search: true,
-            type: 'select',
-            dicData: [{
-              label: '否',
-              value: '0'
-            }, {
-              label: '是',
-              value: '1'
-            }]
+            type: "select",
+            dicData: [
+              {
+                label: "否",
+                value: "0"
+              },
+              {
+                label: "是",
+                value: "1"
+              }
+            ]
           },
           {
-            label: '唛头',
-            prop: 'marks',
-            overHidden: true,
-          },
+            label: "唛头",
+            prop: "marks",
+            overHidden: true
+          }
         ]
       },
       data: [],
       type: null,
-      title: null,
+      title: null
     };
   },
   components: {
@@ -340,42 +370,41 @@ export default {
     this.option = await this.getColumnData(this.getColumnName(506), this.optionBack);
   },
   activated() {
-    setTimeout(() => {
-    }, 100);
+    setTimeout(() => {}, 100);
   },
   methods: {
     podClosed() {
-      this.findObject(this.podOption.column, "returnEmptyTime").display = false
-      this.findObject(this.podOption.column, "marks").display = false
-      this.type = null
+      // this.findObject(this.podOption.column, "returnEmptyTime").display = false
+      this.findObject(this.podOption.column, "marks").display = false;
+      this.type = null;
     },
     allClick(name) {
-      if (name == '批量修改POD场站') {
-        this.type = 0
-        this.title = name
-        this.podForm = {}
-        this.podDialog = true
-        this.findObject(this.podOption.column, "marks").display = true
+      if (name == "批量修改POD场站") {
+        this.type = 0;
+        this.title = name;
+        this.podForm = {};
+        this.podDialog = true;
+        this.findObject(this.podOption.column, "marks").display = true;
       }
-      if (name == '批量确认返场') {
-        this.type = 1
-        this.title = name
-        this.podForm = {}
-        this.podDialog = true
-        this.findObject(this.podOption.column, "returnEmptyTime").display = true
+      if (name == "批量确认返场") {
+        this.type = 1;
+        this.title = name;
+        this.podForm = {};
+        this.podDialog = true;
+        this.findObject(this.podOption.column, "returnEmptyTime").display = true;
       }
     },
     dicChange(name, row) {
-      if (name == 'podStationCname') {
+      if (name == "podStationCname") {
         if (row) {
-          this.podForm.podStationId = row.id
-          this.podForm.podStationCode = row.code
-          this.podForm.podStationEname = row.enName
+          this.podForm.podStationId = row.id;
+          this.podForm.podStationCode = row.code;
+          this.podForm.podStationEname = row.enName;
         } else {
-          this.podForm.podStationId = null
-          this.podForm.podStationCode = null
-          this.podForm.podStationEname = null
-          this.podForm.podStationCname = null
+          this.podForm.podStationId = null;
+          this.podForm.podStationCode = null;
+          this.podForm.podStationEname = null;
+          this.podForm.podStationCname = null;
         }
       }
     },
@@ -389,33 +418,33 @@ export default {
           // }
           let obj = {
             // ids: ids.join(','),
-            businessType: 'SI',
+            businessType: "SI",
             list: this.selectionList,
             ...this.podForm,
-            type: this.type,
-          }
+            type: this.type
+          };
           const loading = this.$loading({
             lock: true,
-            text: '加载中',
-            spinner: 'el-icon-loading',
-            background: 'rgba(255,255,255,0.7)'
+            text: "加载中",
+            spinner: "el-icon-loading",
+            background: "rgba(255,255,255,0.7)"
           });
-          batchUpdatePodStation(obj).then(res => {
-            this.$message.success("操作成功!");
-            this.refreshChange()
-            this.podDialog = false
-          }).finally(() => {
-            loading.close();
-          })
+          batchUpdatePodStation(obj)
+            .then(res => {
+              this.$message.success("操作成功!");
+              this.refreshChange();
+              this.podDialog = false;
+            })
+            .finally(() => {
+              loading.close();
+            });
         } else {
           return false;
         }
       });
-
-
     },
     searchReset() {
-      this.query = { businessType: "SI", };
+      this.query = { businessType: "SI" };
       this.onLoad(this.page);
     },
     // 搜索按钮点击
@@ -437,46 +466,48 @@ export default {
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
-      let obj = {}
+      let obj = {};
       obj = {
-        ...Object.assign(params, this.query),
-      }
+        ...Object.assign(params, this.query)
+      };
       this.loading = true;
-      getList(page.currentPage, page.pageSize, obj).then(res => {
-        this.data = res.data.data.records;
-        this.page.total = res.data.data.total;
-        this.$nextTick(() => {
-          this.$refs.crud.doLayout();
-          this.$refs.crud.dicInit();
+      getList(page.currentPage, page.pageSize, obj)
+        .then(res => {
+          this.data = res.data.data.records;
+          this.page.total = res.data.data.total;
+          this.$nextTick(() => {
+            this.$refs.crud.doLayout();
+            this.$refs.crud.dicInit();
+          });
+        })
+        .finally(() => {
+          this.loading = false;
         });
-      }).finally(() => {
-        this.loading = false;
-      })
     },
     outExport() {
-      let config = { params: { ...this.query } }
+      let config = { params: { ...this.query } };
       if (config.params) {
         for (const propName of Object.keys(config.params)) {
           const value = config.params[propName];
-          if (value !== null && typeof (value) !== "undefined") {
+          if (value !== null && typeof value !== "undefined") {
             if (value instanceof Array) {
               for (const key of Object.keys(value)) {
-                let params = propName + '[' + key + ']';
-                config.params[params] = value[key]
+                let params = propName + "[" + key + "]";
+                config.params[params] = value[key];
               }
-              delete config.params[propName]
+              delete config.params[propName];
             }
           }
         }
       }
       const routeData = this.$router.resolve({
-        path: '/api/blade-los/UpdatePodStation/listExport',      //跳转目标窗口的地址
+        path: "/api/blade-los/UpdatePodStation/listExport", //跳转目标窗口的地址
         query: {
-          ...config.params,    //括号内是要传递给新窗口的参数
+          ...config.params, //括号内是要传递给新窗口的参数
           identification: this.url
         }
-      })
-      window.open(routeData.href.slice(1, routeData.href.length) + '&' + `${this.website.tokenHeader}=${getToken()}`);
+      });
+      window.open(routeData.href.slice(1, routeData.href.length) + "&" + `${this.website.tokenHeader}=${getToken()}`);
     },
     //自定义列保存
     async saveColumn(ref, option, optionBack, code) {
@@ -504,20 +535,18 @@ export default {
     // 更改表格颜色
     headerClassName(tab) {
       //颜色间隔
-      let back = ""
+      let back = "";
       if (tab.columnIndex >= 0 && tab.column.level === 1) {
         if (tab.columnIndex % 2 === 0) {
-          back = "back-one"
+          back = "back-one";
         } else if (tab.columnIndex % 2 === 1) {
-          back = "back-two"
+          back = "back-two";
         }
       }
       return back;
-    },
-
+    }
   }
-}
-
+};
 </script>
 
 <style lang="scss" scoped>
@@ -539,4 +568,4 @@ export default {
 ::v-deep .el-col-md-8 {
   width: 24.33333%;
 }
-</style>
+</style>

+ 3 - 3
src/views/iosBasicData/OceanFreightImport/bills/billsDetails.vue

@@ -2269,9 +2269,9 @@ export default {
           type: "warning"
         });
       }
-      if (popupReminder(this.form, this.messageData)) {
-        return;
-      }
+      // if (popupReminder(this.form, this.messageData)) {
+      //   return;
+      // }
       if (this.form.billType == "DD") {
         if (this.form.feeCenterListC.length == 0 && this.form.feeCenterListD == 0) {
           return this.$message.warning("请添加费用信息");

+ 189 - 153
src/views/iosBasicData/podStation/index.vue

@@ -1,28 +1,50 @@
 <template>
   <div>
     <basic-container>
-      <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" :search.sync="query"
-        v-model="form" id="out-table" :header-cell-class-name="headerClassName" ref="crud" @search-change="searchChange"
-        @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange"
-        @size-change="sizeChange" @refresh-change="refreshChange"
+      <avue-crud
+        :option="option"
+        :table-loading="loading"
+        :data="data"
+        :page.sync="page"
+        :search.sync="query"
+        v-model="form"
+        id="out-table"
+        :header-cell-class-name="headerClassName"
+        ref="crud"
+        @search-change="searchChange"
+        @search-reset="searchReset"
+        @selection-change="selectionChange"
+        @current-change="currentChange"
+        @size-change="sizeChange"
+        @refresh-change="refreshChange"
         @resetColumn="resetColumn('crud', 'option', 'optionBack', 500)"
-        @saveColumn="saveColumn('crud', 'option', 'optionBack', 500)" @on-load="onLoad">
+        @saveColumn="saveColumn('crud', 'option', 'optionBack', 500)"
+        @on-load="onLoad"
+      >
         <template slot="menuLeft">
-          <el-button type="success" size="small" :disabled="selectionList.length == 0"
-            @click="allClick('批量修改POD场站')">批量修改POD场站
-          </el-button>
-          <el-button type="warning" size="small" @click="outExport">导 出
+          <el-button type="success" size="small" :disabled="selectionList.length == 0" @click="allClick('批量修改POD场站')"
+            >批量修改POD场站
           </el-button>
+          <el-button type="warning" size="small" @click="outExport">导 出 </el-button>
         </template>
       </avue-crud>
       <el-dialog append-to-body title="批量修改POD场站" :visible.sync="podDialog" width="30%" v-dialog-drag>
         <span>
-          <avue-form v-if='podDialog' ref="form2" v-model="podForm" :option="podOption">
+          <avue-form v-if="podDialog" ref="form2" v-model="podForm" :option="podOption">
             <tempalte slot="podStationCname">
-              <dic-select v-model="podForm.podStationCname" placeholder="场站" label="cnName" res="records"
-                :slotRight="true" rightLabel="code"
-                url="/blade-los/bcorps/selectList?current=1&size=5&corpTypeName=场站&status=0" :filterable="true"
-                :remote="true" dataName="cnName" @selectChange="dicChange('podStationCname', $event)"></dic-select>
+              <dic-select
+                v-model="podForm.podStationCname"
+                placeholder="场站"
+                label="cnName"
+                res="records"
+                :slotRight="true"
+                rightLabel="code"
+                url="/blade-los/bcorps/selectList?current=1&size=5&corpTypeName=场站&status=0"
+                :filterable="true"
+                :remote="true"
+                dataName="cnName"
+                @selectChange="dicChange('podStationCname', $event)"
+              ></dic-select>
             </tempalte>
           </avue-form>
         </span>
@@ -52,54 +74,58 @@ export default {
         disabled: false,
         column: [
           {
-            label: 'POD场站',
-            prop: 'podStationCname',
-            rules: [{
-              required: true,
-              message: " ",
-              trigger: "blur"
-            }],
+            label: "POD场站",
+            prop: "podStationCname",
+            rules: [
+              {
+                required: true,
+                message: " ",
+                trigger: "blur"
+              }
+            ]
           },
           {
-            label: '还箱日期',
-            prop: 'returnEmptyTime',
+            label: "还箱日期",
+            prop: "returnEmptyTime",
             type: "date",
             format: "yyyy-MM-dd",
             valueFormat: "yyyy-MM-dd 00:00:00",
             span: 24,
-            rules: [{
-              required: true,
-              message: " ",
-              trigger: "blur"
-            }],
+            rules: [
+              {
+                required: true,
+                message: " ",
+                trigger: "blur"
+              }
+            ]
           },
           {
-            label: '目的港场站地址',
-            prop: 'podCyAddress',
+            label: "目的港场站地址",
+            prop: "podCyAddress",
             disabled: false
           },
           {
-            label: '目的港场站联系人',
-            prop: 'podCyContact',
+            label: "目的港场站联系人",
+            prop: "podCyContact",
             disabled: false
           },
           {
-            label: '目的港场站邮箱',
-            prop: 'podCyEmail',
+            label: "目的港场站邮箱",
+            prop: "podCyEmail",
             disabled: false
           },
           {
-            label: '目的港场站电话',
-            prop: 'podCyTel',
+            label: "目的港场站电话",
+            prop: "podCyTel",
             disabled: false
-          },
+          }
         ]
       },
       form: {},
       query: {
-        whether: '0',
+        whether: "0",
         businessType: "SE",
-        boxBelongsTo: 'SOC',
+        boxBelongsTo: "SOC",
         actualEtdList: defaultDate2()
       },
       loading: false,
@@ -111,7 +137,7 @@ export default {
       selectionList: [],
       option: {},
       optionBack: {
-        height: 'auto',
+        height: "auto",
         calcHeight: 30,
         menuWidth: 140,
         menu: false,
@@ -126,34 +152,42 @@ export default {
         delBtn: false,
         selection: true,
         searchIcon: true,
-        align: 'center',
+        align: "center",
         searchIndex: 3,
         column: [
           {
-            label: '客户',
-            prop: 'corpName',
-            overHidden: true,
+            label: "客户",
+            prop: "corpName",
+            overHidden: true
           },
           {
-            label: '箱号',
-            prop: 'cntrNo',
+            label: "箱号",
+            prop: "cntrNo",
             overHidden: true,
-            search: true,
+            search: true
           },
           {
-            label: '铅封号',
-            prop: 'sealNo',
-            overHidden: true,
+            label: "还箱日期",
+            prop: "podEmptyContainerReturnDate",
+            type: "date",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            overHidden: true
+          },
+          {
+            label: "铅封号",
+            prop: "sealNo",
+            overHidden: true
           },
           {
-            label: 'HB/L NO',
-            prop: 'hblno',
+            label: "HB/L NO",
+            prop: "hblno",
             overHidden: true,
-            search: true,
+            search: true
           },
           {
-            label: 'POD场站',
-            prop: 'podStationCname',
+            label: "POD场站",
+            prop: "podStationCname",
             overHidden: true,
             search: true,
             type: "select",
@@ -163,22 +197,22 @@ export default {
             props: {
               label: "cnName",
               value: "cnName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: 'MB/L NO',
-            prop: 'mblno',
+            label: "MB/L NO",
+            prop: "mblno",
             overHidden: true,
-            search: true,
+            search: true
           },
           {
-            label: 'ETD',
-            prop: 'etd',
+            label: "ETD",
+            prop: "etd",
             width: 120,
             search: true,
-            searchProp: 'actualEtdList',
+            searchProp: "actualEtdList",
             overHidden: true,
             type: "date",
             searchRange: true,
@@ -204,8 +238,8 @@ export default {
           //   ]
           // },
           {
-            label: '船名',
-            prop: 'vesselCnName',
+            label: "船名",
+            prop: "vesselCnName",
             overHidden: true,
             search: true,
             type: "select",
@@ -215,19 +249,19 @@ export default {
             props: {
               label: "cnName",
               value: "cnName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: '航次',
-            prop: 'voyageNo',
+            label: "航次",
+            prop: "voyageNo",
             overHidden: true,
-            search: true,
+            search: true
           },
           {
-            label: '起运港',
-            prop: 'polName',
+            label: "起运港",
+            prop: "polName",
             overHidden: true,
             search: true,
             type: "select",
@@ -237,13 +271,13 @@ export default {
             props: {
               label: "cnName",
               value: "cnName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: '卸货港',
-            prop: 'podName',
+            label: "卸货港",
+            prop: "podName",
             overHidden: true,
             search: true,
             type: "select",
@@ -253,50 +287,53 @@ export default {
             props: {
               label: "cnName",
               value: "cnName",
-              desc: 'code',
+              desc: "code",
               res: "data.records"
             }
           },
           {
-            label: '放箱号',
-            prop: 'containerNumber',
-            overHidden: true,
+            label: "放箱号",
+            prop: "containerNumber",
+            overHidden: true
           },
           {
-            label: '箱属',
-            prop: 'boxBelongsTo',
+            label: "箱属",
+            prop: "boxBelongsTo",
             overHidden: true,
             search: true,
-            type: 'select',
+            type: "select",
             dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxBelongsTo",
             props: {
               label: "dictValue",
               value: "dictValue"
-            },
+            }
           },
           {
-            label: '箱型',
-            prop: 'cntrTypeCode',
-            overHidden: true,
+            label: "箱型",
+            prop: "cntrTypeCode",
+            overHidden: true
           },
           {
-            label: '是否录入',
-            prop: 'whether',
+            label: "是否录入",
+            prop: "whether",
             hide: true,
             overHidden: true,
             search: true,
-            type: 'select',
-            dicData: [{
-              label: '否',
-              value: '0'
-            }, {
-              label: '是',
-              value: '1'
-            }]
-          },
+            type: "select",
+            dicData: [
+              {
+                label: "否",
+                value: "0"
+              },
+              {
+                label: "是",
+                value: "1"
+              }
+            ]
+          }
         ]
       },
-      data: [],
+      data: []
     };
   },
   components: {
@@ -306,27 +343,26 @@ export default {
     this.option = await this.getColumnData(this.getColumnName(500), this.optionBack);
   },
   activated() {
-    setTimeout(() => {
-    }, 100);
+    setTimeout(() => {}, 100);
   },
   methods: {
     allClick(name) {
-      if (name == '批量修改POD场站') {
-        this.podForm = {}
-        this.podDialog = true
+      if (name == "批量修改POD场站") {
+        this.podForm = {};
+        this.podDialog = true;
       }
     },
     dicChange(name, row) {
-      if (name == 'podStationCname') {
+      if (name == "podStationCname") {
         if (row) {
-          this.podForm.podStationId = row.id
-          this.podForm.podStationCode = row.code
-          this.podForm.podStationEname = row.enName
+          this.podForm.podStationId = row.id;
+          this.podForm.podStationCode = row.code;
+          this.podForm.podStationEname = row.enName;
         } else {
-          this.podForm.podStationId = null
-          this.podForm.podStationCode = null
-          this.podForm.podStationEname = null
-          this.podForm.podStationCname = null
+          this.podForm.podStationId = null;
+          this.podForm.podStationCode = null;
+          this.podForm.podStationEname = null;
+          this.podForm.podStationCname = null;
         }
       }
     },
@@ -340,29 +376,29 @@ export default {
           // }
           let obj = {
             // ids: ids.join(','),
-            businessType: 'SE',
+            businessType: "SE",
             list: this.selectionList,
-            ...this.podForm,
-          }
+            ...this.podForm
+          };
           const loading = this.$loading({
             lock: true,
-            text: '加载中',
-            spinner: 'el-icon-loading',
-            background: 'rgba(255,255,255,0.7)'
+            text: "加载中",
+            spinner: "el-icon-loading",
+            background: "rgba(255,255,255,0.7)"
           });
-          batchUpdatePodStation(obj).then(res => {
-            this.$message.success("操作成功!");
-            this.refreshChange()
-            this.podDialog = false
-          }).finally(() => {
-            loading.close();
-          })
+          batchUpdatePodStation(obj)
+            .then(res => {
+              this.$message.success("操作成功!");
+              this.refreshChange();
+              this.podDialog = false;
+            })
+            .finally(() => {
+              loading.close();
+            });
         } else {
           return false;
         }
       });
-
-
     },
     searchReset() {
       this.query = {
@@ -389,46 +425,48 @@ export default {
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
-      let obj = {}
+      let obj = {};
       obj = {
-        ...Object.assign(params, this.query),
-      }
+        ...Object.assign(params, this.query)
+      };
       this.loading = true;
-      getList(page.currentPage, page.pageSize, obj).then(res => {
-        this.data = res.data.data.records;
-        this.page.total = res.data.data.total;
-        this.$nextTick(() => {
-          this.$refs.crud.doLayout();
-          this.$refs.crud.dicInit();
+      getList(page.currentPage, page.pageSize, obj)
+        .then(res => {
+          this.data = res.data.data.records;
+          this.page.total = res.data.data.total;
+          this.$nextTick(() => {
+            this.$refs.crud.doLayout();
+            this.$refs.crud.dicInit();
+          });
+        })
+        .finally(() => {
+          this.loading = false;
         });
-      }).finally(() => {
-        this.loading = false;
-      })
     },
     outExport() {
-      let config = { params: { ...this.query } }
+      let config = { params: { ...this.query } };
       if (config.params) {
         for (const propName of Object.keys(config.params)) {
           const value = config.params[propName];
-          if (value !== null && typeof (value) !== "undefined") {
+          if (value !== null && typeof value !== "undefined") {
             if (value instanceof Array) {
               for (const key of Object.keys(value)) {
-                let params = propName + '[' + key + ']';
-                config.params[params] = value[key]
+                let params = propName + "[" + key + "]";
+                config.params[params] = value[key];
               }
-              delete config.params[propName]
+              delete config.params[propName];
             }
           }
         }
       }
       const routeData = this.$router.resolve({
-        path: '/api/blade-los/UpdatePodStation/listExport',      //跳转目标窗口的地址
+        path: "/api/blade-los/UpdatePodStation/listExport", //跳转目标窗口的地址
         query: {
-          ...config.params,    //括号内是要传递给新窗口的参数
+          ...config.params, //括号内是要传递给新窗口的参数
           identification: this.url
         }
-      })
-      window.open(routeData.href.slice(1, routeData.href.length) + '&' + `${this.website.tokenHeader}=${getToken()}`);
+      });
+      window.open(routeData.href.slice(1, routeData.href.length) + "&" + `${this.website.tokenHeader}=${getToken()}`);
     },
     //自定义列保存
     async saveColumn(ref, option, optionBack, code) {
@@ -456,20 +494,18 @@ export default {
     // 更改表格颜色
     headerClassName(tab) {
       //颜色间隔
-      let back = ""
+      let back = "";
       if (tab.columnIndex >= 0 && tab.column.level === 1) {
         if (tab.columnIndex % 2 === 0) {
-          back = "back-one"
+          back = "back-one";
         } else if (tab.columnIndex % 2 === 1) {
-          back = "back-two"
+          back = "back-two";
         }
       }
       return back;
-    },
-
+    }
   }
-}
-
+};
 </script>
 
 <style lang="scss" scoped>
@@ -491,4 +527,4 @@ export default {
 ::v-deep .el-col-md-8 {
   width: 24.33333%;
 }
-</style>
+</style>