Ver Fonte

重新开发复制单据组件
新加分单修改模块
发下送货纸联调发送接口 修改校验流程
提单号 修改限制规则
国外代理 不需要拆行
免箱使申请 新加明细表

qukaidi há 1 dia atrás
pai
commit
4644bba855

+ 7 - 0
src/api/iosBasicData/ReceivingOrders/precontainers.js

@@ -119,4 +119,11 @@ export const billVerificationPrompt = (row) => {
     method: 'get',
     params:row
   })
+}
+export const sendDeliveryPaperEdi  = (row) => {
+  return request({
+    url: '/api/blade-los/bills/sendDeliveryPaperEdi',
+    method: 'get',
+    params:row
+  })
 }

+ 8 - 0
src/api/iosBasicData/bills.js

@@ -480,3 +480,11 @@ export const splitBoxNumber = (data) => {
     params: data
   })
 }
+
+export const updateHblno = (data) => {
+  return request({
+    url: '/api/blade-los/bills/updateHblno',
+    method: 'get',
+    params: data
+  })
+}

+ 307 - 0
src/components/iosbasic-data/shipCopy.vue

@@ -0,0 +1,307 @@
+<template>
+  <div>
+    <el-dialog v-dialogDrag title="复制单据" :visible.sync="dialogVisible" append-to-body width="80%">
+      <avue-form v-if="dialogVisible" v-model="form" :option="optionForm"></avue-form>
+      <span style="font-weight: 600;color: #000;">查询数据</span>
+      <avue-crud
+        v-if="dialogVisible"
+        :option="option"
+        :data="data"
+        :table-loading="loading"
+        :page.sync="page"
+        :search.sync="query"
+        ref="crud"
+        @search-change="searchChange"
+        @search-reset="searchReset"
+        @current-change="currentChange"
+        @size-change="sizeChange"
+        @current-row-change="handleCurrentRowChange"
+        @on-load="onLoad"
+      ></avue-crud>
+      <span slot="footer" class="dialog-footer">
+        <el-button @click="dialogVisible = false" size="mini">取 消</el-button>
+        <el-button type="primary" @click="submit" size="mini">确 认</el-button>
+      </span>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+import { billsList } from "@/api/iosBasicData/bills";
+import dicSelect from "@/components/dicSelect/main";
+import { dateFormat } from "@/util/date";
+export default {
+  props: {
+    businessType: {
+      type: String
+    }
+  },
+  components: {
+    dicSelect
+  },
+  data() {
+    return {
+      fristQuery: true,
+      selectionList: [],
+      form: {},
+      dialogVisible: false,
+      loading: false,
+      query: {
+        billNo: null
+      },
+      page: {
+        pageSize: 20,
+        currentPage: 1,
+        total: 0
+      },
+      option: {
+        height: 400,
+        searchShow: true,
+        searchMenuSpan: 6,
+        border: true,
+        index: true,
+        addBtn: false,
+        viewBtn: false,
+        editBtn: false,
+        delBtn: false,
+        menu: false,
+        searchIcon: true,
+        highlightCurrentRow: true,
+        align: "center",
+        searchIndex: 3,
+        header: false,
+        column: [
+          {
+            label: this.$t("sea118n.corpName"),
+            prop: "corpCnName",
+            search: true,
+            type: "select",
+            filterable: true,
+            remote: true,
+            dicUrl: "/api/blade-los/bcorps/listByType?shortName={{key}}",
+            props: {
+              label: "cnName",
+              value: "cnName",
+              res: "data.records"
+            },
+            overHidden: true
+          },
+          {
+            label: this.$t("sea118n.mblno"),
+            prop: "mblno",
+            search: true,
+            overHidden: true
+          },
+          {
+            label: this.$t("sea118n.hblno"),
+            prop: "hblno",
+            search: true,
+            overHidden: true
+          },
+          {
+            label: this.$t("sea118n.billNo"),
+            prop: "billNo",
+            search: true,
+            overHidden: true
+          },
+          {
+            label: this.$t("sea118n.etd"),
+            prop: "etd",
+            searchProp: "etdList",
+            type: "date",
+            unlinkPanels: true,
+            searchRange: true,
+            overHidden: true,
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd HH:mm:ss",
+            searchDefaultTime: ["00:00:00", "23:59:59"],
+            search: true
+          },
+          {
+            label: this.$t("sea118n.pol"),
+            prop: "polEnName",
+            type: "select",
+            filterable: true,
+            remote: true,
+            dicUrl: "/api/blade-los/bports/list?enName={{key}}",
+            props: {
+              label: "enName",
+              value: "enName",
+              res: "data.records"
+            },
+            search: true,
+            overHidden: true
+          },
+          {
+            label: this.$t("sea118n.pod"),
+            prop: "podEnName",
+            type: "select",
+            filterable: true,
+            remote: true,
+            dicUrl: "/api/blade-los/bports/list?enName={{key}}",
+            props: {
+              label: "enName",
+              value: "enName",
+              res: "data.records"
+            },
+            search: true,
+            overHidden: true
+          }
+        ]
+      },
+
+      optionForm: {
+        menuBtn: false,
+        span: 6,
+        disabled: false,
+        column: [
+          {
+            label: "已选择编号",
+            prop: "billNo",
+            disabled: true
+          },
+          {
+            label: "单据类型",
+            prop: "billType",
+            type: "select",
+            // value: this.selectionList[0].billType,
+            dicData: [
+              {
+                label: "直单",
+                value: "DD"
+              },
+              {
+                label: "主单",
+                value: "MM"
+              },
+              {
+                label: "分单",
+                value: "MH"
+              }
+            ],
+            dataType: "string",
+            span: 6
+          },
+          {
+            label: "复制类型",
+            prop: "checkbox",
+            type: "checkbox",
+            dicData: [
+              {
+                label: "复制费用",
+                value: "复制费用"
+              },
+              {
+                label: "复制箱型箱量",
+                value: "复制箱型箱量"
+              },
+              {
+                label: "复制配箱信息",
+                value: "复制配箱信息"
+              }
+            ],
+            dataType: "string",
+            span: 12
+          }
+        ]
+      }
+    };
+  },
+  created() {},
+  methods: {
+    openDialog(val) {
+      // this.query={}
+      this.fristQuery = true;
+      this.form = val;
+      // this.query={
+      //   billNo:val.billNo
+      // }
+      this.dialogVisible = true;
+    },
+    handleCurrentRowChange(row) {
+      this.form = row;
+    },
+    searchReset() {
+      this.query = this.$options.data().query;
+      // this.onLoad(this.page);
+    },
+    // 搜索按钮点击
+    searchChange(params, done) {
+      this.fristQuery = false;
+      this.page.currentPage = 1;
+      this.onLoad(this.page, this.query);
+      done();
+    },
+    selectionChange(list) {
+      this.selectionList = list;
+    },
+    currentChange(currentPage) {
+      this.page.currentPage = currentPage;
+    },
+    sizeChange(pageSize) {
+      this.page.pageSize = pageSize;
+    },
+    onLoad(page, params = {}) {
+      let obj = {};
+      obj = {
+        businessType: this.businessType,
+        ...Object.assign(params, this.query),
+        billNo: this.fristQuery ? this.form.billNo : this.query.billNo
+      };
+      this.loading = true;
+      billsList(page.currentPage, page.pageSize, obj)
+        .then(res => {
+          this.data = res.data.data.records;
+          if (this.fristQuery && res.data.data.records.length) {
+            this.$refs.crud.setCurrentRow(res.data.data.records[0]);
+          }
+          this.page.total = res.data.data.total;
+        })
+        .finally(() => {
+          this.loading = false;
+        });
+    },
+    submit() {
+      if (!this.form.id) {
+        return this.$message.error("请选择数据");
+      }
+      this.$emit("copyData", this.form);
+      this.dialogVisible = 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 lang="scss" scoped>
+::v-deep#out-table .back-one {
+  background: #ecf5ff !important;
+  text-align: center;
+  padding: 4px 0;
+}
+
+::v-deep#out-table .back-two {
+  background: #ecf5ff !important;
+  text-align: center;
+  padding: 4px 0;
+}
+
+::v-deep .el-col-md-8 {
+  width: 24.33333%;
+}
+::v-deep .el-dialog__body {
+  padding: 5px 20px;
+}
+</style>

+ 2 - 1
src/views/iosBasicData/OceanFreightImport/bills/assembly/DistributionBox/containers.vue

@@ -623,7 +623,8 @@ export default {
     onSuccess(res, done, loading, column) {
       this.excelBox = false;
       // this.$message.success("导入成功!");
-      this.containersListfun();
+      // this.containersListfun();
+      this.$emit("billsDetailfun");
       loading = false;
       done();
     },

+ 71 - 63
src/views/iosBasicData/OceanFreightImport/bills/billsDetails.vue

@@ -484,6 +484,7 @@
         :disabled="detailData.seeDisabled"
       ></business-reports>
     </el-dialog>
+    <ship-copy ref="copy" :businessType="SI" @copyData="copyData"></ship-copy>
   </div>
 </template>
 
@@ -544,6 +545,7 @@ import { contrastObj, contrastList } from "@/util/contrastData";
 import { selectListLos } from "@/api/approval/processConfig";
 import { isProcurement } from "@/api/basicData/configuration";
 import { applySwitch, revokeSwitch, electronBillOfLading, revokeElectronBillOfLading } from "@/api/iosBasicData/ImportExchange.js";
+import shipCopy from "@/components/iosbasic-data/shipCopy.vue";
 import _ from "lodash";
 export default {
   components: {
@@ -563,7 +565,8 @@ export default {
     TreeSelect,
     DocumentCenter,
     businessReports,
-    editypes
+    editypes,
+    shipCopy
   },
   props: {
     detailData: {
@@ -1100,72 +1103,77 @@ export default {
         }
       }
     },
+
+    copyData(row) {
+      this.billsCopyBillsfun(row.id, row.checkbox, row.billType);
+    },
     CopyDocumentsfun() {
       if (!this.form.id) {
         return this.$message.error("请保存数据");
       }
-      this.$DialogForm.show({
-        title: "复制单据",
-        width: "300px",
-        menuPosition: "right",
-        data: {
-          checkbox: "复制费用,复制箱型箱量"
-        },
-        option: {
-          submitText: "确认",
-          emptyText: "取消",
-          span: 24,
-          column: [
-            {
-              label: "单据类型",
-              prop: "billType",
-              type: "select",
-              value: this.form.billType,
-              dicData: [
-                {
-                  label: "直单",
-                  value: "DD"
-                },
-                {
-                  label: "主单",
-                  value: "MM"
-                },
-                {
-                  label: "分单",
-                  value: "MH"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            },
-            {
-              label: "复制类型",
-              prop: "checkbox",
-              type: "checkbox",
-              dicData: [
-                {
-                  label: "复制费用",
-                  value: "复制费用"
-                },
-                {
-                  label: "复制箱型箱量",
-                  value: "复制箱型箱量"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            }
-          ]
-        },
-        beforeClose: done => {
-          done();
-        },
-        callback: res => {
-          res.done();
-          this.billsCopyBillsfun(this.form.id, res.data.checkbox, res.data.billType);
-          res.close();
-        }
-      });
+      this.$refs.copy.openDialog(this.form)
+      // this.$DialogForm.show({
+      //   title: "复制单据",
+      //   width: "300px",
+      //   menuPosition: "right",
+      //   data: {
+      //     checkbox: "复制费用,复制箱型箱量"
+      //   },
+      //   option: {
+      //     submitText: "确认",
+      //     emptyText: "取消",
+      //     span: 24,
+      //     column: [
+      //       {
+      //         label: "单据类型",
+      //         prop: "billType",
+      //         type: "select",
+      //         value: this.form.billType,
+      //         dicData: [
+      //           {
+      //             label: "直单",
+      //             value: "DD"
+      //           },
+      //           {
+      //             label: "主单",
+      //             value: "MM"
+      //           },
+      //           {
+      //             label: "分单",
+      //             value: "MH"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       },
+      //       {
+      //         label: "复制类型",
+      //         prop: "checkbox",
+      //         type: "checkbox",
+      //         dicData: [
+      //           {
+      //             label: "复制费用",
+      //             value: "复制费用"
+      //           },
+      //           {
+      //             label: "复制箱型箱量",
+      //             value: "复制箱型箱量"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       }
+      //     ]
+      //   },
+      //   beforeClose: done => {
+      //     done();
+      //   },
+      //   callback: res => {
+      //     res.done();
+      //     this.billsCopyBillsfun(this.form.id, res.data.checkbox, res.data.billType);
+      //     res.close();
+      //   }
+      // });
     },
     //文档导入
     importData(row) {

+ 82 - 68
src/views/iosBasicData/OceanFreightImport/bills/index.vue

@@ -307,6 +307,7 @@
       </span>
     </el-dialog>
     <extraction-cost ref="extractionCost" />
+    <ship-copy ref="copy" :businessType="SI" @copyData="copyData"></ship-copy>
   </div>
 </template>
 
@@ -344,6 +345,7 @@ import TreeSelect from "@/components/iosbasic-data/TreeSelect.vue";
 import { getDeptTree } from "@/api/system/dept";
 import { getToken } from "@/util/auth";
 import { getListTemplate, getListTemplatelist } from "@/api/iosBasicData/losbfeestemplate";
+import shipCopy from "@/components/iosbasic-data/shipCopy.vue";
 export default {
   name: "海运进口(F)",
   components: {
@@ -352,7 +354,8 @@ export default {
     feesTemplateItems,
     billsDetails,
     SplitList,
-    extractionCost
+    extractionCost,
+    shipCopy
   },
   data() {
     return {
@@ -2293,79 +2296,90 @@ export default {
         });
       }
     },
+        copyData(row){
+          this.detailData.seeDisabled = false;
+          this.detailData.id = row.id;
+          this.isShow = false;
+          this.$nextTick(() => {
+            this.$refs.billsDetails.pageLoading = true;
+            this.$refs.billsDetails.billsCopyBillsfun(row.id, row.checkbox, row.billType);
+          });
+          this.$store.commit("IN_SEAFE_DETAIL");
+    },
     // 复制单据
     CopyDocumentsfun() {
       if (this.selectionList.length !== 1) {
         this.$message.warning("请选择一条数据");
         return;
       }
-      this.$DialogForm.show({
-        title: "复制单据",
-        width: "300px",
-        menuPosition: "right",
-        data: { checkbox: "" },
-        option: {
-          submitText: "确认",
-          emptyText: "取消",
-          span: 24,
-          column: [
-            {
-              label: "单据类型",
-              prop: "billType",
-              type: "select",
-              value: this.selectionList[0].billType,
-              dicData: [
-                {
-                  label: "直单",
-                  value: "DD"
-                },
-                {
-                  label: "主单",
-                  value: "MM"
-                },
-                {
-                  label: "分单",
-                  value: "MH"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            },
-            {
-              label: "复制类型",
-              prop: "checkbox",
-              type: "checkbox",
-              dicData: [
-                {
-                  label: "复制费用",
-                  value: "复制费用"
-                },
-                {
-                  label: "复制箱型箱量",
-                  value: "复制箱型箱量"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            }
-          ]
-        },
-        beforeClose: done => {
-          done();
-        },
-        callback: res => {
-          res.done();
-          this.detailData.seeDisabled = false;
-          this.detailData.id = this.selectionList[0].id;
-          this.isShow = false;
-          this.$nextTick(() => {
-            this.$refs.billsDetails.pageLoading = true;
-            this.$refs.billsDetails.billsCopyBillsfun(this.selectionList[0].id, res.data.checkbox, res.data.billType);
-          });
-          this.$store.commit("IN_OCEANFI_DETAIL");
-          res.close();
-        }
-      });
+      this.$refs.copy.openDialog(this.selectionList[0])
+      // this.$DialogForm.show({
+      //   title: "复制单据",
+      //   width: "300px",
+      //   menuPosition: "right",
+      //   data: { checkbox: "" },
+      //   option: {
+      //     submitText: "确认",
+      //     emptyText: "取消",
+      //     span: 24,
+      //     column: [
+      //       {
+      //         label: "单据类型",
+      //         prop: "billType",
+      //         type: "select",
+      //         value: this.selectionList[0].billType,
+      //         dicData: [
+      //           {
+      //             label: "直单",
+      //             value: "DD"
+      //           },
+      //           {
+      //             label: "主单",
+      //             value: "MM"
+      //           },
+      //           {
+      //             label: "分单",
+      //             value: "MH"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       },
+      //       {
+      //         label: "复制类型",
+      //         prop: "checkbox",
+      //         type: "checkbox",
+      //         dicData: [
+      //           {
+      //             label: "复制费用",
+      //             value: "复制费用"
+      //           },
+      //           {
+      //             label: "复制箱型箱量",
+      //             value: "复制箱型箱量"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       }
+      //     ]
+      //   },
+      //   beforeClose: done => {
+      //     done();
+      //   },
+      //   callback: res => {
+      //     res.done();
+      //     this.detailData.seeDisabled = false;
+      //     this.detailData.id = this.selectionList[0].id;
+      //     this.isShow = false;
+      //     this.$nextTick(() => {
+      //       this.$refs.billsDetails.pageLoading = true;
+      //       this.$refs.billsDetails.billsCopyBillsfun(this.selectionList[0].id, res.data.checkbox, res.data.billType);
+      //     });
+      //     this.$store.commit("IN_OCEANFI_DETAIL");
+      //     res.close();
+      //   }
+      // });
     },
     // 编辑详情打开
     rowCellfun(id, row) {

+ 7 - 5
src/views/iosBasicData/SeafreightExportF/bills/assembly/DistributionBox/containers.vue

@@ -146,7 +146,7 @@
             v-if="assemblyForm.billType != 'MM'"
             :type="scope.type"
             :size="scope.size"
-            :disabled="detailData.seeDisabled || pleasereviewType || showLock || disabled || !(!scope.row.containerNumber)"
+            :disabled="detailData.seeDisabled || pleasereviewType || showLock || disabled || !!scope.row.containerNumber"
             @click.stop="rowDel(scope.row, scope.index)"
             >{{ $t("btn118n.deleted") }}
           </el-button>
@@ -186,7 +186,7 @@
             placeholder="请输入箱号"
             @input="cntrNoInput(scope.row, 'cntrNo')"
             @change="verifyChange(scope.row, 'cntrNo')"
-            :disabled="!(!scope.row.containerNumber)&&assemblyForm.billType != 'MM'"
+            :disabled="!!scope.row.containerNumber && assemblyForm.billType != 'MM'"
           ></el-input>
           <span v-else>{{ scope.row.cntrNo }}</span>
         </template>
@@ -1038,8 +1038,10 @@ export default {
     // 上传成功
     onSuccess(res, done, loading, column) {
       this.excelBox = false;
-      // this.$message.success("导入成功!");
-      this.containersListfun();
+      // this.$message.success("导入成功!");///
+
+      this.$emit("billsDetailfun");
+      // this.containersListfun();
       loading = false;
       done();
     },
@@ -1447,7 +1449,7 @@ export default {
       }
     },
     // 一键删除
-    handleDelete() {      
+    handleDelete() {
       if (this.selectionList.length === 0) {
         this.$message.warning("请选择至少一条数据");
         return;

+ 10 - 10
src/views/iosBasicData/SeafreightExportF/bills/assembly/DocumentCenter.vue

@@ -722,16 +722,16 @@ export default {
               this.documentForm.hnotifyDetails = this.documentForm.hnotifyDetails
           }
       }
-      if (this.documentForm.forwarding) {
-          let arrDeteil = []
-          arrDeteil = this.documentForm.forwarding.split('\n')
-          if (arrDeteil.length > this.textareaNumber) {
-              this.documentForm.forwarding = arrDeteil.slice(0, this.textareaNumber).join('\n') + '****'
-              this.documentForm.commodityDescr += "\n****" + arrDeteil.slice(this.textareaNumber, arrDeteil.length).join('\n')
-          } else {
-              this.documentForm.forwarding = this.documentForm.forwarding
-          }
-      }
+      // if (this.documentForm.forwarding) {
+      //     let arrDeteil = []
+      //     arrDeteil = this.documentForm.forwarding.split('\n')
+      //     if (arrDeteil.length > this.textareaNumber) {
+      //         this.documentForm.forwarding = arrDeteil.slice(0, this.textareaNumber).join('\n') + '****'
+      //         this.documentForm.commodityDescr += "\n****" + arrDeteil.slice(this.textareaNumber, arrDeteil.length).join('\n')
+      //     } else {
+      //         this.documentForm.forwarding = this.documentForm.forwarding
+      //     }
+      // }
       if (this.documentForm.cntryString) {
         if (this.documentForm.cntryString.split("\n").length > this.mttachedCntry) {
           this.documentForm.attachedCntr = 1;

+ 64 - 34
src/views/iosBasicData/SeafreightExportF/bills/assembly/EntrustmentLnformation/components/sendEdi.vue

@@ -4,9 +4,9 @@
       <div style="display: flex;justify-content: flex-end;margin-bottom: 10px;">
         <el-popover placement="top" width="400" trigger="click">
           <el-input type="textarea" autosize placeholder="请输入内容" v-model="textarea"> </el-input>
-         <div style="display: flex;justify-content: right;">
-          <el-button type="text" @click="copyText" size="small">复制文本</el-button>
-         </div>
+          <div style="display: flex;justify-content: right;">
+            <el-button type="text" @click="copyText" size="small">复制文本</el-button>
+          </div>
           <el-button slot="reference" size="small">查看</el-button>
         </el-popover>
         <el-button style="margin-left: 10px;" type="warning" size="small" @click="outExport">导出</el-button>
@@ -30,8 +30,9 @@
 </template>
 
 <script>
-import { sendDeliveryPaper } from "@/api/iosBasicData/ReceivingOrders/precontainers";
+import { sendDeliveryPaper, sendVerificationPrompt, sendDeliveryPaperEdi } from "@/api/iosBasicData/ReceivingOrders/precontainers";
 import { getToken } from "@/util/auth";
+import { isProcurement } from "@/api/basicData/configuration";
 export default {
   props: {},
   data() {
@@ -110,15 +111,21 @@ export default {
             overHidden: true
           }
         ]
-      }
+      },
+      verificationCost: false
     };
   },
   async created() {
+    isProcurement({ param: "verification.cost" }).then(res => {
+      if (res.data.data == 1) {
+        this.verificationCost = true;
+      }
+    });
     // this.option = await this.getColumnData(this.getColumnName(309.6), this.optionBack);
   },
   methods: {
     async copyText() {
-      if(!this.textarea){
+      if (!this.textarea) {
         return this.$message.error("文本没有内容!");
       }
       try {
@@ -129,23 +136,45 @@ export default {
       }
     },
     outExport() {
-      this.$confirm("是否导出当前所有数据?", "提示", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning"
-      }).then(() => {
-        let obj = {
-          ids: this.ids
-        };
-        const routeData = this.$router.resolve({
-          path: "/api/blade-los/bills/sendDeliveryPaperExport", //跳转目标窗口的地址
-          query: {
-            "Blade-Auth": getToken(),
-            ...obj //括号内是要传递给新窗口的参数
-          }
+      if (this.verificationCost) {
+        sendVerificationPrompt({ ids: this.ids }).then(res => {
+          this.$confirm("是否导出当前所有数据?", "提示", {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            type: "warning"
+          }).then(() => {
+            let obj = {
+              ids: this.ids
+            };
+            const routeData = this.$router.resolve({
+              path: "/api/blade-los/bills/sendDeliveryPaperExport", //跳转目标窗口的地址
+              query: {
+                "Blade-Auth": getToken(),
+                ...obj //括号内是要传递给新窗口的参数
+              }
+            });
+            window.open(routeData.href.slice(1, routeData.href.length));
+          });
+        });
+      } else {
+        this.$confirm("是否导出当前所有数据?", "提示", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(() => {
+          let obj = {
+            ids: this.ids
+          };
+          const routeData = this.$router.resolve({
+            path: "/api/blade-los/bills/sendDeliveryPaperExport", //跳转目标窗口的地址
+            query: {
+              "Blade-Auth": getToken(),
+              ...obj //括号内是要传递给新窗口的参数
+            }
+          });
+          window.open(routeData.href.slice(1, routeData.href.length));
         });
-        window.open(routeData.href.slice(1, routeData.href.length));
-      });
+      }
     },
     openDialog(val) {
       this.dialogVisible = true;
@@ -159,18 +188,19 @@ export default {
       // })
     },
     submit() {
-      // if (!this.quotationObj) {
-      //     return this.$message.error("请选择数据");
-      // }
-      // delete this.quotationObj.id
-      // let obj = {
-      //     id: this.form.id
-      // }
-      // synchronousBoxType(obj).then(res => {
-      //     this.$emit('importData', this.quotationObj)
-      //     this.$message.success("操作成功");
-      //     this.dialogVisible = false;
-      // })
+      if (this.verificationCost) {
+        sendVerificationPrompt({ ids: this.ids }).then(res => {
+          sendDeliveryPaperEdi({ ids: this.ids }).then(res => {
+            this.$message.success("操作成功");
+            this.dialogVisible = false;
+          });
+        });
+      } else {
+        sendDeliveryPaperEdi({ ids: this.ids }).then(res => {
+          this.$message.success("操作成功");
+          this.dialogVisible = false;
+        });
+      }
     },
     getList() {
       let obj = {

+ 6 - 7
src/views/iosBasicData/SeafreightExportF/bills/assembly/EntrustmentLnformation/precontainers.vue

@@ -728,13 +728,12 @@ export default {
   },
   methods: {
     sendEdi() {
-      if (this.verificationCost) {
-        sendVerificationPrompt({ ids: this.assemblyForm.id }).then(res => {
-          this.$refs.sendEdi.openDialog(this.assemblyForm.id);
-        });
-      } else {
-        this.$refs.sendEdi.openDialog(this.assemblyForm.id);
-      }
+      // if (this.verificationCost) {
+      //   sendVerificationPrompt({ ids: this.assemblyForm.id }).then(res => {
+      //     this.$refs.sendEdi.openDialog(this.assemblyForm.id);
+      //   });
+      // }
+       this.$refs.sendEdi.openDialog(this.assemblyForm.id);
     },
     confirmBox() {
       this.$refs.importTemp.openDialog(this.assemblyForm);

+ 58 - 16
src/views/iosBasicData/SeafreightExportF/bills/assembly/components/podCheckseafeeday.vue

@@ -4,7 +4,7 @@
       title="pod免箱使天数申请"
       :visible.sync="dialogVisible"
       append-to-body
-      width="30%"
+      width="600px"
       :before-close="handleClose"
       :close-on-click-modal="false"
       v-dialogDrag
@@ -21,6 +21,19 @@
           ></dic-select>
         </tempalte>
       </avue-form>
+      <avue-crud :data="form.feedayDataJsonList" :option="option">
+        <template slot="price" slot-scope="{ row }">
+          <el-input-number
+            v-model="row.price"
+            size="small"
+            :controls="false"
+            :precision="2"
+            :min="0"
+            placeholder="请输入"
+            style="width: 100%;"
+          ></el-input-number>
+        </template>
+      </avue-crud>
       <span slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false" size="mini">取 消</el-button>
         <el-button type="primary" @click="submit" size="mini">申 请</el-button>
@@ -32,25 +45,27 @@
 <script>
 import { checkSeaFeeday } from "@/api/iosBasicData/feecenter";
 import dicSelect from "@/components/dicSelect/main";
+import { Header } from "element-ui";
 export default {
   components: { dicSelect },
   props: {},
   data() {
     return {
       deptId: JSON.parse(localStorage.getItem("sysitemData")).deptId,
-      form: {},
+      form: {
+        feedayDataJsonList: []
+      },
       selectionList: [],
       dialogVisible: false,
       loading: false,
       optionForm: {
         menuBtn: false,
-        span: 8,
+        span: 12,
         disabled: false,
         labelWidth: 100,
         column: [
           {
             label: "POL申请天数",
-            span: 24,
             prop: "polApplyDays",
             type: "number",
             precision: 0,
@@ -65,7 +80,6 @@ export default {
           },
           {
             label: "POD申请天数",
-            span: 24,
             prop: "podApplyDays",
             type: "number",
             precision: 0,
@@ -80,22 +94,21 @@ export default {
           },
           {
             label: "申请金额",
-            span: 24,
             prop: "applyAmount",
             type: "number",
             precision: 0,
             controls: false,
-            rules: [
-              {
-                required: true,
-                message: "请输入申请金额",
-                trigger: "blur"
-              }
-            ]
+            disabled: true
+            // rules: [
+            //   {
+            //     required: true,
+            //     message: "请输入申请金额",
+            //     trigger: "blur"
+            //   }
+            // ]
           },
           {
             label: "币别",
-            span: 24,
             prop: "curCode",
             rules: [
               {
@@ -107,7 +120,6 @@ export default {
           },
           {
             label: "汇率",
-            span: 24,
             prop: "exrate",
             type: "number",
             precision: 5,
@@ -121,6 +133,26 @@ export default {
             ]
           }
         ]
+      },
+      option: {
+        align: "center",
+        border: true,
+        header: false,
+        menu: false,
+        column: [
+          {
+            label: "箱型",
+            prop: "boxType",
+          },
+          {
+            label: "箱量",
+            prop: "boxNumber",
+          },
+          {
+            label: "单价",
+            prop: "price",
+          }
+        ]
       }
     };
   },
@@ -139,8 +171,17 @@ export default {
         curCode: "USD",
         exrate: this.getExchangeRate("USD", "D", 1),
         type: "pod",
-        etd: val.etd + " 00:00:00"
+        etd: val.etd + " 00:00:00",
+        feedayDataJsonList: []
       };
+      console.log(val.preContainersList,this.form.feedayDataJsonList)
+      val.preContainersList.forEach(item => {
+        this.form.feedayDataJsonList.push({
+          boxType:item.cntrTypeCode,
+          boxNumber:item.quantity,
+          price:0,
+        });
+      });
     },
     dicChange(name, row) {
       if (name == "curCode") {
@@ -157,6 +198,7 @@ export default {
         done();
         if (valid) {
           console.log(this.form);
+          
           const loading = this.$loading({
             lock: true,
             text: "加载中",

+ 180 - 82
src/views/iosBasicData/SeafreightExportF/bills/billsDetails.vue

@@ -84,7 +84,7 @@
           >{{ $t("btn118n.transferApply") }}
         </el-button>
         <el-button
-          v-if="form.id && form.transferOrderStatus == '已转单'&&(roleName.includes('admin')||roleName.includes('总部'))"
+          v-if="form.id && form.transferOrderStatus == '已转单' && (roleName.includes('admin') || roleName.includes('总部'))"
           size="small"
           type="danger"
           @click.stop="allClick('撤销转单')"
@@ -349,16 +349,31 @@
                           </bcorps>
                           <bcorpstypedefine v-show="item.slot == 'bcorpstypedefine'"> </bcorpstypedefine>
                         </search-query>
-                        <el-input
-                          v-else
-                          type="age"
-                          style="width: 100%;"
-                          v-model="form[item.prop]"
-                          size="small"
-                          autocomplete="off"
-                          :disabled="detailData.seeDisabled || item.disabled"
-                          :placeholder="item.text || ''"
-                        ></el-input>
+                        <div v-else style="display: flex;">
+                          <el-input
+                            type="age"
+                            style="width: 100%;"
+                            v-model="form[item.prop]"
+                            size="small"
+                            autocomplete="off"
+                            :disabled="detailData.seeDisabled || item.disabled"
+                            :placeholder="item.text || ''"
+                          ></el-input>
+                          <el-button
+                            type="text"
+                            size="small"
+                            style="margin-left: 6px;"
+                            :disabled="
+                              !form.id ||
+                                !form.hblno ||
+                                form.billStatus == 1 ||
+                                form.status > 0 ||
+                                form.preContainersList.filter(item => item.containerNumberStatus == '已选择').length > 0
+                            "
+                            @click="allClick('申请修改')"
+                            >申请修改</el-button
+                          >
+                        </div>
                       </el-form-item>
                     </div>
                   </el-col>
@@ -415,8 +430,13 @@
               </el-tabs>
             </basic-container>
             <basic-container :showBtn="true" v-show="activeName == 'first' || activeName == 'third'">
-              <formbottom :assemblyForm="form" :generateBillsfalse="generateBillsfalse" :disabled="showLock" :detailData="detailData" 
-                    @billsDetailfun="billsDetailfun(form.id)"></formbottom>
+              <formbottom
+                :assemblyForm="form"
+                :generateBillsfalse="generateBillsfalse"
+                :disabled="showLock"
+                :detailData="detailData"
+                @billsDetailfun="billsDetailfun(form.id)"
+              ></formbottom>
             </basic-container>
           </div>
         </el-tab-pane>
@@ -607,6 +627,7 @@
       </span>
     </el-dialog>
     <bill-lading ref="billLading" :oldForm="form" @upDate="billsDetailfun(form.id)"></bill-lading>
+    <ship-copy ref="copy" :businessType="SE" @copyData="copyData"></ship-copy>
   </div>
 </template>
 
@@ -653,7 +674,8 @@ import {
   revokeLockOrder,
   synchronizeDataMM,
   verifyData,
-  updateVerifyData
+  updateVerifyData,
+  updateHblno
 } from "@/api/iosBasicData/bills";
 import { dateFormat } from "@/util/date";
 import { validatenull } from "@/util/validate";
@@ -671,6 +693,7 @@ import { isProcurement } from "@/api/basicData/configuration";
 import billLading from "./assembly/billLading.vue";
 import customsInformation from "./assembly/customsInformation.vue";
 import { submit } from "@/api/iosBasicData/sailingSchedule.js";
+import shipCopy from "@/components/iosbasic-data/shipCopy.vue";
 import _ from "lodash";
 export default {
   name: "海运出口(F)",
@@ -694,7 +717,8 @@ export default {
     editypes,
     dicSelect,
     billLading,
-    customsInformation
+    customsInformation,
+    shipCopy
   },
   props: {
     detailData: {
@@ -1139,7 +1163,7 @@ export default {
     billsListAllData: {
       // 执行方法
       handler(oldValue, newValue) {
-        if (oldValue.length && this.form.billType == "MM") {
+        if (oldValue.length && this.form.billType == "MM" && this.form.billStatus != 1) {
           this.basicData.column.forEach((item, index) => {
             if (index == 3) {
               item.forEach(row => {
@@ -1294,70 +1318,74 @@ export default {
         }
       }
     },
+    copyData(row) {
+      this.billsCopyBillsfun(row.id, row.checkbox, row.billType);
+    },
     CopyDocumentsfun() {
       if (!this.form.id) {
         return this.$message.error("请保存数据");
       }
-      this.$DialogForm.show({
-        title: "复制单据",
-        width: "300px",
-        menuPosition: "right",
-        data: { checkbox: "复制费用,复制箱型箱量" },
-        option: {
-          submitText: "确认",
-          emptyText: "取消",
-          span: 24,
-          column: [
-            {
-              label: "单据类型",
-              prop: "billType",
-              type: "select",
-              value: this.form.billType,
-              dicData: [
-                {
-                  label: "直单",
-                  value: "DD"
-                },
-                {
-                  label: "主单",
-                  value: "MM"
-                },
-                {
-                  label: "分单",
-                  value: "MH"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            },
-            {
-              label: "复制类型",
-              prop: "checkbox",
-              type: "checkbox",
-              dicData: [
-                {
-                  label: "复制费用",
-                  value: "复制费用"
-                },
-                {
-                  label: "复制箱型箱量",
-                  value: "复制箱型箱量"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            }
-          ]
-        },
-        beforeClose: done => {
-          done();
-        },
-        callback: res => {
-          res.done();
-          this.billsCopyBillsfun(this.form.id, res.data.checkbox, res.data.billType);
-          res.close();
-        }
-      });
+      this.$refs.copy.openDialog(this.form)
+      // this.$DialogForm.show({
+      //   title: "复制单据",
+      //   width: "300px",
+      //   menuPosition: "right",
+      //   data: { checkbox: "复制费用,复制箱型箱量" },
+      //   option: {
+      //     submitText: "确认",
+      //     emptyText: "取消",
+      //     span: 24,
+      //     column: [
+      //       {
+      //         label: "单据类型",
+      //         prop: "billType",
+      //         type: "select",
+      //         value: this.form.billType,
+      //         dicData: [
+      //           {
+      //             label: "直单",
+      //             value: "DD"
+      //           },
+      //           {
+      //             label: "主单",
+      //             value: "MM"
+      //           },
+      //           {
+      //             label: "分单",
+      //             value: "MH"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       },
+      //       {
+      //         label: "复制类型",
+      //         prop: "checkbox",
+      //         type: "checkbox",
+      //         dicData: [
+      //           {
+      //             label: "复制费用",
+      //             value: "复制费用"
+      //           },
+      //           {
+      //             label: "复制箱型箱量",
+      //             value: "复制箱型箱量"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       }
+      //     ]
+      //   },
+      //   beforeClose: done => {
+      //     done();
+      //   },
+      //   callback: res => {
+      //     res.done();
+      //     this.billsCopyBillsfun(this.form.id, res.data.checkbox, res.data.billType);
+      //     res.close();
+      //   }
+      // });
     },
     //文档导入
     importData(row) {
@@ -1431,6 +1459,56 @@ export default {
       }
     },
     allClick(name) {
+      if (name == "申请修改") {
+        this.$DialogForm.show({
+          title: "修改HB/L NO",
+          width: "30%",
+          data: {
+            oldHblno: this.form.hblno
+          },
+          menuPosition: "right",
+          option: {
+            submitText: "确定",
+            emptyText: "取消",
+            labelWidth: 110,
+            column: [
+              {
+                label: "HB/L NO",
+                span: 24,
+                prop: "oldHblno",
+                disabled: true
+              },
+              {
+                label: "NEW HB/L NO",
+                span: 24,
+                prop: "hblno",
+                rules: [
+                  {
+                    required: true,
+                    message: "请输入 NEW HB/L NO",
+                    trigger: "blur"
+                  }
+                ]
+              }
+            ]
+          },
+          beforeClose: done => {
+            done();
+          },
+          callback: res => {
+            res.done();
+            let obj = {
+              id: this.form.id,
+              hblno: res.data.hblno
+            };
+            updateHblno(obj).then(res => {
+              this.$message.success("操作成功");
+              this.billsDetailfun(this.form.id);
+            });
+            res.close();
+          }
+        });
+      }
       if (name == "物流提交") {
         this.logisticsForm = {
           shippingCompanyId: null
@@ -3133,7 +3211,7 @@ export default {
       // 应收
       for (let item of this.form.feeCenterListD) {
         // 判断是否生成了账单
-        if (item.accStatus == 1) {
+        if (item.accStatus == 1 && this.form.billStatus != 1) {
           this.columnforfun("corpCnName").disabled = true;
           // this.columnforfun('srcType').disabled = true
           this.columnforfun("mblno").disabled = true;
@@ -3141,6 +3219,11 @@ export default {
           // this.columnforfun('refno').disabled = true
           this.generateBillsfalse = true;
         }
+        // if (this.form.billStatus == 1) {
+        //   this.columnforfun("corpCnName").disabled = false;
+        //   this.columnforfun("mblno").disabled = false;
+        //   this.columnforfun("bookingNo").disabled = false;
+        // }
         if (item.curCode == this.getLocalCurrency()) {
           this.$set(item, "rmbAmount", item.amount);
           this.$set(item, "usdAmount", "");
@@ -3158,7 +3241,7 @@ export default {
       // 应付
       for (let item of this.form.feeCenterListC) {
         // 判断是否生成了账单
-        if (item.accStatus == 1) {
+        if (item.accStatus == 1 && this.form.billStatus != 1) {
           this.generateBillsfalse = true;
           this.columnforfun("corpCnName").disabled = true;
           // this.columnforfun('srcType').disabled = true
@@ -3166,6 +3249,11 @@ export default {
           this.columnforfun("bookingNo").disabled = true;
           // this.columnforfun('refno').disabled = true
         }
+        // if (this.form.billStatus == 1) {
+        //   this.columnforfun("corpCnName").disabled = false;
+        //   this.columnforfun("mblno").disabled = false;
+        //   this.columnforfun("bookingNo").disabled = false;
+        // }
         if (item.curCode == this.getLocalCurrency()) {
           this.$set(item, "rmbAmount", item.amount);
           this.$set(item, "usdAmount", "");
@@ -3228,7 +3316,7 @@ export default {
       if (this.form.status == 1 || this.form.status == 2 || this.form.status == 3) {
         this.detailData.seeDisabled = true;
       } else {
-        if (this.isCutOffDate && this.form.cyTrailerTime&&this.form.boxBelongsTo=='SOC') {
+        if (this.isCutOffDate && this.form.cyTrailerTime && this.form.boxBelongsTo == "SOC") {
           const cutOffDate = new Date(this.form.cyTrailerTime);
           const newDate = new Date(dateFormat(new Date(), "yyyy-MM-dd"));
           if (newDate > cutOffDate) {
@@ -3245,7 +3333,7 @@ export default {
 
       // this.columnforfun('operatorName').disabled = true
       // this.columnforfun('accDeptName').disabled = true
-      if (this.form.status == 1 || this.form.status == 2 || this.form.status == 3) {
+      if ((this.form.status == 1 || this.form.status == 2 || this.form.status == 3) && this.form.billStatus != 1) {
         this.columnforfun("corpCnName").disabled = true;
         // this.columnforfun('srcType').disabled = true
         this.columnforfun("mblno").disabled = true;
@@ -3285,7 +3373,7 @@ export default {
       // 应收
       for (let item of this.form.feeCenterListD) {
         // 判断是否生成了账单
-        if (item.accStatus == 1) {
+        if (item.accStatus == 1 && this.form.billStatus != 1) {
           this.generateBillsfalse = true;
           this.columnforfun("corpCnName").disabled = true;
           // this.columnforfun('srcType').disabled = true
@@ -3293,6 +3381,11 @@ export default {
           this.columnforfun("bookingNo").disabled = true;
           // this.columnforfun('refno').disabled = true
         }
+        // if (this.form.billStatus == 1) {
+        //   this.columnforfun("corpCnName").disabled = false;
+        //   this.columnforfun("mblno").disabled = false;
+        //   this.columnforfun("bookingNo").disabled = false;
+        // }
         if (item.curCode == this.getLocalCurrency()) {
           this.$set(item, "rmbAmount", item.amount);
           this.$set(item, "usdAmount", "");
@@ -3309,7 +3402,7 @@ export default {
       // 应付
       for (let item of this.form.feeCenterListC) {
         // 判断是否生成了账单
-        if (item.accStatus == 1) {
+        if (item.accStatus == 1 && this.form.billStatus != 1) {
           this.generateBillsfalse = true;
           this.columnforfun("corpCnName").disabled = true;
           // this.columnforfun('srcType').disabled = true
@@ -3317,6 +3410,11 @@ export default {
           this.columnforfun("bookingNo").disabled = true;
           // this.columnforfun('refno').disabled = true
         }
+        // if (this.form.billStatus == 1) {
+        //   this.columnforfun("corpCnName").disabled = false;
+        //   this.columnforfun("mblno").disabled = false;
+        //   this.columnforfun("bookingNo").disabled = false;
+        // }
         if (item.curCode == this.getLocalCurrency()) {
           this.$set(item, "rmbAmount", item.amount);
           this.$set(item, "usdAmount", "");

+ 95 - 73
src/views/iosBasicData/SeafreightExportF/bills/index.vue

@@ -519,6 +519,7 @@
     </el-dialog>
     <extraction-cost ref="extractionCost" />
     <freight-rate ref="freightRate" @refreshPage="refreshChange"></freight-rate>
+    <ship-copy ref="copy" :businessType="SE" @copyData="copyData"></ship-copy>
   </div>
 </template>
 
@@ -558,6 +559,7 @@ import { getDeptTree } from "@/api/system/dept";
 import { getToken } from "@/util/auth";
 import { getListTemplate, getListTemplatelist } from "@/api/iosBasicData/losbfeestemplate";
 import { defaultDate7 } from "@/util/date";
+import shipCopy from "@/components/iosbasic-data/shipCopy.vue";
 export default {
   name: "海运出口(F)",
   components: {
@@ -567,7 +569,8 @@ export default {
     billsDetails,
     SplitList,
     extractionCost,
-    freightRate
+    freightRate,
+    shipCopy
   },
   data() {
     return {
@@ -1497,7 +1500,15 @@ export default {
             overHidden: true,
             search: true,
             searchOrder: 20
-          }
+          },
+          
+          {
+            label:"发送下货纸日期",
+            prop: "sendDeliveryPaperDate",
+            width:120,
+            type: "date",
+            format: "yyyy-MM-dd",
+          },
         ]
       },
       // 弹窗的配置
@@ -2475,83 +2486,94 @@ export default {
         });
       }
     },
-    // 复制单据
-    CopyDocumentsfun() {
-      if (this.selectionList.length !== 1) {
-        this.$message.warning("请选择一条数据");
-        return;
-      }
-      this.$DialogForm.show({
-        title: "复制单据",
-        width: "300px",
-        menuPosition: "right",
-        data: { checkbox: "" },
-        option: {
-          submitText: "确认",
-          emptyText: "取消",
-          span: 24,
-          column: [
-            {
-              label: "单据类型",
-              prop: "billType",
-              type: "select",
-              value: this.selectionList[0].billType,
-              dicData: [
-                {
-                  label: "直单",
-                  value: "DD"
-                },
-                {
-                  label: "主单",
-                  value: "MM"
-                },
-                {
-                  label: "分单",
-                  value: "MH"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            },
-            {
-              label: "复制类型",
-              prop: "checkbox",
-              type: "checkbox",
-              dicData: [
-                {
-                  label: "复制费用",
-                  value: "复制费用"
-                },
-                {
-                  label: "复制箱型箱量",
-                  value: "复制箱型箱量"
-                },
-                {
-                  label: "复制配箱信息",
-                  value: "复制配箱信息"
-                }
-              ],
-              dataType: "string",
-              span: 24
-            }
-          ]
-        },
-        beforeClose: done => {
-          done();
-        },
-        callback: res => {
-          res.done();
+    copyData(row){
           this.detailData.seeDisabled = false;
-          this.detailData.id = this.selectionList[0].id;
+          this.detailData.id = row.id;
           this.isShow = false;
           this.$nextTick(() => {
             this.$refs.billsDetails.pageLoading = true;
-            this.$refs.billsDetails.billsCopyBillsfun(this.selectionList[0].id, res.data.checkbox, res.data.billType);
+            this.$refs.billsDetails.billsCopyBillsfun(row.id, row.checkbox, row.billType);
           });
           this.$store.commit("IN_SEAFE_DETAIL");
-          res.close();
-        }
-      });
+    },
+    // 复制单据
+    CopyDocumentsfun() {
+      if (this.selectionList.length !== 1) {
+        this.$message.warning("请选择一条数据");
+        return;
+      }
+      this.$refs.copy.openDialog(this.selectionList[0])
+      // this.$DialogForm.show({
+      //   title: "复制单据",
+      //   width: "300px",
+      //   menuPosition: "right",
+      //   data: { checkbox: "" },
+      //   option: {
+      //     submitText: "确认",
+      //     emptyText: "取消",
+      //     span: 24,
+      //     column: [
+      //       {
+      //         label: "单据类型",
+      //         prop: "billType",
+      //         type: "select",
+      //         value: this.selectionList[0].billType,
+      //         dicData: [
+      //           {
+      //             label: "直单",
+      //             value: "DD"
+      //           },
+      //           {
+      //             label: "主单",
+      //             value: "MM"
+      //           },
+      //           {
+      //             label: "分单",
+      //             value: "MH"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       },
+      //       {
+      //         label: "复制类型",
+      //         prop: "checkbox",
+      //         type: "checkbox",
+      //         dicData: [
+      //           {
+      //             label: "复制费用",
+      //             value: "复制费用"
+      //           },
+      //           {
+      //             label: "复制箱型箱量",
+      //             value: "复制箱型箱量"
+      //           },
+      //           {
+      //             label: "复制配箱信息",
+      //             value: "复制配箱信息"
+      //           }
+      //         ],
+      //         dataType: "string",
+      //         span: 24
+      //       }
+      //     ]
+      //   },
+      //   beforeClose: done => {
+      //     done();
+      //   },
+      //   callback: res => {
+      //     res.done();
+      //     this.detailData.seeDisabled = false;
+      //     this.detailData.id = this.selectionList[0].id;
+      //     this.isShow = false;
+      //     this.$nextTick(() => {
+      //       this.$refs.billsDetails.pageLoading = true;
+      //       this.$refs.billsDetails.billsCopyBillsfun(this.selectionList[0].id, res.data.checkbox, res.data.billType);
+      //     });
+      //     this.$store.commit("IN_SEAFE_DETAIL");
+      //     res.close();
+      //   }
+      // });
     },
     // 编辑详情打开
     rowCellfun(id, row) {