This commit is contained in:
曹辉 2023-04-11 09:54:02 +08:00
parent 86a9726526
commit 408ce552ac
3 changed files with 18 additions and 15 deletions

View File

@ -392,7 +392,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"
@ -402,9 +402,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"
@ -414,7 +414,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">
@ -431,6 +431,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

@ -311,7 +311,12 @@
:data="form.nurseStationItemPrices" :data="form.nurseStationItemPrices"
style="margin-top: 20px; width: 1050px" style="margin-top: 20px; width: 1050px"
> >
<el-table-column property="serveDurationUnit" label="服务时长和单位" align="center" width="120"> <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>
@ -338,10 +343,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>
@ -350,11 +355,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>
@ -365,6 +370,7 @@
</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>

View File

@ -198,14 +198,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) {