|
@@ -22,7 +22,7 @@ export const useCouponStore = defineStore(
|
|
|
// 获取优惠券列表
|
|
// 获取优惠券列表
|
|
|
const getCouponList = async (couponproductids: string) => {
|
|
const getCouponList = async (couponproductids: string) => {
|
|
|
const { data: couponList, loading } = useRequest(
|
|
const { data: couponList, loading } = useRequest(
|
|
|
- () => getCouponListApi({ couponproductids }, { pageindex: 1, rows: 999 }),
|
|
|
|
|
|
|
+ () => getCouponListApi({ couponproductids }, { pageindex: 1, rows: 99999 }),
|
|
|
{
|
|
{
|
|
|
immediate: true,
|
|
immediate: true,
|
|
|
},
|
|
},
|
|
@@ -105,7 +105,7 @@ export const useCouponStore = defineStore(
|
|
|
// 通过优惠券code获取产品信息(视图)
|
|
// 通过优惠券code获取产品信息(视图)
|
|
|
const getCoupon2ViewmList = async (params: { coupon2code: string }) => {
|
|
const getCoupon2ViewmList = async (params: { coupon2code: string }) => {
|
|
|
const { data: couponList, loading } = useRequest(
|
|
const { data: couponList, loading } = useRequest(
|
|
|
- () => getCoupon2ViewmListApi(params, { pageindex: 1, rows: 999 }),
|
|
|
|
|
|
|
+ () => getCoupon2ViewmListApi(params, { pageindex: 1, rows: 99999 }),
|
|
|
{
|
|
{
|
|
|
immediate: true,
|
|
immediate: true,
|
|
|
},
|
|
},
|
|
@@ -118,7 +118,7 @@ export const useCouponStore = defineStore(
|
|
|
// 获取已关联到当前用户的优惠券列表
|
|
// 获取已关联到当前用户的优惠券列表
|
|
|
const getCoupon2List = async (params) => {
|
|
const getCoupon2List = async (params) => {
|
|
|
const { data: couponList, loading } = useRequest(
|
|
const { data: couponList, loading } = useRequest(
|
|
|
- () => getCoupon2ListApi(params, { pageindex: 1, rows: 999 }),
|
|
|
|
|
|
|
+ () => getCoupon2ListApi(params, { pageindex: 1, rows: 99999 }),
|
|
|
{
|
|
{
|
|
|
immediate: true,
|
|
immediate: true,
|
|
|
},
|
|
},
|