|  |  |  | @ -1,135 +1,250 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <template> | 
			
		
	
		
			
				
					|  |  |  |  |     <el-card class="el-card"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form :model="newProductData" size="mini" label-width="150px"> | 
			
		
	
		
			
				
					|  |  |  |  |             <div style="margin-bottom: 20px"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="第三方系统:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-select | 
			
		
	
		
			
				
					|  |  |  |  |                                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                                 v-model="newProductData.thirdSysFk" placeholder="请选择第三方系统" | 
			
		
	
		
			
				
					|  |  |  |  |                             > | 
			
		
	
		
			
				
					|  |  |  |  |                                 <el-option | 
			
		
	
		
			
				
					|  |  |  |  |                                     v-for="item in thirdSys" | 
			
		
	
		
			
				
					|  |  |  |  |                                     :key="item.value" | 
			
		
	
		
			
				
					|  |  |  |  |                                     :label="item.thirdName" | 
			
		
	
		
			
				
					|  |  |  |  |                                     :value="item.thirdId"> | 
			
		
	
		
			
				
					|  |  |  |  |                                     <span style="float: left">{{ item.thirdName }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                                     <span style="float: right; color: #8492a6; font-size: 13px">{{ | 
			
		
	
		
			
				
					|  |  |  |  |                                             item.thirdId | 
			
		
	
		
			
				
					|  |  |  |  |                                         }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                                 </el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                             </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |   <el-card class="el-card"> | 
			
		
	
		
			
				
					|  |  |  |  |     <el-form :model="newProductData" size="mini" label-width="150px"> | 
			
		
	
		
			
				
					|  |  |  |  |       <div style="margin-bottom: 20px"> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--        <el-row>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--          <el-col :span="12" class="el-col">--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--            <el-form-item label="第三方系统:">--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--              <el-select--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                style="width: 90%"--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                v-model="newProductData.thirdSysFk" placeholder="请选择第三方系统"--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--              >--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                <el-option--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                  v-for="item in thirdSys"--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                  :key="item.value"--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                  :label="item.thirdName"--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                  :value="item.thirdId">--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                  <span style="float: left">{{ item.thirdName }}</span>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                  <span style="float: right; color: #8492a6; font-size: 13px">{{--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                      item.thirdId--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                    }}</span>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--                </el-option>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--              </el-select>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--            </el-form-item>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--          </el-col>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--        </el-row>--> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="产品编码:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.code"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="产品名称:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.name"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |           <!--          <el-col :span="12" class="el-col">--> | 
			
		
	
		
			
				
					|  |  |  |  |           <!--            <el-form-item label="产品编码:">--> | 
			
		
	
		
			
				
					|  |  |  |  |           <!--              <el-input style="width: 90%" size="small" placeholder="请输入内容"--> | 
			
		
	
		
			
				
					|  |  |  |  |           <!--                        v-model.trim="newProductData.code"></el-input>--> | 
			
		
	
		
			
				
					|  |  |  |  |           <!--            </el-form-item>--> | 
			
		
	
		
			
				
					|  |  |  |  |           <!--          </el-col>--> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="产品名称:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.name"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="规格型号:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.spec"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="计量单位:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.measname"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="生产企业:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.manufactory"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="注册证号:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.registerNo"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="医疗器械注册人:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.ylqxzcrbarmc"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="注册人英文名称:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.ylqxzcrbarywmc"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="产品类别:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.cplb"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="分类编码:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.flbm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="商品条码:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.sptm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="医保编码:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.ybbm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="统一社会信用号:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.tyshxydm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="器械类别:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.qxlb"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="产品价格:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 90%" size="small" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.price"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="规格型号:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.spec"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="计量单位:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.measname"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="生产企业:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.manufactory"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="注册证号:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.registerNo"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable1"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle1+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                 size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                 splaceholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak1" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable2"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle2+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                 size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                 splaceholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak2" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable3"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle3+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                 size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                 splaceholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak3" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable4"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle4+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                 size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                 splaceholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak4" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable5"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle5+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |                 size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                 splaceholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak5" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable6"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle6+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak6" | 
			
		
	
		
			
				
					|  |  |  |  |                 placeholder="请选择" | 
			
		
	
		
			
				
					|  |  |  |  |                 clearable | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |               > | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="扣费" value="1"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="不扣费" value="0"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable7"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle7+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak7" | 
			
		
	
		
			
				
					|  |  |  |  |                 filterable | 
			
		
	
		
			
				
					|  |  |  |  |                 remote | 
			
		
	
		
			
				
					|  |  |  |  |                 clearable="true" | 
			
		
	
		
			
				
					|  |  |  |  |                 reserve-keyword | 
			
		
	
		
			
				
					|  |  |  |  |                 placeholder="请选择物资类别" | 
			
		
	
		
			
				
					|  |  |  |  |                 :remote-method="findThrTypeMethod" | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |               > | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option | 
			
		
	
		
			
				
					|  |  |  |  |                   v-for="item in thrTypeOptions" | 
			
		
	
		
			
				
					|  |  |  |  |                   :key="item.code" | 
			
		
	
		
			
				
					|  |  |  |  |                   :label="item.name" | 
			
		
	
		
			
				
					|  |  |  |  |                   :value="item.code" | 
			
		
	
		
			
				
					|  |  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |  |                   <span style="float: left">{{ item.name }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                   <span style="float: right; color: #8492a6; font-size: 13px">{{ item.code }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="12" v-if="productRemarkSet.remarkEnable8"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item :label="productRemarkSet.remarkTitle8+':'"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="newProductData.basicPrductRemak8" | 
			
		
	
		
			
				
					|  |  |  |  |                 filterable | 
			
		
	
		
			
				
					|  |  |  |  |                 remote | 
			
		
	
		
			
				
					|  |  |  |  |                 clearable="true" | 
			
		
	
		
			
				
					|  |  |  |  |                 reserve-keyword | 
			
		
	
		
			
				
					|  |  |  |  |                 placeholder="请选择物价类别" | 
			
		
	
		
			
				
					|  |  |  |  |                 :remote-method="findHsflMethod" | 
			
		
	
		
			
				
					|  |  |  |  |                 style="width: 90%" | 
			
		
	
		
			
				
					|  |  |  |  |               > | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option | 
			
		
	
		
			
				
					|  |  |  |  |                   v-for="item in hsflOptions" | 
			
		
	
		
			
				
					|  |  |  |  |                   :key="item.hsbm" | 
			
		
	
		
			
				
					|  |  |  |  |                   :label="item.hsmc" | 
			
		
	
		
			
				
					|  |  |  |  |                   :value="item.hsbm" | 
			
		
	
		
			
				
					|  |  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |  |                   <span style="float: left">{{ item.hsmc }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                   <span style="float: right; color: #8492a6; font-size: 13px">{{ item.hsbm }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="23" class="el-col" style="margin-top: 12px"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="产品描述:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input style="width: 100%" type="textarea" size="mini" rows="4" placeholder="请输入内容" | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model.trim="newProductData.cpms"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="医疗器械注册人:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.ylqxzcrbarmc"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="注册人英文名称:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.ylqxzcrbarywmc"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="产品类别:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.cplb"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="分类编码:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.flbm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="商品条码:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.sptm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="医保编码:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.ybbm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="统一社会信用号:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.tyshxydm"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="12" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="器械类别:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 90%" size="small" placeholder="请输入内容" v-model.trim="newProductData.qxlb"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-col :span="23" class="el-col" style="margin-top: 12px"> | 
			
		
	
		
			
				
					|  |  |  |  |                       <el-form-item label="产品描述:"> | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-input style="width: 100%" type="textarea" size="mini" rows="4" placeholder="请输入内容" v-model.trim="newProductData.cpms"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |             </div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <div style='text-align: center; margin-bottom: 10px;'> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-button type="primary" @click="saveNewProduct">提交</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-button type="primary" @click="closeAddDialog">取消</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             </div> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-card> | 
			
		
	
		
			
				
					|  |  |  |  |       <div style='text-align: center; margin-bottom: 10px;'> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-button type="primary" @click="saveNewProduct">提交</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-button type="primary" @click="closeAddDialog">取消</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-form> | 
			
		
	
		
			
				
					|  |  |  |  |   </el-card> | 
			
		
	
		
			
				
					|  |  |  |  | </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | <script> | 
			
		
	
	
		
			
				
					|  |  |  | @ -138,124 +253,178 @@ import {saveNewProduct} from "@/api/thrsys/thrProducts"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import {getBasicThirdSys} from "@/api/basic/basicThirdSys"; | 
			
		
	
		
			
				
					|  |  |  |  | import {addProduct} from "@/api/thrsys/thrProductsAdd"; | 
			
		
	
		
			
				
					|  |  |  |  | import {getHslbs, getThrProductType} from "@/api/thrsys/thrHsfl"; | 
			
		
	
		
			
				
					|  |  |  |  | import {finProductSet} from "@/api/param/systemParamConfig"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export default { | 
			
		
	
		
			
				
					|  |  |  |  |     name: "ThrProductsAdd", | 
			
		
	
		
			
				
					|  |  |  |  |     props: { | 
			
		
	
		
			
				
					|  |  |  |  |         newType: { | 
			
		
	
		
			
				
					|  |  |  |  |             type: Object, | 
			
		
	
		
			
				
					|  |  |  |  |             required: true, | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         closeAddDialog: { | 
			
		
	
		
			
				
					|  |  |  |  |             type: Function, | 
			
		
	
		
			
				
					|  |  |  |  |             required: true, | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |   name: "ThrProductsAdd", | 
			
		
	
		
			
				
					|  |  |  |  |   props: { | 
			
		
	
		
			
				
					|  |  |  |  |     newType: { | 
			
		
	
		
			
				
					|  |  |  |  |       type: Object, | 
			
		
	
		
			
				
					|  |  |  |  |       required: true, | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     data() { | 
			
		
	
		
			
				
					|  |  |  |  |         return { | 
			
		
	
		
			
				
					|  |  |  |  |             newProductData: { | 
			
		
	
		
			
				
					|  |  |  |  |                 name: '', | 
			
		
	
		
			
				
					|  |  |  |  |                 code: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 registerNo: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 manufactory: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 spec: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 measname: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 ylqxzcrbarmc: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 ylqxzcrbarywmc: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 cplb: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 flbm: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 sptm: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 ybbm: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 tyshxydm: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 qxlb: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 cplx: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 cpms: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdSysFk: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 cpdls: null | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             thirdSys: [], | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     closeAddDialog: { | 
			
		
	
		
			
				
					|  |  |  |  |       type: Function, | 
			
		
	
		
			
				
					|  |  |  |  |       required: true, | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     methods: { | 
			
		
	
		
			
				
					|  |  |  |  |         saveNewProduct() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.addProductVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$isBlank(this.newProductData.thirdSysFk)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning("第三方系统不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$isBlank(this.newProductData.code)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning("产品编码为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$isBlank(this.newProductData.name)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning("产品名称不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |  |       newProductData: { | 
			
		
	
		
			
				
					|  |  |  |  |         name: '', | 
			
		
	
		
			
				
					|  |  |  |  |         code: null, | 
			
		
	
		
			
				
					|  |  |  |  |         registerNo: null, | 
			
		
	
		
			
				
					|  |  |  |  |         manufactory: null, | 
			
		
	
		
			
				
					|  |  |  |  |         spec: null, | 
			
		
	
		
			
				
					|  |  |  |  |         measname: null, | 
			
		
	
		
			
				
					|  |  |  |  |         ylqxzcrbarmc: null, | 
			
		
	
		
			
				
					|  |  |  |  |         ylqxzcrbarywmc: null, | 
			
		
	
		
			
				
					|  |  |  |  |         cplb: null, | 
			
		
	
		
			
				
					|  |  |  |  |         flbm: null, | 
			
		
	
		
			
				
					|  |  |  |  |         sptm: null, | 
			
		
	
		
			
				
					|  |  |  |  |         ybbm: null, | 
			
		
	
		
			
				
					|  |  |  |  |         tyshxydm: null, | 
			
		
	
		
			
				
					|  |  |  |  |         qxlb: null, | 
			
		
	
		
			
				
					|  |  |  |  |         cplx: null, | 
			
		
	
		
			
				
					|  |  |  |  |         cpms: null, | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSysFk: null, | 
			
		
	
		
			
				
					|  |  |  |  |         cpdls: null | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       thirdSys: [], | 
			
		
	
		
			
				
					|  |  |  |  |       hsflOptions: [], | 
			
		
	
		
			
				
					|  |  |  |  |       thrTypeOptions: [], | 
			
		
	
		
			
				
					|  |  |  |  |       productRemarkSet: { | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle1: "备注字段1", | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle2: "备注字段2", | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle3: "备注字段3", | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle4: "备注字段4", | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle5: "备注字段5", | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle6: "备注字段6", | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle7: "备注字段7", | 
			
		
	
		
			
				
					|  |  |  |  |         remarkTitle8: "备注字段8", | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |  |     saveNewProduct() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.addProductVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |       // if (this.$isBlank(this.newProductData.thirdSysFk)) { | 
			
		
	
		
			
				
					|  |  |  |  |       //   this.$message.warning("第三方系统不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |       //   return; | 
			
		
	
		
			
				
					|  |  |  |  |       // } | 
			
		
	
		
			
				
					|  |  |  |  |       // if (this.$isBlank(this.newProductData.code)) { | 
			
		
	
		
			
				
					|  |  |  |  |       //   this.$message.warning("产品编码为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |       //   return; | 
			
		
	
		
			
				
					|  |  |  |  |       // } | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.$isBlank(this.newProductData.name)) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.warning("产品名称不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$isBlank(this.newProductData.spec)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning("规格型号不能为空"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$isBlank(this.newProductData.measname)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning("计量单位不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$isBlank(this.newProductData.manufactory)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning("生产企业不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$isBlank(this.newProductData.registerNo)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning("注册证号不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.$isBlank(this.newProductData.spec)) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.warning("规格型号不能为空"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.$isBlank(this.newProductData.measname)) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.warning("计量单位不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.$isBlank(this.newProductData.manufactory)) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.warning("生产企业不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.$isBlank(this.newProductData.registerNo)) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.warning("注册证号不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.newType == 1) { | 
			
		
	
		
			
				
					|  |  |  |  |                 saveNewProduct(this.newProductData).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     if (res.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$message.success("添加成功"); | 
			
		
	
		
			
				
					|  |  |  |  |                         //清空弹窗数据 | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$emit("closeAddDialog", true); | 
			
		
	
		
			
				
					|  |  |  |  |                         this.closeAddDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |                     } else { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$message.error(res.message); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                 }).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.$message.error(error.message); | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |             } else if (this.newType == 2) { | 
			
		
	
		
			
				
					|  |  |  |  |                 addProduct(this.newProductData).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     if (res.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$message.success("添加成功"); | 
			
		
	
		
			
				
					|  |  |  |  |                         //清空弹窗数据 | 
			
		
	
		
			
				
					|  |  |  |  |                         this.closeAddDialog(true); | 
			
		
	
		
			
				
					|  |  |  |  |                     } else { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$message.error(res.message); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                 }).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.$message.error(error.message); | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.newType == 1) { | 
			
		
	
		
			
				
					|  |  |  |  |         saveNewProduct(this.newProductData).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |           if (res.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.success("添加成功"); | 
			
		
	
		
			
				
					|  |  |  |  |             //清空弹窗数据 | 
			
		
	
		
			
				
					|  |  |  |  |             this.$emit("closeAddDialog", true); | 
			
		
	
		
			
				
					|  |  |  |  |             this.closeAddDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |           } else { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.error(res.message); | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  |         }).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.error(error.message); | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } else if (this.newType == 2) { | 
			
		
	
		
			
				
					|  |  |  |  |         addProduct(this.newProductData).then((res) => { | 
			
		
	
		
			
				
					|  |  |  |  |           if (res.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.success("添加成功"); | 
			
		
	
		
			
				
					|  |  |  |  |             //清空弹窗数据 | 
			
		
	
		
			
				
					|  |  |  |  |             this.closeAddDialog(true); | 
			
		
	
		
			
				
					|  |  |  |  |           } else { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.error(res.message); | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  |         }).catch((error) => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.error(error.message); | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         getBasicThirdSys() { | 
			
		
	
		
			
				
					|  |  |  |  |             let query = { | 
			
		
	
		
			
				
					|  |  |  |  |                 enabled: true, | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             getBasicThirdSys(query) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.thirdSys = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.list = []; | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     created() { | 
			
		
	
		
			
				
					|  |  |  |  |         this.getBasicThirdSys(); | 
			
		
	
		
			
				
					|  |  |  |  |     getBasicThirdSys() { | 
			
		
	
		
			
				
					|  |  |  |  |       let query = { | 
			
		
	
		
			
				
					|  |  |  |  |         enabled: true, | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |       getBasicThirdSys(query) | 
			
		
	
		
			
				
					|  |  |  |  |         .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.thirdSys = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |           this.list = []; | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     findHsflMethod(query) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.hsflOptions = []; | 
			
		
	
		
			
				
					|  |  |  |  |       let cQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |         key: query, | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 20 | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |       getHslbs(cQuery) | 
			
		
	
		
			
				
					|  |  |  |  |         .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |           this.hsflOptions = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     findThrTypeMethod(query) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.thrTypeOptions = []; | 
			
		
	
		
			
				
					|  |  |  |  |       let cQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |         key: query, | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 20 | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |       getThrProductType(cQuery) | 
			
		
	
		
			
				
					|  |  |  |  |         .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |           this.thrTypeOptions = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     findBasicProductSet() { | 
			
		
	
		
			
				
					|  |  |  |  |       finProductSet().then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |         if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |           this.productRemarkSet = response.data; | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |       }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |  |     this.findBasicProductSet(); | 
			
		
	
		
			
				
					|  |  |  |  |     this.getBasicThirdSys(); | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | </script> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |