Bläddra i källkod

货代权限和EDI弹窗 2024-1-30

caojunjie 1 år sedan
förälder
incheckning
21b1c532c1

+ 4 - 0
src/enums/column-name.js

@@ -1527,6 +1527,10 @@ const columnName = [{
     code: 325,
     name: '货运代理-基础资料-发送EDI'
   },
+  {
+    code: 326,
+    name: '货运代理-报关-海运出口报关'
+  },
 ]
 export const getColumnName = (key) => {
   for (let index = 0; index < columnName.length; index++) {

+ 1 - 1
src/views/iosBasicData/AirtransportExport/bills/assembly/feecenter.vue

@@ -1072,7 +1072,7 @@
                         value:'mblno',
                     },
                     {
-                        name:'RET MBLNO',
+                        name:'REF MBLNO',
                         value:'refno',
                     },
                     {

+ 5 - 3
src/views/iosBasicData/AirtransportExport/bills/billsDetails.vue

@@ -508,8 +508,8 @@ import {
                             },
                         ],
                         {
-                            label: "RET MBLNO", // Co-Loader 中文名称  往来单位 类别
-                            text:"RET MBLNO",
+                            label: "REF MBLNO", // Co-Loader 中文名称  往来单位 类别
+                            text:"REF MBLNO",
                             prop: "refno",
                             disabled:false,
                         },
@@ -611,7 +611,7 @@ import {
                         value:'mblno',
                     },
                     {
-                        name:'RET MBLNO',
+                        name:'REF MBLNO',
                         value:'refno',
                     },
                     {
@@ -715,11 +715,13 @@ import {
                     this.form.departureAddrCnName = res.data.data.polCnName
                     this.form.departureAddrEnName = res.data.data.polEnName
                     this.form.departureAddrId = res.data.data.polId
+                    this.form.departureAddrCode = res.data.data.polCode
                     this.form.departureAddrNamePrint = res.data.data.polEnName
                     // 起运港
                     this.form.departureCnName = res.data.data.polCnName
                     this.form.departureEnName = res.data.data.polEnName
                     this.form.departureId = res.data.data.polId
+                    this.form.departureCode = res.data.data.polCode
                     this.form.departureNamePrint = res.data.data.polEnName
                     // 签单地点 默认 起运港
                     this.$set(this.form,'issueAt',this.form.departureEnName)

+ 1 - 1
src/views/iosBasicData/AirtransportImport/bills/assembly/feecenter.vue

@@ -1078,7 +1078,7 @@
                         value:'mblno',
                     },
                     {
-                        name:'RET MBLNO',
+                        name:'REF MBLNO',
                         value:'refno',
                     },
                     {

+ 5 - 3
src/views/iosBasicData/AirtransportImport/bills/billsDetails.vue

@@ -509,8 +509,8 @@ import {
                             },
                         ],
                         {
-                            label: "RET MBLNO", // Co-Loader 中文名称  往来单位 类别
-                            text:"RET MBLNO",
+                            label: "REF MBLNO", // Co-Loader 中文名称  往来单位 类别
+                            text:"REF MBLNO",
                             prop: "refno",
                             disabled:false,
                         },
@@ -612,7 +612,7 @@ import {
                         value:'mblno',
                     },
                     {
-                        name:'Reference NO',
+                        name:'REF MBLNO',
                         value:'refno',
                     },
                     {
@@ -715,10 +715,12 @@ import {
                     // 目的地
                     this.form.destinationName = res.data.data.polEnName
                     this.form.destinationId = res.data.data.polId
+                    this.form.destinationCode = res.data.data.polCode
                     this.form.destinationNamePrint = res.data.data.polEnName
                     // 目的港
                     this.form.finalDestinationName = res.data.data.polEnName
                     this.form.finalDestinationId = res.data.data.polId
+                    this.form.finalDestinationCode = res.data.data.polCode
                     this.form.finalDestinationNamePrint = res.data.data.polEnName
                     // 签单地点 默认 起运港
                     this.$set(this.form,'issueAt',this.form.departureEnName)

+ 4 - 0
src/views/iosBasicData/OceanFreightImport/bills/assembly/feecenter.vue

@@ -1081,6 +1081,10 @@
                         value:'mblno',
                     },
                     {
+                        name:'REF MBLNO',
+                        value:'refno',
+                    },
+                    {
                         name:'船名(VSL)',
                         value:'vesselCnName',
                     },

+ 3 - 3
src/views/iosBasicData/OceanFreightImport/bills/assembly/mbinformation.vue

@@ -89,14 +89,14 @@
                     </el-form-item>
                 </el-col>
                 <el-col :span="12">
-                    <el-form-item label="外提单号" prop="refno" >
+                    <el-form-item label="REF MBLNO" prop="refno" >
                         <span slot="label">
-                            <span style="color: #1e9fff">外提单号</span>
+                            <span style="color: #1e9fff">REF MBLNO</span>
                         </span>
                         <el-input type="age" style="width: 100%;" v-model="assemblyForm.refno"
                                   size="small" autocomplete="off"
                                   :disabled="detailData.seeDisabled"
-                                  clearable placeholder="请填写外提单号" ></el-input>
+                                  clearable placeholder="请填写REF MBLNO" ></el-input>
                     </el-form-item>
                     <el-row>
                         <el-col :span="12">

+ 29 - 13
src/views/iosBasicData/OceanFreightImport/bills/billsDetails.vue

@@ -16,17 +16,17 @@
 
                 <!--    </div>-->
 
-                <el-dropdown style="line-height: 0">
-                    <el-button size="small" type="success" style="margin-right: 8px"
-                               :loading="saveLoading" :disabled="!form.id" >
-                        发送 EDI<i class="el-icon-arrow-down el-icon--right"></i>
-                    </el-button>
-                    <el-dropdown-menu slot="dropdown">
-                        <el-dropdown-item v-for="item in ediData" :key="item.id"
-                                          @click.native="editypesSendingEdifun(item)">{{item.cnName}}
-                        </el-dropdown-item>
-                    </el-dropdown-menu>
-                </el-dropdown>
+                <!--<el-dropdown style="line-height: 0">-->
+                <!--    <el-button size="small" type="success" style="margin-right: 8px"-->
+                <!--               :loading="saveLoading" :disabled="!form.id" >-->
+                <!--        发送 EDI<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i>-->
+                <!--    </el-button>-->
+                <!--    <el-dropdown-menu slot="dropdown">-->
+                <!--        <el-dropdown-item v-for="item in ediData" :key="item.id"-->
+                <!--                          @click.native="editypesSendingEdifun(item)">{{item.cnName}}-->
+                <!--        </el-dropdown-item>-->
+                <!--    </el-dropdown-menu>-->
+                <!--</el-dropdown>-->
 
                 <el-button size="small" style="margin-right: 8px"
                            :loading="saveLoading" @click="previewDialogfun" >预 览
@@ -212,9 +212,7 @@
                                                           clearable :placeholder="'请输入' + item.text || ''" ></el-input>
                                             </el-form-item>
                                         </div>
-
                                     </el-col>
-
                                 </el-row>
                             </basic-container>
                         </el-form>
@@ -598,6 +596,12 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                                 }]
                             },
                         ],
+                        {
+                            label: "REF MBLNO", // Co-Loader 中文名称  往来单位 类别
+                            text:"REF MBLNO",
+                            prop: "refno",
+                            disabled:false,
+                        },
                     ]
                 },
                 activeName:'first',
@@ -627,6 +631,10 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                         value:'voyageNo',
                     },
                     {
+                        name:'REF MBLNO',
+                        value:'refno',
+                    },
+                    {
                         name:'ETA',
                         value:'eta',
                     },
@@ -750,11 +758,13 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                     // 目的地
                     this.form.destinationName = res.data.data.polEnName
                     this.form.destinationId = res.data.data.polId
+                    this.form.destinationCode = res.data.data.polCode
                     this.form.destinationNamePrint = res.data.data.polEnName
                     // 卸货港
                     this.form.podCnName = res.data.data.polCnName
                     this.form.podEnName = res.data.data.polEnName
                     this.form.podId = res.data.data.polId
+                    this.form.podCode = res.data.data.polCode
                     this.form.podNamePrint = res.data.data.polEnName
                 })
             },
@@ -1456,6 +1466,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                             this.columnforfun('srcType').disabled = true
                             this.columnforfun('mblno').disabled = true
                             this.columnforfun('teamId').disabled = true
+                            this.columnforfun('refno').disabled = true
                             this.generateBillsfalse = true
                         }
                         if (item.curCode == 'CNY') {
@@ -1480,6 +1491,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                             this.columnforfun('srcType').disabled = true
                             this.columnforfun('mblno').disabled = true
                             this.columnforfun('teamId').disabled = true
+                            this.columnforfun('refno').disabled = true
                         }
                         if (item.curCode == 'CNY') {
                             this.$set(item,'rmbAmount',item.amount)
@@ -1515,6 +1527,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                     this.columnforfun('srcType').disabled = true
                     this.columnforfun('mblno').disabled = true
                     this.columnforfun('teamId').disabled = true
+                    this.columnforfun('refno').disabled = true
                     this.generateBillsfalse = true
                     this.pleasereviewType = true // 请核禁用
                 }else {
@@ -1523,6 +1536,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                     this.columnforfun('srcType').disabled = false
                     this.columnforfun('mblno').disabled = false
                     this.columnforfun('teamId').disabled = false
+                    this.columnforfun('refno').disabled = false
                     this.generateBillsfalse = false
                     this.pleasereviewType = false
                 }
@@ -1547,6 +1561,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                         this.columnforfun('srcType').disabled = true
                         this.columnforfun('mblno').disabled = true
                         this.columnforfun('teamId').disabled = true
+                        this.columnforfun('refno').disabled = true
                         this.generateBillsfalse = true
                     }
                     if (item.curCode == 'CNY') {
@@ -1571,6 +1586,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                         this.columnforfun('srcType').disabled = true
                         this.columnforfun('mblno').disabled = true
                         this.columnforfun('teamId').disabled = true
+                        this.columnforfun('refno').disabled = true
                     }
                     if (item.curCode == 'CNY') {
                         this.$set(item,'rmbAmount',item.amount)

+ 10 - 10
src/views/iosBasicData/OceanFreightImport/bills/index.vue

@@ -350,16 +350,16 @@
                              v-if="query.billStatus != 3"
                              @click="handleDelete">删 除
                   </el-button>
-                  <el-dropdown style="line-height: 0">
-                      <el-button size="small" type="success" style="margin-right: 8px" :disabled="selectionList.length == 0" >
-                          发送 EDI<i class="el-icon-arrow-down el-icon--right"></i>
-                      </el-button>
-                      <el-dropdown-menu slot="dropdown">
-                          <el-dropdown-item v-for="item in ediData" :key="item.id"
-                                            @click.native="editypesSendingEdifun(item)" >{{item.cnName}}
-                          </el-dropdown-item>
-                      </el-dropdown-menu>
-                  </el-dropdown>
+                  <!--<el-dropdown style="line-height: 0">-->
+                  <!--    <el-button size="small" type="success" style="margin-right: 8px" :disabled="selectionList.length == 0" >-->
+                  <!--        发送 EDI<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i>-->
+                  <!--    </el-button>-->
+                  <!--    <el-dropdown-menu slot="dropdown">-->
+                  <!--        <el-dropdown-item v-for="item in ediData" :key="item.id"-->
+                  <!--                          @click.native="editypesSendingEdifun(item)" >{{item.cnName}}-->
+                  <!--        </el-dropdown-item>-->
+                  <!--    </el-dropdown-menu>-->
+                  <!--</el-dropdown>-->
                   <div style="margin-top: 10px">
                       <el-tabs type="card" v-model="query.billStatus" @tab-click="handleClick">
                           <el-tab-pane label="接单" name="0">

+ 1 - 0
src/views/iosBasicData/SeafreightExportF/bills/assembly/EntrustmentLnformation.vue

@@ -1112,6 +1112,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
                     }
                     for(let item of this[name + 'Data']) {
                         if (item.cnName == value) {
+                            console.log(item,1115)
                             this.$set(this.assemblyForm,'carrierId',item.id)
                             this.$set(this.assemblyForm,'carrierCnName',item.cnName)
                             this.$set(this.assemblyForm,'carrierEnName',item.enName)

+ 1 - 1
src/views/iosBasicData/SeafreightExportF/bills/assembly/feecenter.vue

@@ -1097,7 +1097,7 @@
                         value:'bookingNo',
                     },
                     {
-                        name:'外提单号',
+                        name:'REF MBLNO',
                         value:'refno',
                     },
                     {

+ 3 - 3
src/views/iosBasicData/SeafreightExportF/bills/assembly/mbinformation.vue

@@ -89,14 +89,14 @@
                     </el-form-item>
                 </el-col>
                 <el-col :span="12">
-                    <el-form-item label="外提单号" prop="refno" >
+                    <el-form-item label="REF MBLNO" prop="refno" >
                         <span slot="label">
-                            <span style="color: #1e9fff">外提单号</span>
+                            <span style="color: #1e9fff">REF MBLNO</span>
                         </span>
                         <el-input type="age" style="width: 100%;" v-model="assemblyForm.refno"
                                   size="small" autocomplete="off"
                                   :disabled="detailData.seeDisabled"
-                                  clearable placeholder="请填写外提单号" ></el-input>
+                                  clearable placeholder="请填写REF MBLNOs" ></el-input>
                     </el-form-item>
                     <el-row>
                         <el-col :span="12">

+ 20 - 5
src/views/iosBasicData/SeafreightExportF/bills/billsDetails.vue

@@ -542,8 +542,8 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                             disabled:false,
                         },
                         {
-                            label: "外提单号", // Co-Loader 中文名称  往来单位 类别
-                            text:"外提单号",
+                            label: "REF MBLNO", // Co-Loader 中文名称  往来单位 类别
+                            text:"REF MBLNO",
                             prop: "refno",
                             disabled:false,
                         },
@@ -636,7 +636,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                         value:'bookingNo',
                     },
                     {
-                        name:'外提单号',
+                        name:'REF MBLNO',
                         value:'refno',
                     },
                     {
@@ -753,8 +753,21 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                 this.saveLoading = true
                 editypesSendingEdi(row).then(res=>{
                     this.saveLoading = false
-                    this.$message.success('操作成功,请去文件中心查看')
-                    this.billsDetailfun(this.form.id) // 详情接口
+                    // 判断data是否有值,没有值说明不成功给个弹窗返回
+                    if (!res.data.data) {
+                        let text = res.data.msg
+                        this.$message({
+                            type:'warning',
+                            dangerouslyUseHTMLString: true,
+                            message:`<p>${text.slice(text.indexOf('非空'),text.indexOf('特殊字符'))}</p><p>${text.slice(text.indexOf('特殊字符'),text.indexOf('长度超长'))}</p><p>${text.slice(text.indexOf('长度超长'),text.indexOf('其他'))}</p><p>${text.slice(text.indexOf('其他'))}</p>`,
+                            duration:5000
+                        });
+                    }else {
+                        this.$message.success('操作成功,请去文件中心查看')
+                        this.billsDetailfun(this.form.id) // 详情接口
+                    }
+                }).catch((err)=>{
+                    this.saveLoading = false
                 })
             },
             // 报表弹窗
@@ -771,11 +784,13 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                     // 收货地
                     this.form.placeReceiptName = res.data.data.polEnName
                     this.form.placeReceiptId = res.data.data.polId
+                    this.form.placeReceiptCode = res.data.data.polCode
                     this.form.placeReceiptNamePrint = res.data.data.polEnName
                     // 装货港
                     this.form.polCnName = res.data.data.polCnName
                     this.form.polEnName = res.data.data.polEnName
                     this.form.polId = res.data.data.polId
+                    this.form.polCode = res.data.data.polCode
                     this.form.polNamePrint = res.data.data.polEnName
                     // 签单地点 默认 装货港
                     this.$set(this.form,'issueAt',this.form.polEnName)

+ 10 - 4
src/views/iosBasicData/SeafreightExportF/bills/index.vue

@@ -525,7 +525,7 @@ import { getDeptTree } from "@/api/system/dept";
           issueTypeData:[],
           isShow:true,
           detailData:{},
-          dialogVisible:false, // 弹窗开启
+          dialogVisible:false, // 弹窗开启V
           // ETD是否可以检索
           etdDisabled:false,
           // ETA是否可以检索
@@ -579,7 +579,7 @@ import { getDeptTree } from "@/api/system/dept";
           searchLabelWidth:'100',
           border: true,
           index: true,
-          selection: true,
+          selection: true, // 是否有选择框
           dialogClickModal: false,
           highlightCurrentRow:true, // 单选
           searchIcon: true,
@@ -968,12 +968,18 @@ import { getDeptTree } from "@/api/system/dept";
                 overHidden:true,
             },
             {
-              label: "V20",
-              prop: "quantityV20",
+                label: "TEU(目前没有参数)",
+                prop: "teu",
                 width:"100",
                 overHidden:true,
             },
             {
+              label: "V20",
+              prop: "quantityV20",
+              width:"100",
+              overHidden:true,
+            },
+            {
               label: "V40",
               prop: "quantityV40",
                 width:"100",

+ 22 - 0
src/views/iosBasicData/reportClose/AEreportClose/index.vue

@@ -0,0 +1,22 @@
+<template>
+    <div>
+        空运出口报关
+    </div>
+</template>
+
+<script>
+    export default {
+        data() {
+            return {
+
+            }
+        },
+        methods:{
+
+        }
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 22 - 0
src/views/iosBasicData/reportClose/AIreportClose/index.vue

@@ -0,0 +1,22 @@
+<template>
+    <div>
+        空运进口报关
+    </div>
+</template>
+
+<script>
+    export default {
+        data() {
+            return {
+
+            }
+        },
+        methods:{
+
+        }
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 222 - 0
src/views/iosBasicData/reportClose/SEreportClose/index.vue

@@ -0,0 +1,222 @@
+<template>
+    <div>
+        海运出口报关
+        <basic-container v-if="isShow">
+            <avue-crud :option="option"
+                       :table-loading="loading"
+                       :data="data"
+                       :page.sync="page"
+                       id="out-table"
+                       :header-cell-class-name="headerClassName"
+                       v-model="form"
+                       ref="crud"
+                       :search.sync="query"
+                       @selection-change="selectionChange"
+                       @search-change="searchChange"
+                       @search-reset="searchReset"
+                       @refresh-change="refreshChange"
+                       @current-change="currentChange"
+                       @size-change="sizeChange"
+                       @on-load="onLoad"
+                       @resetColumn="resetColumnTwo('crud', 'option', 'optionBack', 326)"
+                       @saveColumn="saveColumnTwo('crud', 'option', 'optionBack', 326)" >
+                <template slot="menuLeft">
+                    <el-button type="primary" size="small" @click="addbtnfun()">新建报关</el-button>
+                </template>
+                <template slot-scope="scope" slot="menu">
+                    <template slot="billNo" slot-scope="scope">
+                        <span style="color: #1e9fff;cursor: pointer;width: 100%;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;"
+                              @click.stop="rowCellfun(scope.row.id, scope.index)" >{{scope.row.billNo}}</span>
+                    </template>
+                    <el-button :type="scope.type" :size="scope.size"
+                               icon="el-icon-edit"
+                               @click.stop="rowCellfun(scope.row.id, scope.index)">编辑
+                    </el-button>
+                </template>
+            </avue-crud>
+        </basic-container>
+        <div v-if="!isShow" >123123</div>
+    </div>
+</template>
+
+<script>
+    import {billsList} from "@/api/iosBasicData/bills";
+
+    export default {
+        data() {
+            return {
+                isShow:true, // 详情是否打开
+                loading:false, // 按钮动画
+                data:[], // 渲染的数据
+                // 分页
+                page: {
+                    pageSize: 10,
+                    currentPage: 1,
+                    total: 0
+                },
+                form:{}, // 绑定的对象
+                query:{}, // 搜索项
+                option:{},
+                optionBack:{
+                    height:'auto',
+                    calcHeight: 30,
+                    tip: false,
+                    searchShow: true,
+                    expand: true,
+                    expandRowKeys:[],
+                    rowKey:'id',
+                    searchIcon: true,
+                    searchIndex: 3,
+                    border: true,
+                    index: true,
+                    selection: true, // 是否有选择框
+                    dialogClickModal: false,
+                    stripe:true,
+                    addBtn:false,
+                    viewBtn:false,
+                    delBtn:false,
+                    editBtn:false,
+                    menuWidth:'auto',
+                    column:[
+                        {
+                            label: "单据类型",
+                            prop: "billType",
+                            type: 'select',
+                            search:true,
+                            span:6,
+                            searchOrder:4,
+                            dicData: [{
+                                label: '直单',
+                                value: 'DD'
+                            }, {
+                                label: '主单',
+                                value: 'MM'
+                            },{
+                                label: '分单',
+                                value: 'MH'
+                            }],
+                            overHidden:true,
+                        },
+                    ]
+                },
+            }
+        },
+        async created() {
+            this.option = await this.getColumnData(this.getColumnName(326), this.optionBack);
+        },
+        methods:{
+            // 编辑详情打开
+            rowCellfun(id,index) {
+                this.detailData = {
+                    seeDisabled: false,
+                    id: id
+                };
+                this.isShow = false
+                // this.$nextTick(()=>{
+                //     this.$refs.billsDetails.pageLoading = true
+                //     this.$refs.billsDetails.billsDetailfun(id)
+                // })
+            },
+            // 新增弹窗开启
+            addbtnfun(){
+                this.detailData.seeDisabled = false
+                this.isShow = false
+            },
+            // 搜索
+            searchChange(params,done){
+                this.query = params;
+                this.page.currentPage = 1;
+                this.onLoad(this.page, params);
+                done();
+            },
+            // 清空搜索条件
+            searchReset() {
+                this.query = {};
+                this.onLoad(this.page);
+            },
+            // 多选
+            selectionChange(list) {
+                this.selectionList = list;
+            },
+            // 刷新
+            refreshChange() {
+                this.onLoad(this.page, this.query);
+            },
+            currentChange(currentPage){
+                this.page.currentPage = currentPage;
+            },
+            sizeChange(pageSize){
+                this.page.pageSize = pageSize;
+            },
+            selectionClear() {
+                this.selectionList = [];
+                this.$refs.crud.toggleSelection();
+            },
+            // 列表数据
+            onLoad(page, params = {}) {
+                this.loading = true;
+                billsList(page.currentPage, page.pageSize, {
+                    ...Object.assign(params, this.query),
+                    businessType:'SE',
+                    seaType:'E',
+                    status:this.query.billStatus == 3?3:undefined,
+                }).then(res => {
+                    const data = res.data.data;
+                    this.page.total = data.total;
+                    this.data = data.records
+                    this.loading = false;
+                    this.selectionClear();
+                });
+            },
+            //自定义列保存
+            async saveColumnTwo(ref, option, optionBack, code) {
+                /**
+                 * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
+                 * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
+                 * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
+                 */
+                const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
+                if (inSave) {
+                    this.$message.success("保存成功");
+                    //关闭窗口
+                    this.$refs[ref].$refs.dialogColumn.columnBox = false;
+                }
+            },
+            //自定义列重置
+            async resetColumnTwo(ref, option, optionBack, code) {
+                this[option] = this[optionBack];
+                const inSave = await this.delColumnData(this.getColumnName(code), this[optionBack]);
+                if (inSave) {
+                    this.$message.success("重置成功");
+                    this.$refs[ref].$refs.dialogColumn.columnBox = false;
+                }
+            },
+            // 更改表格颜色
+            headerClassName(tab) {
+                //颜色间隔
+                let back = ""
+                if (tab.columnIndex >= 0 && tab.column.level === 1) {
+                    if (tab.columnIndex % 2 === 0) {
+                        back = "back-one"
+                    } else if (tab.columnIndex % 2 === 1) {
+                        back = "back-two"
+                    }
+                }
+                return back;
+            },
+        }
+    }
+</script>
+
+<style scoped>
+::v-deep#out-table .back-one {
+    background: #ecf5ff !important;
+    text-align: center;
+}
+
+::v-deep#out-table .back-two {
+    background: #ecf5ff !important;
+    text-align: center;
+}
+
+</style>

+ 22 - 0
src/views/iosBasicData/reportClose/SIreportClose/index.vue

@@ -0,0 +1,22 @@
+<template>
+    <div>
+        海运进口报关
+    </div>
+</template>
+
+<script>
+    export default {
+        data() {
+            return {
+
+            }
+        },
+        methods:{
+
+        }
+    }
+</script>
+
+<style scoped>
+
+</style>

+ 1 - 0
src/views/system/dept.vue

@@ -296,6 +296,7 @@
                     this.form.polId = item.id
                     this.form.polCnName = item.cnName
                     this.form.polEnName = item.enName
+                    this.form.polCode = item.code
                     this.form.polNamePrint = item.enName
                 }
             }