|  |  | @ -156,8 +156,12 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-row> |  |  |  |             </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-row :gutter="20"> |  |  |  |             <el-row :gutter="20"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-col :span="14" style="margin-left: 40px"> |  |  |  |                 <el-col :span="11" style="margin-left: 40px"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-col :span="3"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <div class="text item" style="margin-left: 30px"> 盘点产品数量:{{ codeArray.length }} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-col> |  |  |  |                 </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-col :span="3"> |  |  |  |                 <el-col :span="3"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <div class="text item" style="margin-left: 30px"> 条码数量:{{ codesNum }} |  |  |  |                     <div class="text item" style="margin-left: 30px"> 条码数量:{{ codesNum }} | 
			
		
	
	
		
		
			
				
					|  |  | @ -238,7 +242,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-form-item> |  |  |  |                         <el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <el-button-group> |  |  |  |                             <el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> |  |  |  |                                 <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-button type="primary" icon="search" @click="getInvProducts" |  |  |  |                                 <el-button type="primary" icon="search" @click="queryInvProducts" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 >查询 |  |  |  |                                 >查询 | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 </el-button |  |  |  |                                 </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 > |  |  |  |                                 > | 
			
		
	
	
		
		
			
				
					|  |  | @ -355,6 +359,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterQuery: { |  |  |  |             filterQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 invStorageCode: null, |  |  |  |                 invStorageCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 invWarehouseCode: null, |  |  |  |                 invWarehouseCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 invSpaceCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 nameCode: null, |  |  |  |                 nameCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 cpmctymc: null, |  |  |  |                 cpmctymc: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 batchNo: null, |  |  |  |                 batchNo: null, | 
			
		
	
	
		
		
			
				
					|  |  | @ -365,9 +370,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             scanText: "扫码录入:", |  |  |  |             scanText: "扫码录入:", | 
			
		
	
		
		
			
				
					
					|  |  |  |             codesList: [], |  |  |  |             codesList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |             detailQuery: { |  |  |  |             detailQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 orderIdFk: null, |  |  |  |                 orderIdFk: null | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 page: 1, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 limit: 10 |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |             detailTotal: 0, |  |  |  |             detailTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |             countProductList: [], |  |  |  |             countProductList: [], | 
			
		
	
	
		
		
			
				
					|  |  | @ -442,6 +445,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         subStorageChange() { |  |  |  |         subStorageChange() { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.invSpaceCode = null; |  |  |  |             this.formData.invSpaceCode = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.spaceList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |             //查询货位 |  |  |  |             //查询货位 | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getInvSpaceList(); |  |  |  |             this.getInvSpaceList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -458,13 +462,21 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         invSpaceChange() { |  |  |  |         invSpaceChange() { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$forceUpdate(); |  |  |  |             this.$forceUpdate(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         queryInvProducts() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.filterQuery.page = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.getInvProducts(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         getInvProducts() { |  |  |  |         getInvProducts() { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.filterQuery.invStorageCode = this.formData.invStorageCode; |  |  |  |             this.filterQuery.invStorageCode = this.formData.invStorageCode; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.filterQuery.invWarehouseCode = this.formData.invWarehouseCode; |  |  |  |             this.filterQuery.invWarehouseCode = this.formData.invWarehouseCode; | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterProducts(this.filterQuery).then((res) => { |  |  |  |             this.filterQuery.invSpaceCode = this.formData.invSpaceCode; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             getCountInvProductProduct(this.filterQuery).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (res.code === 20000) { |  |  |  |                 if (res.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.productList = res.data.list || []; |  |  |  |                     this.productList = res.data.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.total = res.data.total || 0; |  |  |  |                     this.total = res.data.total || 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.productList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.total = 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             }) |  |  |  |             }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -601,7 +613,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }; |  |  |  |                 }; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 getCountInvProductProduct(params).then((res) => { |  |  |  |                 getCountInvProductProduct(params).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     if (res.data.length !== 0) { |  |  |  |                     if (res.data.length !== 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         let invProductList = res.data; |  |  |  |                         let invProductList = res.data.list; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         for (let product of invProductList) { |  |  |  |                         for (let product of invProductList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.countProductList.push(product); |  |  |  |                             this.countProductList.push(product); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } |  |  |  |                         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -618,10 +630,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     invWarehouseCode: this.formData.invWarehouseCode, |  |  |  |                     invWarehouseCode: this.formData.invWarehouseCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |                     invSpaceCode: this.formData.invSpaceCode |  |  |  |                     invSpaceCode: this.formData.invSpaceCode | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }; |  |  |  |                 }; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 console.log(params) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 getCountInvProductProduct(params).then((res) => { |  |  |  |                 getCountInvProductProduct(params).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     if (res.data.length !== 0) { |  |  |  |                     if (res.data.length !== 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         let invProductList = res.data; |  |  |  |                         let invProductList = res.data.list; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         for (let product of invProductList) { |  |  |  |                         for (let product of invProductList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.countProductList.push(product); |  |  |  |                             this.countProductList.push(product); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } |  |  |  |                         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -634,6 +645,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     return; |  |  |  |                     return; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.selectInvProductVisible = true; |  |  |  |                 this.selectInvProductVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.queryInvProducts(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |