推广管理-优惠券管理-优惠券-赠送优惠券增加可选数量

This commit is contained in:
1378012178@qq.com 2025-02-07 10:42:42 +08:00
parent 3c7bd9a97f
commit 2649f0f356
1 changed files with 8 additions and 1 deletions

View File

@ -270,6 +270,10 @@
<el-radio :label="2">所有用户</el-radio>
</el-radio-group>
</div> -->
<div style="margin: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">赠送数量</span>
<el-input-number v-model="yhqzssl" size="small" :min="1" :step="1" :precision="0"></el-input-number>
</div>
<div style="margin: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">选择用户</span>
<el-tag :key="tag" v-for="(tag,j) in userNameList" closable :disable-transitions="false"
@ -419,6 +423,7 @@ import { serverPaths } from '@/utils/enumData'
export default {
data() {
return {
yhqzssl:1,//
uploadUrl: serverPaths.uploadUrl,
size: 10,
page: 1,
@ -885,6 +890,7 @@ import { serverPaths } from '@/utils/enumData'
},
//
songCoupon(row) {
this.yhqzssl = 1 //1
this.userIdList = []
this.couponIds = row.couponId
this.userNameList = []
@ -930,7 +936,8 @@ import { serverPaths } from '@/utils/enumData'
method: 'get',
params: this.$http.adornParams({
'userIds': userIdList,
'couponId': this.couponIds
'couponId': this.couponIds,
'amount':this.yhqzssl
})
}).then(({
data