mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优惠券加入赠送频率
This commit is contained in:
parent
2249485df3
commit
90a94e6d42
@ -29,8 +29,8 @@
|
||||
</option>
|
||||
<option value="1011">{{vc.i18n('购物','addCouponPropertyPool')}}
|
||||
</option>
|
||||
<option value="2002">{{vc.i18n('缴费','addCouponPropertyPool')}}
|
||||
</option>
|
||||
<!-- <option value="2002">{{vc.i18n('缴费','addCouponPropertyPool')}}
|
||||
</option> -->
|
||||
<option value="3003">{{vc.i18n('维修劵','addCouponPropertyPool')}}
|
||||
</option>
|
||||
<option value="4004">{{vc.i18n('停车劵','addCouponPropertyPool')}}
|
||||
@ -56,13 +56,22 @@
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><span>
|
||||
<vc:i18n name='有效期' namespace=' addCouponPropertyPool'></vc:i18n>
|
||||
<vc:i18n name='有效期' namespace='addCouponPropertyPool'></vc:i18n>
|
||||
</span></label>
|
||||
<div class="col-sm-10">
|
||||
<input v-model="addCouponPropertyPoolInfo.validityDay" type="text"
|
||||
:placeholder="vc.i18n('必填,请填写有效期(天)','addCouponPropertyPool')" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><span>
|
||||
<vc:i18n name='使用说明' namespace='addCouponPropertyPool'></vc:i18n>
|
||||
</span></label>
|
||||
<div class="col-sm-10">
|
||||
<textarea :placeholder="vc.i18n('必填,请填写使用说明','addCouponPropertyPool')" class="form-control"
|
||||
v-model="addCouponPropertyPoolInfo.remark"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ibox-content">
|
||||
<button class="btn btn-primary float-right" type="button" v-on:click="saveCouponPropertyPoolInfo()"><i
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
toType: '',
|
||||
stock: '',
|
||||
validityDay: '',
|
||||
remark:'',
|
||||
toTypes:[]
|
||||
}
|
||||
},
|
||||
@ -89,10 +90,6 @@
|
||||
errInfo: "有效期'不能超过12"
|
||||
},
|
||||
],
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
},
|
||||
saveCouponPropertyPoolInfo: function () {
|
||||
@ -138,6 +135,7 @@
|
||||
toType: '',
|
||||
stock: '',
|
||||
validityDay: '',
|
||||
remark:'',
|
||||
toTypes:[]
|
||||
|
||||
};
|
||||
@ -153,7 +151,6 @@
|
||||
page:1,
|
||||
row:100
|
||||
}
|
||||
|
||||
}
|
||||
//发送get请求
|
||||
vc.http.apiGet('/couponKey.listCouponKey',
|
||||
|
||||
@ -30,6 +30,19 @@
|
||||
:placeholder="vc.i18n('必填,请填写赠送数量','addCouponRuleCpps')" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><span>
|
||||
<vc:i18n name='赠送频率' namespace='addCouponRuleCpps'></vc:i18n>
|
||||
</span></label>
|
||||
<div class="col-sm-10">
|
||||
<select class="custom-select" v-model="addCouponRuleCppsInfo.giftFrequency">
|
||||
<option selected disabled value="">{{vc.i18n('必填,请选择赠送频率','addCouponRuleCpps')}}
|
||||
</option>
|
||||
<option value="100301" >赠送一次</option>
|
||||
<option value="100302" >每月赠送一次</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ibox-content">
|
||||
<button class="btn btn-primary float-right" type="button"
|
||||
|
||||
@ -11,11 +11,12 @@
|
||||
cppId: '',
|
||||
quantity: '',
|
||||
ruleId:'',
|
||||
giftFrequency:'100301',
|
||||
couponPropertyPools:[]
|
||||
}
|
||||
},
|
||||
_initMethod: function () {
|
||||
|
||||
//100301 赠送一次 100302 每月赠送一次
|
||||
},
|
||||
_initEvent: function () {
|
||||
vc.on('addCouponRuleCpps', 'openAddCouponRuleCppsModal', function (_rule) {
|
||||
@ -117,6 +118,7 @@
|
||||
cppId: '',
|
||||
quantity: '',
|
||||
ruleId:'',
|
||||
giftFrequency:'100301',
|
||||
couponPropertyPools:[]
|
||||
|
||||
};
|
||||
|
||||
@ -26,6 +26,9 @@
|
||||
<th class="text-center"><span>
|
||||
<vc:i18n name='赠送数量' namespace='couponRuleCppsManage'></vc:i18n>
|
||||
</span></th>
|
||||
<th class="text-center"><span>
|
||||
<vc:i18n name='赠送频率' namespace='couponRuleCppsManage'></vc:i18n>
|
||||
</span></th>
|
||||
<th class="text-center"><span>
|
||||
<vc:i18n name='操作'></vc:i18n>
|
||||
</span></th>
|
||||
@ -36,6 +39,8 @@
|
||||
<td class="text-center">{{couponRuleCpps.crcId}}</td>
|
||||
<td class="text-center">{{couponRuleCpps.couponName}}</td>
|
||||
<td class="text-center">{{couponRuleCpps.quantity}}</td>
|
||||
<td class="text-center">{{couponRuleCpps.giftFrequencyName}}</td>
|
||||
|
||||
<td class="text-center">
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
|
||||
@ -61,6 +61,15 @@
|
||||
:placeholder="vc.i18n('必填,请填写有效期','editCouponPropertyPool')" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><span>
|
||||
<vc:i18n name='使用说明' namespace='editCouponPropertyPool'></vc:i18n>
|
||||
</span></label>
|
||||
<div class="col-sm-10">
|
||||
<textarea :placeholder="vc.i18n('必填,请填写使用说明','editCouponPropertyPool')" class="form-control"
|
||||
v-model="editCouponPropertyPoolInfo.remark"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ibox-content">
|
||||
<button class="btn btn-primary float-right" type="button" v-on:click="editCouponPropertyPool()"><i
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
toType: '',
|
||||
stock: '',
|
||||
validityDay: '',
|
||||
remark:'',
|
||||
toTypes:[]
|
||||
}
|
||||
},
|
||||
@ -135,6 +136,7 @@
|
||||
toType: '',
|
||||
stock: '',
|
||||
validityDay: '',
|
||||
remark:'',
|
||||
toTypes:[]
|
||||
}
|
||||
},
|
||||
|
||||
@ -30,6 +30,19 @@
|
||||
:placeholder="vc.i18n('必填,请填写赠送数量','editCouponRuleCpps')" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><span>
|
||||
<vc:i18n name='赠送频率' namespace='editCouponRuleCpps'></vc:i18n>
|
||||
</span></label>
|
||||
<div class="col-sm-10">
|
||||
<select class="custom-select" v-model="editCouponRuleCppsInfo.giftFrequency">
|
||||
<option selected disabled value="">{{vc.i18n('必填,请选择赠送频率','editCouponRuleCpps')}}
|
||||
</option>
|
||||
<option value="100301" >赠送一次</option>
|
||||
<option value="100302" >每月赠送一次</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ibox-content">
|
||||
<button class="btn btn-primary float-right" type="button"
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
cppId: '',
|
||||
quantity: '',
|
||||
ruleId:'',
|
||||
giftFrequency:'100301',
|
||||
couponPropertyPools:[]
|
||||
|
||||
}
|
||||
@ -96,6 +97,7 @@
|
||||
cppId: '',
|
||||
quantity: '',
|
||||
ruleId:'',
|
||||
giftFrequency:'100301',
|
||||
couponPropertyPools:[]
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user