|  |  | @ -1,5 +1,5 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | <template> |  |  |  | <template> | 
			
		
	
		
		
			
				
					
					|  |  |  |   <!-- 系统管理 组织架构 仓库信息组件 --> |  |  |  |   <!-- 系统管理 组织架构 仓库信息页面 --> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   <div> |  |  |  |   <div> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-card> |  |  |  |     <el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-form :inline="true" :model="query" class="query-form" size="mini"> |  |  |  |       <el-form :inline="true" :model="query" class="query-form" size="mini"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -88,15 +88,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               @click.native="handleSubForm(scope.row, 'edit')" |  |  |  |               @click.native="handleSubForm(scope.row, 'edit')" | 
			
		
	
		
		
			
				
					
					|  |  |  |               >编辑 |  |  |  |               >编辑 | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-button> |  |  |  |             </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |             <!-- <el-button | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <!--            <el-button--> |  |  |  |                          type="text" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <!--              type="text"--> |  |  |  |                          :disabled="!configParms.basicInv" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <!--              :disabled="!configParms.basicInv"--> |  |  |  |                          @click.native.stop="popInvRelUser( scope.row)" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <!--              @click.native.stop="popInvRelUser( scope.row)"--> |  |  |  |                        >用户管理 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <!--            >用户管理--> |  |  |  |                        </el-button | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <!--            </el-button--> |  |  |  |                        > --> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <!--            >--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             <el-button |  |  |  |             <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |               type="text" |  |  |  |               type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |               :disabled="!configParms.basicInv" |  |  |  |               :disabled="!configParms.basicInv" | 
			
		
	
	
		
		
			
				
					|  |  | @ -513,8 +511,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     //----------------仓库相关----------------- |  |  |  |     //----------------仓库相关----------------- | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     /* 重置按钮  点击事件 */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     onReset() { |  |  |  |     onReset() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       //重置 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$router.push({ |  |  |  |       this.$router.push({ | 
			
		
	
		
		
			
				
					
					|  |  |  |         path: "", |  |  |  |         path: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
	
		
		
			
				
					|  |  | @ -561,9 +559,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.error("第三方分库库数据加载失败"); |  |  |  |           this.$message.error("第三方分库库数据加载失败"); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     /* 查询按钮点击事件 */ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     onSubmit() { |  |  |  |     onSubmit() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       //提交查询 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.query.advanceType = this.subDataType.advanceType; |  |  |  |       this.query.advanceType = this.subDataType.advanceType; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -585,8 +582,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.list = []; |  |  |  |           this.list = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     /* 新增 编辑点击事件 */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleSubForm(data, formName) { |  |  |  |     handleSubForm(data, formName) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       //新增,编辑 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (data != null) { |  |  |  |       if (data != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.invWouse = data; |  |  |  |         this.invWouse = data; | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
	
		
		
			
				
					|  |  | @ -818,7 +815,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => {}); |  |  |  |         .catch(() => {}); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     /* 仓库可用单据 */ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     popInvRelBustype(row) { |  |  |  |     popInvRelBustype(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.relBusTypeVisible = true; |  |  |  |       this.relBusTypeVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.currentRow = row; |  |  |  |       this.currentRow = row; | 
			
		
	
	
		
		
			
				
					|  |  | @ -892,7 +889,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           }); |  |  |  |           }); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     /* 删除按钮点击事件 */ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     handleDelInv(row) { |  |  |  |     handleDelInv(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (row.id) { |  |  |  |       if (row.id) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$confirm("确认删除该仓库吗?", "提示", { |  |  |  |         this.$confirm("确认删除该仓库吗?", "提示", { | 
			
		
	
	
		
		
			
				
					|  |  | @ -921,12 +918,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   /* 过滤器函数 */ | 
			
		
	
		
		
			
				
					
					|  |  |  |   filters: { |  |  |  |   filters: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     spUerFilterType(status) { |  |  |  |     spUerFilterType(status) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       const upUerMap = { |  |  |  |       const upUerMap = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         true: "success", |  |  |  |         true: "success", | 
			
		
	
		
		
			
				
					
					|  |  |  |         false: "danger", |  |  |  |         false: "danger", | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       console.log("status1,spUerFilterType", status); | 
			
		
	
		
		
			
				
					
					|  |  |  |       return upUerMap[status]; |  |  |  |       return upUerMap[status]; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     spUerFilterName(status) { |  |  |  |     spUerFilterName(status) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -934,6 +933,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         true: "允许", |  |  |  |         true: "允许", | 
			
		
	
		
		
			
				
					
					|  |  |  |         false: "不允许", |  |  |  |         false: "不允许", | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       console.log("status2,spUerFilterName", status); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       return upUerMap[status]; |  |  |  |       return upUerMap[status]; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |