Commit 1bfa84d4 by 吕明尚

修改权益配置管理系统

parent d22b201f
...@@ -140,13 +140,13 @@ ...@@ -140,13 +140,13 @@
<!-- 添加或修改权益会员订单配置对话框 --> <!-- 添加或修改权益会员订单配置对话框 -->
<el-dialog :title="title" :visible.sync="open" append-to-body width="500px"> <el-dialog :title="title" :visible.sync="open" append-to-body width="500px">
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="会员配置名称" prop="name"> <el-form-item label="会员配置名称" prop="name">
<el-input v-model="form.name" placeholder="请输入会员配置名称"/> <el-input v-model="form.name" placeholder="请输入会员配置名称"/>
</el-form-item> </el-form-item>
<el-form-item label="默认会员等级NP" prop="defaultLevel"> <el-form-item label="默认会员等级" prop="defaultLevel">
<el-input-number v-model="form.defaultLevel" :max="100" :min="0"/> <el-input-number v-model="form.defaultLevel" :max="100" :min="0" disabled/>
<!-- <el-input v-model="form.requiredAmount" placeholder="请输入所需金额"/>--> <!-- <el-input v-model="form.requiredAmount" placeholder="请输入所需金额"/>-->
</el-form-item> </el-form-item>
<el-form-item label="所需金额" prop="requiredAmount"> <el-form-item label="所需金额" prop="requiredAmount">
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
<!-- <el-input v-model="form.validityPeriod" placeholder="请输入会员有效期"/>--> <!-- <el-input v-model="form.validityPeriod" placeholder="请输入会员有效期"/>-->
</el-form-item> </el-form-item>
<el-form-item label="赠送积分" prop="giftPoints"> <el-form-item label="赠送积分" prop="giftPoints">
<el-input-number v-model="form.giftPoints" :max="100" :min="0"/> <el-input-number v-model="form.giftPoints" :max="9999" :min="0"/>
<!-- <el-input v-model="form.defaultLevel" placeholder="请输入默认会员等级"/>--> <!-- <el-input v-model="form.defaultLevel" placeholder="请输入默认会员等级"/>-->
</el-form-item> </el-form-item>
<!-- <el-form-item label="是否删除" prop="isDelete">--> <!-- <el-form-item label="是否删除" prop="isDelete">-->
...@@ -221,12 +221,6 @@ export default { ...@@ -221,12 +221,6 @@ export default {
form: {}, form: {},
// 表单校验 // 表单校验
rules: { rules: {
defaultLevel: [
{required: true, message: "默认会员等级不能为空", trigger: "blur"}
],
memberConfigId: [
{required: true, message: "会员配置id不能为空", trigger: "blur"}
],
} }
}; };
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment