|  |  |  | @ -347,7 +347,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             :total="errTotal" | 
			
		
	
		
			
				
					|  |  |  |  |             :limit.sync="errQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |             :page.sync="errQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |             @pagination="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |             @pagination="handleCurrentChangeError" | 
			
		
	
		
			
				
					|  |  |  |  |           ></pagination> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-tabs> | 
			
		
	
	
		
			
				
					|  |  |  | @ -394,7 +394,7 @@ import { | 
			
		
	
		
			
				
					|  |  |  |  |   deleteByOrder, | 
			
		
	
		
			
				
					|  |  |  |  |   importOrder, | 
			
		
	
		
			
				
					|  |  |  |  |   downloadOrder, | 
			
		
	
		
			
				
					|  |  |  |  |   errorHandle | 
			
		
	
		
			
				
					|  |  |  |  |   errorHandle,errorHandleSubmit,deleteOriginOrder | 
			
		
	
		
			
				
					|  |  |  |  | } from "@/api/collect/collectOrder"; | 
			
		
	
		
			
				
					|  |  |  |  | import { | 
			
		
	
		
			
				
					|  |  |  |  |   orderPage, | 
			
		
	
	
		
			
				
					|  |  |  | @ -547,7 +547,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     ///界面配置相关------------end | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     hideSearch() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.showSearch = !this.showSearch; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  |  | @ -565,35 +564,38 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     downloadPrescription() { | 
			
		
	
		
			
				
					|  |  |  |  |       // this.downloadPrescriptionVisible = true | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       importOrder().then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |           if (res.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.success("下载成功!") | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |           } else { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.error(res.message) | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |       ).catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |       this.downloadPrescriptionVisible = true | 
			
		
	
		
			
				
					|  |  |  |  |       // this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       // importOrder().then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |       //     this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |       //     if (res.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |       //       this.$message.success("下载成功!") | 
			
		
	
		
			
				
					|  |  |  |  |       //       this.getList() | 
			
		
	
		
			
				
					|  |  |  |  |       //     } else { | 
			
		
	
		
			
				
					|  |  |  |  |       //       this.$message.error(res.message) | 
			
		
	
		
			
				
					|  |  |  |  |       //     } | 
			
		
	
		
			
				
					|  |  |  |  |       //   } | 
			
		
	
		
			
				
					|  |  |  |  |       // ).catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |       //   this.loading = false | 
			
		
	
		
			
				
					|  |  |  |  |       // }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     downloadData() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.downloadPrescriptionVisible = true | 
			
		
	
		
			
				
					|  |  |  |  |       // if (this.filterQuery.workPlaceCode == null) { | 
			
		
	
		
			
				
					|  |  |  |  |       //   return this.$message.error("请先选择工位") | 
			
		
	
		
			
				
					|  |  |  |  |       // } | 
			
		
	
		
			
				
					|  |  |  |  |       this.downloadPrescriptionVisible = true | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.actDateRange !== null) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.startTime = this.actDateRange[0]; | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.endTime = this.actDateRange[1]; | 
			
		
	
		
			
				
					|  |  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.startTime = null; | 
			
		
	
		
			
				
					|  |  |  |  |         this.filterQuery.endTime = null; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // downloadOrder(this.filterQuery).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |       // if (this.actDateRange !== null) { | 
			
		
	
		
			
				
					|  |  |  |  |       //   this.filterQuery.startTime = this.actDateRange[0]; | 
			
		
	
		
			
				
					|  |  |  |  |       //   this.filterQuery.endTime = this.actDateRange[1]; | 
			
		
	
		
			
				
					|  |  |  |  |       // } else { | 
			
		
	
		
			
				
					|  |  |  |  |       //   this.filterQuery.startTime = null; | 
			
		
	
		
			
				
					|  |  |  |  |       //   this.filterQuery.endTime = null; | 
			
		
	
		
			
				
					|  |  |  |  |       // } | 
			
		
	
		
			
				
					|  |  |  |  |       // | 
			
		
	
		
			
				
					|  |  |  |  |       // this.filterQuery.busType = '24' | 
			
		
	
		
			
				
					|  |  |  |  |       // // downloadOrder(this.filterQuery).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |       //     getThrOrderPage(this.filterQuery).then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |       //   if (res.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |       //     return this.$message.success(res.data) | 
			
		
	
		
			
				
					|  |  |  |  |       //   } else { | 
			
		
	
	
		
			
				
					|  |  |  | @ -619,11 +621,13 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     closeDialog() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.downloadPrescriptionVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.getErrorList(this); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |     onSubmit() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery.page = 1; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |       this.getErrorList(this); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -668,7 +672,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     getList2(_this) { | 
			
		
	
		
			
				
					|  |  |  |  |       _this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       if (_this.actDateRange !== null) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -692,6 +695,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     handleCurrentChange(val) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery.page = val.page; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleCurrentChangeError(val) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.errQuery.page = val.page; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getErrorList(this); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -715,7 +722,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |         .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           _this.deleteOrders(row.code); | 
			
		
	
		
			
				
					|  |  |  |  |           _this.deleteOrders(row.billNo); | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -724,10 +731,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     deleteOrders(data) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       this.deleteData.billNo = data; | 
			
		
	
		
			
				
					|  |  |  |  |       deleteByOrder(this.deleteData) | 
			
		
	
		
			
				
					|  |  |  |  |       deleteOriginOrder(this.deleteData) | 
			
		
	
		
			
				
					|  |  |  |  |         .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |           if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.getErrorList(this); | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message({ | 
			
		
	
		
			
				
					|  |  |  |  |               type: "success", | 
			
		
	
		
			
				
					|  |  |  |  |               message: "删除成功!", | 
			
		
	
	
		
			
				
					|  |  |  | @ -735,9 +743,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |           } else if (response.code == 520) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.getErrorList(this); | 
			
		
	
		
			
				
					|  |  |  |  |           } else { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.getErrorList(this); | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
	
		
			
				
					|  |  |  | @ -792,7 +802,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     submitDialog() { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  |  | @ -815,14 +824,48 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |           errorHandle(params) | 
			
		
	
		
			
				
					|  |  |  |  |             .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |               if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getList2(_this); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getErrorList(_this); | 
			
		
	
		
			
				
					|  |  |  |  |                 _this.$message.success("处理成功!") | 
			
		
	
		
			
				
					|  |  |  |  |               } else if (response.code == 520) { | 
			
		
	
		
			
				
					|  |  |  |  |                 _this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getErrorList(_this); | 
			
		
	
		
			
				
					|  |  |  |  |               } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 _this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getErrorList(_this); | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |             .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     errorHandleSubmit(_this, row) { | 
			
		
	
		
			
				
					|  |  |  |  |       _this.$confirm("此操作将提交该订单, 是否继续?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |         .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |           let params = { | 
			
		
	
		
			
				
					|  |  |  |  |             billNo: row.billNo, | 
			
		
	
		
			
				
					|  |  |  |  |             busType: row.busType, | 
			
		
	
		
			
				
					|  |  |  |  |             workPlaceCode: row.workPlaceCode, | 
			
		
	
		
			
				
					|  |  |  |  |             tagStatus: row.tagStatus, | 
			
		
	
		
			
				
					|  |  |  |  |             fromTpye: row.fromTpye, | 
			
		
	
		
			
				
					|  |  |  |  |           }; | 
			
		
	
		
			
				
					|  |  |  |  |           errorHandleSubmit(params) | 
			
		
	
		
			
				
					|  |  |  |  |             .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |               if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getErrorList(_this); | 
			
		
	
		
			
				
					|  |  |  |  |                 _this.$message.success("处理成功!") | 
			
		
	
		
			
				
					|  |  |  |  |               } else if (response.code == 520) { | 
			
		
	
		
			
				
					|  |  |  |  |                 _this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getList2(_this); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getErrorList(_this); | 
			
		
	
		
			
				
					|  |  |  |  |               } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 _this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getList2(_this); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getErrorList(_this); | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |             .catch(() => { | 
			
		
	
	
		
			
				
					|  |  |  | @ -831,7 +874,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |  |     getHead("prescribeDownloadOrigin", "1").then((re) => { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |