选入药品逻辑优化

dev_招标
qiuyt 3 months ago
parent 10ad06b7e1
commit a3d31f995b

@ -40,10 +40,10 @@
style="text-align:right"
>选入药品层级
</el-button>
<el-button type="primary" size="mini" icon="search" @click="addDrugLevel"
style="text-align:right"
>新增药品层级
</el-button>
<!-- <el-button type="primary" size="mini" icon="search" @click="addDrugLevel"-->
<!-- style="text-align:right"-->
<!-- >新增药品层级-->
<!-- </el-button>-->
</div>
<el-table
v-loading="loading"

@ -37,14 +37,14 @@
margin-bottom: 8px;"
v-if="type != 2"
>
<el-button type="primary" size="mini" icon="search" @click="selectDrugLevel"
style="text-align:right"
>选入药品层级
</el-button>
<el-button type="primary" size="mini" icon="search" @click="addDrugLevel"
style="text-align:right"
>新增药品层级
</el-button>
<!-- <el-button type="primary" size="mini" icon="search" @click="selectDrugLevel"-->
<!-- style="text-align:right"-->
<!-- >选入药品层级-->
<!-- </el-button>-->
<!-- <el-button type="primary" size="mini" icon="search" @click="addDrugLevel"-->
<!-- style="text-align:right"-->
<!-- >新增药品层级-->
<!-- </el-button>-->
</div>
<el-table
v-loading="loading"
@ -123,32 +123,32 @@
</template>
</el-table-column>
<el-table-column label="操作" width="180px" fixed="right" v-if="type != 2">
<template slot-scope="scope">
<el-button type="text" size="small" v-if="scope.$index == selectedIndex " @click.stop="true"
@click.native="levelSave(scope.row)"
>保存
</el-button>
<el-button
type="text"
size="small"
v-if="scope.$index != selectedIndex "
@click.stop="true"
@click.native="rowChange(scope.$index,scope.row)"
>编辑
</el-button>
<!--:disabled=" scope.row.id != null"-->
<el-button
type="text"
size="small"
@click.stop="true"
@click.native="deleteLevel(scope.$index, scope.row)"
>删除
</el-button>
</template>
</el-table-column>
<!-- <el-table-column label="操作" width="180px" fixed="right" v-if="type != 2">-->
<!-- <template slot-scope="scope">-->
<!-- <el-button type="text" size="small" v-if="scope.$index == selectedIndex " @click.stop="true"-->
<!-- @click.native="levelSave(scope.row)"-->
<!-- >保存-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- type="text"-->
<!-- size="small"-->
<!-- v-if="scope.$index != selectedIndex "-->
<!-- @click.stop="true"-->
<!-- @click.native="rowChange(scope.$index,scope.row)"-->
<!-- >编辑-->
<!-- </el-button>-->
<!-- &lt;!&ndash;:disabled=" scope.row.id != null"&ndash;&gt;-->
<!-- <el-button-->
<!-- type="text"-->
<!-- size="small"-->
<!-- @click.stop="true"-->
<!-- @click.native="deleteLevel(scope.$index, scope.row)"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
</el-table>
<template>

Loading…
Cancel
Save