|  |  | @ -531,7 +531,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-row :gutter="20" class="el-row" type="flex"> |  |  |  |                 <el-row :gutter="20" class="el-row" type="flex"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-col :span="12" class="el-col"> |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-form-item class="query-form-item" label="仓库等级:"> |  |  |  |                         <el-form-item class="query-form-item" label="仓库等级:"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <el-select v-model="formData.level" placeholder="仓库等级" clearable @change="changeLevel"> |  |  |  |                             <el-select v-model="formData.level" placeholder="仓库等级" clearable @change="changeLevel" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                        :disabled="!mutiInvMode"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-option label="1 级库" :value='1'></el-option> |  |  |  |                                 <el-option label="1 级库" :value='1'></el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-option label="2 级库" :value='2'></el-option> |  |  |  |                                 <el-option label="2 级库" :value='2'></el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-option label="3 级库" :value='3'></el-option> |  |  |  |                                 <el-option label="3 级库" :value='3'></el-option> | 
			
		
	
	
		
		
			
				
					|  |  | @ -543,6 +544,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-col :span="12" class="el-col"> |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-form-item class="query-form-item" label="上级仓库:"> |  |  |  |                         <el-form-item class="query-form-item" label="上级仓库:"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <el-select v-model="formData.pcode" placeholder="请选择当前仓库" |  |  |  |                             <el-select v-model="formData.pcode" placeholder="请选择当前仓库" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                        :disabled="!mutiInvMode" | 
			
		
	
		
		
			
				
					
					|  |  |  |                                        clearable="true" size="mini" @change="pcodeChange"> |  |  |  |                                        clearable="true" size="mini" @change="pcodeChange"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-option |  |  |  |                                 <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     v-for="item in pCodes" |  |  |  |                                     v-for="item in pCodes" | 
			
		
	
	
		
		
			
				
					|  |  | @ -759,6 +761,7 @@ import store from "@/store"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {findConfig} from "@/api/thrsys/spsSyncStatus"; |  |  |  | import {findConfig} from "@/api/thrsys/spsSyncStatus"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {isBlank} from "@/utils/strUtil"; |  |  |  | import {isBlank} from "@/utils/strUtil"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import relBusUserDialog from "./invWarehouseRelBusTypes"; |  |  |  | import relBusUserDialog from "./invWarehouseRelBusTypes"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import {selectSysParamByKey} from "@/api/param/systemParamConfig"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | const formJson = { |  |  |  | const formJson = { | 
			
		
	
		
		
			
				
					
					|  |  |  |     id: null, |  |  |  |     id: null, | 
			
		
	
	
		
		
			
				
					|  |  | @ -867,6 +870,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 thirdSysFk: "thirdId", |  |  |  |                 thirdSysFk: "thirdId", | 
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |             configParms: {}, |  |  |  |             configParms: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             mutiInvMode: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             subData: {}, |  |  |  |             subData: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             subFromName: "add", |  |  |  |             subFromName: "add", | 
			
		
	
		
		
			
				
					
					|  |  |  |             userQuery: { |  |  |  |             userQuery: { | 
			
		
	
	
		
		
			
				
					|  |  | @ -943,7 +948,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         // 显示表单 |  |  |  |         // 显示表单 | 
			
		
	
		
		
			
				
					
					|  |  |  |         handleForm(data, formName) { |  |  |  |         handleForm(data, formName) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             // let no = this.getProjectNum() + Math.floor(Math.random() * 10000) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (null != data) { |  |  |  |             if (null != data) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.currentId = data.id; |  |  |  |                 this.currentId = data.id; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.thirdSysVisible = true; |  |  |  |                 this.thirdSysVisible = true; | 
			
		
	
	
		
		
			
				
					|  |  | @ -962,15 +966,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.formData = Object.assign({}, data); |  |  |  |                 this.formData = Object.assign({}, data); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 // this.formData.code = no; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.formVisible = true; |  |  |  |                 this.formVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formName = formName; |  |  |  |             this.formName = formName; | 
			
		
	
		
		
			
				
					
					|  |  |  |             // if (data && data.id) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             //     this.index = this.mergeList.findIndex((d) => d.id === data.id); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             // } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getParentInv(this.formData.level); |  |  |  |             this.getParentInv(this.formData.level); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getThrsysDetailData(); |  |  |  |             this.getThrsysDetailData(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         getThrsysDetailData() { |  |  |  |         getThrsysDetailData() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1662,6 +1661,20 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }) |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 paramKey: "muti_inv_mode", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             selectSysParamByKey(query).then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (response.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     if (response.data.paramValue == "1") { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         this.mutiInvMode = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         this.mutiInvMode = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |     , |  |  |  |     , | 
			
		
	
	
		
		
			
				
					|  |  | 
 |