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
+2 -2
View File
@@ -389,7 +389,7 @@ const fetchVoucherListOptions = async () => {
try {
const res = await getDiscountCodeList({
page: 1,
count: 1000,
count: 10,
discount_type: 'coupon'
})
console.log('获取代金券列表:', res.data)
@@ -407,7 +407,7 @@ const fetchProductList = async () => {
try {
const res = await getProductList({
page: 1,
count: 1000
count: 10
})
console.log('获取商品列表:', res.data)
if (res.data.code === 200) {
+2 -2
View File
@@ -361,7 +361,7 @@ const fetchVoucherListOptions = async () => {
try {
const res = await getDiscountCodeList({
page: 1,
count: 1000,
count: 10,
discount_type: 'coupon'
})
console.log('获取代金券列表:', res.data)
@@ -397,7 +397,7 @@ const fetchUserGroupList = async () => {
try {
const res = await getUserGroupList({
page: 1,
count: 10000,
count: 10,
key: ''
})
console.log('获取用户组列表:', res.data)
+1 -1
View File
@@ -123,7 +123,7 @@ const currentGroupBuy = ref(null)
// 加载拼团列表
const loadGroupBuyList = async () => {
try {
const resp = await getGroupBuyList({ page: 1, pageSize: 20 })
const resp = await getGroupBuyList({ page: 1, pageSize: 10 })
if (resp && resp.code === 200) {
groupBuyList.value = resp.data || []
}
+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 || []
+2 -2
View File
@@ -397,7 +397,7 @@ const fetchUserList = async () => {
try {
const res = await getUserList({
page: 1,
count: 10000,
count: 10,
key: ''
})
UserOptions.value = res.data.data?.data || []
@@ -412,7 +412,7 @@ const fetchDiscountList = async () => {
const res = await getDiscountCodeList({
discount_type: 'coupon',
page: 1,
count: 1000
count: 10
})
if (res.data.code === 200) {
discountOptions.value = res.data.data?.data || []
+1 -1
View File
@@ -459,7 +459,7 @@ const fetchDiscountList = async () => {
const res = await getDiscountCodeList({
discount_type: 'coupon',
page: 1,
count: 1000
count: 10
})
if (res.data.code === 200) {
discountOptions.value = res.data.data?.data || []