|  |  | @ -2,8 +2,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |   <div> |  |  |  |   <div> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-form :inline="true" :model="filterQuery" size="mini"> |  |  |  |     <el-form :inline="true" :model="filterQuery" size="mini"> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-row style="width: 100%"> |  |  |  |       <el-row style="width: 100%"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form-item class="query-form-item" label="货位号/名称"> |  |  |  |         <el-form-item class="query-form-item" label="货位号/名称:"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-input v-model="filterQuery.key" placeholder="请输入货位号/名称:" clearable></el-input> |  |  |  |           <el-input v-model="filterQuery.key" placeholder="请输入货位号/名称" clearable></el-input> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         </el-form-item> |  |  |  |         </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form-item> |  |  |  |         <el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button-group> |  |  |  |           <el-button-group> | 
			
		
	
	
		
		
			
				
					|  |  | @ -11,7 +11,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               type="primary" |  |  |  |               type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |               icon="el-icon-refresh" |  |  |  |               icon="el-icon-refresh" | 
			
		
	
		
		
			
				
					
					|  |  |  |               @click="onReset" |  |  |  |               @click="onReset" | 
			
		
	
		
		
			
				
					
					|  |  |  |             ></el-button> |  |  |  |             >重置</el-button> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             <el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button> |  |  |  |             <el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button type="primary" icon="el-icon-plus" @click="addSpace">新增货位</el-button> |  |  |  |             <el-button type="primary" icon="el-icon-plus" @click="addSpace">新增货位</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button-group> |  |  |  |           </el-button-group> | 
			
		
	
	
		
		
			
				
					|  |  | @ -72,13 +72,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="11"> |  |  |  |           <el-col :span="11"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="code" label="货位编码"> |  |  |  |             <el-form-item prop="code" label="货位编码"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input v-model="formData.code" auto-complete="off" style="width: 90%" |  |  |  |               <el-input v-model="formData.code" auto-complete="off" style="width: 90%" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         placeholder="请输入货位编码"></el-input> |  |  |  |                         placeholder="请输入货位编码" clearable></el-input> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="11"> |  |  |  |           <el-col :span="11"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="name" label="货位名称"> |  |  |  |             <el-form-item prop="name" label="货位名称"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input v-model="formData.name" auto-complete="off" style="width: 90%" |  |  |  |               <el-input v-model="formData.name" auto-complete="off" style="width: 90%" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         placeholder="请输入货位名称"></el-input> |  |  |  |                         placeholder="请输入货位名称" clearable></el-input> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
	
		
		
			
				
					|  |  | @ -86,7 +86,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="11"> |  |  |  |           <el-col :span="11"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="remark" label="货位分类"> |  |  |  |             <el-form-item prop="remark" label="货位分类"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-input v-model="formData.type" auto-complete="off" style="width: 90%" |  |  |  |               <el-input v-model="formData.type" auto-complete="off" style="width: 90%" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         placeholder="请输入货位分类"></el-input> |  |  |  |                         placeholder="请输入货位分类" clearable></el-input> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="11"> |  |  |  |           <el-col :span="11"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -125,6 +125,7 @@ import store from "../../store"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {filterUplLocInv} from "@/api/system/invWarehouse"; |  |  |  | import {filterUplLocInv} from "@/api/system/invWarehouse"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {filterSubByInv} from "@/api/system/invSubWarehouse"; |  |  |  | import {filterSubByInv} from "@/api/system/invSubWarehouse"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getInvSpaceList, saveSpace, deleteSpace} from "@/api/inventory/invSpace"; |  |  |  | import {getInvSpaceList, saveSpace, deleteSpace} from "@/api/inventory/invSpace"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import {isBlank} from "@/utils/strUtil"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   name: "invInfo", |  |  |  |   name: "invInfo", | 
			
		
	
	
		
		
			
				
					|  |  | @ -276,6 +277,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData = row; |  |  |  |       this.formData = row; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     addSpace() { |  |  |  |     addSpace() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (isBlank(this.invInfo.invStorageCode)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.$message.warning("请先选择仓库!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         return; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.modifySpaceVisible = true; |  |  |  |       this.modifySpaceVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formName = "add"; |  |  |  |       this.formName = "add"; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.resetForm(); |  |  |  |       this.resetForm(); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |