|
@@ -15,7 +15,10 @@
|
|
|
>
|
|
>
|
|
|
<template v-slot:toolbar>
|
|
<template v-slot:toolbar>
|
|
|
<div class="toolbar_box">
|
|
<div class="toolbar_box">
|
|
|
|
|
+ <div>
|
|
|
<el-button type="primary" size="mini" @click="handleAdd">新增</el-button>
|
|
<el-button type="primary" size="mini" @click="handleAdd">新增</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="handleAdd">保存</el-button>
|
|
|
|
|
+ </div>
|
|
|
<div class="toolbar_box_right"
|
|
<div class="toolbar_box_right"
|
|
|
><span>基本数量</span>
|
|
><span>基本数量</span>
|
|
|
<el-input
|
|
<el-input
|
|
@@ -31,9 +34,9 @@
|
|
|
<template v-slot:dosage="{ row }">
|
|
<template v-slot:dosage="{ row }">
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="row.dosage"
|
|
v-model="row.dosage"
|
|
|
- placeholder="请输入用量"
|
|
|
|
|
|
|
+ placeholder="请输入"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
- style="width: 120px"
|
|
|
|
|
|
|
+ style="width: 68px;"
|
|
|
>
|
|
>
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</template>
|
|
</template>
|
|
@@ -162,7 +165,7 @@
|
|
|
prop: 'dosage',
|
|
prop: 'dosage',
|
|
|
slot: 'dosage',
|
|
slot: 'dosage',
|
|
|
label: '用量',
|
|
label: '用量',
|
|
|
- width: 150
|
|
|
|
|
|
|
+ width: 100
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
@@ -240,6 +243,8 @@
|
|
|
|
|
|
|
|
attrObj: {},
|
|
attrObj: {},
|
|
|
newTreeId: null,
|
|
newTreeId: null,
|
|
|
|
|
+
|
|
|
|
|
+ dictList: []
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
|