修改
This commit is contained in:
parent
f43e9cf79b
commit
22ba1e430a
@ -569,15 +569,19 @@ export default {
|
||||
appointmentOrderDetails(id).then(res => {
|
||||
res.data.time = res.data.serviceDate + "-" + res.data.serviceStartTime;
|
||||
this.query = res.data;
|
||||
res.data.disablingCondition == "DISABLED"? res.data.disablingCondition = "失能": "";
|
||||
res.data.disablingCondition == "NOT_DISABLED"? res.data.disablingCondition = "未失能": "";
|
||||
res.data.disablingCondition == "DISABLED"
|
||||
? (res.data.disablingCondition = "失能")
|
||||
: "";
|
||||
res.data.disablingCondition == "NOT_DISABLED"
|
||||
? (res.data.disablingCondition = "未失能")
|
||||
: "";
|
||||
if (row.orderStatus == "EVALUATED") {
|
||||
if (res.data) {
|
||||
if (res.data[0].evaluateSatisfaction == "COMMONLY") {
|
||||
if (res.data.evaluateSatisfaction == "COMMONLY") {
|
||||
this.query.evaluateSatisfaction = "一般";
|
||||
} else if (res.data[0].evaluateSatisfaction == "SATISFIED") {
|
||||
} else if (res.data.evaluateSatisfaction == "SATISFIED") {
|
||||
this.query.evaluateSatisfaction = "满意";
|
||||
} else if (res.data[0].evaluateSatisfaction == "DISSATISFIED") {
|
||||
} else if (res.data.evaluateSatisfaction == "DISSATISFIED") {
|
||||
this.query.evaluateSatisfaction = "不满意";
|
||||
}
|
||||
this.loading = false;
|
||||
|
||||
@ -313,7 +313,33 @@
|
||||
<el-input v-model="scope.row.description" maxlength="300"></el-input>
|
||||
</template>
|
||||
</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">
|
||||
<el-button size="mini" type="text" @click="addnurseStationItemPrices">新增</el-button>
|
||||
<el-button size="mini" type="text" @click="delnurseStationItemPrices(scope.row)">删除</el-button>
|
||||
@ -774,6 +800,16 @@ export default {
|
||||
this.classifylistInfo();
|
||||
},
|
||||
methods: {
|
||||
commissionAmountinput(e) {
|
||||
if (e.commissionRate) {
|
||||
e.commissionAmount = "";
|
||||
}
|
||||
},
|
||||
commissionRateoninput(e) {
|
||||
if (e.commissionAmount) {
|
||||
e.commissionRate = "";
|
||||
}
|
||||
},
|
||||
//点击上架
|
||||
upwhetherShelf(row) {
|
||||
let shelfStatus = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user