qj-b2c-store 1.6.9 → 1.6.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/context/index.d.ts +0 -6
- package/dist/core/external.d.ts +0 -5
- package/dist/core/index.d.ts +0 -2
- package/dist/core/makeStore.d.ts +0 -2
- package/dist/index.d.ts +0 -4
- package/dist/store/account/hooks/index.d.ts +0 -1
- package/dist/store/account/hooks/useAgreement.d.ts +0 -1
- package/dist/store/account/hooks/useMySetting.d.ts +0 -4
- package/dist/store/account/index.d.ts +0 -1
- package/dist/store/addressDetail/hooks/index.d.ts +0 -1
- package/dist/store/addressDetail/hooks/useAddAddress.d.ts +0 -3
- package/dist/store/addressDetail/index.d.ts +0 -1
- package/dist/store/addressList/hooks/index.d.ts +0 -2
- package/dist/store/addressList/hooks/useAddressItem.d.ts +0 -3
- package/dist/store/addressList/hooks/useAddressList.d.ts +0 -8
- package/dist/store/addressList/index.d.ts +0 -1
- package/dist/store/afterSales/hooks/afterSalesConfig.d.ts +0 -4
- package/dist/store/afterSales/hooks/index.d.ts +0 -5
- package/dist/store/afterSales/hooks/useAfterSalesApply.d.ts +0 -23
- package/dist/store/afterSales/hooks/useAfterSalesChooseType.d.ts +0 -16
- package/dist/store/afterSales/hooks/useAfterSalesDetail.d.ts +0 -17
- package/dist/store/afterSales/hooks/useAfterSalesList.d.ts +0 -8
- package/dist/store/afterSales/index.d.ts +0 -1
- package/dist/store/articleDetail/hooks/index.d.ts +0 -1
- package/dist/store/articleDetail/hooks/useArticleDetail.d.ts +0 -7
- package/dist/store/articleDetail/index.d.ts +0 -1
- package/dist/store/cart/hooks/index.d.ts +0 -2
- package/dist/store/cart/hooks/useCartItem.d.ts +0 -10
- package/dist/store/cart/hooks/useCartList.d.ts +0 -19
- package/dist/store/cart/index.d.ts +0 -2
- package/dist/store/cart/store/index.d.ts +0 -10
- package/dist/store/cart-next/hooks/index.d.ts +0 -3
- package/dist/store/cart-next/hooks/useCartListNext.d.ts +0 -13
- package/dist/store/cart-next/hooks/useCartOperate.d.ts +0 -13
- package/dist/store/cart-next/hooks/useCartTop.d.ts +0 -4
- package/dist/store/cart-next/index.d.ts +0 -1
- package/dist/store/collectionList/hooks/index.d.ts +0 -1
- package/dist/store/collectionList/hooks/useCollectionList.d.ts +0 -26
- package/dist/store/collectionList/index.d.ts +0 -1
- package/dist/store/coupon/hooks/index.d.ts +0 -1
- package/dist/store/coupon/hooks/useAllCoupon.d.ts +0 -11
- package/dist/store/coupon/index.d.ts +0 -1
- package/dist/store/couponList/hooks/index.d.ts +0 -4
- package/dist/store/couponList/hooks/useCouponList.d.ts +0 -20
- package/dist/store/couponList/hooks/useOverdue.d.ts +0 -5
- package/dist/store/couponList/hooks/useUnused.d.ts +0 -5
- package/dist/store/couponList/hooks/useUsed.d.ts +0 -5
- package/dist/store/couponList/index.d.ts +0 -1
- package/dist/store/cube/hooks/index.d.ts +0 -6
- package/dist/store/cube/index.d.ts +0 -1
- package/dist/store/evaluateDetail/hooks/index.d.ts +0 -1
- package/dist/store/evaluateDetail/hooks/useEvaluateDetail.d.ts +0 -6
- package/dist/store/evaluateDetail/index.d.ts +0 -1
- package/dist/store/evaluateViewDetail/hooks/index.d.ts +0 -1
- package/dist/store/evaluateViewDetail/hooks/useEvaluateViewDetail.d.ts +0 -4
- package/dist/store/evaluateViewDetail/index.d.ts +0 -1
- package/dist/store/expressInfo/hooks/index.d.ts +0 -1
- package/dist/store/expressInfo/hooks/useExpressInfo.d.ts +0 -14
- package/dist/store/expressInfo/index.d.ts +0 -1
- package/dist/store/footprint/hooks/index.d.ts +0 -1
- package/dist/store/footprint/hooks/useFootprint.d.ts +0 -26
- package/dist/store/footprint/index.d.ts +0 -1
- package/dist/store/goTop/hooks/index.d.ts +0 -1
- package/dist/store/goTop/hooks/useGoTop.d.ts +0 -3
- package/dist/store/goTop/index.d.ts +0 -1
- package/dist/store/goods/hooks/index.d.ts +0 -1
- package/dist/store/goods/hooks/useGoods.d.ts +0 -8
- package/dist/store/goods/index.d.ts +0 -1
- package/dist/store/goodsClassify/hooks/index.d.ts +0 -1
- package/dist/store/goodsClassify/hooks/useGoodsClassify.d.ts +0 -6
- package/dist/store/goodsClassify/index.d.ts +0 -1
- package/dist/store/goodsDetail/hooks/index.d.ts +0 -13
- package/dist/store/goodsDetail/hooks/useAddCoupon.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/useAddShopping.d.ts +0 -12
- package/dist/store/goodsDetail/hooks/useBanner.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/useCoupon.d.ts +0 -39
- package/dist/store/goodsDetail/hooks/useEvaluate.d.ts +0 -1
- package/dist/store/goodsDetail/hooks/useFootprint.d.ts +0 -1
- package/dist/store/goodsDetail/hooks/useGoodCollection.d.ts +0 -12
- package/dist/store/goodsDetail/hooks/useGoodDetail.d.ts +0 -40
- package/dist/store/goodsDetail/hooks/useGoodSku.d.ts +0 -9
- package/dist/store/goodsDetail/hooks/useGoodSpecAndPrice.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/useGoodsShare.d.ts +0 -3
- package/dist/store/goodsDetail/hooks/usePoster.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/usePromotion.d.ts +0 -1
- package/dist/store/goodsDetail/index.d.ts +0 -3
- package/dist/store/goodsDetail/store/index.d.ts +0 -22
- package/dist/store/goodsDetail/utils/index.d.ts +0 -29
- package/dist/store/goodsList/hooks/index.d.ts +0 -1
- package/dist/store/goodsList/hooks/useGoodsList.d.ts +0 -17
- package/dist/store/goodsList/index.d.ts +0 -1
- package/dist/store/index.d.ts +0 -32
- package/dist/store/marketing/hooks/index.d.ts +0 -1
- package/dist/store/marketing/hooks/useMarketingPromotion.d.ts +0 -6
- package/dist/store/marketing/index.d.ts +0 -1
- package/dist/store/memberSignin/hooks/index.d.ts +0 -1
- package/dist/store/memberSignin/hooks/useMemberSignin.d.ts +0 -8
- package/dist/store/memberSignin/index.d.ts +0 -1
- package/dist/store/notice/index.d.ts +0 -4
- package/dist/store/noticeDetail/hooks/index.d.ts +0 -4
- package/dist/store/noticeDetail/index.d.ts +0 -1
- package/dist/store/order/constant/index.d.ts +0 -3
- package/dist/store/order/hooks/config.d.ts +0 -7
- package/dist/store/order/hooks/index.d.ts +0 -3
- package/dist/store/order/hooks/useOrderList.d.ts +0 -38
- package/dist/store/order/hooks/useOrderOperate.d.ts +0 -4
- package/dist/store/order/index.d.ts +0 -1
- package/dist/store/orderDetail/hooks/index.d.ts +0 -1
- package/dist/store/orderDetail/hooks/useOrderDetail.d.ts +0 -32
- package/dist/store/orderDetail/index.d.ts +0 -1
- package/dist/store/paymentMode/hooks/index.d.ts +0 -1
- package/dist/store/paymentMode/hooks/useOrderResult.d.ts +0 -15
- package/dist/store/paymentMode/index.d.ts +0 -1
- package/dist/store/pickupPointList/hooks/index.d.ts +0 -2
- package/dist/store/pickupPointList/hooks/usePickupPointItem.d.ts +0 -3
- package/dist/store/pickupPointList/hooks/usePickupPointList.d.ts +0 -7
- package/dist/store/pickupPointList/index.d.ts +0 -1
- package/dist/store/placeOrder/hooks/index.d.ts +0 -8
- package/dist/store/placeOrder/hooks/useOrderAddress.d.ts +0 -24
- package/dist/store/placeOrder/hooks/useOrderCoupon.d.ts +0 -32
- package/dist/store/placeOrder/hooks/useOrderGood.d.ts +0 -61
- package/dist/store/placeOrder/hooks/useOrderInfo.d.ts +0 -8
- package/dist/store/placeOrder/hooks/useOrderPay.d.ts +0 -11
- package/dist/store/placeOrder/hooks/useOrderPickupAddress.d.ts +0 -18
- package/dist/store/placeOrder/hooks/usePayMode.d.ts +0 -6
- package/dist/store/placeOrder/hooks/usePlaceOrder.d.ts +0 -46
- package/dist/store/placeOrder/index.d.ts +0 -2
- package/dist/store/placeOrder/store/index.d.ts +0 -43
- package/dist/store/placeOrderResult/hooks/index.d.ts +0 -1
- package/dist/store/placeOrderResult/hooks/useOrderResult.d.ts +0 -4
- package/dist/store/placeOrderResult/index.d.ts +0 -1
- package/dist/store/signinDetail/hooks/index.d.ts +0 -1
- package/dist/store/signinDetail/hooks/useSigninDetail.d.ts +0 -10
- package/dist/store/signinDetail/index.d.ts +0 -1
- package/dist/utils/formatTime.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/localData.d.ts +0 -5
- package/dist/utils/navigator.d.ts +0 -11
- package/dist/utils/payment.d.ts +0 -15
- package/dist/utils/routerMap/index.d.ts +0 -11
- package/dist/utils/showToast.d.ts +0 -1
- package/dist/utils/useImmutableCallback.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useOrderDetail';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
interface itemType {
|
|
2
|
-
contractBillcode: string;
|
|
3
|
-
skuCode: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const useOrderDetail: (contractBillcode: string) => {
|
|
6
|
-
orderDetail: {
|
|
7
|
-
goodsList: never[];
|
|
8
|
-
contractPmode: string;
|
|
9
|
-
creditMoney: number;
|
|
10
|
-
contractEcurl: string;
|
|
11
|
-
dataState: string;
|
|
12
|
-
goodsLogmoney: number;
|
|
13
|
-
packageRemark: string;
|
|
14
|
-
goodsReceiptMem: string;
|
|
15
|
-
goodsReceiptPhone: string;
|
|
16
|
-
goodsReceiptArrdess: string;
|
|
17
|
-
dataBmoney: number;
|
|
18
|
-
goodsPmoney: number;
|
|
19
|
-
contractInmoney: number;
|
|
20
|
-
contractBillcode: string;
|
|
21
|
-
refundMoney: number;
|
|
22
|
-
gmtCreate: string;
|
|
23
|
-
goodsNum: number;
|
|
24
|
-
contractId: number;
|
|
25
|
-
contractPumode: string;
|
|
26
|
-
};
|
|
27
|
-
status: string;
|
|
28
|
-
handleApplyBtn: (item: itemType, dataState: number | string) => Promise<void>;
|
|
29
|
-
creditMoney: number;
|
|
30
|
-
packageRemark: string;
|
|
31
|
-
};
|
|
32
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useOrderResult';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare function useOrderResult({ contractBillcode, contractBbillcode }: {
|
|
2
|
-
contractBillcode: string;
|
|
3
|
-
contractBbillcode: string;
|
|
4
|
-
}): {
|
|
5
|
-
paymentImpl: () => void;
|
|
6
|
-
channelList: never[];
|
|
7
|
-
handleRadio: (e: any) => void;
|
|
8
|
-
contract: import("react").MutableRefObject<{
|
|
9
|
-
contMoney: number;
|
|
10
|
-
orderMoney: number;
|
|
11
|
-
logMoney: number;
|
|
12
|
-
contractBillcode: string;
|
|
13
|
-
}>;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './usePlaceOrder';
|
|
2
|
-
export * from './useOrderInfo';
|
|
3
|
-
export * from './useOrderAddress';
|
|
4
|
-
export * from './useOrderGood';
|
|
5
|
-
export * from './useOrderCoupon';
|
|
6
|
-
export * from './useOrderPay';
|
|
7
|
-
export * from './usePayMode';
|
|
8
|
-
export * from './useOrderPickupAddress';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const addressInitial: {
|
|
2
|
-
provinceName: string;
|
|
3
|
-
cityName: string;
|
|
4
|
-
areaName: string;
|
|
5
|
-
addressDetail: string;
|
|
6
|
-
addressMember: string;
|
|
7
|
-
addressPhone: string;
|
|
8
|
-
addressDefault: string;
|
|
9
|
-
addressId: string;
|
|
10
|
-
provinceCode: string;
|
|
11
|
-
userName: string;
|
|
12
|
-
};
|
|
13
|
-
export declare function useOrderAddress(refreshNum: string, goodsNum: number, skuId: string, shoppingGoodsId: string): {
|
|
14
|
-
provinceName: string;
|
|
15
|
-
cityName: string;
|
|
16
|
-
areaName: string;
|
|
17
|
-
addressDetail: string;
|
|
18
|
-
addressMember: string;
|
|
19
|
-
addressPhone: string;
|
|
20
|
-
addressDefault: string;
|
|
21
|
-
addressId: string;
|
|
22
|
-
provinceCode: string;
|
|
23
|
-
userName: string;
|
|
24
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const useOrderCoupon: (shoppingGoodsList?: Array<any>) => {
|
|
2
|
-
coupon: {
|
|
3
|
-
promotionCode: string;
|
|
4
|
-
promotionName: string;
|
|
5
|
-
discAmount: number;
|
|
6
|
-
}[];
|
|
7
|
-
visible: boolean;
|
|
8
|
-
selectCoupon: string;
|
|
9
|
-
onChange: (e: any) => void;
|
|
10
|
-
setVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
11
|
-
creditList: {
|
|
12
|
-
flagSettingInfo: number;
|
|
13
|
-
}[];
|
|
14
|
-
creditInfo: {
|
|
15
|
-
urechargeId: string;
|
|
16
|
-
};
|
|
17
|
-
creditVisible: boolean;
|
|
18
|
-
setCreditVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
19
|
-
onCreditChange: (e: any) => void;
|
|
20
|
-
selectCredit: any;
|
|
21
|
-
onPayChange: (e: any) => void;
|
|
22
|
-
contractPmode: any;
|
|
23
|
-
setPayVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
24
|
-
payVisible: boolean;
|
|
25
|
-
payList: {
|
|
26
|
-
ptfpmodeType: string;
|
|
27
|
-
ptfpmodeName: string;
|
|
28
|
-
}[];
|
|
29
|
-
payName: string;
|
|
30
|
-
handleChooseImg: () => void;
|
|
31
|
-
contractEcurl: any;
|
|
32
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare const orderGoodValue: {
|
|
2
|
-
shoppingGoodsId: string;
|
|
3
|
-
goodsNum: number;
|
|
4
|
-
skuId: string;
|
|
5
|
-
refreshNum: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const goodListIntialValue: {
|
|
8
|
-
dataPic: string;
|
|
9
|
-
goodsName: string;
|
|
10
|
-
goodsCamount: number;
|
|
11
|
-
skuName: string;
|
|
12
|
-
pricesetNprice: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const initialValueOrder: {
|
|
15
|
-
contractSettlOpno: number;
|
|
16
|
-
upmMap: {};
|
|
17
|
-
pricesetRefrice: number;
|
|
18
|
-
rebMoney: number;
|
|
19
|
-
goodsCamount: number;
|
|
20
|
-
shoppingCountPrice: number;
|
|
21
|
-
totalDiscountPrice: number;
|
|
22
|
-
accountsSumPrice: number;
|
|
23
|
-
discount: number;
|
|
24
|
-
freight: number;
|
|
25
|
-
comDisMoney: number;
|
|
26
|
-
copyComDisMoney: number;
|
|
27
|
-
shoppingType: string;
|
|
28
|
-
promotionCode: string;
|
|
29
|
-
promotionCodes: string;
|
|
30
|
-
};
|
|
31
|
-
export declare const useOrderGood: ({ shoppingGoodsId, goodsNum, skuId }: Partial<typeof orderGoodValue>) => {
|
|
32
|
-
amount: number;
|
|
33
|
-
list: any[];
|
|
34
|
-
shoppingGoodsList: any[];
|
|
35
|
-
payState: {
|
|
36
|
-
contractSettlOpno: number;
|
|
37
|
-
upmMap: {};
|
|
38
|
-
pricesetRefrice: number;
|
|
39
|
-
rebMoney: number;
|
|
40
|
-
goodsCamount: number;
|
|
41
|
-
shoppingCountPrice: number;
|
|
42
|
-
totalDiscountPrice: number;
|
|
43
|
-
accountsSumPrice: number;
|
|
44
|
-
discount: number;
|
|
45
|
-
freight: number;
|
|
46
|
-
comDisMoney: number;
|
|
47
|
-
copyComDisMoney: number;
|
|
48
|
-
shoppingType: string;
|
|
49
|
-
promotionCode: string;
|
|
50
|
-
promotionCodes: string;
|
|
51
|
-
}[];
|
|
52
|
-
ocContractSettlList: import("react").MutableRefObject<any[]>;
|
|
53
|
-
disCount: any;
|
|
54
|
-
payPrice: number;
|
|
55
|
-
creditMoney: number;
|
|
56
|
-
orderStoreInfo: any;
|
|
57
|
-
freight: any;
|
|
58
|
-
rebMoney: import("react").MutableRefObject<number>;
|
|
59
|
-
pointsDeduction: number;
|
|
60
|
-
urDiscount: number;
|
|
61
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { initialValueOrder } from './useOrderGood';
|
|
2
|
-
export declare function useOrderInfo(payState: Array<typeof initialValueOrder>): {
|
|
3
|
-
shoppingCountPrice: number;
|
|
4
|
-
comDisMoney: number;
|
|
5
|
-
shoppingType: string;
|
|
6
|
-
pricesetRefrice: number;
|
|
7
|
-
changeContent: (e: any) => void;
|
|
8
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { goodListIntialValue, initialValueOrder } from './useOrderGood';
|
|
2
|
-
export declare function useOrderPay({ ocContractSettlList, payState, list }: {
|
|
3
|
-
payState: Array<typeof initialValueOrder>;
|
|
4
|
-
list: Array<typeof goodListIntialValue>;
|
|
5
|
-
ocContractSettlList: {
|
|
6
|
-
current: Array<any>;
|
|
7
|
-
};
|
|
8
|
-
}, shoppingGoodsId: string | undefined, needPayPrice: Number): {
|
|
9
|
-
savePayPrice: () => Promise<void>;
|
|
10
|
-
loading: boolean;
|
|
11
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const pickupAddressInitial: {
|
|
2
|
-
provinceName: string;
|
|
3
|
-
cityName: string;
|
|
4
|
-
areaName: string;
|
|
5
|
-
addressDetail: string;
|
|
6
|
-
addressMember: string;
|
|
7
|
-
addressPhone: string;
|
|
8
|
-
userinfoOcode: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function useOrderPickupAddress(refreshNum: string): {
|
|
11
|
-
provinceName: string;
|
|
12
|
-
cityName: string;
|
|
13
|
-
areaName: string;
|
|
14
|
-
addressDetail: string;
|
|
15
|
-
addressMember: string;
|
|
16
|
-
addressPhone: string;
|
|
17
|
-
userinfoOcode: string;
|
|
18
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
interface PaymentOrderType {
|
|
2
|
-
skuId?: string;
|
|
3
|
-
goodsNum?: number;
|
|
4
|
-
shoppingGoodsId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const goodListMock: {
|
|
7
|
-
dataPic: string;
|
|
8
|
-
goodsName: string;
|
|
9
|
-
goodsCamount: number;
|
|
10
|
-
skuName: string;
|
|
11
|
-
pricesetNprice: number;
|
|
12
|
-
};
|
|
13
|
-
export declare function usePlaceOrder({ skuId, goodsNum, shoppingGoodsId }: PaymentOrderType, refreshNum: number, aId: String): {
|
|
14
|
-
savePayPrice: () => void;
|
|
15
|
-
address: {
|
|
16
|
-
provinceName: string;
|
|
17
|
-
cityName: string;
|
|
18
|
-
areaName: string;
|
|
19
|
-
addressDetail: string;
|
|
20
|
-
addressMember: string;
|
|
21
|
-
addressPhone: string;
|
|
22
|
-
addressDefault: string;
|
|
23
|
-
};
|
|
24
|
-
list: import("react").MutableRefObject<{
|
|
25
|
-
dataPic: string;
|
|
26
|
-
goodsName: string;
|
|
27
|
-
goodsCamount: number;
|
|
28
|
-
skuName: string;
|
|
29
|
-
pricesetNprice: number;
|
|
30
|
-
}[]>;
|
|
31
|
-
payState: import("react").MutableRefObject<{
|
|
32
|
-
contractSettlOpno: number;
|
|
33
|
-
promotionCodes: null;
|
|
34
|
-
shoppingCountPrice: number;
|
|
35
|
-
totalDiscountPrice: number;
|
|
36
|
-
accountsSumPrice: number;
|
|
37
|
-
discount: number;
|
|
38
|
-
freight: number;
|
|
39
|
-
comDisMoney: number;
|
|
40
|
-
copyComDisMoney: number;
|
|
41
|
-
}>;
|
|
42
|
-
coupon: never[];
|
|
43
|
-
confirm: (couponItem: any) => void;
|
|
44
|
-
amount: number;
|
|
45
|
-
};
|
|
46
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const initalOrderValue: {
|
|
2
|
-
contractSettlBlance: string;
|
|
3
|
-
contractEcurl: string;
|
|
4
|
-
packageRemark: string;
|
|
5
|
-
contractPmode: string;
|
|
6
|
-
contractSettlGmoney: number;
|
|
7
|
-
contractSettlPmoney: number;
|
|
8
|
-
contractSettlOpno: string;
|
|
9
|
-
contractSettlOpemo: string;
|
|
10
|
-
freight: number;
|
|
11
|
-
crp: {};
|
|
12
|
-
_rechargeSmoney: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const orderStore: {
|
|
15
|
-
getState: () => Partial<{
|
|
16
|
-
contractSettlBlance: string;
|
|
17
|
-
contractEcurl: string;
|
|
18
|
-
packageRemark: string;
|
|
19
|
-
contractPmode: string;
|
|
20
|
-
contractSettlGmoney: number;
|
|
21
|
-
contractSettlPmoney: number;
|
|
22
|
-
contractSettlOpno: string;
|
|
23
|
-
contractSettlOpemo: string;
|
|
24
|
-
freight: number;
|
|
25
|
-
crp: {};
|
|
26
|
-
_rechargeSmoney: number;
|
|
27
|
-
}>;
|
|
28
|
-
setState: (newState: Partial<{
|
|
29
|
-
contractSettlBlance: string;
|
|
30
|
-
contractEcurl: string;
|
|
31
|
-
packageRemark: string;
|
|
32
|
-
contractPmode: string;
|
|
33
|
-
contractSettlGmoney: number;
|
|
34
|
-
contractSettlPmoney: number;
|
|
35
|
-
contractSettlOpno: string;
|
|
36
|
-
contractSettlOpemo: string;
|
|
37
|
-
freight: number;
|
|
38
|
-
crp: {};
|
|
39
|
-
_rechargeSmoney: number;
|
|
40
|
-
}>) => void;
|
|
41
|
-
subscribe: (listener: any) => () => boolean;
|
|
42
|
-
};
|
|
43
|
-
export declare function useSyncOrderStore(selector?: (state: any) => any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useOrderResult';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useSigninDetail';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
export interface SigninDetailItem {
|
|
3
|
-
date: string;
|
|
4
|
-
points: number;
|
|
5
|
-
}
|
|
6
|
-
export declare const useSigninDetail: (selectedDate: dayjs.Dayjs) => {
|
|
7
|
-
signinDetails: SigninDetailItem[];
|
|
8
|
-
loading: boolean;
|
|
9
|
-
refresh: () => Promise<void>;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatTime: (time: number, info?: string) => string;
|
package/dist/utils/index.d.ts
DELETED
package/dist/utils/payment.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { updateShoppingGoodsNum, // 更新购物车数量
|
|
2
|
-
queryShoppingToContract, // 购物车到订单
|
|
3
|
-
saveContract, // 增加订单服务
|
|
4
|
-
syncContractState, // 查询订单是否创建成功 (单条)
|
|
5
|
-
syncContractBatchState, saveOrderToPay, // 获取支付方式
|
|
6
|
-
paymentCommit, // 开始支付
|
|
7
|
-
syncContractPayState, // 查看商品是否支付成功
|
|
8
|
-
calculateFreightFare, // 计算运费
|
|
9
|
-
getFalgSettingForPaydate, // 普通商品查询自动取消订单时间
|
|
10
|
-
queryAddressBymerberCode } from 'qj-b2c-api';
|
|
11
|
-
export declare const getRadioValue: (e: any) => any;
|
|
12
|
-
export declare const checkSkuSpec: (spec: Array<string>, goodsCode: string) => Promise<any>;
|
|
13
|
-
export declare const addCardSku: (skuId: string, count: number) => Promise<any>;
|
|
14
|
-
export declare const queryToContractImpl: (skuId?: string, goodsNum?: number | string) => Promise<any>;
|
|
15
|
-
export declare const getTotalDiscountPriceImpl: (payloadNext: any, isCache?: boolean) => Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const showToast: (title: string, icon?: string, duration?: number) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useImmutableCallback(callback: Function): (...args: Array<any>) => any;
|