|  |  | @ -84,8 +84,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                         splaceholder="请输入内容" |  |  |  |                         splaceholder="请输入内容" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         v-model="editQuery.ybbm" |  |  |  |                         v-model="editQuery.ybbm" | 
			
		
	
		
		
			
				
					
					|  |  |  |                         v-debounce-input:500ms="getYbHcData" |  |  |  |                         v-debounce-input:500ms="getYbHcData" | 
			
		
	
		
		
			
				
					
					|  |  |  |           ></el-input> |  |  |  |               ></el-input> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-form-item> |  |  |  |             </el-form-item> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -140,7 +140,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row type="flex" class="edit-row"> |  |  |  |         <el-row type="flex" class="edit-row"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-col :span="12"> |  |  |  |           <el-col :span="12"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item label="采购类型"> |  |  |  |             <el-form-item label="采购类型"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-select |  |  |  |               <el-select | 
			
		
	
		
		
			
				
					
					|  |  |  |                 v-model="editQuery.purType" |  |  |  |                 v-model="editQuery.purType" | 
			
		
	
	
		
		
			
				
					|  |  | @ -263,6 +263,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-select> |  |  |  |               </el-select> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-row type="flex" class="edit-row"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable8==true  && editQuery.basicPrductRemak6=='1'"> |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable8==true  && editQuery.basicPrductRemak6=='1'"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle8+':'"> |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle8+':'"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-select |  |  |  |               <el-select | 
			
		
	
	
		
		
			
				
					|  |  | @ -321,39 +323,53 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="12"> |  |  |  |           <el-col :span="12"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item    label="分类编码:" |  |  |  |             <el-form-item | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                              prop="flbm" |  |  |  |               label="是否组套:" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                              class="query-form-item"> |  |  |  |               prop="isStack" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   <el-select |  |  |  |               class="query-form-item" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     v-model="editQuery.flbm" |  |  |  |             > | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     filterable |  |  |  |               <el-radio-group v-model="editQuery.isStack"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     remote |  |  |  |                 <el-radio :label="true">是</el-radio> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     clearable="true" |  |  |  |                 <el-radio :label="false">否</el-radio> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     style="width: 80%" |  |  |  |               </el-radio-group> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     reserve-keyword |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     placeholder="请选择" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     :loading="loading" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     @change="classifyChange()" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   > |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-option |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       v-for="item in classifyList" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       :key="item.code" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       :label="item.name" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       :value="item.code"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       <span>{{ item.code }}</span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       <span>{{ item.name }}</span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-option> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   </el-select> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row  class="edit-row"> |  |  |  |         <el-row type="flex" class="edit-row"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-button-group style="display: flex"> |  |  |  |           <el-col :span="12"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" @click.native="submitUpload()" style="margin: 0 60px 10px auto; height: 35px" |  |  |  |             <el-form-item label="分类编码:" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                      :loading="loading" |  |  |  |                           prop="flbm" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           >提交 |  |  |  |                           class="query-form-item"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  |               <el-select | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         </el-button-group> |  |  |  |                 v-model="editQuery.flbm" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 filterable | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 remote | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 clearable="true" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 style="width: 80%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 reserve-keyword | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 placeholder="请选择" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :loading="loading" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 @change="classifyChange()" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   v-for="item in classifyList" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   :key="item.code" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   :label="item.name" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   :value="item.code"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <span>{{ item.code }}</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <span>{{ item.name }}</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               </el-select> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-row class="edit-row"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-button-group style="display: flex"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-button type="primary" @click.native="submitUpload()" style="margin: 0 60px 10px auto; height: 35px" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                        :loading="loading" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             >提交 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-form> |  |  |  |       </el-form> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
	
		
		
			
				
					|  |  | @ -383,13 +399,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getYbHcflDetail,disableUdi, removeDiRl, removeRl, thirdSysDetail} from '@/api/basic/product/udiRelevance' |  |  |  | import {getYbHcflDetail, disableUdi, removeDiRl, removeRl, thirdSysDetail} from '@/api/basic/product/udiRelevance' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import {updateById} from '@/api/basic/udiRelevance' |  |  |  | import {updateById} from '@/api/basic/udiRelevance' | 
			
		
	
		
		
			
				
					
					|  |  |  | import {filterByUuid} from '@/api/basic/udiInfo' |  |  |  | import {filterByUuid} from '@/api/basic/udiInfo' | 
			
		
	
		
		
			
				
					
					|  |  |  | import selectErp from "./udiInfoselectErpUdi"; |  |  |  | import selectErp from "./udiInfoselectErpUdi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import selectUdiVersion from '@/views/basic/product/UdiinfoSelectVersion' |  |  |  | import selectUdiVersion from '@/views/basic/product/UdiinfoSelectVersion' | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getHslbs, getThrProductType} from "@/api/thrsys/thrHsfl"; |  |  |  | import {getHslbs, getThrProductType} from "@/api/thrsys/thrHsfl"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { filterClassify } from '@/api/purchase/classifyCode' |  |  |  | import {filterClassify} from '@/api/purchase/classifyCode' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   name: 'productEdit', |  |  |  |   name: 'productEdit', | 
			
		
	
	
		
		
			
				
					|  |  | @ -443,7 +459,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     classifyChange(){ |  |  |  |     classifyChange() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.classifySearch(this.editQuery.flbm) |  |  |  |       this.classifySearch(this.editQuery.flbm) | 
			
		
	
		
		
			
				
					
					|  |  |  |       let item = this.classifyList.find(item => item.code == this.editQuery.flbm) |  |  |  |       let item = this.classifyList.find(item => item.code == this.editQuery.flbm) | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (item != null) this.editQuery.requireScanCode = item.requireScanCode; |  |  |  |       if (item != null) this.editQuery.requireScanCode = item.requireScanCode; | 
			
		
	
	
		
		
			
				
					|  |  | @ -462,7 +478,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.classifyList = []; |  |  |  |           this.classifyList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getYbHcData(){ |  |  |  |     getYbHcData() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       let query = { |  |  |  |       let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         specificationCode: this.editQuery.ybbm |  |  |  |         specificationCode: this.editQuery.ybbm | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
	
		
		
			
				
					|  |  | @ -475,7 +491,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.editQuery.catalogname3 = this.ybHcflDetail.catalogname3 |  |  |  |           this.editQuery.catalogname3 = this.ybHcflDetail.catalogname3 | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.editQuery.matrial = this.ybHcflDetail.matrial |  |  |  |           this.editQuery.matrial = this.ybHcflDetail.matrial | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$forceUpdate(); |  |  |  |           this.$forceUpdate(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }else { |  |  |  |         } else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           this.editQuery.catalogcode = "" |  |  |  |           this.editQuery.catalogcode = "" | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.editQuery.catalogname1 = "" |  |  |  |           this.editQuery.catalogname1 = "" | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.editQuery.catalogname2 = "" |  |  |  |           this.editQuery.catalogname2 = "" | 
			
		
	
	
		
		
			
				
					|  |  | @ -487,7 +503,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onClose(){ |  |  |  |     onClose() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.$emit("onClose") |  |  |  |       this.$emit("onClose") | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     submitUpload() { |  |  |  |     submitUpload() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -504,6 +520,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         purType: this.editQuery.purType, |  |  |  |         purType: this.editQuery.purType, | 
			
		
	
		
		
			
				
					
					|  |  |  |         attributeType: this.editQuery.attributeType, |  |  |  |         attributeType: this.editQuery.attributeType, | 
			
		
	
		
		
			
				
					
					|  |  |  |         hcType: this.editQuery.hcType, |  |  |  |         hcType: this.editQuery.hcType, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         isStack: this.editQuery.isStack, | 
			
		
	
		
		
			
				
					
					|  |  |  |         overStockNum: this.editQuery.overStockNum, |  |  |  |         overStockNum: this.editQuery.overStockNum, | 
			
		
	
		
		
			
				
					
					|  |  |  |         lowStockNum: this.editQuery.lowStockNum, |  |  |  |         lowStockNum: this.editQuery.lowStockNum, | 
			
		
	
		
		
			
				
					
					|  |  |  |         recentDateTime: this.editQuery.recentDateTime, |  |  |  |         recentDateTime: this.editQuery.recentDateTime, | 
			
		
	
	
		
		
			
				
					|  |  | @ -686,21 +703,21 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.findThrTypeMethod(this.editQuery.basicPrductRemak7); |  |  |  |     this.findThrTypeMethod(this.editQuery.basicPrductRemak7); | 
			
		
	
		
		
			
				
					
					|  |  |  |     // } |  |  |  |     // } | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.classifySearch() |  |  |  |     this.classifySearch() | 
			
		
	
		
		
			
				
					
					|  |  |  | console.log("editQuery:",this.editQuery) |  |  |  |     console.log("editQuery:", this.editQuery) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, directives: { |  |  |  |   }, directives: { | 
			
		
	
		
		
			
				
					
					|  |  |  |   'debounce-input': { |  |  |  |     'debounce-input': { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     inserted(el, binding) { |  |  |  |       inserted(el, binding) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       let timeout |  |  |  |         let timeout | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       el.addEventListener('input', () => { |  |  |  |         el.addEventListener('input', () => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         clearTimeout(timeout) |  |  |  |           clearTimeout(timeout) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         timeout = setTimeout(() => { |  |  |  |           timeout = setTimeout(() => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           binding.value() |  |  |  |             binding.value() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }, parseInt(binding.arg) || 300) |  |  |  |           }, parseInt(binding.arg) || 300) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |         }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | </script> |  |  |  | </script> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <style scoped> |  |  |  | <style scoped> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |