|  |  | @ -310,6 +310,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         append-to-body |  |  |  |         append-to-body | 
			
		
	
		
		
			
				
					
					|  |  |  |       > |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |         <selectPrescribeDialog |  |  |  |         <selectPrescribeDialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           ref="childRef" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :workPlaceCode="null" |  |  |  |           :workPlaceCode="null" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :busType="this.formData.busType" |  |  |  |           :busType="this.formData.busType" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :fromCorp="this.formData.fromCorp" |  |  |  |           :fromCorp="this.formData.fromCorp" | 
			
		
	
	
		
		
			
				
					|  |  | @ -560,8 +561,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.selectBusTypeDisabled = false |  |  |  |               this.selectBusTypeDisabled = false | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.findCurOrder(); |  |  |  |               this.findCurOrder(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.formData.busType = this.$route.query.busType |  |  |  |               if (this.$route.query.busType != null){ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               this.findCurOrder(); |  |  |  |                 this.formData.busType = this.$route.query.busType | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.findCurOrder(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               } | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.$refs.inputRef.focus(); |  |  |  |               this.$refs.inputRef.focus(); | 
			
		
	
		
		
			
				
					
					|  |  |  |               busType = this.busTypeList.find(item => item.documentTypeCode === this.formData.busType); |  |  |  |               busType = this.busTypeList.find(item => item.documentTypeCode === this.formData.busType); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
	
		
		
			
				
					|  |  | @ -1032,9 +1035,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.startDeal(); |  |  |  |               this.startDeal(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             }).catch(() => { |  |  |  |             }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else if (temp.tagStatus === 2 || temp.tagStatus === 1) { |  |  |  |           } | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           else if (temp.tagStatus === 2 || temp.tagStatus === 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData = temp; |  |  |  |             this.formData = temp; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.panelALive = true | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.startDeal(); |  |  |  |             this.startDeal(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             // this.$confirm('检测到当前工位存在正在处理单据,是否继续上一次单据处理?', '提示', { |  |  |  |             // this.$confirm('检测到当前工位存在正在处理单据,是否继续上一次单据处理?', '提示', { | 
			
		
	
		
		
			
				
					
					|  |  |  |             //   confirmButtonText: '确定', |  |  |  |             //   confirmButtonText: '确定', | 
			
		
	
	
		
		
			
				
					|  |  | @ -1061,7 +1066,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     confirmSelect(row) { |  |  |  |     confirmSelect(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.selectPrescriptionVisible = false; |  |  |  | 
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.formData = row; |  |  |  |       this.formData = row; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.startDeal(); |  |  |  |       this.startDeal(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -1091,8 +1096,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       startSplit(this.formData).then(res => { |  |  |  |       startSplit(this.formData).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false |  |  |  |         this.loading = false | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (res.code == 20000) { |  |  |  |         if (res.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.selectPrescriptionVisible = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.refreshCodesPanel(this); |  |  |  |           this.refreshCodesPanel(this); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         }else if (res.code == 501){ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.$refs.childRef.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.$refs.childRef.getDraftList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.$refs.childRef.getOtherList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.$message.warning(res.message) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch(() => { |  |  |  |       }).catch(() => { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1198,6 +1209,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.scanCode = ""; |  |  |  |       this.scanCode = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.scanTitle = "扫码结果:"; |  |  |  |       this.scanTitle = "扫码结果:"; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.result = ""; |  |  |  |       this.result = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.warnResult = "" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.errResult = "" | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
	
		
		
			
				
					|  |  | @ -1212,6 +1225,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.curRow = null |  |  |  |       this.curRow = null | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData.confirmFinish = false; |  |  |  |       this.formData.confirmFinish = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.refreshCodesPanel(this) |  |  |  |       this.refreshCodesPanel(this) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.clearCode() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     toggleBusType() { |  |  |  |     toggleBusType() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       //隐藏下拉框内容 |  |  |  |       //隐藏下拉框内容 | 
			
		
	
	
		
		
			
				
					|  |  | @ -1339,7 +1354,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       // 如果没有任何条件满足,返回 false |  |  |  |       // 如果没有任何条件满足,返回 false | 
			
		
	
		
		
			
				
					
					|  |  |  |       return false; |  |  |  |       return false; | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     }, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   mounted() { |  |  |  |   mounted() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.$refs.inputRef.focus(); |  |  |  |     this.$refs.inputRef.focus(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -1377,8 +1392,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData.workPlaceCode = Number(this.$route.query.workplaceId); |  |  |  |       this.formData.workPlaceCode = Number(this.$route.query.workplaceId); | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getWorkBindBusTypes(this.formData.workPlaceCode); |  |  |  |       this.getWorkBindBusTypes(this.formData.workPlaceCode); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |