[优惠券得使用规则加校验及优惠券规则为null处理为空]
This commit is contained in:
@@ -236,7 +236,13 @@
|
||||
days : this.timeNumber,
|
||||
goodsable_ids : this.coupongoods
|
||||
}
|
||||
|
||||
if(valuss.description === ''){
|
||||
uni.showToast({
|
||||
title:'请添加使用规则',
|
||||
icon:'none'
|
||||
})
|
||||
return;
|
||||
}
|
||||
pushCoupons(valuss).then(res => {
|
||||
uni.showModal({
|
||||
title : '提示',
|
||||
|
||||
Reference in New Issue
Block a user