|
|
|
@ -79,6 +79,13 @@
|
|
|
|
|
></el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="包装比例" prop="packRatio" show-overflow-tooltip width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input size="small" v-model="scope.row.packRatio" style="width: 100%"
|
|
|
|
|
:disabled="scope.$index !== selectedIndex"
|
|
|
|
|
></el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="层级单位" prop="packUnit" show-overflow-tooltip width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input size="small" v-model="scope.row.packUnit" style="width: 100%"
|
|
|
|
@ -262,7 +269,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>
|
|
|
|
@ -830,6 +837,7 @@ export default {
|
|
|
|
|
productId: null,
|
|
|
|
|
nameCode: '',
|
|
|
|
|
packLevel: null,
|
|
|
|
|
packRatio: null,
|
|
|
|
|
bhxjsl: null,
|
|
|
|
|
isDisabled: false,
|
|
|
|
|
isUpDisabled: true,
|
|
|
|
@ -849,7 +857,8 @@ export default {
|
|
|
|
|
levelUnitList: [],
|
|
|
|
|
maxLevel: 1,
|
|
|
|
|
|
|
|
|
|
editRowSwitch: false //产品标识编辑开关 没保存前其他编辑不能按
|
|
|
|
|
editRowSwitch: false, //产品标识编辑开关 没保存前其他编辑不能按
|
|
|
|
|
isSpecial:false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
@ -1061,7 +1070,8 @@ export default {
|
|
|
|
|
uuid: this.newProductData.uuid,
|
|
|
|
|
productId: row.productId,
|
|
|
|
|
diType: row.diType,
|
|
|
|
|
xjdw: row.xjdw
|
|
|
|
|
xjdw: row.xjdw,
|
|
|
|
|
packRatio: row.packRatio
|
|
|
|
|
}
|
|
|
|
|
updateLevelDrug(editQuery).then(res => {
|
|
|
|
|
this.saveLoading = false
|
|
|
|
@ -1150,6 +1160,7 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.detailList = response.data || []
|
|
|
|
|
this.checkIsSpecial()
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false
|
|
|
|
@ -1157,7 +1168,15 @@ 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) {
|
|
|
|
|