|  |  |  | @ -240,6 +240,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                         </template> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-pagination | 
			
		
	
		
			
				
					|  |  |  |  |                     :page-size="userQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |                     @current-change="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |                     layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |                     :total="userTotal" | 
			
		
	
		
			
				
					|  |  |  |  |                     :current-page="userQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-card> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <el-card style="width: 49%; float: right; margin-left: 0px;"> | 
			
		
	
	
		
			
				
					|  |  |  | @ -278,6 +286,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                         </template> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-pagination | 
			
		
	
		
			
				
					|  |  |  |  |                     :page-size="busQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |                     @current-change="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |                     layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |                     :total="busTotal" | 
			
		
	
		
			
				
					|  |  |  |  |                     :current-page="busQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-card> | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -836,6 +852,18 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             configParms: {}, | 
			
		
	
		
			
				
					|  |  |  |  |             subData: {}, | 
			
		
	
		
			
				
					|  |  |  |  |             subFromName: "add", | 
			
		
	
		
			
				
					|  |  |  |  |             userQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |                 code: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 10 | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             userTotal: 0, | 
			
		
	
		
			
				
					|  |  |  |  |             busQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |                 code: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 10 | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             busTotal: 0 | 
			
		
	
		
			
				
					|  |  |  |  |         }; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     methods: { | 
			
		
	
	
		
			
				
					|  |  |  | @ -1227,19 +1255,35 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         loadLinkData(row) { | 
			
		
	
		
			
				
					|  |  |  |  |             let query = { | 
			
		
	
		
			
				
					|  |  |  |  |                 code: row.code | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             this.userQuery.page = 1; | 
			
		
	
		
			
				
					|  |  |  |  |             this.userQuery.code = row.code; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             this.busQuery.page = 1; | 
			
		
	
		
			
				
					|  |  |  |  |             this.busQuery.code = row.code; | 
			
		
	
		
			
				
					|  |  |  |  |             //加载用户数据 | 
			
		
	
		
			
				
					|  |  |  |  |             warehouseUserList(query).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.userData = res.data; | 
			
		
	
		
			
				
					|  |  |  |  |             this.loadUserData(); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             //加载单据类型数据 | 
			
		
	
		
			
				
					|  |  |  |  |             this.loadBusData(); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         loadUserData(val) { | 
			
		
	
		
			
				
					|  |  |  |  |             if (val != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.userQuery.page = val; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             warehouseUserList(this.userQuery).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.userData = res.data.list; | 
			
		
	
		
			
				
					|  |  |  |  |                 this.userTotal = res.data.total; | 
			
		
	
		
			
				
					|  |  |  |  |             }).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("用户数据加载失败") | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             //加载单据类型数据 | 
			
		
	
		
			
				
					|  |  |  |  |             warehouseBussinessTypeList(query).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.bussinessTypeData = res.data; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         loadBusData(val) { | 
			
		
	
		
			
				
					|  |  |  |  |             if (val != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.busQuery.page = val; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             warehouseBussinessTypeList(this.busQuery).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.bussinessTypeData = res.data.list; | 
			
		
	
		
			
				
					|  |  |  |  |                 this.busTotal = res.data.total; | 
			
		
	
		
			
				
					|  |  |  |  |             }).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("单据类型数据加载失败") | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |