qj-b2c-store 1.6.92 → 1.6.96
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/context/index.d.ts +6 -0
- package/dist/core/external.d.ts +5 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/makeStore.d.ts +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/store/account/hooks/index.d.ts +1 -0
- package/dist/store/account/hooks/useAgreement.d.ts +1 -0
- package/dist/store/account/hooks/useMySetting.d.ts +4 -0
- package/dist/store/account/index.d.ts +1 -0
- package/dist/store/addressDetail/hooks/index.d.ts +1 -0
- package/dist/store/addressDetail/hooks/useAddAddress.d.ts +3 -0
- package/dist/store/addressDetail/index.d.ts +1 -0
- package/dist/store/addressList/hooks/index.d.ts +2 -0
- package/dist/store/addressList/hooks/useAddressItem.d.ts +3 -0
- package/dist/store/addressList/hooks/useAddressList.d.ts +8 -0
- package/dist/store/addressList/index.d.ts +1 -0
- package/dist/store/afterSales/hooks/afterSalesConfig.d.ts +4 -0
- package/dist/store/afterSales/hooks/index.d.ts +5 -0
- package/dist/store/afterSales/hooks/useAfterSalesApply.d.ts +23 -0
- package/dist/store/afterSales/hooks/useAfterSalesChooseType.d.ts +16 -0
- package/dist/store/afterSales/hooks/useAfterSalesDetail.d.ts +17 -0
- package/dist/store/afterSales/hooks/useAfterSalesList.d.ts +8 -0
- package/dist/store/afterSales/index.d.ts +1 -0
- package/dist/store/articleDetail/hooks/index.d.ts +1 -0
- package/dist/store/articleDetail/hooks/useArticleDetail.d.ts +8 -0
- package/dist/store/articleDetail/index.d.ts +1 -0
- package/dist/store/cart/hooks/index.d.ts +2 -0
- package/dist/store/cart/hooks/useCartItem.d.ts +10 -0
- package/dist/store/cart/hooks/useCartList.d.ts +19 -0
- package/dist/store/cart/index.d.ts +2 -0
- package/dist/store/cart/store/index.d.ts +10 -0
- package/dist/store/cart-next/hooks/index.d.ts +3 -0
- package/dist/store/cart-next/hooks/useCartListNext.d.ts +13 -0
- package/dist/store/cart-next/hooks/useCartOperate.d.ts +13 -0
- package/dist/store/cart-next/hooks/useCartTop.d.ts +4 -0
- package/dist/store/cart-next/index.d.ts +1 -0
- package/dist/store/collectionList/hooks/index.d.ts +1 -0
- package/dist/store/collectionList/hooks/useCollectionList.d.ts +26 -0
- package/dist/store/collectionList/index.d.ts +1 -0
- package/dist/store/coupon/hooks/index.d.ts +1 -0
- package/dist/store/coupon/hooks/useAllCoupon.d.ts +11 -0
- package/dist/store/coupon/index.d.ts +1 -0
- package/dist/store/couponList/hooks/index.d.ts +4 -0
- package/dist/store/couponList/hooks/useCouponList.d.ts +26 -0
- package/dist/store/couponList/hooks/useOverdue.d.ts +5 -0
- package/dist/store/couponList/hooks/useUnused.d.ts +5 -0
- package/dist/store/couponList/hooks/useUsed.d.ts +5 -0
- package/dist/store/couponList/index.d.ts +1 -0
- package/dist/store/cube/hooks/index.d.ts +6 -0
- package/dist/store/cube/index.d.ts +1 -0
- package/dist/store/evaluateDetail/hooks/index.d.ts +1 -0
- package/dist/store/evaluateDetail/hooks/useEvaluateDetail.d.ts +6 -0
- package/dist/store/evaluateDetail/index.d.ts +1 -0
- package/dist/store/evaluateViewDetail/hooks/index.d.ts +1 -0
- package/dist/store/evaluateViewDetail/hooks/useEvaluateViewDetail.d.ts +4 -0
- package/dist/store/evaluateViewDetail/index.d.ts +1 -0
- package/dist/store/expressInfo/hooks/index.d.ts +1 -0
- package/dist/store/expressInfo/hooks/useExpressInfo.d.ts +14 -0
- package/dist/store/expressInfo/index.d.ts +1 -0
- package/dist/store/footprint/hooks/index.d.ts +1 -0
- package/dist/store/footprint/hooks/useFootprint.d.ts +26 -0
- package/dist/store/footprint/index.d.ts +1 -0
- package/dist/store/goTop/hooks/index.d.ts +1 -0
- package/dist/store/goTop/hooks/useGoTop.d.ts +3 -0
- package/dist/store/goTop/index.d.ts +1 -0
- package/dist/store/goods/hooks/index.d.ts +1 -0
- package/dist/store/goods/hooks/useGoods.d.ts +8 -0
- package/dist/store/goods/index.d.ts +1 -0
- package/dist/store/goodsClassify/hooks/index.d.ts +1 -0
- package/dist/store/goodsClassify/hooks/useGoodsClassify.d.ts +6 -0
- package/dist/store/goodsClassify/index.d.ts +1 -0
- package/dist/store/goodsDetail/hooks/index.d.ts +13 -0
- package/dist/store/goodsDetail/hooks/useAddCoupon.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/useAddShopping.d.ts +9 -0
- package/dist/store/goodsDetail/hooks/useBanner.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/useCoupon.d.ts +39 -0
- package/dist/store/goodsDetail/hooks/useEvaluate.d.ts +1 -0
- package/dist/store/goodsDetail/hooks/useFootprint.d.ts +1 -0
- package/dist/store/goodsDetail/hooks/useGoodCollection.d.ts +12 -0
- package/dist/store/goodsDetail/hooks/useGoodDetail.d.ts +40 -0
- package/dist/store/goodsDetail/hooks/useGoodSku.d.ts +9 -0
- package/dist/store/goodsDetail/hooks/useGoodSpecAndPrice.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/useGoodsShare.d.ts +3 -0
- package/dist/store/goodsDetail/hooks/usePoster.d.ts +4 -0
- package/dist/store/goodsDetail/hooks/usePromotion.d.ts +1 -0
- package/dist/store/goodsDetail/index.d.ts +3 -0
- package/dist/store/goodsDetail/store/index.d.ts +24 -0
- package/dist/store/goodsDetail/utils/index.d.ts +27 -0
- package/dist/store/goodsList/hooks/index.d.ts +1 -0
- package/dist/store/goodsList/hooks/useGoodsList.d.ts +17 -0
- package/dist/store/goodsList/index.d.ts +1 -0
- package/dist/store/index.d.ts +32 -0
- package/dist/store/marketing/hooks/index.d.ts +1 -0
- package/dist/store/marketing/hooks/useMarketingPromotion.d.ts +6 -0
- package/dist/store/marketing/index.d.ts +1 -0
- package/dist/store/memberSignin/hooks/index.d.ts +1 -0
- package/dist/store/memberSignin/hooks/useMemberSignin.d.ts +8 -0
- package/dist/store/memberSignin/index.d.ts +1 -0
- package/dist/store/notice/index.d.ts +4 -0
- package/dist/store/noticeDetail/hooks/index.d.ts +4 -0
- package/dist/store/noticeDetail/index.d.ts +1 -0
- package/dist/store/order/constant/index.d.ts +3 -0
- package/dist/store/order/hooks/config.d.ts +8 -0
- package/dist/store/order/hooks/index.d.ts +3 -0
- package/dist/store/order/hooks/useOrderList.d.ts +40 -0
- package/dist/store/order/hooks/useOrderOperate.d.ts +4 -0
- package/dist/store/order/index.d.ts +1 -0
- package/dist/store/orderDetail/hooks/index.d.ts +1 -0
- package/dist/store/orderDetail/hooks/useOrderDetail.d.ts +33 -0
- package/dist/store/orderDetail/index.d.ts +1 -0
- package/dist/store/paymentMode/hooks/index.d.ts +1 -0
- package/dist/store/paymentMode/hooks/useOrderResult.d.ts +15 -0
- package/dist/store/paymentMode/index.d.ts +1 -0
- package/dist/store/pickupPointList/hooks/index.d.ts +2 -0
- package/dist/store/pickupPointList/hooks/usePickupPointItem.d.ts +3 -0
- package/dist/store/pickupPointList/hooks/usePickupPointList.d.ts +7 -0
- package/dist/store/pickupPointList/index.d.ts +1 -0
- package/dist/store/placeOrder/hooks/index.d.ts +8 -0
- package/dist/store/placeOrder/hooks/useOrderAddress.d.ts +24 -0
- package/dist/store/placeOrder/hooks/useOrderCoupon.d.ts +35 -0
- package/dist/store/placeOrder/hooks/useOrderGood.d.ts +66 -0
- package/dist/store/placeOrder/hooks/useOrderInfo.d.ts +8 -0
- package/dist/store/placeOrder/hooks/useOrderPay.d.ts +12 -0
- package/dist/store/placeOrder/hooks/useOrderPickupAddress.d.ts +18 -0
- package/dist/store/placeOrder/hooks/usePayMode.d.ts +6 -0
- package/dist/store/placeOrder/hooks/usePlaceOrder.d.ts +49 -0
- package/dist/store/placeOrder/index.d.ts +2 -0
- package/dist/store/placeOrder/instore/index.d.ts +46 -0
- package/dist/store/placeOrderResult/hooks/index.d.ts +1 -0
- package/dist/store/placeOrderResult/hooks/useOrderResult.d.ts +4 -0
- package/dist/store/placeOrderResult/index.d.ts +1 -0
- package/dist/store/signinDetail/hooks/index.d.ts +1 -0
- package/dist/store/signinDetail/hooks/useSigninDetail.d.ts +10 -0
- package/dist/store/signinDetail/index.d.ts +1 -0
- package/dist/utils/formatTime.d.ts +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/localData.d.ts +5 -0
- package/dist/utils/navigator.d.ts +11 -0
- package/dist/utils/payment.d.ts +15 -0
- package/dist/utils/routerMap/index.d.ts +11 -0
- package/dist/utils/showToast.d.ts +1 -0
- package/dist/utils/useImmutableCallback.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useOrderDetail';
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
contractType: string;
|
|
10
|
+
creditMoney: number;
|
|
11
|
+
contractEcurl: string;
|
|
12
|
+
dataState: string;
|
|
13
|
+
goodsLogmoney: number;
|
|
14
|
+
packageRemark: string;
|
|
15
|
+
goodsReceiptMem: string;
|
|
16
|
+
goodsReceiptPhone: string;
|
|
17
|
+
goodsReceiptArrdess: string;
|
|
18
|
+
dataBmoney: number;
|
|
19
|
+
goodsPmoney: number;
|
|
20
|
+
contractInmoney: number;
|
|
21
|
+
contractBillcode: string;
|
|
22
|
+
refundMoney: number;
|
|
23
|
+
gmtCreate: string;
|
|
24
|
+
goodsNum: number;
|
|
25
|
+
contractId: number;
|
|
26
|
+
contractPumode: string;
|
|
27
|
+
};
|
|
28
|
+
status: string;
|
|
29
|
+
handleApplyBtn: (item: itemType, dataState: number | string) => Promise<void>;
|
|
30
|
+
creditMoney: number;
|
|
31
|
+
packageRemark: string;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useOrderResult';
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1,8 @@
|
|
|
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';
|
|
@@ -0,0 +1,24 @@
|
|
|
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, longContractgoodsBeanStr?: 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
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const useOrderCoupon: (shoppingGoodsList: Array<any> | undefined, couponType: boolean) => {
|
|
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
|
+
confirmImpl: () => void;
|
|
33
|
+
couponValue: any[];
|
|
34
|
+
resetImpl: () => void;
|
|
35
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const orderGoodValue: {
|
|
2
|
+
shoppingGoodsId: string;
|
|
3
|
+
goodsNum: number;
|
|
4
|
+
skuId: string;
|
|
5
|
+
refreshNum: number;
|
|
6
|
+
goodsBeanStr: string;
|
|
7
|
+
longContractgoodsBeanStr: string;
|
|
8
|
+
scontractCode: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const goodListIntialValue: {
|
|
11
|
+
dataPic: string;
|
|
12
|
+
goodsName: string;
|
|
13
|
+
goodsCamount: number;
|
|
14
|
+
skuName: string;
|
|
15
|
+
pricesetNprice: number;
|
|
16
|
+
};
|
|
17
|
+
export declare const initialValueOrder: {
|
|
18
|
+
contractSettlOpno: number;
|
|
19
|
+
upmMap: {};
|
|
20
|
+
cop: never[];
|
|
21
|
+
pricesetRefrice: number;
|
|
22
|
+
rebMoney: number;
|
|
23
|
+
goodsCamount: number;
|
|
24
|
+
shoppingCountPrice: number;
|
|
25
|
+
totalDiscountPrice: number;
|
|
26
|
+
accountsSumPrice: number;
|
|
27
|
+
discount: number;
|
|
28
|
+
freight: number;
|
|
29
|
+
comDisMoney: number;
|
|
30
|
+
copyComDisMoney: number;
|
|
31
|
+
shoppingType: string;
|
|
32
|
+
promotionCode: string;
|
|
33
|
+
promotionCodes: string;
|
|
34
|
+
};
|
|
35
|
+
export declare const useOrderGood: ({ shoppingGoodsId, goodsNum, skuId, goodsBeanStr, longContractgoodsBeanStr, scontractCode }: Partial<typeof orderGoodValue>) => {
|
|
36
|
+
amount: number;
|
|
37
|
+
list: any[];
|
|
38
|
+
shoppingGoodsList: any[];
|
|
39
|
+
payState: {
|
|
40
|
+
contractSettlOpno: number;
|
|
41
|
+
upmMap: {};
|
|
42
|
+
cop: never[];
|
|
43
|
+
pricesetRefrice: number;
|
|
44
|
+
rebMoney: number;
|
|
45
|
+
goodsCamount: number;
|
|
46
|
+
shoppingCountPrice: number;
|
|
47
|
+
totalDiscountPrice: number;
|
|
48
|
+
accountsSumPrice: number;
|
|
49
|
+
discount: number;
|
|
50
|
+
freight: number;
|
|
51
|
+
comDisMoney: number;
|
|
52
|
+
copyComDisMoney: number;
|
|
53
|
+
shoppingType: string;
|
|
54
|
+
promotionCode: string;
|
|
55
|
+
promotionCodes: string;
|
|
56
|
+
}[];
|
|
57
|
+
ocContractSettlList: import("react").MutableRefObject<any[]>;
|
|
58
|
+
disCount: number;
|
|
59
|
+
payPrice: any;
|
|
60
|
+
creditMoney: number;
|
|
61
|
+
orderStoreInfo: any;
|
|
62
|
+
freight: any;
|
|
63
|
+
rebMoney: import("react").MutableRefObject<number>;
|
|
64
|
+
pointsDeduction: number;
|
|
65
|
+
urDiscount: number;
|
|
66
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { goodListIntialValue, initialValueOrder } from './useOrderGood';
|
|
2
|
+
export declare function useOrderPay({ ocContractSettlList, payState, goodsBeanStr, list }: {
|
|
3
|
+
payState: Array<typeof initialValueOrder>;
|
|
4
|
+
goodsBeanStr: any;
|
|
5
|
+
list: Array<typeof goodListIntialValue>;
|
|
6
|
+
ocContractSettlList: {
|
|
7
|
+
current: Array<any>;
|
|
8
|
+
};
|
|
9
|
+
}, shoppingGoodsId: string | undefined, needPayPrice: Number, goodsType?: string): {
|
|
10
|
+
savePayPrice: () => Promise<void>;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
interface PaymentOrderType {
|
|
2
|
+
skuId?: string;
|
|
3
|
+
goodsNum?: number;
|
|
4
|
+
shoppingGoodsId?: string;
|
|
5
|
+
goodsBeanStr?: string;
|
|
6
|
+
longContractgoodsBeanStr?: string;
|
|
7
|
+
scontractCode?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const goodListMock: {
|
|
10
|
+
dataPic: string;
|
|
11
|
+
goodsName: string;
|
|
12
|
+
goodsCamount: number;
|
|
13
|
+
skuName: string;
|
|
14
|
+
pricesetNprice: number;
|
|
15
|
+
};
|
|
16
|
+
export declare function usePlaceOrder({ skuId, goodsBeanStr, goodsNum, shoppingGoodsId, longContractgoodsBeanStr, scontractCode }: PaymentOrderType, refreshNum: number, aId: String): {
|
|
17
|
+
savePayPrice: () => void;
|
|
18
|
+
address: {
|
|
19
|
+
provinceName: string;
|
|
20
|
+
cityName: string;
|
|
21
|
+
areaName: string;
|
|
22
|
+
addressDetail: string;
|
|
23
|
+
addressMember: string;
|
|
24
|
+
addressPhone: string;
|
|
25
|
+
addressDefault: string;
|
|
26
|
+
};
|
|
27
|
+
list: import("react").MutableRefObject<{
|
|
28
|
+
dataPic: string;
|
|
29
|
+
goodsName: string;
|
|
30
|
+
goodsCamount: number;
|
|
31
|
+
skuName: string;
|
|
32
|
+
pricesetNprice: number;
|
|
33
|
+
}[]>;
|
|
34
|
+
payState: import("react").MutableRefObject<{
|
|
35
|
+
contractSettlOpno: number;
|
|
36
|
+
promotionCodes: null;
|
|
37
|
+
shoppingCountPrice: number;
|
|
38
|
+
totalDiscountPrice: number;
|
|
39
|
+
accountsSumPrice: number;
|
|
40
|
+
discount: number;
|
|
41
|
+
freight: number;
|
|
42
|
+
comDisMoney: number;
|
|
43
|
+
copyComDisMoney: number;
|
|
44
|
+
}>;
|
|
45
|
+
coupon: never[];
|
|
46
|
+
confirm: (couponItem: any) => void;
|
|
47
|
+
amount: number;
|
|
48
|
+
};
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
cop: never[];
|
|
14
|
+
};
|
|
15
|
+
export declare const orderStore: {
|
|
16
|
+
getState: () => Partial<{
|
|
17
|
+
contractSettlBlance: string;
|
|
18
|
+
contractEcurl: string;
|
|
19
|
+
packageRemark: string;
|
|
20
|
+
contractPmode: string;
|
|
21
|
+
contractSettlGmoney: number;
|
|
22
|
+
contractSettlPmoney: number;
|
|
23
|
+
contractSettlOpno: string;
|
|
24
|
+
contractSettlOpemo: string;
|
|
25
|
+
freight: number;
|
|
26
|
+
crp: {};
|
|
27
|
+
_rechargeSmoney: number;
|
|
28
|
+
cop: never[];
|
|
29
|
+
}>;
|
|
30
|
+
setState: (newState: Partial<{
|
|
31
|
+
contractSettlBlance: string;
|
|
32
|
+
contractEcurl: string;
|
|
33
|
+
packageRemark: string;
|
|
34
|
+
contractPmode: string;
|
|
35
|
+
contractSettlGmoney: number;
|
|
36
|
+
contractSettlPmoney: number;
|
|
37
|
+
contractSettlOpno: string;
|
|
38
|
+
contractSettlOpemo: string;
|
|
39
|
+
freight: number;
|
|
40
|
+
crp: {};
|
|
41
|
+
_rechargeSmoney: number;
|
|
42
|
+
cop: never[];
|
|
43
|
+
}>) => void;
|
|
44
|
+
subscribe: (listener: any) => () => boolean;
|
|
45
|
+
};
|
|
46
|
+
export declare function useSyncOrderStore(selector?: (state: any) => any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useOrderResult';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useSigninDetail';
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hooks';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatTime: (time: number, info?: string) => string;
|
|
@@ -0,0 +1,15 @@
|
|
|
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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const showToast: (title: string, icon?: string, duration?: number) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useImmutableCallback(callback: Function): (...args: Array<any>) => any;
|