|  | @@ -244,6 +244,13 @@
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  | +          icon="el-icon-download"
 | 
	
		
			
				|  |  | +          size="mini"
 | 
	
		
			
				|  |  | +          @click="handleExportItem"
 | 
	
		
			
				|  |  | +          >导出明细</el-button
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  | +        <el-button
 | 
	
		
			
				|  |  | +          type="primary"
 | 
	
		
			
				|  |  |            plain
 | 
	
		
			
				|  |  |            icon="el-icon-search"
 | 
	
		
			
				|  |  |            size="mini"
 | 
	
	
		
			
				|  | @@ -500,6 +507,7 @@ import {
 | 
	
		
			
				|  |  |    exportInventory,
 | 
	
		
			
				|  |  |    cancelAllocation,
 | 
	
		
			
				|  |  |    confirmAllocation,
 | 
	
		
			
				|  |  | +  exportItem
 | 
	
		
			
				|  |  |  } from "@/api/kaihe/domesticTrade/myOrder";
 | 
	
		
			
				|  |  |  import Cookies from "js-cookie";
 | 
	
		
			
				|  |  |  import { addSet, resetModule, select } from "@/api/system/set";
 | 
	
	
		
			
				|  | @@ -590,9 +598,16 @@ export default {
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |            surface: "2",
 | 
	
		
			
				|  |  |            label: "fServiceitems",
 | 
	
		
			
				|  |  | -          name: "运输条款",
 | 
	
		
			
				|  |  | +          name: "起运港运输条款",
 | 
	
		
			
				|  |  |            checked: 0,
 | 
	
		
			
				|  |  | -          width: 120,
 | 
	
		
			
				|  |  | +          width: 140,
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +          surface: "3",
 | 
	
		
			
				|  |  | +          label: "fDestportMode",
 | 
	
		
			
				|  |  | +          name: "目的港运输条款",
 | 
	
		
			
				|  |  | +          checked: 0,
 | 
	
		
			
				|  |  | +          width: 140,
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |            surface: "3",
 | 
	
	
		
			
				|  | @@ -1034,6 +1049,20 @@ export default {
 | 
	
		
			
				|  |  |            this.download(response.msg);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    handleExportItem(){
 | 
	
		
			
				|  |  | +      const queryParams = this.queryParams;
 | 
	
		
			
				|  |  | +      this.$confirm("是否选择船名航次?", "警告", {
 | 
	
		
			
				|  |  | +        confirmButtonText: "确定",
 | 
	
		
			
				|  |  | +        cancelButtonText: "取消",
 | 
	
		
			
				|  |  | +        type: "warning",
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +        .then(function () {
 | 
	
		
			
				|  |  | +          return exportItem(queryParams);
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +        .then((response) => {
 | 
	
		
			
				|  |  | +          this.download(response.msg);
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      /** 搜索按钮操作 */
 | 
	
		
			
				|  |  |      handleQuery() {
 | 
	
		
			
				|  |  |        this.queryParams.pageNum = 1;
 | 
	
	
		
			
				|  | @@ -1074,14 +1103,14 @@ export default {
 | 
	
		
			
				|  |  |            let num1 = 0;
 | 
	
		
			
				|  |  |            let num2 = 0;
 | 
	
		
			
				|  |  |            data.forEach((e) => {
 | 
	
		
			
				|  |  | -            num1+=e.fCntrcount;
 | 
	
		
			
				|  |  | -            num2+=e.loadCntr;
 | 
	
		
			
				|  |  | +            num1 += e.fCntrcount;
 | 
	
		
			
				|  |  | +            num2 += e.loadCntr;
 | 
	
		
			
				|  |  |            });
 | 
	
		
			
				|  |  |            if (item.property == "fCntrcount") {
 | 
	
		
			
				|  |  | -            sums[index] = num1 ? num1: "0";
 | 
	
		
			
				|  |  | +            sums[index] = num1 ? num1 : "0";
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            if (item.property == "loadCntr") {
 | 
	
		
			
				|  |  | -            sums[index] = num2 ? num2: "0";
 | 
	
		
			
				|  |  | +            sums[index] = num2 ? num2 : "0";
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        });
 |