|  | @@ -144,7 +144,15 @@
 | 
	
		
			
				|  |  |              </span>
 | 
	
		
			
				|  |  |          </el-dialog>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        <el-dialog append-to-body title="导入场站分箱明细" class="el-dialogDeep" :visible.sync="sldcDialogvisible" width="80%"
 | 
	
		
			
				|  |  | +                   :close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false" v-dialog-drag>
 | 
	
		
			
				|  |  | +            <import-sldc :sldcData="sldcData"></import-sldc>
 | 
	
		
			
				|  |  | +            <span slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  | +                <el-button type="primary" @click="importSldcDialogfun(true)">导入</el-button>
 | 
	
		
			
				|  |  | +                <el-button type="primary" @click="importSldcDialogfun(false)">只导箱封号</el-button>
 | 
	
		
			
				|  |  | +                <el-button @click="sldcDialogvisible = false">取 消</el-button>
 | 
	
		
			
				|  |  | +            </span>
 | 
	
		
			
				|  |  | +        </el-dialog>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -158,7 +166,12 @@ import {
 | 
	
		
			
				|  |  |      containersEqualDistribution,
 | 
	
		
			
				|  |  |      distributionBox,
 | 
	
		
			
				|  |  |      containersSubmitList,
 | 
	
		
			
				|  |  | -    containersExportContainers, containersImportBoxNo, containersList, luHaiTongApiDetail
 | 
	
		
			
				|  |  | +    containersExportContainers,
 | 
	
		
			
				|  |  | +    containersImportBoxNo,
 | 
	
		
			
				|  |  | +    containersList,
 | 
	
		
			
				|  |  | +    luHaiTongApiDetail,
 | 
	
		
			
				|  |  | +    sldcApiDetail,
 | 
	
		
			
				|  |  | +    sldcApisubmit
 | 
	
		
			
				|  |  |  } from "@/api/iosBasicData/containers";
 | 
	
		
			
				|  |  |  import { mapGetters } from "vuex";
 | 
	
		
			
				|  |  |  import SearchQuery from "@/components/iosbasic-data/searchquery.vue";
 | 
	
	
		
			
				|  | @@ -166,9 +179,12 @@ import bports from "@/views/iosBasicData/bports/index.vue";
 | 
	
		
			
				|  |  |  import { bportsList } from "@/api/iosBasicData/bports";
 | 
	
		
			
				|  |  |  import { getToken } from "@/util/auth";
 | 
	
		
			
				|  |  |  import { decryptLhtData } from "@/util/lhtDataDesc";
 | 
	
		
			
				|  |  | +import importSldc
 | 
	
		
			
				|  |  | +    from "@/views/iosBasicData/SeafreightExportF/bills/assembly/DistributionBox/importSldc.vue";
 | 
	
		
			
				|  |  |  import extractBoxInformation
 | 
	
		
			
				|  |  |      from "@/views/iosBasicData/SeafreightExportF/bills/assembly/DistributionBox/extractBoxInformation.vue";
 | 
	
		
			
				|  |  |  import { billsAdd } from "@/api/iosBasicData/bills";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |      components: { SearchQuery, bports, extractBoxInformation },
 | 
	
		
			
				|  |  |      props: {
 | 
	
	
		
			
				|  | @@ -312,6 +328,9 @@ export default {
 | 
	
		
			
				|  |  |              luHaiTongData: [], // 提取请求到解析的数据
 | 
	
		
			
				|  |  |              extractDialogvisible: false, // 提取请求到的数据展示
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +            sldcData:[],
 | 
	
		
			
				|  |  | +            sldcDialogvisible: false,
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      computed: {
 | 
	
	
		
			
				|  | @@ -349,6 +368,34 @@ export default {
 | 
	
		
			
				|  |  |                  return this.$message.warning('请先进行配箱')
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              this.loadingButton = true
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            var tmp = [{"cntrType":"40HC","cntrTypeExists":true,"sealNo":"CX0289787","gwt":13654,"oldQty":0,"oldVol":0,"index":1,"vol":61,"mblNo":"TAJM50971800","qty":213,"oldGwt":0,"isNewest":true,"cntrNo":"PIDU4035902","selected":true,"status":""},
 | 
	
		
			
				|  |  | +                {"cntrType":"40HC","cntrTypeExists":true,"sealNo":"CX0289765","gwt":14419,"oldQty":0,"oldVol":0,"index":2,"vol":61,"mblNo":"TAJM50971800","qty":225,"oldGwt":0,"isNewest":true,"cntrNo":"PIDU4324931","selected":true,"status":""},
 | 
	
		
			
				|  |  | +                {"cntrType":"40HC","cntrTypeExists":true,"sealNo":"CX0289787","gwt":13654,"oldQty":0,"oldVol":0,"index":3,"vol":61,"mblNo":"TAJM50971801","qty":213,"oldGwt":0,"isNewest":true,"cntrNo":"PIDU4035902","selected":true,"status":""},
 | 
	
		
			
				|  |  | +                {"cntrType":"40HC","cntrTypeExists":true,"sealNo":"CX0289765","gwt":14419,"oldQty":0,"oldVol":0,"index":4,"vol":61,"mblNo":"TAJM50971801","qty":225,"oldGwt":0,"isNewest":true,"cntrNo":"PIDU4324931","selected":true,"status":""},
 | 
	
		
			
				|  |  | +                {"cntrType":"40HC","cntrTypeExists":true,"sealNo":"CX0289787","gwt":46,"oldQty":0,"oldVol":0,"index":5,"vol":1,"mblNo":"TAJM50971802","qty":20,"oldGwt":0,"isNewest":true,"cntrNo":"PIDU4035902","selected":true,"status":""},
 | 
	
		
			
				|  |  | +                {"cntrType":"40HC","cntrTypeExists":true,"sealNo":"CX0289765","gwt":61,"oldQty":0,"oldVol":0,"index":6,"vol":1,"mblNo":"TAJM50971802","qty":20,"oldGwt":0,"isNewest":true,"cntrNo":"PIDU4324931","selected":true,"status":""}]
 | 
	
		
			
				|  |  | +            this.sldcData = tmp
 | 
	
		
			
				|  |  | +            this.loadingButton = false
 | 
	
		
			
				|  |  | +            this.sldcDialogvisible = true
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            /* 使用固定数据
 | 
	
		
			
				|  |  | +            sldcApiDetail({
 | 
	
		
			
				|  |  | +                id: this.assemblyForm.id,
 | 
	
		
			
				|  |  | +                billNo: this.assemblyForm.mblno,
 | 
	
		
			
				|  |  | +                station: this.assemblyForm.cyCode
 | 
	
		
			
				|  |  | +            }).then(res => {
 | 
	
		
			
				|  |  | +                this.loadingButton = false
 | 
	
		
			
				|  |  | +                console.log(res)
 | 
	
		
			
				|  |  | +                this.sldcData = res.data.data
 | 
	
		
			
				|  |  | +                this.sldcDialogvisible = true
 | 
	
		
			
				|  |  | +            }).catch(e=>{
 | 
	
		
			
				|  |  | +                this.loadingButton = false;
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +            */
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            // 暂时屏蔽lht
 | 
	
		
			
				|  |  | +            return
 | 
	
		
			
				|  |  |              luHaiTongApiDetail({
 | 
	
		
			
				|  |  |                  billNo: this.assemblyForm.mblno,
 | 
	
		
			
				|  |  |                  station: this.assemblyForm.cyCode
 | 
	
	
		
			
				|  | @@ -362,6 +409,12 @@ export default {
 | 
	
		
			
				|  |  |                  this.extractDialogvisible = true
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | +        importSldcDialogfun(mode){
 | 
	
		
			
				|  |  | +            console.log('sldcData', this.sldcData)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            sldcApisubmit({mode: mode}, this.sldcData)
 | 
	
		
			
				|  |  | +            this.sldcDialogvisible = false
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          // 提取箱信息弹窗里的导入
 | 
	
		
			
				|  |  |          extractDialogfun() {
 | 
	
		
			
				|  |  |              // if (this.assemblyForm.containersList.length != this.luHaiTongData.containerCargoInfos.length) {
 |