|
@@ -2,13 +2,6 @@
|
|
|
<div class="app-container">
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="130px">
|
|
|
<el-row>
|
|
|
- <el-col :span="6" style="">
|
|
|
- <el-form-item label="是否启用充值规则">
|
|
|
- <el-checkbox-group v-model="cardOilsTypeList">
|
|
|
- <el-checkbox v-for = "item in checkList" :key="item.id" :label="item.id" :value="item.value">{{item.value}}</el-checkbox>
|
|
|
- </el-checkbox-group>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
<el-col :span="8" style="">
|
|
|
<el-button type="primary" style="" @click="handleAdd">新增充值规则</el-button>
|
|
|
</el-col>
|
|
@@ -154,11 +147,15 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-form-item label="是否启用充值规则">
|
|
|
+ <el-checkbox-group v-model="cardOilsTypeList">
|
|
|
+ <el-checkbox v-for = "item in checkList" :key="item.id" :label="item.id" :value="item.value">{{item.value}}</el-checkbox>
|
|
|
+ </el-checkbox-group>
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
</div>
|
|
|
-
|
|
|
<!-- 添加或修改客户电子会员卡充值优惠设置明细对话框 -->
|
|
|
<el-dialog :title="title" :visible.sync="open" append-to-body>
|
|
|
<el-form ref="infoform" :model="infoform" :rules="rules" label-width="110px">
|
|
@@ -519,6 +516,7 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
if(this.num==0){
|
|
|
+ let datepicker = this.form.discountTimeType;
|
|
|
if(datepicker=="1"){
|
|
|
if(this.collectClickWorkDay!=null&&this.collectClickWorkDay.length>0){
|
|
|
let discountTime=null;
|