fix: 修改新增用户商品的配置项逻辑
Build and Deploy Vue3 / build (push) Successful in 4m9s
Build and Deploy Vue3 / deploy (push) Successful in 1m3s

This commit is contained in:
2026-04-06 18:44:11 +08:00
parent c07e09c151
commit f0e89695f4
36 changed files with 2078 additions and 190 deletions
+7 -7
View File
@@ -484,7 +484,7 @@ const fetchVoucherListOptions = async () => {
try {
const res = await getDiscountCodeList({
page: 1,
count: 1000,
count: 10,
discount_type: 'coupon'
})
console.log('获取代金券列表:', res.data)
@@ -502,7 +502,7 @@ const fetchDiscountList = async () => {
try {
const res = await getDiscountCodeList({
page: 1,
count: 100,
count: 10,
discount_type: 'coupon'
})
console.log('获取代金券列表:', res.data)
@@ -513,7 +513,7 @@ const fetchDiscountList = async () => {
}
const res2 = await getDiscountCodeList({
page: 1,
count: 100,
count: 10,
discount_type: 'code'
})
console.log('获取优惠码列表:', res2.data)
@@ -533,7 +533,7 @@ const fetchVoucherOptions = async () => {
const res = await getDiscountCodeList({
discount_type: 'coupon',
page: 1,
count: 100
count: 10
})
if (res.data.code === 200) {
voucherOptions.value = res.data.data?.data || []
@@ -549,7 +549,7 @@ const fetchCodeOptions = async () => {
const res = await getDiscountCodeList({
discount_type: 'code',
page: 1,
count: 100
count: 10
})
if (res.data.code === 200) {
codeOptions.value = res.data.data?.data || []
@@ -566,7 +566,7 @@ const fetchUserList = async () => {
try {
const res = await getUserList({
page: 1,
count: 100,
count: 10,
key: ''
})
console.log('获取用户列表:', res.data)
@@ -588,7 +588,7 @@ const fetchGroupOptions = async () => {
try {
const res = await getUserGroupList({
page: 1,
count: 100
count: 10
})
if (res.data.code === 200) {
groupOptions.value = res.data.data?.data || []