|  |  |  | @ -126,7 +126,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <script> | 
			
		
	
		
			
				
					|  |  |  |  | import {convertDate} from "@/utils/date"; | 
			
		
	
		
			
				
					|  |  |  |  | import {executeFuc, getHead} from "@/utils/customConfig"; | 
			
		
	
		
			
				
					|  |  |  |  | import {autoCodeDetail, autoCodeResult, manualCodeDetail} from "@/api/collect/collectOrder"; | 
			
		
	
		
			
				
					|  |  |  |  | import {autoCodeDetail, autoCodeResult, manualCodeDetail,codeRemove} from "@/api/collect/collectOrder"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -135,6 +135,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |    */ | 
			
		
	
		
			
				
					|  |  |  |  |   name: "PanelOrderManuTagCode", | 
			
		
	
		
			
				
					|  |  |  |  |   props: { | 
			
		
	
		
			
				
					|  |  |  |  |     refreshPanel: { | 
			
		
	
		
			
				
					|  |  |  |  |       type: Function, | 
			
		
	
		
			
				
					|  |  |  |  |       required: true, | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     prescribeData: { | 
			
		
	
		
			
				
					|  |  |  |  |       type: Object, | 
			
		
	
		
			
				
					|  |  |  |  |       default: null, | 
			
		
	
	
		
			
				
					|  |  |  | @ -171,6 +175,43 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |  |     deleteMan(_this, row) { | 
			
		
	
		
			
				
					|  |  |  |  |       _this.$confirm("是否确定删除该条扫码?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |       }).then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         _this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |         _this.codeRemoveMan(row.id, 2); | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     deleteCode(_this, row) { | 
			
		
	
		
			
				
					|  |  |  |  |       _this.$confirm("是否确定移除一个条码?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |       }).then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         _this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |         _this.codeRemoveMan(row.id, 1); | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     codeRemoveMan(codeManId,delType){ | 
			
		
	
		
			
				
					|  |  |  |  |       let post = { | 
			
		
	
		
			
				
					|  |  |  |  |         codeManId: codeManId, | 
			
		
	
		
			
				
					|  |  |  |  |         delType: delType | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       codeRemove(post).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |         if (response.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.success("操作成功!"); | 
			
		
	
		
			
				
					|  |  |  |  |           this.refreshPanel() | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |       }).catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |         this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     //界面配置相关------------ | 
			
		
	
		
			
				
					|  |  |  |  |     executeFuc(row, type, clickFuc, value) { | 
			
		
	
		
			
				
					|  |  |  |  |       return executeFuc(this, row, type, clickFuc, value); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |