| 
					
				 | 
			
			
				@@ -146,7 +146,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <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> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <import-sldc ref="importSLDC" :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> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -186,7 +186,7 @@ import extractBoxInformation 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { billsAdd } from "@/api/iosBasicData/bills"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    components: { SearchQuery, bports, extractBoxInformation }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    components: { SearchQuery, bports, importSldc, extractBoxInformation }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     props: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         assemblyForm: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         detailData: {}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -369,6 +369,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             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":""}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -378,8 +379,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.sldcData = tmp 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.loadingButton = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.sldcDialogvisible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            /* 使用固定数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 使用固定数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             sldcApiDetail({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 id: this.assemblyForm.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 billNo: this.assemblyForm.mblno, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -392,7 +394,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }).catch(e=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.loadingButton = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 暂时屏蔽lht 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -410,10 +411,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         importSldcDialogfun(mode){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log('sldcData', this.sldcData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var rows = this.$refs.importSLDC.selectedRows 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(rows.length==0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$message.warning('请勾选要导入的箱号!') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            sldcApisubmit({mode: mode}, this.sldcData) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.sldcDialogvisible = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            sldcApisubmit({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                mode: mode, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                id: this.assemblyForm.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                billNo: this.assemblyForm.mblno, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }, rows).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.loadingButton = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.sldcDialogvisible = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$emit('billsDetailfun') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 提取箱信息弹窗里的导入 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         extractDialogfun() { 
			 |