修改
This commit is contained in:
parent
7d585b9902
commit
63acd6ed0d
@ -227,11 +227,11 @@ export default {
|
|||||||
res.data.disablingCondition == 'NOT_DISABLED' ? res.data.disablingCondition = '未失能' : ''
|
res.data.disablingCondition == 'NOT_DISABLED' ? res.data.disablingCondition = '未失能' : ''
|
||||||
if (row.orderStatus == 'EVALUATED') {
|
if (row.orderStatus == 'EVALUATED') {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
if (res.data[0].evaluateSatisfaction == 'COMMONLY') {
|
if (res.data.evaluateSatisfaction == 'COMMONLY') {
|
||||||
this.query.evaluateSatisfaction = '一般'
|
this.query.evaluateSatisfaction = '一般'
|
||||||
} else if (res.data[0].evaluateSatisfaction == 'SATISFIED') {
|
} else if (res.data.evaluateSatisfaction == 'SATISFIED') {
|
||||||
this.query.evaluateSatisfaction = '满意'
|
this.query.evaluateSatisfaction = '满意'
|
||||||
} else if (res.data[0].evaluateSatisfaction == 'DISSATISFIED') {
|
} else if (res.data.evaluateSatisfaction == 'DISSATISFIED') {
|
||||||
this.query.evaluateSatisfaction = '不满意'
|
this.query.evaluateSatisfaction = '不满意'
|
||||||
}
|
}
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@ -309,9 +309,9 @@
|
|||||||
<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>
|
||||||
@ -320,7 +320,7 @@
|
|||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="scope.row.price"
|
v-model="scope.row.price"
|
||||||
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)} if (value.length > 6) { value = value.slice(0, 6) }"
|
||||||
@ -332,7 +332,33 @@
|
|||||||
<el-input v-model="scope.row.description" maxlength="300"></el-input>
|
<el-input v-model="scope.row.description" maxlength="300"></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center">
|
<el-table-column property="description" label="佣金金额" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-input
|
||||||
|
v-model="scope.row.commissionAmount"
|
||||||
|
maxlength="300"
|
||||||
|
placeholder="最多小数点后两位(元)"
|
||||||
|
@input="commissionAmountinput(scope.row)"
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
|
oninput="if (value.indexOf('.') > 0) { value = value.slice(0, value.indexOf('.') + 3)} if (value.length > 6) { value = value.slice(0, 6) }"
|
||||||
|
></el-input>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column property="description" label="佣金比例(%)" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-input
|
||||||
|
v-model="scope.row.commissionRate"
|
||||||
|
maxlength="300"
|
||||||
|
@input="commissionRateoninput(scope.row)"
|
||||||
|
placeholder="最多小数点后两位(%)"
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
|
oninput="if (value.indexOf('.') > 0) { value = value.slice(0, value.indexOf('.') + 3)} if (value.length > 6) { value = value.slice(0, 6) }"
|
||||||
|
></el-input>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="操作" align="center" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" @click="addnurseStationItemPrices">新增</el-button>
|
<el-button size="mini" type="text" @click="addnurseStationItemPrices">新增</el-button>
|
||||||
<el-button size="mini" type="text" @click="delnurseStationItemPrices(scope.row)">删除</el-button>
|
<el-button size="mini" type="text" @click="delnurseStationItemPrices(scope.row)">删除</el-button>
|
||||||
|
|||||||
@ -197,6 +197,16 @@ export default {
|
|||||||
this.classifylistInfo();
|
this.classifylistInfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
commissionAmountinput(e) {
|
||||||
|
if (e.commissionRate) {
|
||||||
|
e.commissionAmount = ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
commissionRateoninput(e) {
|
||||||
|
if (e.commissionAmount) {
|
||||||
|
e.commissionRate = ''
|
||||||
|
}
|
||||||
|
},
|
||||||
//点击上架
|
//点击上架
|
||||||
upwhetherShelf(row) {
|
upwhetherShelf(row) {
|
||||||
let shelfStatus = null
|
let shelfStatus = null
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user