|  |  | @ -167,8 +167,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-form-item> |  |  |  |               </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-col> |  |  |  |             </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-col :span="11" class="el-col"> |  |  |  |             <el-col :span="11" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-form-item label="包装单位:" prop="packUnit"> |  |  |  |               <el-form-item label="最小包装单位:" prop="packUnit"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-input style="width: 90%" size="small" placeholder="请输入包装单位" |  |  |  |                 <el-input style="width: 90%" size="small" placeholder="请输入最小包装单位" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                           v-model.trim="newProductData.packUnit" |  |  |  |                           v-model.trim="newProductData.packUnit" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 ></el-input> |  |  |  |                 ></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-form-item> |  |  |  |               </el-form-item> | 
			
		
	
	
		
		
			
				
					|  |  | @ -183,8 +183,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-form-item> |  |  |  |               </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-col> |  |  |  |             </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-col :span="11" class="el-col"> |  |  |  |             <el-col :span="11" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-form-item label="制剂单位:" prop="prepnUnit"> |  |  |  |               <el-form-item label="剂型:" prop="prepnUnit"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-input style="width: 90%" size="small" placeholder="请输入制剂单位" |  |  |  |                 <el-input style="width: 90%" size="small" placeholder="请输入剂型" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                           v-model.trim="newProductData.prepnUnit" |  |  |  |                           v-model.trim="newProductData.prepnUnit" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 ></el-input> |  |  |  |                 ></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-form-item> |  |  |  |               </el-form-item> | 
			
		
	
	
		
		
			
				
					|  |  | @ -316,7 +316,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-col :span="11" class="el-col"> |  |  |  |             <el-col :span="11" class="el-col"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-form-item label="药品状态:" prop="majorStatus"> |  |  |  |               <el-form-item label="药品状态:" prop="majorStatus"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-select v-model="newProductData.majorStatus" style="width: 90%" placeholder="选择药品状态" > |  |  |  |                 <el-select v-model="newProductData.majorStatus" style="width: 90%" placeholder="选择药品状态"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                   <el-option label="停用" :value="0"></el-option> |  |  |  |                   <el-option label="停用" :value="0"></el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <el-option label="在用" :value="1"></el-option> |  |  |  |                   <el-option label="在用" :value="1"></el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-select> |  |  |  |                 </el-select> | 
			
		
	
	
		
		
			
				
					|  |  | @ -546,8 +546,8 @@ import { | 
			
		
	
		
		
			
				
					
					|  |  |  | import { |  |  |  | import { | 
			
		
	
		
		
			
				
					
					|  |  |  |   getYbHcflDetail, removeRl, thirdSysDetail |  |  |  |   getYbHcflDetail, removeRl, thirdSysDetail | 
			
		
	
		
		
			
				
					
					|  |  |  | } from '@/api/basic/product/udiRelevance' |  |  |  | } from '@/api/basic/product/udiRelevance' | 
			
		
	
		
		
			
				
					
					|  |  |  | import { filterClassify } from '@/api/purchase/classifyCode' |  |  |  | import {filterClassify} from '@/api/purchase/classifyCode' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import { filterByUuid } from '@/api/basic/product/udiInfo' |  |  |  | import {filterByUuid} from '@/api/basic/product/udiInfo' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import selectChargesProjectDialog from './selectChargesProjectDialog' |  |  |  | import selectChargesProjectDialog from './selectChargesProjectDialog' | 
			
		
	
		
		
			
				
					
					|  |  |  | import chooseHouseDrug from './chooseHouseDrug' |  |  |  | import chooseHouseDrug from './chooseHouseDrug' | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -584,7 +584,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       required: true |  |  |  |       required: true | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   components: { selectChargesProjectDialog, chooseHouseDrug }, |  |  |  |   components: {selectChargesProjectDialog, chooseHouseDrug}, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   data() { |  |  |  |   data() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return { |  |  |  |     return { | 
			
		
	
		
		
			
				
					
					|  |  |  |       ybHcflDetail: {}, |  |  |  |       ybHcflDetail: {}, | 
			
		
	
	
		
		
			
				
					|  |  | @ -621,45 +621,45 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       activeNames: ['0', '1', '2'], |  |  |  |       activeNames: ['0', '1', '2'], | 
			
		
	
		
		
			
				
					
					|  |  |  |       formRules: { |  |  |  |       formRules: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         cpmctymc: [ |  |  |  |         cpmctymc: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '请输入药品通用名', trigger: 'blur' } |  |  |  |           {required: true, message: '请输入药品通用名', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         prepnSpec: [ |  |  |  |         prepnSpec: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '请输入制剂规格', trigger: 'blur' } |  |  |  |           {required: true, message: '请输入制剂规格', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         packUnit: [ |  |  |  |         packUnit: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '请输入包装单位', trigger: 'blur' } |  |  |  |           {required: true, message: '请输入包装单位', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         prepnUnit: [ |  |  |  |         prepnUnit: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '请输入制剂单位', trigger: 'blur' } |  |  |  |           {required: true, message: '请输入制剂单位', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         // packRatio: [ |  |  |  |         // packRatio: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |         //   {required: true, message: '请输入包装比例', trigger: 'blur'} |  |  |  |         //   {required: true, message: '请输入包装比例', trigger: 'blur'} | 
			
		
	
		
		
			
				
					
					|  |  |  |         // ], |  |  |  |         // ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         packMatrial: [ |  |  |  |         packMatrial: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '请输入包装材质', trigger: 'blur' } |  |  |  |           {required: true, message: '请输入包装材质', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         zczbhhzbapzbh: [ |  |  |  |         zczbhhzbapzbh: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '请输入批准文号', trigger: 'blur' } |  |  |  |           {required: true, message: '请输入批准文号', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         manufactory: [ |  |  |  |         manufactory: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '生产企业不能为空', trigger: 'blur' } |  |  |  |           {required: true, message: '生产企业不能为空', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         physicType: [ |  |  |  |         physicType: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '药品类型不能为空', trigger: 'blur' } |  |  |  |           {required: true, message: '药品类型不能为空', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         ybbm: [ |  |  |  |         ybbm: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '医保编码不能为空', trigger: 'blur' } |  |  |  |           {required: true, message: '医保编码不能为空', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         price: [ |  |  |  |         price: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '药品价格不能为空', trigger: 'blur' } |  |  |  |           {required: true, message: '药品价格不能为空', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |         majorStatus: [ |  |  |  |         majorStatus: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { required: true, message: '请选择药品状态', trigger: 'blur' } |  |  |  |           {required: true, message: '请选择药品状态', trigger: 'blur'} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         ] |  |  |  |         ] | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       detailList: [ |  |  |  |       detailList: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |         // 初始化一个空对象或包含默认值的对象 |  |  |  |         // 初始化一个空对象或包含默认值的对象 | 
			
		
	
		
		
			
				
					
					|  |  |  |         { nameCode: '', packLevel: null, bhxjsl: null, isDisabled: false, isUpDisabled: true, rowDisabled: false } |  |  |  |         {nameCode: '', packLevel: null, bhxjsl: null, isDisabled: false, isUpDisabled: true, rowDisabled: false} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       ], |  |  |  |       ], | 
			
		
	
		
		
			
				
					
					|  |  |  |       status: false, |  |  |  |       status: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       rowDisabled: false, |  |  |  |       rowDisabled: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -718,7 +718,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     saveNewProduct() { |  |  |  |     saveNewProduct() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (!this.isSave){ |  |  |  |       if (!this.isSave) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         return this.$message.error("请先保存药品层级") |  |  |  |         return this.$message.error("请先保存药品层级") | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.addProductDialogVisible = false |  |  |  |       this.addProductDialogVisible = false | 
			
		
	
	
		
		
			
				
					|  |  | @ -879,7 +879,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         type: 'warning' |  |  |  |         type: 'warning' | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).then(() => { |  |  |  |       }).then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (row.id != null) { |  |  |  |         if (row.id != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           let params = { nameCode: row.nameCode } |  |  |  |           let params = {nameCode: row.nameCode} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           delDrugLevel(params).then((res) => { |  |  |  |           delDrugLevel(params).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (res.code === 20000) { |  |  |  |             if (res.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.isSave = true |  |  |  |               this.isSave = true | 
			
		
	
	
		
		
			
				
					|  |  | 
 |