优化优惠券功能 bug

This commit is contained in:
Your Name 2023-01-12 11:47:19 +08:00
parent 054d2b94ee
commit 4910e5d91d
5 changed files with 10 additions and 5 deletions

View File

@ -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': [

View File

@ -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>&nbsp; class="fa fa-check"></i>&nbsp;
<span> <span>
<vc:i18n name="赠送"></vc:i18n> <vc:i18n name="赠送"></vc:i18n>

View File

@ -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;

View File

@ -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">

View File

@ -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);
} }