| 
					
				 | 
			
			
				@@ -67,7 +67,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <span v-for="item in $refs.crud.DIC.status" :style="{color: item.colour}" v-if="item.dictKey == row.status">{{item.dictValue}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="addressForm" slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <port-info v-model="formTwo.addressId" type="id" :disabled="scope.disabled" @balabalaTow="balabala"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <port-info v-model="formTwo.addressId" type="id" :disabled="scope.disabled" @balabalaTow="(val)=>{balabala(val,['formTwo','address'])}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <!--        <template slot="boxMakingCompanyForm" slot-scope="scope">--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <!--          <crop-select v-model="formTwo.boxMakingCompanyId" :disabled="scope.disabled" :refresh="false"--> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -648,6 +648,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     selectByName("卖箱费").then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.costData = res.data.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.option.selectable = (row, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return row.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //下拉箱号带出对应信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.findObject(this.option.column, "code").change = ({value, column}) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       selectArchivesList({code: value}).then(res => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -810,11 +813,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    balabala(val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    balabala(val,type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (val === null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.formTwo.address = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this[type[0]][type[1]] = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.formTwo.address = val.name 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this[type[0]][type[1]] = val.name 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //选择费用名称 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1025,6 +1028,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$message.error("已存在此箱号"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return loading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      form.boxType = form.$boxTypeId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       done(form) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       getParities({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         currency: form.currency, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1169,6 +1173,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const inSave = await this.saveColumnData(this.getColumnName(code), this[option]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (inSave) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$message.success("保存成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.option.selectable = (row, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return row.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //关闭窗口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$refs[ref].$refs.dialogColumn.columnBox = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1223,6 +1230,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const inSave = await this.delColumnData(this.getColumnName(code), this[optionBack]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (inSave) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.resetTrigger() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.option.selectable = (row, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return row.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$message.success("重置成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$refs[ref].$refs.dialogColumn.columnBox = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 |