| 
					
				 | 
			
			
				@@ -3021,6 +3021,7 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   exportWarehousebills, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   revoke, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   revokeTwo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  delinStock_s, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   serialNumber 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from "@/api/warehouseBusiness/warehouseInStock"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { operationAgreement } from "@/api/agreement/agreement"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -3039,6 +3040,7 @@ import Cookies from 'js-cookie' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { addSet, select } from '@/api/system/set' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import draggable from "vuedraggable"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Vue from 'vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { delCharge } from '@/api/finance/payment' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 Vue.directive('dialogDrag', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   bind(el, binding, vnode, oldVnode) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -5816,22 +5818,40 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 删除按钮操作 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleDelete(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const fIds = row.fId || this.ids 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.$confirm( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        '是否确认删除仓库主(出入库)编号为"' + fIds + '"的数据项?', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        '警告', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          confirmButtonText: '确定', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          cancelButtonText: '取消', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'warning' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let tips = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      delinStock_s(fIds).then( data =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        switch (data.msg) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          case '0': { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$message.error('当前数据已被其他操作员操作请刷新页面') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            break 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          case '1': { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tips = '当前主表有数据从表无数据是否删除' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.delete_S(fIds, tips) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            break 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          case '2': { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tips = '当前主表有数据从表有数据是否删除' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.delete_S(fIds, tips) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            break 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          default:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return this.$message.error('未知错误,无状态') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .then(function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          return delWarehousebills(fIds) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.msgSuccess('删除成功') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    delete_S(fIds, tips) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$confirm(tips, '警告', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        confirmButtonText: '确定', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        cancelButtonText: '取消', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type: 'warning' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }).then(function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return delWarehousebills(fIds) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.msgSuccess('删除成功') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 导出按钮操作 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleExport() { 
			 |