This commit is contained in:
曹辉 2023-04-11 09:54:33 +08:00
parent 44241ce4a3
commit 688a1fb3ad
2 changed files with 19 additions and 17 deletions

View File

@ -398,7 +398,7 @@
style="width: 300px" style="width: 300px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="职称级别" prop="positionalTitleLevel"> <el-form-item label="职称级别">
<el-select v-model="form.positionalTitleLevel" style="width: 300px" clearable> <el-select v-model="form.positionalTitleLevel" style="width: 300px" clearable>
<el-option <el-option
v-for="item in positionalTitleLevellist" v-for="item in positionalTitleLevellist"
@ -408,9 +408,9 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="擅长项目" prop="geniusItem"> <el-form-item label="擅长项目">
<el-input <el-input
maxlength="15" maxlength="300"
v-model="form.geniusItem" v-model="form.geniusItem"
placeholder="请输入擅长项目" placeholder="请输入擅长项目"
style="width: 300px" style="width: 300px"
@ -420,7 +420,7 @@
<el-table :data="form.nurseStationPersonCertificateList" style="width: 850px"> <el-table :data="form.nurseStationPersonCertificateList" style="width: 850px">
<el-table-column property="consumableCount" label="证书名称" align="center"> <el-table-column property="consumableCount" label="证书名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input maxlength="50" v-model="scope.row.certificateName" placeholder="请输入证书名称"></el-input> <el-input maxlength="100" v-model="scope.row.certificateName" placeholder="请输入证书名称"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column property="certificateUrl" label="证书图片" align="center"> <el-table-column property="certificateUrl" label="证书图片" align="center">
@ -437,6 +437,7 @@
<el-table-column property="sort" label="证书排序" align="center"> <el-table-column property="sort" label="证书排序" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input <el-input
maxlength="5"
v-model.number="scope.row.sort" v-model.number="scope.row.sort"
placeholder="请输入排序(只能输入数字)" placeholder="请输入排序(只能输入数字)"
oninput="value=value.replace(/[^\d]/g,'')" oninput="value=value.replace(/[^\d]/g,'')"

View File

@ -290,9 +290,14 @@
<el-table <el-table
ref="nurseStationItemPrices" ref="nurseStationItemPrices"
:data="form.nurseStationItemPrices" :data="form.nurseStationItemPrices"
style="margin-top: 20px; width: 900px" style="margin-top: 20px; width: 1050px"
> >
<el-table-column property="serveDurationUnit" label="服务时长和单位" align="center"> <el-table-column
property="serveDurationUnit"
label="服务时长和单位"
align="center"
width="120"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.serveDurationUnit" maxlength="6"></el-input> <el-input v-model="scope.row.serveDurationUnit" maxlength="6"></el-input>
</template> </template>
@ -319,10 +324,10 @@
v-model="scope.row.commissionAmount" v-model="scope.row.commissionAmount"
maxlength="300" maxlength="300"
placeholder="最多小数点后两位(元)" placeholder="最多小数点后两位(元)"
@input="commissionAmountinput(scope.row)" @focus="commissionAmountinput(scope.row)"
type="number" type="number"
min="0" min="0"
oninput="if (value.indexOf('.') > 0) { value = value.slice(0, value.indexOf('.') + 3)} if (value.length > 6) { value = value.slice(0, 6) }" oninput="if (value.indexOf('.') > 0) { value = value.slice(0, value.indexOf('.') + 3)}"
></el-input> ></el-input>
</template> </template>
</el-table-column> </el-table-column>
@ -331,11 +336,11 @@
<el-input <el-input
v-model="scope.row.commissionRate" v-model="scope.row.commissionRate"
maxlength="300" maxlength="300"
@input="commissionRateoninput(scope.row)" @focus="commissionRateoninput(scope.row)"
placeholder="最多小数点后两位(%)" placeholder="最多小数点后两位(%)"
type="number" type="number"
min="0" min="0"
oninput="if (value.indexOf('.') > 0) { value = value.slice(0, value.indexOf('.') + 3)} if (value.length > 6) { value = value.slice(0, 6) }" oninput="if (value.indexOf('.') > 0) { value = value.slice(0, value.indexOf('.') + 3)} "
></el-input> ></el-input>
</template> </template>
</el-table-column> </el-table-column>
@ -346,8 +351,8 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div style="float:right">:佣金比例金额 = 佣金比例 x 价格</div>
</el-form-item> </el-form-item>
<el-form-item label="护理项目耗材"> <el-form-item label="护理项目耗材">
<el-button type="primary" size="small" plain @click="listStationConsumableinfo">添加护理项目耗材</el-button> <el-button type="primary" size="small" plain @click="listStationConsumableinfo">添加护理项目耗材</el-button>
<el-table <el-table
@ -801,14 +806,10 @@ export default {
}, },
methods: { methods: {
commissionAmountinput(e) { commissionAmountinput(e) {
if (e.commissionRate) { e.commissionRate = null;
e.commissionAmount = null;
}
}, },
commissionRateoninput(e) { commissionRateoninput(e) {
if (e.commissionAmount) { e.commissionAmount = null;
e.commissionRate = null;
}
}, },
// //
upwhetherShelf(row) { upwhetherShelf(row) {