|
|
@ -75,7 +75,7 @@
|
|
|
|
:header-cell-class-name="cellClass" @current-change="handleSelectionChange">
|
|
|
|
:header-cell-class-name="cellClass" @current-change="handleSelectionChange">
|
|
|
|
<el-table-column label width="45">
|
|
|
|
<el-table-column label width="45">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-radio :label="scope.row.mainId" v-model="radioCheck"><span></span></el-radio>
|
|
|
|
<el-radio :label="scope.row.nameCode" v-model="radioCheck"><span></span></el-radio>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
@ -372,8 +372,8 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row type="flex" style="margin-top: 15px">
|
|
|
|
<el-row type="flex" style="margin-top: 15px">
|
|
|
|
<el-col :span="11" class="el-col">
|
|
|
|
<el-col :span="11" class="el-col">
|
|
|
|
<el-form-item label="明细分类:" prop="detailSort">
|
|
|
|
<el-form-item label="药品明细分类:" prop="detailSort">
|
|
|
|
<el-select v-model="repEditQuery.detailSort" style="width: 90%" placeholder="选择明细分类">
|
|
|
|
<el-select v-model="repEditQuery.detailSort" style="width: 90%" placeholder="选择药品明细分类">
|
|
|
|
<el-option label="麻醉药品原料药" :value="1"></el-option>
|
|
|
|
<el-option label="麻醉药品原料药" :value="1"></el-option>
|
|
|
|
<el-option label="第一类精神药品原料药" :value="2"></el-option>
|
|
|
|
<el-option label="第一类精神药品原料药" :value="2"></el-option>
|
|
|
|
<el-option label="第二类精神药品原料药" :value="3"></el-option>
|
|
|
|
<el-option label="第二类精神药品原料药" :value="3"></el-option>
|
|
|
@ -848,7 +848,8 @@ export default {
|
|
|
|
hcType: null,
|
|
|
|
hcType: null,
|
|
|
|
flbm: null,
|
|
|
|
flbm: null,
|
|
|
|
requireScanCode: null,
|
|
|
|
requireScanCode: null,
|
|
|
|
ggxh:null
|
|
|
|
ggxh:null,
|
|
|
|
|
|
|
|
detailSort:null
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
relevanceEdit: {
|
|
|
|
relevanceEdit: {
|
|
|
@ -1038,6 +1039,11 @@ export default {
|
|
|
|
this.$message.error("请输入或者正确填写药品价格");
|
|
|
|
this.$message.error("请输入或者正确填写药品价格");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.repEditQuery.detailSort == null) {
|
|
|
|
|
|
|
|
this.$message.error("请补充分药品类明细后重新选入");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.$refs['editQuery'].validate((valid) => {
|
|
|
|
this.$refs['editQuery'].validate((valid) => {
|
|
|
|
if (!valid) {
|
|
|
|
if (!valid) {
|
|
|
|
return this.$message.error('请补充必要数据')
|
|
|
|
return this.$message.error('请补充必要数据')
|
|
|
@ -1112,13 +1118,13 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
this.radioCheck = selection.mainId;
|
|
|
|
this.radioCheck = selection.nameCode;
|
|
|
|
this.curSelectDi = selection;
|
|
|
|
this.curSelectDi = selection;
|
|
|
|
if (selection.length > 1) {
|
|
|
|
if (selection.length > 1) {
|
|
|
|
this.$refs.diList.clearSelection();
|
|
|
|
this.$refs.diList.clearSelection();
|
|
|
|
this.$refs.diList.toggleRowSelection(selection.pop());
|
|
|
|
this.$refs.diList.toggleRowSelection(selection.pop());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.repEditQuery.detailSort = null
|
|
|
|
this.multipleSelection = selection
|
|
|
|
this.multipleSelection = selection
|
|
|
|
this.currentRow = selection;
|
|
|
|
this.currentRow = selection;
|
|
|
|
this.replTitle = "(" + this.currentRow.cpmctymc + ")" + "药品信息补齐:";
|
|
|
|
this.replTitle = "(" + this.currentRow.cpmctymc + ")" + "药品信息补齐:";
|
|
|
|