mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化优惠券功能 bug
This commit is contained in:
parent
054d2b94ee
commit
4910e5d91d
@ -82,12 +82,12 @@
|
|||||||
{
|
{
|
||||||
limit: "required",
|
limit: "required",
|
||||||
param: "",
|
param: "",
|
||||||
errInfo: "有效期'不能为空"
|
errInfo: "有效期不能为空"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
limit: "maxLength",
|
limit: "maxLength",
|
||||||
param: "12",
|
param: "12",
|
||||||
errInfo: "有效期'不能超过12"
|
errInfo: "有效期不能超过12"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
'editCouponPropertyPoolInfo.cppId': [
|
'editCouponPropertyPoolInfo.cppId': [
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ibox-content">
|
<div class="ibox-content">
|
||||||
<button class="btn btn-primary float-right" type="button" v-on:click="saveCouponPropertyPoolInfo()"><i
|
<button class="btn btn-primary float-right" type="button" v-on:click="_giftCouponPropertyPoolInfo()"><i
|
||||||
class="fa fa-check"></i>
|
class="fa fa-check"></i>
|
||||||
<span>
|
<span>
|
||||||
<vc:i18n name="赠送"></vc:i18n>
|
<vc:i18n name="赠送"></vc:i18n>
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
saveCouponPropertyPoolInfo: function () {
|
_giftCouponPropertyPoolInfo: function () {
|
||||||
if (!vc.component.giftCouponPropertyPoolValidate()) {
|
if (!vc.component.giftCouponPropertyPoolValidate()) {
|
||||||
vc.toast(vc.validate.errInfo);
|
vc.toast(vc.validate.errInfo);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -5,7 +5,9 @@
|
|||||||
<div class="ibox-title">
|
<div class="ibox-title">
|
||||||
<h5><span><vc:i18n name="认证信息" namespace="staffAppAuthManage"></vc:i18n></span></h5>
|
<h5><span><vc:i18n name="认证信息" namespace="staffAppAuthManage"></vc:i18n></span></h5>
|
||||||
<div class="ibox-tools" style="top:10px;">
|
<div class="ibox-tools" style="top:10px;">
|
||||||
|
<button type="button" class="btn btn-white btn-sm" v-on:click="_refreshStaffAppAuth()">
|
||||||
|
刷新
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ibox-content">
|
<div class="ibox-content">
|
||||||
|
|||||||
@ -48,6 +48,9 @@
|
|||||||
},
|
},
|
||||||
_queryStaffAppAuthMethod: function () {
|
_queryStaffAppAuthMethod: function () {
|
||||||
vc.component._listStaffAppAuths(DEFAULT_PAGE, DEFAULT_ROWS);
|
vc.component._listStaffAppAuths(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||||
|
},
|
||||||
|
_refreshStaffAppAuth:function(){
|
||||||
|
vc.component._listStaffAppAuths(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user