优化优惠券功能 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",
param: "",
errInfo: "有效期'不能为空"
errInfo: "有效期不能为空"
},
{
limit: "maxLength",
param: "12",
errInfo: "有效期'不能超过12"
errInfo: "有效期不能超过12"
},
],
'editCouponPropertyPoolInfo.cppId': [

View File

@ -38,7 +38,7 @@
</div>
<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;
<span>
<vc:i18n name="赠送"></vc:i18n>

View File

@ -46,7 +46,7 @@
],
});
},
saveCouponPropertyPoolInfo: function () {
_giftCouponPropertyPoolInfo: function () {
if (!vc.component.giftCouponPropertyPoolValidate()) {
vc.toast(vc.validate.errInfo);
return;

View File

@ -5,7 +5,9 @@
<div class="ibox-title">
<h5><span><vc:i18n name="认证信息" namespace="staffAppAuthManage"></vc:i18n></span></h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-white btn-sm" v-on:click="_refreshStaffAppAuth()">
刷新
</button>
</div>
</div>
<div class="ibox-content">

View File

@ -48,6 +48,9 @@
},
_queryStaffAppAuthMethod: function () {
vc.component._listStaffAppAuths(DEFAULT_PAGE, DEFAULT_ROWS);
},
_refreshStaffAppAuth:function(){
vc.component._listStaffAppAuths(DEFAULT_PAGE, DEFAULT_ROWS);
}