@kmkf-fe-packages/services-components 2.2.13-rc.1 → 2.2.13
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/README.md +1 -1
- package/dist/esm/Hooks/useColumnsConfig.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +2 -3
- package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.js +12 -13
- package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.js +9 -10
- package/dist/esm/components/BS/BsLogistics/index.js +7 -16
- package/dist/esm/components/BS/BsSystemOrder/index.js +2 -3
- package/dist/esm/components/BS/common/expressCode.js +2 -4
- package/dist/esm/components/BS/common/expressCompany.js +0 -3
- package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +2 -4
- package/dist/esm/components/Common/index.js +3 -5
- package/dist/esm/components/CommonHeaderGood/index.js +4 -214
- package/dist/esm/components/JST/JstSendGood/index.js +1 -9
- package/dist/esm/components/KmErpSendGood/index.js +1 -1
- package/dist/esm/components/MsgStatus/index.js +1 -6
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentAmount.js +4 -0
- package/dist/esm/components/Public/Goods/index.d.ts +0 -3
- package/dist/esm/components/Public/Goods/index.js +0 -3
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +0 -4
- package/dist/esm/service/api.d.ts +0 -1
- package/dist/esm/service/api.js +0 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import LogisticsInterception from "../components/LogisticsInterception";
|
|
2
2
|
import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
|
|
3
|
-
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/
|
|
3
|
+
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/AfterSalesOrderId").default | import("../components/BS/BsGoods").default | import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/BuyerNick").default | import("../components/Checkbox").default | import("../components/CommonMultiStatus").default | import("../components/CommonSystemOrder").default | import("../components/EItemEnCode").default | import("../components/TradeId").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/ShopName").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/GY/GyGoods").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default;
|
|
4
4
|
export declare const useColumnsConfig: ({ queryWorkOrderDetail, flatTemplateList, shopList, sortState, onChangeSort, handleReset, handleSubmit, handleChangeSingleWorkOrderMark, userList, tbAppKey, isShare, openSingleColumnsFilter, openSingleColumnsSort, }: {
|
|
5
5
|
queryWorkOrderDetail?: ((p: any) => void) | undefined;
|
|
6
6
|
flatTemplateList?: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare type HasErpDataKeyType = "hasWln" | "hasWdt" | "hasBs" | "hasE3" | "hasJst" | "hasGy"
|
|
1
|
+
declare type HasErpDataKeyType = "hasWln" | "hasWdt" | "hasBs" | "hasE3" | "hasJst" | "hasGy";
|
|
2
2
|
declare function useGetHasErpData(reduxData: any): Record<HasErpDataKeyType, boolean>;
|
|
3
3
|
export default useGetHasErpData;
|
|
@@ -6,15 +6,14 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { useEffect, useMemo, useState } from "react";
|
|
8
8
|
var getTemplate = function getTemplate(companyUserConfig) {
|
|
9
|
-
var _companyUserConfig$pl, _companyUserConfig$pl2, _companyUserConfig$pl3, _companyUserConfig$pl4, _companyUserConfig$pl5, _companyUserConfig$pl6, _companyUserConfig$pl7, _companyUserConfig$pl8, _companyUserConfig$pl9, _companyUserConfig$pl10, _companyUserConfig$pl11, _companyUserConfig$pl12, _companyUserConfig$pl13, _companyUserConfig$pl14, _companyUserConfig$pl15, _companyUserConfig$pl16, _companyUserConfig$pl17, _companyUserConfig$pl18
|
|
9
|
+
var _companyUserConfig$pl, _companyUserConfig$pl2, _companyUserConfig$pl3, _companyUserConfig$pl4, _companyUserConfig$pl5, _companyUserConfig$pl6, _companyUserConfig$pl7, _companyUserConfig$pl8, _companyUserConfig$pl9, _companyUserConfig$pl10, _companyUserConfig$pl11, _companyUserConfig$pl12, _companyUserConfig$pl13, _companyUserConfig$pl14, _companyUserConfig$pl15, _companyUserConfig$pl16, _companyUserConfig$pl17, _companyUserConfig$pl18;
|
|
10
10
|
return JSON.stringify({
|
|
11
11
|
hasWln: (_companyUserConfig$pl = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl2 = companyUserConfig.plugins) === null || _companyUserConfig$pl2 === void 0 ? void 0 : (_companyUserConfig$pl3 = _companyUserConfig$pl2.wln) === null || _companyUserConfig$pl3 === void 0 ? void 0 : _companyUserConfig$pl3.show) !== null && _companyUserConfig$pl !== void 0 ? _companyUserConfig$pl : false,
|
|
12
12
|
hasWdt: (_companyUserConfig$pl4 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl5 = companyUserConfig.plugins) === null || _companyUserConfig$pl5 === void 0 ? void 0 : (_companyUserConfig$pl6 = _companyUserConfig$pl5.wdt) === null || _companyUserConfig$pl6 === void 0 ? void 0 : _companyUserConfig$pl6.show) !== null && _companyUserConfig$pl4 !== void 0 ? _companyUserConfig$pl4 : false,
|
|
13
13
|
hasBs: (_companyUserConfig$pl7 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl8 = companyUserConfig.plugins) === null || _companyUserConfig$pl8 === void 0 ? void 0 : (_companyUserConfig$pl9 = _companyUserConfig$pl8.bs) === null || _companyUserConfig$pl9 === void 0 ? void 0 : _companyUserConfig$pl9.show) !== null && _companyUserConfig$pl7 !== void 0 ? _companyUserConfig$pl7 : false,
|
|
14
14
|
hasE3: (_companyUserConfig$pl10 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl11 = companyUserConfig.plugins) === null || _companyUserConfig$pl11 === void 0 ? void 0 : (_companyUserConfig$pl12 = _companyUserConfig$pl11.bse3) === null || _companyUserConfig$pl12 === void 0 ? void 0 : _companyUserConfig$pl12.show) !== null && _companyUserConfig$pl10 !== void 0 ? _companyUserConfig$pl10 : false,
|
|
15
15
|
hasJst: (_companyUserConfig$pl13 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl14 = companyUserConfig.plugins) === null || _companyUserConfig$pl14 === void 0 ? void 0 : (_companyUserConfig$pl15 = _companyUserConfig$pl14.jst) === null || _companyUserConfig$pl15 === void 0 ? void 0 : _companyUserConfig$pl15.show) !== null && _companyUserConfig$pl13 !== void 0 ? _companyUserConfig$pl13 : false,
|
|
16
|
-
hasGy: (_companyUserConfig$pl16 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl17 = companyUserConfig.plugins) === null || _companyUserConfig$pl17 === void 0 ? void 0 : (_companyUserConfig$pl18 = _companyUserConfig$pl17.gy) === null || _companyUserConfig$pl18 === void 0 ? void 0 : _companyUserConfig$pl18.show) !== null && _companyUserConfig$pl16 !== void 0 ? _companyUserConfig$pl16 : false
|
|
17
|
-
hasJy: (_companyUserConfig$pl19 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl20 = companyUserConfig.plugins) === null || _companyUserConfig$pl20 === void 0 ? void 0 : (_companyUserConfig$pl21 = _companyUserConfig$pl20.jy) === null || _companyUserConfig$pl21 === void 0 ? void 0 : _companyUserConfig$pl21.show) !== null && _companyUserConfig$pl19 !== void 0 ? _companyUserConfig$pl19 : false
|
|
16
|
+
hasGy: (_companyUserConfig$pl16 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl17 = companyUserConfig.plugins) === null || _companyUserConfig$pl17 === void 0 ? void 0 : (_companyUserConfig$pl18 = _companyUserConfig$pl17.gy) === null || _companyUserConfig$pl18 === void 0 ? void 0 : _companyUserConfig$pl18.show) !== null && _companyUserConfig$pl16 !== void 0 ? _companyUserConfig$pl16 : false
|
|
18
17
|
});
|
|
19
18
|
};
|
|
20
19
|
function useGetHasErpData(reduxData) {
|
|
@@ -10,7 +10,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
11
|
import { useEffect, useState } from "react";
|
|
12
12
|
import useGetHasErpData from "../hook/useGetHasErpData";
|
|
13
|
-
import { queryWdtLogisticsCompany, queryBsE3LogisticsCompany, queryJSTLogisticsCompany, queryWLNLogisticsCompany, queryGYLogisticsCompany
|
|
13
|
+
import { queryWdtLogisticsCompany, queryBsE3LogisticsCompany, queryJSTLogisticsCompany, queryWLNLogisticsCompany, queryGYLogisticsCompany } from "../../../service/api";
|
|
14
14
|
function useGetErpLogisticsCompany(reduxData, notJudgedErp) {
|
|
15
15
|
var _useState = useState("loading"),
|
|
16
16
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -22,39 +22,38 @@ function useGetErpLogisticsCompany(reduxData, notJudgedErp) {
|
|
|
22
22
|
}, [hasErpData, notJudgedErp]);
|
|
23
23
|
var asyncQueryData = /*#__PURE__*/function () {
|
|
24
24
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(hasErpData, notJudgedErp, isReload) {
|
|
25
|
-
var hasWdt, hasE3, hasJst, hasWln, hasGy,
|
|
25
|
+
var hasWdt, hasE3, hasJst, hasWln, hasGy, promises;
|
|
26
26
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
27
27
|
while (1) switch (_context.prev = _context.next) {
|
|
28
28
|
case 0:
|
|
29
29
|
if (!isReload) {
|
|
30
30
|
setGlobalState("loading");
|
|
31
31
|
}
|
|
32
|
-
hasWdt = hasErpData.hasWdt, hasE3 = hasErpData.hasE3, hasJst = hasErpData.hasJst, hasWln = hasErpData.hasWln, hasGy = hasErpData.hasGy
|
|
32
|
+
hasWdt = hasErpData.hasWdt, hasE3 = hasErpData.hasE3, hasJst = hasErpData.hasJst, hasWln = hasErpData.hasWln, hasGy = hasErpData.hasGy;
|
|
33
33
|
promises = [];
|
|
34
34
|
if (hasWdt || notJudgedErp) promises.push(queryWdtLogisticsCompany);
|
|
35
35
|
if (hasE3 || notJudgedErp) promises.push(queryBsE3LogisticsCompany);
|
|
36
36
|
if (hasJst || notJudgedErp) promises.push(queryJSTLogisticsCompany);
|
|
37
37
|
if (hasWln || notJudgedErp) promises.push(queryWLNLogisticsCompany);
|
|
38
38
|
if (hasGy || notJudgedErp) promises.push(queryGYLogisticsCompany);
|
|
39
|
-
|
|
40
|
-
_context.
|
|
41
|
-
_context.next = 12;
|
|
39
|
+
_context.prev = 8;
|
|
40
|
+
_context.next = 11;
|
|
42
41
|
return Promise.all(promises.map(function (promise) {
|
|
43
42
|
return promise();
|
|
44
43
|
}));
|
|
45
|
-
case
|
|
44
|
+
case 11:
|
|
46
45
|
setGlobalState("success");
|
|
47
|
-
_context.next =
|
|
46
|
+
_context.next = 17;
|
|
48
47
|
break;
|
|
49
|
-
case
|
|
50
|
-
_context.prev =
|
|
51
|
-
_context.t0 = _context["catch"](
|
|
48
|
+
case 14:
|
|
49
|
+
_context.prev = 14;
|
|
50
|
+
_context.t0 = _context["catch"](8);
|
|
52
51
|
setGlobalState("failed");
|
|
53
|
-
case
|
|
52
|
+
case 17:
|
|
54
53
|
case "end":
|
|
55
54
|
return _context.stop();
|
|
56
55
|
}
|
|
57
|
-
}, _callee, null, [[
|
|
56
|
+
}, _callee, null, [[8, 14]]);
|
|
58
57
|
}));
|
|
59
58
|
return function asyncQueryData(_x2, _x3, _x4) {
|
|
60
59
|
return _ref.apply(this, arguments);
|
|
@@ -23,7 +23,7 @@ function useGetErpSendData(reduxData, notJudgedErp) {
|
|
|
23
23
|
}, [hasErpData, notJudgedErp]);
|
|
24
24
|
var asyncQueryData = /*#__PURE__*/function () {
|
|
25
25
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(hasErpData, notJudgedErp, isReload) {
|
|
26
|
-
var hasWdt, hasGy, hasJst,
|
|
26
|
+
var hasWdt, hasGy, hasJst, promises;
|
|
27
27
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28
28
|
while (1) switch (_context.prev = _context.next) {
|
|
29
29
|
case 0:
|
|
@@ -31,29 +31,28 @@ function useGetErpSendData(reduxData, notJudgedErp) {
|
|
|
31
31
|
setGlobalState("loading");
|
|
32
32
|
}
|
|
33
33
|
_context.prev = 1;
|
|
34
|
-
hasWdt = hasErpData.hasWdt, hasGy = hasErpData.hasGy, hasJst = hasErpData.hasJst
|
|
34
|
+
hasWdt = hasErpData.hasWdt, hasGy = hasErpData.hasGy, hasJst = hasErpData.hasJst;
|
|
35
35
|
promises = [];
|
|
36
36
|
if (hasWdt || notJudgedErp) promises.push(SendDataCenter.getInstance("wdt").fetchData);
|
|
37
37
|
if (hasGy || notJudgedErp) promises.push(SendDataCenter.getInstance("gy").fetchData);
|
|
38
38
|
if (hasJst || notJudgedErp) promises.push(SendDataCenter.getInstance("jst").fetchData);
|
|
39
|
-
|
|
40
|
-
_context.next = 10;
|
|
39
|
+
_context.next = 9;
|
|
41
40
|
return Promise.all(promises.map(function (promise) {
|
|
42
41
|
return promise();
|
|
43
42
|
}));
|
|
44
|
-
case
|
|
43
|
+
case 9:
|
|
45
44
|
setGlobalState("success");
|
|
46
|
-
_context.next =
|
|
45
|
+
_context.next = 15;
|
|
47
46
|
break;
|
|
48
|
-
case
|
|
49
|
-
_context.prev =
|
|
47
|
+
case 12:
|
|
48
|
+
_context.prev = 12;
|
|
50
49
|
_context.t0 = _context["catch"](1);
|
|
51
50
|
setGlobalState("failed");
|
|
52
|
-
case
|
|
51
|
+
case 15:
|
|
53
52
|
case "end":
|
|
54
53
|
return _context.stop();
|
|
55
54
|
}
|
|
56
|
-
}, _callee, null, [[1,
|
|
55
|
+
}, _callee, null, [[1, 12]]);
|
|
57
56
|
}));
|
|
58
57
|
return function asyncQueryData(_x2, _x3, _x4) {
|
|
59
58
|
return _ref.apply(this, arguments);
|
|
@@ -25,7 +25,7 @@ var typeMap = {
|
|
|
25
25
|
company: "bsLogisticsCompany",
|
|
26
26
|
code: "bsLogisticsCode",
|
|
27
27
|
platformType: "default",
|
|
28
|
-
companyDataType: "
|
|
28
|
+
companyDataType: "string",
|
|
29
29
|
companyCodeType: "arrayObject"
|
|
30
30
|
},
|
|
31
31
|
BS_E3_LOGISTICS: {
|
|
@@ -34,7 +34,7 @@ var typeMap = {
|
|
|
34
34
|
company: "bsE3LogisticsCompany",
|
|
35
35
|
code: "bsE3LogisticsCode",
|
|
36
36
|
platformType: "bsE3",
|
|
37
|
-
companyDataType: "
|
|
37
|
+
companyDataType: "string",
|
|
38
38
|
companyCodeType: "arrayObject"
|
|
39
39
|
},
|
|
40
40
|
WLN_LOGISTICS: {
|
|
@@ -43,7 +43,7 @@ var typeMap = {
|
|
|
43
43
|
company: "wlnLogisticsCompany",
|
|
44
44
|
code: "wlnLogisticsCode",
|
|
45
45
|
platformType: "wln",
|
|
46
|
-
companyDataType: "
|
|
46
|
+
companyDataType: "string",
|
|
47
47
|
companyCodeType: "arrayObject"
|
|
48
48
|
},
|
|
49
49
|
WDT_LOGISTICS: {
|
|
@@ -52,7 +52,7 @@ var typeMap = {
|
|
|
52
52
|
company: "wdtLogisticsCompany",
|
|
53
53
|
code: "wdtLogisticsCode",
|
|
54
54
|
platformType: "wdt",
|
|
55
|
-
companyDataType: "
|
|
55
|
+
companyDataType: "string",
|
|
56
56
|
companyCodeType: "arrayObject"
|
|
57
57
|
},
|
|
58
58
|
JST_LOGISTICS: {
|
|
@@ -61,7 +61,7 @@ var typeMap = {
|
|
|
61
61
|
company: "logisticsCompany",
|
|
62
62
|
code: "logisticsCode",
|
|
63
63
|
platformType: "jst",
|
|
64
|
-
companyDataType: "
|
|
64
|
+
companyDataType: "string",
|
|
65
65
|
companyCodeType: "arrayObject"
|
|
66
66
|
},
|
|
67
67
|
KM_LOGISTICS: {
|
|
@@ -70,7 +70,7 @@ var typeMap = {
|
|
|
70
70
|
company: "kmLogisticsCompany",
|
|
71
71
|
code: "kmLogisticsCode",
|
|
72
72
|
platformType: "km",
|
|
73
|
-
companyDataType: "
|
|
73
|
+
companyDataType: "string",
|
|
74
74
|
companyCodeType: "arrayObject"
|
|
75
75
|
},
|
|
76
76
|
GY_LOGISTICS: {
|
|
@@ -79,16 +79,7 @@ var typeMap = {
|
|
|
79
79
|
company: "gyLogisticsCompany",
|
|
80
80
|
code: "gyLogisticsCode",
|
|
81
81
|
platformType: "gy",
|
|
82
|
-
companyDataType: "
|
|
83
|
-
companyCodeType: "arrayObject"
|
|
84
|
-
},
|
|
85
|
-
JY_LOGISTICS: {
|
|
86
|
-
key: "jyLogisticsList",
|
|
87
|
-
name: "巨益",
|
|
88
|
-
company: "jyLogisticsCompany",
|
|
89
|
-
code: "jyLogisticsCode",
|
|
90
|
-
platformType: "jy",
|
|
91
|
-
companyDataType: "arrayObject",
|
|
82
|
+
companyDataType: "string",
|
|
92
83
|
companyCodeType: "arrayObject"
|
|
93
84
|
},
|
|
94
85
|
SKX_LOGISTICS: {
|
|
@@ -11,7 +11,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
11
11
|
import React from "react";
|
|
12
12
|
import GetFormItem from "../../GetFormItem";
|
|
13
13
|
import ItemView from "../../../commonComponents/ItemView";
|
|
14
|
-
import { isNull, KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG
|
|
14
|
+
import { isNull, KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
|
|
15
15
|
import { BsSystemOrder as SystemOrder } from "@kmkf-fe-packages/basic-components";
|
|
16
16
|
import { BsSystemOrderTable } from "../../Common";
|
|
17
17
|
import { BsHeaderChild } from "../common/index";
|
|
@@ -23,8 +23,7 @@ var typeMap = {
|
|
|
23
23
|
WDT_SYSTEM_ORDER: WDT_SYSTEM_ORDER_CONFIG,
|
|
24
24
|
BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG,
|
|
25
25
|
GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG,
|
|
26
|
-
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG
|
|
27
|
-
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG
|
|
26
|
+
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG
|
|
28
27
|
};
|
|
29
28
|
var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
30
29
|
var _this = this,
|
|
@@ -37,9 +37,6 @@ var typeMap = {
|
|
|
37
37
|
GY_LOGISTICS: {
|
|
38
38
|
key: "gyLogisticsItem"
|
|
39
39
|
},
|
|
40
|
-
JY_LOGISTICS: {
|
|
41
|
-
key: "jyLogisticsItem"
|
|
42
|
-
},
|
|
43
40
|
SKX_LOGISTICS: {
|
|
44
41
|
key: "skxLogisticsItem"
|
|
45
42
|
},
|
|
@@ -80,7 +77,8 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
80
77
|
}
|
|
81
78
|
return /*#__PURE__*/React.createElement(BsExpressRender, {
|
|
82
79
|
list: record === null || record === void 0 ? void 0 : record["".concat(key, "_").concat(parentKey, "_").concat(typeMap[_this.type].key)],
|
|
83
|
-
showField: "code"
|
|
80
|
+
showField: "code",
|
|
81
|
+
logisticsCompanyFormType: _this.logisticsCompanyFormType || "select"
|
|
84
82
|
});
|
|
85
83
|
});
|
|
86
84
|
_defineProperty(this, "renderLog", function (r) {
|
|
@@ -7,13 +7,13 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
7
7
|
import system from "./system";
|
|
8
8
|
import bs_e3 from "./bs_e3";
|
|
9
9
|
import bs from "./bs";
|
|
10
|
-
import { getJstColumns, getWlnColumns, getGyColumns, getWdtColumns, getKmColumns,
|
|
10
|
+
import { getJstColumns, getWlnColumns, getGyColumns, getWdtColumns, getKmColumns, getSkxColumns } from "@kmkf-fe-packages/basic-components";
|
|
11
11
|
import defaultColumns from "./defaultColumns";
|
|
12
12
|
export var getColumnsMap = function getColumnsMap(args) {
|
|
13
13
|
var _ref = args || {},
|
|
14
14
|
_ref$text = _ref.text,
|
|
15
15
|
text = _ref$text === void 0 ? "" : _ref$text;
|
|
16
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(
|
|
16
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, system()), bs({
|
|
17
17
|
text: text
|
|
18
18
|
})), bs_e3()), getWdtColumns({
|
|
19
19
|
text: text,
|
|
@@ -26,8 +26,6 @@ export var getColumnsMap = function getColumnsMap(args) {
|
|
|
26
26
|
text: text
|
|
27
27
|
})), getKmColumns({
|
|
28
28
|
disabled: true
|
|
29
|
-
})), getJyColumns({
|
|
30
|
-
disabled: true
|
|
31
29
|
})), getSkxColumns({})), {}, {
|
|
32
30
|
default: defaultColumns({
|
|
33
31
|
text: text
|
|
@@ -21,7 +21,7 @@ import { CopyToClipboard } from "react-copy-to-clipboard";
|
|
|
21
21
|
import styles from "./index.module.less";
|
|
22
22
|
import defaultImg from "./img/default-img.png";
|
|
23
23
|
import CopyText from "../../commonComponents/CopyText";
|
|
24
|
-
import { KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG,
|
|
24
|
+
import { KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, msgTypeCh, getMapping, columnsGoodsList } from "@kmkf-fe-packages/kmkf-utils";
|
|
25
25
|
import { getColumnsMap } from "./constants/columnsBaseInfoMap";
|
|
26
26
|
import { VideoCameraTwoTone } from "@ant-design/icons";
|
|
27
27
|
var Paragraph = Typography.Paragraph;
|
|
@@ -776,8 +776,7 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
|
|
|
776
776
|
WDT_SYSTEM_ORDER: WDT_SYSTEM_ORDER_CONFIG.columns,
|
|
777
777
|
BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
778
778
|
GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG.columns,
|
|
779
|
-
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns
|
|
780
|
-
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG.columns
|
|
779
|
+
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns
|
|
781
780
|
};
|
|
782
781
|
var rowKeyMap = {
|
|
783
782
|
BS_SYSTEM_ORDER: "billNo",
|
|
@@ -786,8 +785,7 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
|
|
|
786
785
|
WDT_SYSTEM_ORDER: "billNo",
|
|
787
786
|
BS_E3_SYSTEM_ORDER: "orderSn",
|
|
788
787
|
GY_SYSTEM_ORDER: "billNo",
|
|
789
|
-
JST_SYSTEM_ORDER: "oId"
|
|
790
|
-
JY_SYSTEM_ORDER: "tradeNo"
|
|
788
|
+
JST_SYSTEM_ORDER: "oId"
|
|
791
789
|
};
|
|
792
790
|
var rowSelection = {
|
|
793
791
|
selectedRowKeys: (value === null || value === void 0 ? void 0 : value.selectIds) || ((value === null || value === void 0 ? void 0 : value.showOrderInfo) || []).reduce(function (prv, next) {
|
|
@@ -987,11 +987,11 @@ var GoodHeaderMap = {
|
|
|
987
987
|
name: "总金额",
|
|
988
988
|
transformValue: function transformValue(val, record, parentName) {
|
|
989
989
|
if (!record) return "--";
|
|
990
|
-
return (
|
|
990
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
991
991
|
},
|
|
992
992
|
renderExport: function renderExport(val, record, parentName) {
|
|
993
993
|
if (!record) return "--";
|
|
994
|
-
return (
|
|
994
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
995
995
|
}
|
|
996
996
|
},
|
|
997
997
|
batchId: "批次号",
|
|
@@ -1083,11 +1083,11 @@ var GoodHeaderMap = {
|
|
|
1083
1083
|
name: "总金额",
|
|
1084
1084
|
transformValue: function transformValue(val, record, parentName) {
|
|
1085
1085
|
if (!record) return "--";
|
|
1086
|
-
return (
|
|
1086
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1087
1087
|
},
|
|
1088
1088
|
renderExport: function renderExport(val, record, parentName) {
|
|
1089
1089
|
if (!record) return "--";
|
|
1090
|
-
return (
|
|
1090
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1091
1091
|
}
|
|
1092
1092
|
},
|
|
1093
1093
|
batchId: "批次号",
|
|
@@ -1353,216 +1353,6 @@ var GoodHeaderMap = {
|
|
|
1353
1353
|
},
|
|
1354
1354
|
moneyKey: "money"
|
|
1355
1355
|
},
|
|
1356
|
-
JY_GOODS: {
|
|
1357
|
-
headerMap: {
|
|
1358
|
-
goodsName: {
|
|
1359
|
-
component: BsHeaderChild,
|
|
1360
|
-
name: "货品名称",
|
|
1361
|
-
key: "goodsName",
|
|
1362
|
-
width: 150
|
|
1363
|
-
},
|
|
1364
|
-
goodsCode: {
|
|
1365
|
-
component: BsHeaderChild,
|
|
1366
|
-
name: "货品编号",
|
|
1367
|
-
key: "goodsCode",
|
|
1368
|
-
width: 200
|
|
1369
|
-
},
|
|
1370
|
-
goodsId: {
|
|
1371
|
-
component: BsHeaderChild,
|
|
1372
|
-
name: "货品ID",
|
|
1373
|
-
key: "goodsId",
|
|
1374
|
-
width: 150
|
|
1375
|
-
},
|
|
1376
|
-
goodsClass: {
|
|
1377
|
-
component: BsHeaderChild,
|
|
1378
|
-
name: "货品分类",
|
|
1379
|
-
key: "goodsClass",
|
|
1380
|
-
width: 150
|
|
1381
|
-
},
|
|
1382
|
-
code: {
|
|
1383
|
-
component: BsHeaderChild,
|
|
1384
|
-
name: "条码",
|
|
1385
|
-
key: "code",
|
|
1386
|
-
width: 150
|
|
1387
|
-
},
|
|
1388
|
-
specName: {
|
|
1389
|
-
component: BsHeaderChild,
|
|
1390
|
-
name: "规格名称",
|
|
1391
|
-
key: "specName",
|
|
1392
|
-
width: 200
|
|
1393
|
-
},
|
|
1394
|
-
specCode: {
|
|
1395
|
-
component: BsHeaderChild,
|
|
1396
|
-
name: "规格编号",
|
|
1397
|
-
key: "specCode",
|
|
1398
|
-
width: 150
|
|
1399
|
-
},
|
|
1400
|
-
specId: {
|
|
1401
|
-
component: BsHeaderChild,
|
|
1402
|
-
name: "规格ID",
|
|
1403
|
-
key: "specId",
|
|
1404
|
-
width: 150
|
|
1405
|
-
},
|
|
1406
|
-
productName: {
|
|
1407
|
-
component: BsHeaderChild,
|
|
1408
|
-
name: "系统商品名称",
|
|
1409
|
-
key: "productName",
|
|
1410
|
-
width: 150
|
|
1411
|
-
},
|
|
1412
|
-
productCode: {
|
|
1413
|
-
component: BsHeaderChild,
|
|
1414
|
-
name: "系统商品编码",
|
|
1415
|
-
key: "productCode",
|
|
1416
|
-
width: 150
|
|
1417
|
-
},
|
|
1418
|
-
productId: {
|
|
1419
|
-
component: BsHeaderChild,
|
|
1420
|
-
name: "系统商品ID",
|
|
1421
|
-
key: "productId",
|
|
1422
|
-
width: 150
|
|
1423
|
-
},
|
|
1424
|
-
skuName: {
|
|
1425
|
-
component: BsHeaderChild,
|
|
1426
|
-
name: "系统规格名称",
|
|
1427
|
-
key: "skuName",
|
|
1428
|
-
width: 150
|
|
1429
|
-
},
|
|
1430
|
-
skuCode: {
|
|
1431
|
-
component: BsHeaderChild,
|
|
1432
|
-
name: "系统规格编码",
|
|
1433
|
-
key: "skuCode",
|
|
1434
|
-
width: 150
|
|
1435
|
-
},
|
|
1436
|
-
mallProductName: {
|
|
1437
|
-
component: BsHeaderChild,
|
|
1438
|
-
name: "平台商品名称",
|
|
1439
|
-
key: "mallProductName",
|
|
1440
|
-
width: 150
|
|
1441
|
-
},
|
|
1442
|
-
mallProductOutCode: {
|
|
1443
|
-
component: BsHeaderChild,
|
|
1444
|
-
name: "平台商品编码",
|
|
1445
|
-
key: "mallProductOutCode",
|
|
1446
|
-
width: 150
|
|
1447
|
-
},
|
|
1448
|
-
mallProductId: {
|
|
1449
|
-
component: BsHeaderChild,
|
|
1450
|
-
name: "平台商品ID",
|
|
1451
|
-
key: "mallProductId",
|
|
1452
|
-
width: 150
|
|
1453
|
-
},
|
|
1454
|
-
mallSkuName: {
|
|
1455
|
-
component: BsHeaderChild,
|
|
1456
|
-
name: "平台规格名称",
|
|
1457
|
-
key: "mallSkuName",
|
|
1458
|
-
width: 150
|
|
1459
|
-
},
|
|
1460
|
-
mallSkuId: {
|
|
1461
|
-
component: BsHeaderChild,
|
|
1462
|
-
name: "平台规格ID",
|
|
1463
|
-
key: "mallSkuId",
|
|
1464
|
-
width: 150
|
|
1465
|
-
},
|
|
1466
|
-
sellcount: {
|
|
1467
|
-
component: BsHeaderChild,
|
|
1468
|
-
name: "数量",
|
|
1469
|
-
key: "sellcount",
|
|
1470
|
-
width: 100
|
|
1471
|
-
},
|
|
1472
|
-
sellPrice: {
|
|
1473
|
-
component: BsHeaderChild,
|
|
1474
|
-
name: "单价",
|
|
1475
|
-
key: "sellPrice",
|
|
1476
|
-
width: 150
|
|
1477
|
-
},
|
|
1478
|
-
mallSellingPrice: {
|
|
1479
|
-
component: BsHeaderChild,
|
|
1480
|
-
name: "平台商品价格",
|
|
1481
|
-
key: "mallSellingPrice",
|
|
1482
|
-
width: 150
|
|
1483
|
-
},
|
|
1484
|
-
sellTotal: {
|
|
1485
|
-
component: BsHeaderChild,
|
|
1486
|
-
name: "金额",
|
|
1487
|
-
key: "sellTotal",
|
|
1488
|
-
width: 150
|
|
1489
|
-
},
|
|
1490
|
-
settlementPrice: {
|
|
1491
|
-
component: BsHeaderChild,
|
|
1492
|
-
name: "结算价",
|
|
1493
|
-
key: "settlementPrice",
|
|
1494
|
-
width: 150
|
|
1495
|
-
},
|
|
1496
|
-
divideOrderFee: {
|
|
1497
|
-
component: BsHeaderChild,
|
|
1498
|
-
name: "分摊实付金额",
|
|
1499
|
-
key: "divideOrderFee",
|
|
1500
|
-
width: 150
|
|
1501
|
-
},
|
|
1502
|
-
bfit: {
|
|
1503
|
-
component: BsHeaderChild,
|
|
1504
|
-
name: "是否组合装",
|
|
1505
|
-
key: "bfit",
|
|
1506
|
-
width: 150
|
|
1507
|
-
},
|
|
1508
|
-
combinationName: {
|
|
1509
|
-
component: BsHeaderChild,
|
|
1510
|
-
name: "组合商品名称",
|
|
1511
|
-
key: "combinationName",
|
|
1512
|
-
width: 150
|
|
1513
|
-
},
|
|
1514
|
-
combinationCode: {
|
|
1515
|
-
component: BsHeaderChild,
|
|
1516
|
-
name: "组合商品编码",
|
|
1517
|
-
key: "combinationCode",
|
|
1518
|
-
width: 150
|
|
1519
|
-
},
|
|
1520
|
-
gift: {
|
|
1521
|
-
component: BsHeaderChild,
|
|
1522
|
-
name: "是否赠品",
|
|
1523
|
-
key: "gift",
|
|
1524
|
-
width: 150
|
|
1525
|
-
},
|
|
1526
|
-
skuNote: {
|
|
1527
|
-
component: BsHeaderChild,
|
|
1528
|
-
name: "商品备注",
|
|
1529
|
-
key: "skuNote",
|
|
1530
|
-
width: 150
|
|
1531
|
-
}
|
|
1532
|
-
},
|
|
1533
|
-
itemKey: {
|
|
1534
|
-
goodsName: "货品名称",
|
|
1535
|
-
goodsCode: "货品编号",
|
|
1536
|
-
goodsId: "货品ID",
|
|
1537
|
-
goodsClass: "货品分类",
|
|
1538
|
-
code: "条码",
|
|
1539
|
-
specName: "规格名称",
|
|
1540
|
-
specCode: "规格编号",
|
|
1541
|
-
specId: "规格ID",
|
|
1542
|
-
productName: "系统商品名称",
|
|
1543
|
-
productCode: "系统商品编码",
|
|
1544
|
-
productId: "系统商品ID",
|
|
1545
|
-
skuName: "系统规格名称",
|
|
1546
|
-
skuCode: "系统规格编码",
|
|
1547
|
-
mallProductName: "平台商品名称",
|
|
1548
|
-
mallProductOutCode: "平台商品编码",
|
|
1549
|
-
mallProductId: "平台商品ID",
|
|
1550
|
-
mallSkuName: "平台规格名称",
|
|
1551
|
-
mallSkuId: "平台规格ID",
|
|
1552
|
-
sellcount: "数量",
|
|
1553
|
-
sellPrice: "单价",
|
|
1554
|
-
mallSellingPrice: "平台商品价格",
|
|
1555
|
-
sellTotal: "金额",
|
|
1556
|
-
settlementPrice: "结算价",
|
|
1557
|
-
divideOrderFee: "分摊实付金额",
|
|
1558
|
-
bfit: "是否组合装",
|
|
1559
|
-
combinationName: "组合商品名称",
|
|
1560
|
-
combinationCode: "组合商品编码",
|
|
1561
|
-
gift: "是否赠品",
|
|
1562
|
-
skuNote: "商品备注"
|
|
1563
|
-
},
|
|
1564
|
-
moneyKey: "sellTotal"
|
|
1565
|
-
},
|
|
1566
1356
|
SKX_GOODS: {
|
|
1567
1357
|
headerMap: {
|
|
1568
1358
|
skuEcode: {
|
|
@@ -70,14 +70,6 @@ var typeMap = {
|
|
|
70
70
|
sendName: "gySendName",
|
|
71
71
|
platformType: "gy",
|
|
72
72
|
dataType: "weakenArray"
|
|
73
|
-
},
|
|
74
|
-
JY_SEND_GOOD: {
|
|
75
|
-
key: "jySendGood",
|
|
76
|
-
name: "jy",
|
|
77
|
-
sendId: "jySendId",
|
|
78
|
-
sendName: "jySendName",
|
|
79
|
-
platformType: "jy",
|
|
80
|
-
dataType: "weakenArray"
|
|
81
73
|
}
|
|
82
74
|
};
|
|
83
75
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
@@ -184,7 +176,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
184
176
|
});
|
|
185
177
|
_defineProperty(this, "filterConfig", function (item) {
|
|
186
178
|
var _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type11;
|
|
187
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "
|
|
179
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD"].includes(_this.type) ? {
|
|
188
180
|
searchDefaultConditions: SYMBOL.in,
|
|
189
181
|
type: item.type,
|
|
190
182
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendName),
|
|
@@ -106,7 +106,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
108
|
_defineProperty(this, "filterConfig", function (item) {
|
|
109
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD"
|
|
109
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD"].includes(_this.type) ? {
|
|
110
110
|
searchDefaultConditions: SYMBOL.in,
|
|
111
111
|
type: item.type,
|
|
112
112
|
id: "".concat(item.id, "_").concat(_this.suffixSendName),
|
|
@@ -39,15 +39,10 @@ var typeMap = {
|
|
|
39
39
|
label: "等待执行",
|
|
40
40
|
color: "#e7780f"
|
|
41
41
|
}, {
|
|
42
|
-
oldValue: "
|
|
42
|
+
oldValue: "等待发送",
|
|
43
43
|
value: "不满足条件,无需执行",
|
|
44
44
|
label: "不满足条件,无需执行",
|
|
45
45
|
color: "#8A8A8A"
|
|
46
|
-
}, {
|
|
47
|
-
oldValue: "暂不满足条件,等待执行",
|
|
48
|
-
value: "暂不满足条件,等待执行",
|
|
49
|
-
label: "暂不满足条件,等待执行",
|
|
50
|
-
color: "#4D90F7"
|
|
51
46
|
}],
|
|
52
47
|
key: "msgStatusValues",
|
|
53
48
|
code: "msgStatus4Search",
|
|
@@ -36,5 +36,6 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
36
36
|
formatFilterValue: (val: Array<number | null>) => (number | null)[];
|
|
37
37
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
38
38
|
};
|
|
39
|
+
formDataTransform: (value: string) => string | number;
|
|
39
40
|
}
|
|
40
41
|
export default PaymentAmount;
|
|
@@ -132,6 +132,10 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
});
|
|
135
|
+
_defineProperty(this, "formDataTransform", function (value) {
|
|
136
|
+
var isNumber = new RegExp(/^[+-]?\d+(\.\d+)?$/);
|
|
137
|
+
return isNumber.test(value) ? Number(value) : value;
|
|
138
|
+
});
|
|
135
139
|
this.name = '打款金额';
|
|
136
140
|
this.id = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
137
141
|
this.sortField = "".concat(options.id, "_enterprisePaymentRefundFee");
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => AfterSalesOrderId | BsGoods | BsLogistics | BsSystemOrder | BuyerNick | BasicCheckbox | CommonMultiStatus | CommonSystemOrder | ItemEnCode | TradeId | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm;
|
package/dist/esm/factory.js
CHANGED
|
@@ -142,7 +142,6 @@ export var factory = function factory(type, options) {
|
|
|
142
142
|
case "BS_E3_SYSTEM_ORDER":
|
|
143
143
|
case "GY_SYSTEM_ORDER":
|
|
144
144
|
case "JST_SYSTEM_ORDER":
|
|
145
|
-
case "JY_SYSTEM_ORDER":
|
|
146
145
|
return new BsSystemOrder(options);
|
|
147
146
|
case "JST_SEND_GOOD":
|
|
148
147
|
case "BS_SEND_GOOD":
|
|
@@ -151,7 +150,6 @@ export var factory = function factory(type, options) {
|
|
|
151
150
|
case "WDT_SEND_GOOD":
|
|
152
151
|
case "KM_SEND_GOOD":
|
|
153
152
|
case "GY_SEND_GOOD":
|
|
154
|
-
case "JY_SEND_GOOD":
|
|
155
153
|
return new JstSendGood(options);
|
|
156
154
|
case "BS_POSTING":
|
|
157
155
|
return new BsPosting(options);
|
|
@@ -161,7 +159,6 @@ export var factory = function factory(type, options) {
|
|
|
161
159
|
return new BsE3Goods(options);
|
|
162
160
|
case "GY_GOODS":
|
|
163
161
|
return new GyGoods(options);
|
|
164
|
-
case "JY_GOODS":
|
|
165
162
|
case "KM_GOODS":
|
|
166
163
|
case "JST_GOODS":
|
|
167
164
|
return new PublicGoods(options);
|
|
@@ -203,7 +200,6 @@ export var factory = function factory(type, options) {
|
|
|
203
200
|
case "JST_LOGISTICS":
|
|
204
201
|
case "KM_LOGISTICS":
|
|
205
202
|
case "GY_LOGISTICS":
|
|
206
|
-
case "JY_LOGISTICS":
|
|
207
203
|
case "SKX_LOGISTICS":
|
|
208
204
|
case "SKX_RETURN_LOGISTICS":
|
|
209
205
|
return new BsLogistics(options);
|
|
@@ -10,7 +10,6 @@ export declare const queryWdtLogisticsCompany: () => Promise<void>;
|
|
|
10
10
|
export declare const queryBsE3LogisticsCompany: () => Promise<void>;
|
|
11
11
|
export declare const queryJSTLogisticsCompany: () => Promise<void>;
|
|
12
12
|
export declare const queryGYLogisticsCompany: () => Promise<void>;
|
|
13
|
-
export declare const queryJYLogisticsCompany: () => Promise<void>;
|
|
14
13
|
export declare const queryWLNLogisticsCompany: () => Promise<void>;
|
|
15
14
|
export declare const queryKMLogisticsCompany: () => Promise<void>;
|
|
16
15
|
export declare const getAlipayBillReceipt: (data: any) => Promise<any>;
|
package/dist/esm/service/api.js
CHANGED
|
@@ -275,12 +275,6 @@ export var queryGYLogisticsCompany = function queryGYLogisticsCompany() {
|
|
|
275
275
|
instance.expressData = data;
|
|
276
276
|
}).catch(console.log);
|
|
277
277
|
};
|
|
278
|
-
export var queryJYLogisticsCompany = function queryJYLogisticsCompany() {
|
|
279
|
-
var instance = ExpressData.getInstance("jy");
|
|
280
|
-
return servers.JY.getLogisticsDataAsync().then(function (data) {
|
|
281
|
-
instance.expressData = data;
|
|
282
|
-
}).catch(console.log);
|
|
283
|
-
};
|
|
284
278
|
export var queryWLNLogisticsCompany = function queryWLNLogisticsCompany() {
|
|
285
279
|
var instance = ExpressData.getInstance("wln");
|
|
286
280
|
return servers.WLN.getLogisticsDataAsync().then(function (data) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.2.13
|
|
3
|
+
"version": "2.2.13",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "2.2.13
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.2.13",
|
|
25
25
|
"@kmkf-fe-packages/kmkf-utils": "2.2.11",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "bda3806f7d08d735feda0badfc8e8235f1883ac1",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|