|
|
|
@ -258,7 +258,7 @@
|
|
|
|
|
<el-row type="flex">
|
|
|
|
|
<el-col :span="11" class="el-col">
|
|
|
|
|
<el-form-item label="明细分类:" prop="detailSort">
|
|
|
|
|
<el-select v-model="newProductData.detailSort" style="width: 90%" placeholder="选择明细分类">
|
|
|
|
|
<el-select v-model="newProductData.detailSort" style="width: 90%" placeholder="选择明细分类" >
|
|
|
|
|
<el-option label="麻醉药品原料药" :value="1"></el-option>
|
|
|
|
|
<el-option label="第一类精神药品原料药" :value="2"></el-option>
|
|
|
|
|
<el-option label="第二类精神药品原料药" :value="3"></el-option>
|
|
|
|
@ -268,7 +268,7 @@
|
|
|
|
|
<el-option label="中药注射剂" :value="7"></el-option>
|
|
|
|
|
<el-option label="疫苗" :value="8"></el-option>
|
|
|
|
|
<el-option label="血液制品" :value="9"></el-option>
|
|
|
|
|
<el-option label="国家基本药品目录入网药品" :value="10"></el-option>
|
|
|
|
|
<el-option label="国家基本药品目录入网药品" :value="10" v-if="!isSpecial"></el-option>
|
|
|
|
|
<el-option label="非基本药物" :value="11"></el-option>
|
|
|
|
|
<el-option label="各省增补基本药物" :value="12"></el-option>
|
|
|
|
|
<el-option label="特殊药品复方制剂" :value="13"></el-option>
|
|
|
|
@ -773,7 +773,9 @@ export default {
|
|
|
|
|
levelUnitList: [],
|
|
|
|
|
maxLevel: 1,
|
|
|
|
|
|
|
|
|
|
editRowSwitch: false //产品标识编辑开关 没保存前其他编辑不能按
|
|
|
|
|
editRowSwitch: false, //产品标识编辑开关 没保存前其他编辑不能按
|
|
|
|
|
//以89开头的标识码
|
|
|
|
|
isSpecial: false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
@ -1129,6 +1131,7 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.detailList = response.data || []
|
|
|
|
|
this.checkIsSpecial()
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false
|
|
|
|
@ -1137,6 +1140,17 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//判断是否特殊药品
|
|
|
|
|
checkIsSpecial(){
|
|
|
|
|
if (this.detailList.length > 0){
|
|
|
|
|
this.detailList.forEach(item => {
|
|
|
|
|
if (item.nameCode.startsWith('89')) {
|
|
|
|
|
this.isSpecial = true
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
distributeLevelDiChange(val) {
|
|
|
|
|
const matchingItem = this.detailList.find(item => item.nameCode == val)
|
|
|
|
|
if (matchingItem) {
|
|
|
|
|