|  |  | @ -34,7 +34,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-table-column> |  |  |  |             </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column |  |  |  |             <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |               prop="remark" |  |  |  |               prop="name" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               label="取货架说明" |  |  |  |               label="取货架说明" | 
			
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-table-column> |  |  |  |             </el-table-column> | 
			
		
	
	
		
		
			
				
					|  |  | @ -272,7 +272,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 5, |  |  |  |         limit: 5, | 
			
		
	
		
		
			
				
					
					|  |  |  |         workPlaceIdFk: '', |  |  |  |         workPlaceIdFk: '', | 
			
		
	
		
		
			
				
					
					|  |  |  |         key: '' |  |  |  |         key: '', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         // code: null, |  |  |  |         // code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         // workplaceStatus: 1, |  |  |  |         // workplaceStatus: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         // workPlaceClass: 2, |  |  |  |         // workPlaceClass: 2, | 
			
		
	
	
		
		
			
				
					|  |  | @ -300,6 +301,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       queueTotal: 0, |  |  |  |       queueTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |       WorkplaceFreightDialogVisible: false, |  |  |  |       WorkplaceFreightDialogVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       WorkplaceQueueDialogVisible: false, |  |  |  |       WorkplaceQueueDialogVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       freightCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       layerCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
	
		
		
			
				
					|  |  | @ -368,10 +371,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handChangeFreight(row) { |  |  |  |     handChangeFreight(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.LayerQuery.freightCode = row.code |  |  |  |       this.LayerQuery.freightCode = row.code | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.freightCode = row.code | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.queueQuery.layerCode = null | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.layerCode = null | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getLayers() |  |  |  |       this.getLayers() | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handChangeLayer(row) { |  |  |  |     handChangeLayer(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.queueQuery.layerCode = row.code |  |  |  |       this.queueQuery.layerCode = row.code | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.layerCode = row.code | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getQueues() |  |  |  |       this.getQueues() | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleEdit(row) { |  |  |  |     handleEdit(row) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -464,9 +471,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).then(() => { |  |  |  |       }).then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         deleteQueue(row).then(res => { |  |  |  |         deleteQueue(row).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (res.code == 20000){ |  |  |  |           if (res.code == 20000){ | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList() |  |  |  |             this.getFreightList() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.getLayers() |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getQueues() |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.$message.success("删除成功") |  |  |  |             this.$message.success("删除成功") | 
			
		
	
		
		
			
				
					
					|  |  |  |           }else { |  |  |  |           }else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error("删除失败") |  |  |  |             this.$message.error("删除失败") | 
			
		
	
	
		
		
			
				
					|  |  | @ -491,7 +496,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).then(() => { |  |  |  |       }).then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         deleteLayer(query).then(res => { |  |  |  |         deleteLayer(query).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (res.code == 20000){ |  |  |  |           if (res.code == 20000){ | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList() |  |  |  |             this.getFreightList() | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.$message.success("删除成功") |  |  |  |             this.$message.success("删除成功") | 
			
		
	
		
		
			
				
					
					|  |  |  |           }else { |  |  |  |           }else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(res.message) |  |  |  |             this.$message.error(res.message) | 
			
		
	
	
		
		
			
				
					|  |  | @ -500,8 +505,35 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch(() => { |  |  |  |       }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     getFreightList(){ | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       getWorkplaceFreightList(this.query).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (res.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.freightList = res.data.list || [] | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.total = res.data.total || 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.LayerQuery.freightCode = this.freightCode | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.getLayerList() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.total = 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.freightList = [] | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     getLayerList(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       getLayerList(this.LayerQuery).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (res.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.layerList = res.data.list || [] | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.LayerTotal = res.data.total | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           console.log("shsjhshshs",this.layerCode) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           if (this.layerCode != null){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.queueQuery.layerCode = this.layerCode | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.getQueues() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.LayerTotal = 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.layerList = [] | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   created() { |  |  |  |   created() { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |