| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -64,10 +64,34 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              <el-input style="width: 80%" size="small" splaceholder="请输入内容" v-model="editQuery.measname"></el-input>
 | 
					 | 
					 | 
					 | 
					              <el-input style="width: 80%" size="small" splaceholder="请输入内容" v-model="editQuery.measname"></el-input>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </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 label="生产企业:">-->
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              <el-input style="width: 80%" size="small" splaceholder="请输入内容" v-model="editQuery.manufactory"
 | 
					 | 
					 | 
					 | 
					          <!--    <el-input style="width: 80%" size="small" splaceholder="请输入内容" v-model="editQuery.manufactory"-->
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              ></el-input>
 | 
					 | 
					 | 
					 | 
					          <!--    ></el-input>-->
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <!--  </el-form-item>-->
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <!--</el-col>-->
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <el-col :span="12" >
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <el-form-item :label="'生产企业:'">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              <el-select
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                v-model="editQuery.manufactory"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                filterable
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                remote
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                clearable="true"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                reserve-keyword
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                placeholder="请选择生产企业"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                :remote-method="findProducts"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                style="width: 80%"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              >
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                <el-option
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  v-for="item in probucts"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  :key="item.unitId"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  :label="item.name"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  :value="item.unitId"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                >
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  <span style="float: left">{{ item.name }}</span>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  <span style="float: right; color: #8492a6; font-size: 13px">{{ item.unitId }}</span>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                </el-option>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              </el-select>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </el-form-item>
 | 
					 | 
					 | 
					 | 
					            </el-form-item>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          </el-col>
 | 
					 | 
					 | 
					 | 
					          </el-col>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </el-row>
 | 
					 | 
					 | 
					 | 
					        </el-row>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -366,7 +390,7 @@ 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,getTBasicProducts} from "@/api/thrsys/thrHsfl";
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export default {
 | 
					 | 
					 | 
					 | 
					export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  name: 'productEdit',
 | 
					 | 
					 | 
					 | 
					  name: 'productEdit',
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -415,6 +439,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      selectErpDialogVisible: false,  //选入ERP产品
 | 
					 | 
					 | 
					 | 
					      selectErpDialogVisible: false,  //选入ERP产品
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      hsflOptions: [],
 | 
					 | 
					 | 
					 | 
					      hsflOptions: [],
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      thrTypeOptions: [],
 | 
					 | 
					 | 
					 | 
					      thrTypeOptions: [],
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      probucts:[],
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }
 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  },
 | 
					 | 
					 | 
					 | 
					  },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -623,7 +648,23 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          this.loading = false;
 | 
					 | 
					 | 
					 | 
					          this.loading = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        });
 | 
					 | 
					 | 
					 | 
					        });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					    findProducts(query) {
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.probucts = [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      let cQuery = {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        key: query,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        page: 1,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        limit: 20
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      };
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      getTBasicProducts(cQuery)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        .then((response) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          console.log("heiheiehi",response)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          this.loading = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          this.probucts = response.data.list || [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        .catch(() => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          this.loading = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  },
 | 
					 | 
					 | 
					 | 
					  },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  components: {
 | 
					 | 
					 | 
					 | 
					  components: {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    selectErp
 | 
					 | 
					 | 
					 | 
					    selectErp
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -639,8 +680,9 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // if (this.editQuery.basicPrductRemak8 != null) {
 | 
					 | 
					 | 
					 | 
					    // if (this.editQuery.basicPrductRemak8 != null) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.findHsflMethod(this.editQuery.basicPrductRemak8);
 | 
					 | 
					 | 
					 | 
					    this.findHsflMethod(this.editQuery.basicPrductRemak8);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // }
 | 
					 | 
					 | 
					 | 
					    // }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // if (this.editQuery.basicPrductRemak7 != null) {
 | 
					 | 
					 | 
					 | 
					    // if (this.editQuery.basicPrductRemak7 != null) { manufactory
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.findThrTypeMethod(this.editQuery.basicPrductRemak7);
 | 
					 | 
					 | 
					 | 
					    this.findThrTypeMethod(this.editQuery.basicPrductRemak7);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    this.findProducts()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // }
 | 
					 | 
					 | 
					 | 
					    // }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					console.log("editQuery:",this.editQuery)
 | 
					 | 
					 | 
					 | 
					console.log("editQuery:",this.editQuery)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }, directives: {
 | 
					 | 
					 | 
					 | 
					  }, directives: {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |