|  |  | @ -63,6 +63,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-form-item> |  |  |  |                     </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-form-item class="query-form-item"> |  |  |  |                     <el-form-item class="query-form-item"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-select v-model="filterQuery.invWarehouseCode" placeholder="请选择当前分库" clearable="true" |  |  |  |                         <el-select v-model="filterQuery.invWarehouseCode" placeholder="请选择当前分库" clearable="true" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                    :disabled="invWarehouseDisabled" | 
			
		
	
		
		
			
				
					
					|  |  |  |                                    size="mini"> |  |  |  |                                    size="mini"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <el-option |  |  |  |                             <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 v-for="item in subInvList" |  |  |  |                                 v-for="item in subInvList" | 
			
		
	
	
		
		
			
				
					|  |  | @ -160,7 +161,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | import { |  |  |  | import { | 
			
		
	
		
		
			
				
					
					|  |  |  |     filterProducts, |  |  |  |     filterProducts, | 
			
		
	
		
		
			
				
					
					|  |  |  |     filterDetailProducts, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     deleteProducts, |  |  |  |     deleteProducts, | 
			
		
	
		
		
			
				
					
					|  |  |  | } from "../../api/inventory/InvProducts"; |  |  |  | } from "../../api/inventory/InvProducts"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import draggable from "vuedraggable"; |  |  |  | import draggable from "vuedraggable"; | 
			
		
	
	
		
		
			
				
					|  |  | @ -168,7 +168,7 @@ import codeDetail from "./InvProductsDetail"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import store from "../../store"; |  |  |  | import store from "../../store"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getBussinessType} from "../../api/basic/bussinessType"; |  |  |  | import {getBussinessType} from "../../api/basic/bussinessType"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"; |  |  |  | import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {filterAllByUser, filterUplLocInv} from "@/api/basic/invWarehouse"; |  |  |  | import {filterUplLocInv} from "@/api/basic/invWarehouse"; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import {filterSubByInv} from "@/api/basic/invSubWarehouse"; |  |  |  | import {filterSubByInv} from "@/api/basic/invSubWarehouse"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -201,6 +201,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             loading: true, |  |  |  |             loading: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             index: null, |  |  |  |             index: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |             dialogTableVisible: false, |  |  |  |             dialogTableVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             invWarehouseDisabled: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |             formLoading: false, |  |  |  |             formLoading: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             dialogVisible: false, |  |  |  |             dialogVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             deleteLoading: false, |  |  |  |             deleteLoading: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -227,9 +228,12 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 customerId: null, |  |  |  |                 customerId: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 unitFk: null, |  |  |  |                 unitFk: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 supId: null, |  |  |  |                 supId: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 invWarehouseCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 invStorageCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 page: 1, |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 limit: 20, |  |  |  |                 limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |             }; |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.invChange(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList(); |  |  |  |             this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         onSubmit() { |  |  |  |         onSubmit() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -260,7 +264,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.filterQuery.customerId = store.getters.customerId; |  |  |  |             this.filterQuery.customerId = store.getters.customerId; | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterProducts(this.filterQuery) |  |  |  |             filterProducts(this.filterQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .then((response) => { |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     console.log(response) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.showSup = response.data.showSup; |  |  |  |                     this.showSup = response.data.showSup; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.loading = false; |  |  |  |                     this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.list = response.data.list || []; |  |  |  |                     this.list = response.data.list || []; | 
			
		
	
	
		
		
			
				
					|  |  | @ -308,7 +311,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         findMethod(query) { |  |  |  |         findMethod(query) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             console.log(query); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.fromOptions = []; |  |  |  |             this.fromOptions = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |             let cQuery = { |  |  |  |             let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 key: query, |  |  |  |                 key: query, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |