|  |  | @ -36,6 +36,18 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                             </el-option> |  |  |  |                             </el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         </el-select> |  |  |  |                         </el-select> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-form-item> |  |  |  |                     </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <el-form-item class="query-form-item"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <el-select v-model="filterQuery.invStorageCode" placeholder="请选择当前仓库" clearable="true" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                    size="mini"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 v-for="item in storageList" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 :key="item.name" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 :label="item.name" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 :value="item.code"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 <span style="float: left">{{ item.name }}</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             </el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         </el-select> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-form-item> |  |  |  |                     <el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-button-group> |  |  |  |                         <el-button-group> | 
			
		
	
	
		
		
			
				
					|  |  | @ -70,7 +82,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </template> |  |  |  |                     </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-table-column> |  |  |  |                 </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="供应商" prop="companyName" v-if="showSup" show-overflow-tooltip></el-table-column> |  |  |  |                 <el-table-column label="供应商" prop="companyName" v-if="showSup" show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="仓库" prop="invStorageName" v-if="showSup" show-overflow-tooltip></el-table-column> |  |  |  |                 <el-table-column label="仓库" prop="invStorageName" v-if="showSup" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                  show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="操作" width="120" fixed="right"> |  |  |  |                 <el-table-column label="操作" width="120" fixed="right"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <template slot-scope="scope"> |  |  |  |                     <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-button |  |  |  |                         <el-button | 
			
		
	
	
		
		
			
				
					|  |  | @ -124,12 +137,14 @@ 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} from "@/api/basic/invWarehouse"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     data() { |  |  |  |     data() { | 
			
		
	
		
		
			
				
					
					|  |  |  |         return { |  |  |  |         return { | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterQuery: { |  |  |  |             filterQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 invStorageCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 cpmctymc: null, |  |  |  |                 cpmctymc: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 nameCode: null, |  |  |  |                 nameCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 relIdFk: null, |  |  |  |                 relIdFk: null, | 
			
		
	
	
		
		
			
				
					|  |  | @ -147,6 +162,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 limit: 20, |  |  |  |                 limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |             list: [], |  |  |  |             list: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             storageList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |             codeDetailVisible: false, |  |  |  |             codeDetailVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             total: 0, |  |  |  |             total: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |             loading: true, |  |  |  |             loading: true, | 
			
		
	
	
		
		
			
				
					|  |  | @ -273,7 +289,15 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.loading = false; |  |  |  |                     this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |         getStorage() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.storageList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             filterAllByUser() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.storageList = response.data || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         intentDetail(row) { |  |  |  |         intentDetail(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.idQuery = row; |  |  |  |             this.idQuery = row; | 
			
		
	
	
		
		
			
				
					|  |  | @ -318,6 +342,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     created() { |  |  |  |     created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.getStorage(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.getBusType(); |  |  |  |         this.getBusType(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         let query = this.$route.query; |  |  |  |         let query = this.$route.query; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.filterQuery = Object.assign(this.filterQuery, query); |  |  |  |         this.filterQuery = Object.assign(this.filterQuery, query); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |