|  |  | @ -54,6 +54,29 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <!--                        <el-option label="已锁定" value="3"></el-option>--> |  |  |  |                     <!--                        <el-option label="已锁定" value="3"></el-option>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <!--                    </el-select>--> |  |  |  |                     <!--                    </el-select>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <!--                </el-form-item>--> |  |  |  |                     <!--                </el-form-item>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <el-form-item class="query-form-item"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <el-select | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             v-model="filterQuery.supId" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             filterable | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             remote | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             clearable="true" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             reserve-keyword | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             placeholder="供应商" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             :remote-method="findMethod" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 v-for="item in fromOptions" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 :key="item.name" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 :label="item.name" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 :value="item.erpId" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 <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> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> |  |  |  |                             <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> | 
			
		
	
	
		
		
			
				
					|  |  | @ -133,7 +156,16 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     prop="qxlb" |  |  |  |                     prop="qxlb" | 
			
		
	
		
		
			
				
					
					|  |  |  |                     show-overflow-tooltip |  |  |  |                     show-overflow-tooltip | 
			
		
	
		
		
			
				
					
					|  |  |  |                 ></el-table-column> |  |  |  |                 ></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     label="是否集采" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     prop="groupBuy" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     show-overflow-tooltip | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <span>{{ enableMap[scope.row.groupBuy] }}</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column width="200" label="操作" fixed="right"> |  |  |  |                 <el-table-column width="200" label="操作" fixed="right"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <template slot-scope="scope"> |  |  |  |                     <template slot-scope="scope"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -512,7 +544,17 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 </div> |  |  |  |                                 </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             </el-col> |  |  |  |                             </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         </el-row> |  |  |  |                         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         <el-row :gutter="20" class="el-row" type="flex"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             <el-checkbox v-model="editQuery.dispatch" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             >是否可配送 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             </el-checkbox> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             <el-checkbox v-model="editQuery.groupBuy" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                          @change="groupBuyChange" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             >是否集采产品 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             </el-checkbox> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-divider></el-divider> |  |  |  |                         <el-divider></el-divider> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-collapse v-model="activeNames"> |  |  |  |                         <el-collapse v-model="activeNames"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -1007,6 +1049,7 @@ import selectUdi from "./UdiInfoRelevance.vue"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import selectErp from "./UdiInfoselectErpUdi"; |  |  |  | import selectErp from "./UdiInfoselectErpUdi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import selectLocalUdi from "./UdiInfoSelectLocalUdi"; |  |  |  | import selectLocalUdi from "./UdiInfoSelectLocalUdi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import selectUdiVersion from "./UdiinfoSelectVersion"; |  |  |  | import selectUdiVersion from "./UdiinfoSelectVersion"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1025,8 +1068,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 addType: 1, |  |  |  |                 addType: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 thrPiId: null, |  |  |  |                 thrPiId: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 filterType: null, |  |  |  |                 filterType: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 diType: 1 |  |  |  |                 diType: 1, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 supId: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             fromOptions: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |             productType: null, |  |  |  |             productType: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |             editQuery: null, |  |  |  |             editQuery: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |             productRemarkSet: {}, |  |  |  |             productRemarkSet: {}, | 
			
		
	
	
		
		
			
				
					|  |  | @ -1074,7 +1119,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             selectLocalVisible: false,      //关联UDI |  |  |  |             selectLocalVisible: false,      //关联UDI | 
			
		
	
		
		
			
				
					
					|  |  |  |             isUseDyCheck: false, |  |  |  |             isUseDyCheck: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             lockStatusMap: {1: "未提交", 2: "已提交", 3: "已锁定"}, |  |  |  |             lockStatusMap: {1: "未提交", 2: "已提交", 3: "已锁定"}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             activeNames: ['1'] |  |  |  |             activeNames: ['1'], | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             enableMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 true: "是", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 false: "否", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -1094,7 +1143,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 page: 1, |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 limit: 20, |  |  |  |                 limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 addType: 1, |  |  |  |                 addType: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 diType: 1 |  |  |  |                 diType: 1, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 supId: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |             }; |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList(); |  |  |  |             this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -1134,6 +1184,15 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.detailList = []; |  |  |  |                     this.detailList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         groupBuyChange() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (this.editQuery.groupBuy == true) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.editQuery.dispatch = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.editQuery.dispatch = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         keyup_submit(event) { |  |  |  |         keyup_submit(event) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.filterQuery.page = 1; |  |  |  |             this.filterQuery.page = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList(); |  |  |  |             this.getList(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -1552,6 +1611,23 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         findMethod(query) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.fromOptions = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 key: query, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             getBasicUnitMaintains(cQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.fromOptions = response.data.page.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.fromOptions = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     mounted() { |  |  |  |     mounted() { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |