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