This commit is contained in:
2023-11-09 16:41:08 +08:00
parent ec9e2ba18a
commit 1330565bb2
6 changed files with 10 additions and 10 deletions

View File

@ -346,11 +346,11 @@
></el-input>
</template>
</el-table-column>
<el-table-column label="积分兑换标识" align="center" >
<el-table-column label="健康豆兑换标识" align="center" >
<template slot-scope="scope">
<el-select
v-model.number="scope.row.integralExchangeFlag"
placeholder="请选择积分兑换标识"
placeholder="请选择健康豆兑换标识"
clearable
@change="changeExchangeFlag(scope.row)"
>
@ -374,13 +374,13 @@
></el-input>
</template>
</el-table-column>
<el-table-column label="积分兑换商品数量" align="center" >
<el-table-column label="健康豆兑换商品数量" align="center" >
<template slot-scope="scope">
<el-input
:disabled="!scope.row.integralExchangeFlag?true:false"
v-model.number="scope.row.integralExchangeCount"
oninput="value=value.replace(/[^\d]/g,'')"
placeholder="积分兑换商品数量"
placeholder="健康豆兑换商品数量"
maxLength="10"
></el-input>
</template>

View File

@ -78,7 +78,7 @@
</el-table-column>
<el-table-column label="订单类型" align="center" prop="orderType">
<template slot-scope="scope">
{{ scope.row.orderType == "INTEGRAL_EXCHANGE" ? "积分兑换" : "" }}
{{ scope.row.orderType == "INTEGRAL_EXCHANGE" ? "健康豆兑换" : "" }}
{{ scope.row.orderType == "DIRECT_BUY" ? "直接购买" : "" }}
{{ scope.row.orderType == "HEALTH_CONSULTATION" ? "健康咨询" : "" }}
</template>

View File

@ -26,7 +26,7 @@ export default {
refundlist: [],
orderTypelist: [{
value: "INTEGRAL_EXCHANGE",
label: "积分兑换",
label: "健康豆兑换",
},
{
value: "DIRECT_BUY",

View File

@ -78,7 +78,7 @@
</el-table-column>
<el-table-column label="订单类型" align="center" prop="orderType">
<template slot-scope="scope">
{{ scope.row.orderType == "INTEGRAL_EXCHANGE" ? "积分兑换" : "" }}
{{ scope.row.orderType == "INTEGRAL_EXCHANGE" ? "健康豆兑换" : "" }}
{{ scope.row.orderType == "DIRECT_BUY" ? "直接购买" : "" }}
{{ scope.row.orderType == "HEALTH_CONSULTATION" ? "健康咨询" : "" }}
</template>

View File

@ -26,7 +26,7 @@ export default {
refundlist: [],
orderTypelist: [{
value: "INTEGRAL_EXCHANGE",
label: "积分兑换",
label: "健康豆兑换",
},
{
value: "DIRECT_BUY",

View File

@ -162,7 +162,7 @@
<el-table-column label="规则类型" align="center" prop="settingsType">
<template slot-scope="scope">
<!-- {{
scope.row.settingsType == "INTEGRAL_EXCHANGE_RULE" ? "积分兑换" : ""
scope.row.settingsType == "INTEGRAL_EXCHANGE_RULE" ? "健康豆兑换" : ""
}} -->
{{ scope.row.settingsType == "SIGN_IN_RULE" ? "签到" : "" }}
{{ scope.row.settingsType == "INTEGRAL_DEDUCTION" ? "积分抵扣" : "" }}
@ -369,7 +369,7 @@ export default {
options: [
// {
// value: "INTEGRAL_EXCHANGE_RULE",
// label: "",
// label: "",
// },
{
value: "SIGN_IN_RULE",