@kmkf-fe-packages/services-components 2.10.9-beta.30 → 2.10.9-beta.31
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/esm/Hooks/useColumnsConfig.d.ts +1 -1
- package/dist/esm/Hooks/useColumnsConfig.js +1 -1
- package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +3 -2
- package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.js +13 -12
- package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.js +12 -9
- package/dist/esm/components/BS/BsLogistics/index.js +9 -0
- package/dist/esm/components/BS/BsSystemOrder/index.js +3 -2
- package/dist/esm/components/BS/common/expressCode.js +3 -0
- package/dist/esm/components/BS/common/expressCompany.js +3 -0
- package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +4 -2
- package/dist/esm/components/Common/index.js +5 -3
- package/dist/esm/components/CommonHeaderGood/index.js +16 -1
- package/dist/esm/components/CommonMultiStatus/index.js +27 -0
- package/dist/esm/components/JST/JstSendGood/index.js +9 -1
- package/dist/esm/components/Public/Goods/index.js +4 -0
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +5 -0
- package/dist/esm/service/api.d.ts +1 -0
- package/dist/esm/service/api.js +6 -0
- package/package.json +4 -4
|
@@ -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/BS/BsSystemOrder").default | import("../components/JST/JstSendGood").default | LogisticsInterception | LogisticsMoreInterception | import("../components/Public/Goods").default | import("../components/Remark").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").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/TradeId").default | import("../components/ShopName").default | import("../components/BuyerNick").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/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").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/JstSupply").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").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 | 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/CommonSystemOrder").default | import("../components/
|
|
3
|
+
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/CommonMultiStatus").default | import("../components/JST/JstSendGood").default | LogisticsInterception | LogisticsMoreInterception | import("../components/Public/Goods").default | import("../components/Remark").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").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/TradeId").default | import("../components/ShopName").default | import("../components/BuyerNick").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/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").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/JstSupply").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").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 | 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/CommonSystemOrder").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").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/DXD/DxdShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/Public/ReturnWarehouse").default | import("../components/GY/GyGoods").default | import("../components/KM/KmExchange").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 | import("../components/FlowOverallStatusSelect").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;
|
|
@@ -20,7 +20,7 @@ import { TEMPLATE_TYPE, DATA_SPLIT_COMPONENT_FIELDS_MAP } from "@kmkf-fe-package
|
|
|
20
20
|
|
|
21
21
|
//工单列表左对齐
|
|
22
22
|
var workOrderListAlignLeft = ["KM_VIDEO"];
|
|
23
|
-
var cantFilterType = ["CREATED_DATETIME", "UPDATE_DATETIME", "COMPLETED_DATETIME", "JST_LOGISTICS", "JST_ITEM_SELECT_THIRD", "JST_SUPPLY", "JST_SEND_GOOD", "TEXTAREA", "BS_SEND_GOOD", "BS_LOGISTICS", "BS_DELIVERY_NO", "WLN_SEND_GOOD", "WLN_LOGISTICS", "WDT_SEND_GOOD", "WDT_LOGISTICS", "KM_LOGISTICS", "REISSUE_LOGISTICS", "KM_SEND_GOOD", "KM_RETURN_WAREHOUSE", "GY_SEND_GOOD", "GY_LOGISTICS", "DXD_LOGISTICS", "DXD_SEND_GOOD"];
|
|
23
|
+
var cantFilterType = ["CREATED_DATETIME", "UPDATE_DATETIME", "COMPLETED_DATETIME", "JST_LOGISTICS", "JST_ITEM_SELECT_THIRD", "JST_SUPPLY", "JST_SEND_GOOD", "TEXTAREA", "BS_SEND_GOOD", "BS_LOGISTICS", "BS_DELIVERY_NO", "WLN_SEND_GOOD", "WLN_LOGISTICS", "WDT_SEND_GOOD", "WDT_LOGISTICS", "KM_LOGISTICS", "REISSUE_LOGISTICS", "KM_SEND_GOOD", "KM_RETURN_WAREHOUSE", "GY_SEND_GOOD", "GY_LOGISTICS", "DXD_LOGISTICS", "DXD_SEND_GOOD", "TTX_LOGISTICS", "TTX_SEND_GOOD"];
|
|
24
24
|
var cantShareFilterType = ["WORK_ORDER_ID_INPUT", "OPERATOR_INPUT", "HANDLER_INPUT", "COMPLETED_USER_INPUT"];
|
|
25
25
|
//需要拆行的组件
|
|
26
26
|
var SplitRowsType = Object.keys(DATA_SPLIT_COMPONENT_FIELDS_MAP);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare type HasErpDataKeyType = "hasWln" | "hasWdt" | "hasBs" | "hasE3" | "hasJst" | "hasGy" | "hasJy" | "hasJky" | "hasDxd";
|
|
1
|
+
declare type HasErpDataKeyType = "hasWln" | "hasWdt" | "hasBs" | "hasE3" | "hasJst" | "hasGy" | "hasJy" | "hasJky" | "hasDxd" | "hasTtx";
|
|
2
2
|
declare function useGetHasErpData(reduxData: any): Record<HasErpDataKeyType, boolean>;
|
|
3
3
|
export default useGetHasErpData;
|
|
@@ -12,7 +12,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
12
12
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
13
13
|
import { useEffect, useMemo, useState } from "react";
|
|
14
14
|
var getTemplate = function getTemplate(companyUserConfig) {
|
|
15
|
-
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, _companyUserConfig$pl19, _companyUserConfig$pl20, _companyUserConfig$pl21, _companyUserConfig$pl22, _companyUserConfig$pl23, _companyUserConfig$pl24;
|
|
15
|
+
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, _companyUserConfig$pl19, _companyUserConfig$pl20, _companyUserConfig$pl21, _companyUserConfig$pl22, _companyUserConfig$pl23, _companyUserConfig$pl24, _companyUserConfig$pl25, _companyUserConfig$pl26, _companyUserConfig$pl27;
|
|
16
16
|
return JSON.stringify({
|
|
17
17
|
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,
|
|
18
18
|
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,
|
|
@@ -27,7 +27,8 @@ var getTemplate = function getTemplate(companyUserConfig) {
|
|
|
27
27
|
"6O47IBXFR26FJF4HUQ7WGO4H",
|
|
28
28
|
//prod 陈健企业工单
|
|
29
29
|
"FHLSISEYFB76GAGKP2MCHSV5" //prod 大希地
|
|
30
|
-
].includes(companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.companyKey)
|
|
30
|
+
].includes(companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.companyKey),
|
|
31
|
+
hasTtx: (_companyUserConfig$pl25 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl26 = companyUserConfig.plugins) === null || _companyUserConfig$pl26 === void 0 ? void 0 : (_companyUserConfig$pl27 = _companyUserConfig$pl26.ttx) === null || _companyUserConfig$pl27 === void 0 ? void 0 : _companyUserConfig$pl27.show) !== null && _companyUserConfig$pl25 !== void 0 ? _companyUserConfig$pl25 : false
|
|
31
32
|
});
|
|
32
33
|
};
|
|
33
34
|
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, queryJYLogisticsCompany, queryJKYLogisticsCompany, queryDXDLogisticsCompany } from "../../../service/api";
|
|
13
|
+
import { queryWdtLogisticsCompany, queryBsE3LogisticsCompany, queryJSTLogisticsCompany, queryWLNLogisticsCompany, queryGYLogisticsCompany, queryJYLogisticsCompany, queryJKYLogisticsCompany, queryDXDLogisticsCompany, queryTTXLogisticsCompany } from "../../../service/api";
|
|
14
14
|
function useGetErpLogisticsCompany(reduxData, notJudgedErp) {
|
|
15
15
|
var _useState = useState("loading"),
|
|
16
16
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -22,14 +22,14 @@ 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, hasJy, hasJky, hasDxd, promises;
|
|
25
|
+
var hasWdt, hasE3, hasJst, hasWln, hasGy, hasJy, hasJky, hasDxd, hasTtx, 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, hasJy = hasErpData.hasJy, hasJky = hasErpData.hasJky, hasDxd = hasErpData.hasDxd;
|
|
32
|
+
hasWdt = hasErpData.hasWdt, hasE3 = hasErpData.hasE3, hasJst = hasErpData.hasJst, hasWln = hasErpData.hasWln, hasGy = hasErpData.hasGy, hasJy = hasErpData.hasJy, hasJky = hasErpData.hasJky, hasDxd = hasErpData.hasDxd, hasTtx = hasErpData.hasTtx;
|
|
33
33
|
promises = [];
|
|
34
34
|
if (hasWdt || notJudgedErp) promises.push(queryWdtLogisticsCompany);
|
|
35
35
|
if (hasE3 || notJudgedErp) promises.push(queryBsE3LogisticsCompany);
|
|
@@ -39,24 +39,25 @@ function useGetErpLogisticsCompany(reduxData, notJudgedErp) {
|
|
|
39
39
|
if (hasJy || notJudgedErp) promises.push(queryJYLogisticsCompany);
|
|
40
40
|
if (hasJky || notJudgedErp) promises.push(queryJKYLogisticsCompany);
|
|
41
41
|
if (hasDxd || notJudgedErp) promises.push(queryDXDLogisticsCompany);
|
|
42
|
-
|
|
43
|
-
_context.
|
|
42
|
+
if (hasTtx || notJudgedErp) promises.push(queryTTXLogisticsCompany);
|
|
43
|
+
_context.prev = 12;
|
|
44
|
+
_context.next = 15;
|
|
44
45
|
return Promise.all(promises.map(function (promise) {
|
|
45
46
|
return promise();
|
|
46
47
|
}));
|
|
47
|
-
case
|
|
48
|
+
case 15:
|
|
48
49
|
setGlobalState("success");
|
|
49
|
-
_context.next =
|
|
50
|
+
_context.next = 21;
|
|
50
51
|
break;
|
|
51
|
-
case
|
|
52
|
-
_context.prev =
|
|
53
|
-
_context.t0 = _context["catch"](
|
|
52
|
+
case 18:
|
|
53
|
+
_context.prev = 18;
|
|
54
|
+
_context.t0 = _context["catch"](12);
|
|
54
55
|
setGlobalState("failed");
|
|
55
|
-
case
|
|
56
|
+
case 21:
|
|
56
57
|
case "end":
|
|
57
58
|
return _context.stop();
|
|
58
59
|
}
|
|
59
|
-
}, _callee, null, [[
|
|
60
|
+
}, _callee, null, [[12, 18]]);
|
|
60
61
|
}));
|
|
61
62
|
return function asyncQueryData(_x2, _x3, _x4) {
|
|
62
63
|
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, hasJy, hasJky, hasWln, hasDxd, promises;
|
|
26
|
+
var hasWdt, hasGy, hasJst, hasJy, hasJky, hasWln, hasDxd, hasTtx, promises;
|
|
27
27
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28
28
|
while (1) switch (_context.prev = _context.next) {
|
|
29
29
|
case 0:
|
|
@@ -31,7 +31,7 @@ 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, hasJy = hasErpData.hasJy, hasJky = hasErpData.hasJky, hasWln = hasErpData.hasWln, hasDxd = hasErpData.hasDxd;
|
|
34
|
+
hasWdt = hasErpData.hasWdt, hasGy = hasErpData.hasGy, hasJst = hasErpData.hasJst, hasJy = hasErpData.hasJy, hasJky = hasErpData.hasJky, hasWln = hasErpData.hasWln, hasDxd = hasErpData.hasDxd, hasTtx = hasErpData.hasTtx;
|
|
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);
|
|
@@ -43,23 +43,26 @@ function useGetErpSendData(reduxData, notJudgedErp) {
|
|
|
43
43
|
promises.push(SendDataCenter.getInstance("dxd").fetchData);
|
|
44
44
|
promises.push(DxdSuppliersData.getInstance().fetchData);
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
if (hasTtx || notJudgedErp) {
|
|
47
|
+
promises.push(SendDataCenter.getInstance("ttx").fetchData);
|
|
48
|
+
}
|
|
49
|
+
_context.next = 14;
|
|
47
50
|
return Promise.all(promises.map(function (promise) {
|
|
48
51
|
return promise();
|
|
49
52
|
}));
|
|
50
|
-
case
|
|
53
|
+
case 14:
|
|
51
54
|
setGlobalState("success");
|
|
52
|
-
_context.next =
|
|
55
|
+
_context.next = 20;
|
|
53
56
|
break;
|
|
54
|
-
case
|
|
55
|
-
_context.prev =
|
|
57
|
+
case 17:
|
|
58
|
+
_context.prev = 17;
|
|
56
59
|
_context.t0 = _context["catch"](1);
|
|
57
60
|
setGlobalState("failed");
|
|
58
|
-
case
|
|
61
|
+
case 20:
|
|
59
62
|
case "end":
|
|
60
63
|
return _context.stop();
|
|
61
64
|
}
|
|
62
|
-
}, _callee, null, [[1,
|
|
65
|
+
}, _callee, null, [[1, 17]]);
|
|
63
66
|
}));
|
|
64
67
|
return function asyncQueryData(_x2, _x3, _x4) {
|
|
65
68
|
return _ref.apply(this, arguments);
|
|
@@ -128,6 +128,15 @@ var typeMap = {
|
|
|
128
128
|
platformType: "dxd",
|
|
129
129
|
companyDataType: "string",
|
|
130
130
|
companyCodeType: "arrayObject"
|
|
131
|
+
},
|
|
132
|
+
TTX_LOGISTICS: {
|
|
133
|
+
key: "ttxLogisticsList",
|
|
134
|
+
name: "通天晓",
|
|
135
|
+
company: "ttxLogisticsCompany",
|
|
136
|
+
code: "ttxLogisticsCode",
|
|
137
|
+
platformType: "ttx",
|
|
138
|
+
companyDataType: "string",
|
|
139
|
+
companyCodeType: "arrayObject"
|
|
131
140
|
}
|
|
132
141
|
};
|
|
133
142
|
var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
import React from "react";
|
|
18
18
|
import GetFormItem from "../../GetFormItem";
|
|
19
19
|
import ItemView from "../../../commonComponents/ItemView";
|
|
20
|
-
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, JY_SYSTEM_ORDER_CONFIG, JKY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, PLATFORM_AFTER_SALES_ORDER_CONFIG, DXD_SYSTEM_ORDER_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
|
|
20
|
+
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, JY_SYSTEM_ORDER_CONFIG, JKY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, PLATFORM_AFTER_SALES_ORDER_CONFIG, DXD_SYSTEM_ORDER_CONFIG, TTX_SYSTEM_ORDER_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
|
|
21
21
|
import { BsSystemOrder as SystemOrder } from "@kmkf-fe-packages/basic-components";
|
|
22
22
|
import { BsSystemOrderTable } from "../../Common";
|
|
23
23
|
import { BsHeaderChild } from "../common/index";
|
|
@@ -35,7 +35,8 @@ var typeMap = {
|
|
|
35
35
|
JKY_SYSTEM_ORDER: JKY_SYSTEM_ORDER_CONFIG,
|
|
36
36
|
WDT_RETURN_BILL_NO: WDT_RETURN_BILL_NO_CONFIG,
|
|
37
37
|
PLATFORM_AFTER_SALES_ORDER: PLATFORM_AFTER_SALES_ORDER_CONFIG,
|
|
38
|
-
DXD_SYSTEM_ORDER: DXD_SYSTEM_ORDER_CONFIG
|
|
38
|
+
DXD_SYSTEM_ORDER: DXD_SYSTEM_ORDER_CONFIG,
|
|
39
|
+
TTX_SYSTEM_ORDER: TTX_SYSTEM_ORDER_CONFIG
|
|
39
40
|
};
|
|
40
41
|
var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
41
42
|
var _this = this,
|
|
@@ -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, getJyColumns, getSkxColumns, getJkyColumns, getDxdColumns } from "@kmkf-fe-packages/basic-components";
|
|
10
|
+
import { getJstColumns, getWlnColumns, getGyColumns, getWdtColumns, getKmColumns, getJyColumns, getSkxColumns, getJkyColumns, getDxdColumns, getTtxColumns } 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(_objectSpread(_objectSpread(_objectSpread({}, system()), bs({
|
|
16
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_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,
|
|
@@ -32,6 +32,8 @@ export var getColumnsMap = function getColumnsMap(args) {
|
|
|
32
32
|
disabled: true
|
|
33
33
|
})), getDxdColumns({
|
|
34
34
|
disabled: true
|
|
35
|
+
})), getTtxColumns({
|
|
36
|
+
disabled: true
|
|
35
37
|
})), getSkxColumns({})), {}, {
|
|
36
38
|
default: defaultColumns({
|
|
37
39
|
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, JY_SYSTEM_ORDER_CONFIG, JKY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, PLATFORM_AFTER_SALES_ORDER_CONFIG, DXD_SYSTEM_ORDER_CONFIG, msgTypeCh, getMapping, columnsGoodsList } from "@kmkf-fe-packages/kmkf-utils";
|
|
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, JY_SYSTEM_ORDER_CONFIG, JKY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, PLATFORM_AFTER_SALES_ORDER_CONFIG, DXD_SYSTEM_ORDER_CONFIG, TTX_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
|
import { ApaasImage } from "@kmkf-fe-packages/basic-components";
|
|
@@ -789,7 +789,8 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
|
|
|
789
789
|
JKY_SYSTEM_ORDER: JKY_SYSTEM_ORDER_CONFIG.columns,
|
|
790
790
|
WDT_RETURN_BILL_NO: WDT_RETURN_BILL_NO_CONFIG.columns,
|
|
791
791
|
PLATFORM_AFTER_SALES_ORDER: PLATFORM_AFTER_SALES_ORDER_CONFIG.columns,
|
|
792
|
-
DXD_SYSTEM_ORDER: DXD_SYSTEM_ORDER_CONFIG.columns
|
|
792
|
+
DXD_SYSTEM_ORDER: DXD_SYSTEM_ORDER_CONFIG.columns,
|
|
793
|
+
TTX_SYSTEM_ORDER: TTX_SYSTEM_ORDER_CONFIG.columns
|
|
793
794
|
};
|
|
794
795
|
var rowKeyMap = {
|
|
795
796
|
BS_SYSTEM_ORDER: "billNo",
|
|
@@ -803,7 +804,8 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
|
|
|
803
804
|
JKY_SYSTEM_ORDER: "tradeNo",
|
|
804
805
|
WDT_RETURN_BILL_NO: "refundNo",
|
|
805
806
|
PLATFORM_AFTER_SALES_ORDER: "afterSaleOrderId",
|
|
806
|
-
DXD_SYSTEM_ORDER: "orderNo"
|
|
807
|
+
DXD_SYSTEM_ORDER: "orderNo",
|
|
808
|
+
TTX_SYSTEM_ORDER: "code"
|
|
807
809
|
};
|
|
808
810
|
var rowSelection = {
|
|
809
811
|
type: isRadio ? "radio" : "checkbox",
|
|
@@ -19,7 +19,7 @@ import { isNull, BS_E3_BOOLEAN_STATUS_MAP } from "@kmkf-fe-packages/kmkf-utils";
|
|
|
19
19
|
import { BsHeaderPic, BsHeaderChild } from "../BS/common";
|
|
20
20
|
import ReissueGift from "../BsE3/ReissueGift";
|
|
21
21
|
import { erpColumnsMap } from "@kmkf-fe-packages/basic-components";
|
|
22
|
-
import { getJstColumns, getKmColumns, getDxdColumns } from "@kmkf-fe-packages/basic-components";
|
|
22
|
+
import { getJstColumns, getKmColumns, getDxdColumns, getTtxColumns } from "@kmkf-fe-packages/basic-components";
|
|
23
23
|
var isNullNotFalse = function isNullNotFalse(val) {
|
|
24
24
|
if (val === false) return false;
|
|
25
25
|
return isNull(val);
|
|
@@ -2598,6 +2598,21 @@ var GoodHeaderMap = {
|
|
|
2598
2598
|
return acc;
|
|
2599
2599
|
}, {})
|
|
2600
2600
|
},
|
|
2601
|
+
TTX_GOODS: {
|
|
2602
|
+
headerMap: getTtxColumns()["TTX_GOODS"].reduce(function (acc, item) {
|
|
2603
|
+
acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
|
|
2604
|
+
component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
|
|
2605
|
+
name: item.title,
|
|
2606
|
+
key: item.dataIndex,
|
|
2607
|
+
width: item.width || 150
|
|
2608
|
+
});
|
|
2609
|
+
return acc;
|
|
2610
|
+
}, {}),
|
|
2611
|
+
itemKey: getTtxColumns()["TTX_GOODS"].reduce(function (acc, item) {
|
|
2612
|
+
acc[item.dataIndex] = item.title;
|
|
2613
|
+
return acc;
|
|
2614
|
+
}, {})
|
|
2615
|
+
},
|
|
2601
2616
|
JKY_REISSUE_GOODS: {
|
|
2602
2617
|
headerMap: {
|
|
2603
2618
|
goodsNo: {
|
|
@@ -242,6 +242,33 @@ var typeMap = {
|
|
|
242
242
|
failValue: "失败",
|
|
243
243
|
dataType: "array_object"
|
|
244
244
|
},
|
|
245
|
+
TTX_WAREHOUSING_STATUS: {
|
|
246
|
+
options: [{
|
|
247
|
+
value: "1",
|
|
248
|
+
label: "未入库",
|
|
249
|
+
color: "#ff4d4f"
|
|
250
|
+
}, {
|
|
251
|
+
value: "2",
|
|
252
|
+
label: "部分入库",
|
|
253
|
+
color: "#e7780f"
|
|
254
|
+
}, {
|
|
255
|
+
value: "3",
|
|
256
|
+
label: "已入库",
|
|
257
|
+
color: "#52c41a"
|
|
258
|
+
}, {
|
|
259
|
+
label: "已入库-多收",
|
|
260
|
+
value: "4",
|
|
261
|
+
color: "#e7780f"
|
|
262
|
+
}],
|
|
263
|
+
key: "ttxInStockStatusItemList",
|
|
264
|
+
code: "ttxInStockStatusList",
|
|
265
|
+
name: "通天晓商品入库状态",
|
|
266
|
+
type: 2,
|
|
267
|
+
valueKey: "status",
|
|
268
|
+
idKey: "sourceTradeNo",
|
|
269
|
+
failValue: "失败",
|
|
270
|
+
dataType: "array_object"
|
|
271
|
+
},
|
|
245
272
|
KM_WAREHOUSING_STATUS: {
|
|
246
273
|
options: [{
|
|
247
274
|
value: "0",
|
|
@@ -99,6 +99,14 @@ var typeMap = {
|
|
|
99
99
|
sendName: "dxdSendName",
|
|
100
100
|
platformType: "dxd",
|
|
101
101
|
dataType: "weakenArray"
|
|
102
|
+
},
|
|
103
|
+
TTX_SEND_GOOD: {
|
|
104
|
+
key: "ttxSendGood",
|
|
105
|
+
name: "ttx",
|
|
106
|
+
sendId: "ttxSendId",
|
|
107
|
+
sendName: "ttxSendName",
|
|
108
|
+
platformType: "ttx",
|
|
109
|
+
dataType: "weakenArray"
|
|
102
110
|
}
|
|
103
111
|
};
|
|
104
112
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
@@ -237,7 +245,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
237
245
|
});
|
|
238
246
|
};
|
|
239
247
|
}
|
|
240
|
-
} : ["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "KM_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD", "JKY_SEND_GOOD", "DXD_SEND_GOOD"].includes(_this.type) ? {
|
|
248
|
+
} : ["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "KM_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD", "JKY_SEND_GOOD", "DXD_SEND_GOOD", "TTX_SEND_GOOD"].includes(_this.type) ? {
|
|
241
249
|
searchDefaultConditions: SYMBOL.in,
|
|
242
250
|
type: item.type,
|
|
243
251
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type9 = typeMap[_this.type]) === null || _typeMap$_this$type9 === void 0 ? void 0 : _typeMap$_this$type9.sendName),
|
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, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, DxdShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect, ReturnWarehouse, KmExchange } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | JstSendGood | LogisticsInterception | LogisticsMoreInterception | PublicGoods | ERemark | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsGoods | BsE3Goods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | CommonMultiStatus | JstSendGood | LogisticsInterception | LogisticsMoreInterception | PublicGoods | ERemark | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsGoods | BsE3Goods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | DxdShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | ReturnWarehouse | GyGoods | KmExchange | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
|
package/dist/esm/factory.js
CHANGED
|
@@ -142,6 +142,7 @@ export var factory = function factory(type, options) {
|
|
|
142
142
|
case "BS_SYSTEM_ORDER":
|
|
143
143
|
case "KM_SYSTEM_ORDER":
|
|
144
144
|
case "DXD_SYSTEM_ORDER":
|
|
145
|
+
case "TTX_SYSTEM_ORDER":
|
|
145
146
|
case "WLN_SYSTEM_ORDER":
|
|
146
147
|
case "WDT_SYSTEM_ORDER":
|
|
147
148
|
case "BS_E3_SYSTEM_ORDER":
|
|
@@ -162,6 +163,7 @@ export var factory = function factory(type, options) {
|
|
|
162
163
|
case "JY_SEND_GOOD":
|
|
163
164
|
case "JKY_SEND_GOOD":
|
|
164
165
|
case "DXD_SEND_GOOD":
|
|
166
|
+
case "TTX_SEND_GOOD":
|
|
165
167
|
return new JstSendGood(options);
|
|
166
168
|
case "KM_RETURN_WAREHOUSE":
|
|
167
169
|
return new ReturnWarehouse(options);
|
|
@@ -182,6 +184,7 @@ export var factory = function factory(type, options) {
|
|
|
182
184
|
case "JST_AFTERSALE_GOODS":
|
|
183
185
|
case "DXD_GOODS":
|
|
184
186
|
case "DXD_SUPPLIERS":
|
|
187
|
+
case "TTX_GOODS":
|
|
185
188
|
return new PublicGoods(options);
|
|
186
189
|
case "WLN_REISSUE_GOODS":
|
|
187
190
|
case "JST_REISSUE_GOODS":
|
|
@@ -232,6 +235,7 @@ export var factory = function factory(type, options) {
|
|
|
232
235
|
case "SKX_LOGISTICS":
|
|
233
236
|
case "SKX_RETURN_LOGISTICS":
|
|
234
237
|
case "DXD_LOGISTICS":
|
|
238
|
+
case "TTX_LOGISTICS":
|
|
235
239
|
return new BsLogistics(options);
|
|
236
240
|
case "FLOW_WORK_ORDER_ID_INPUT":
|
|
237
241
|
return new FlowWorkOrderId(options);
|
|
@@ -263,6 +267,7 @@ export var factory = function factory(type, options) {
|
|
|
263
267
|
case "JKY_WAREHOUSING_STATUS":
|
|
264
268
|
case "JST_WAREHOUSING_STATUS":
|
|
265
269
|
case "KM_WAREHOUSING_STATUS":
|
|
270
|
+
case "TTX_WAREHOUSING_STATUS":
|
|
266
271
|
return new CommonMultiStatus(options, {
|
|
267
272
|
isWarehousingStatus: true
|
|
268
273
|
});
|
|
@@ -16,6 +16,7 @@ export declare const queryJKYLogisticsCompany: () => Promise<void>;
|
|
|
16
16
|
export declare const queryWLNLogisticsCompany: () => Promise<void>;
|
|
17
17
|
export declare const queryKMLogisticsCompany: () => Promise<void>;
|
|
18
18
|
export declare const queryDXDLogisticsCompany: () => Promise<void>;
|
|
19
|
+
export declare const queryTTXLogisticsCompany: () => Promise<void>;
|
|
19
20
|
export declare const getAlipayBillReceipt: (data: any) => Promise<any>;
|
|
20
21
|
export declare const queryLabel: () => Promise<any>;
|
|
21
22
|
export declare const queryWorkOrderDetail: (data: any) => Promise<any>;
|
package/dist/esm/service/api.js
CHANGED
|
@@ -329,6 +329,12 @@ export var queryDXDLogisticsCompany = function queryDXDLogisticsCompany() {
|
|
|
329
329
|
instance.expressData = data;
|
|
330
330
|
}).catch(console.log);
|
|
331
331
|
};
|
|
332
|
+
export var queryTTXLogisticsCompany = function queryTTXLogisticsCompany() {
|
|
333
|
+
var instance = ExpressData.getInstance("ttx");
|
|
334
|
+
return servers.TTX.getLogisticsDataAsync().then(function (data) {
|
|
335
|
+
instance.expressData = data;
|
|
336
|
+
}).catch(console.log);
|
|
337
|
+
};
|
|
332
338
|
// 获取支付宝电子回单
|
|
333
339
|
export var getAlipayBillReceipt = function getAlipayBillReceipt(data) {
|
|
334
340
|
return request({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.10.9-beta.
|
|
3
|
+
"version": "2.10.9-beta.31",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "2.10.9-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.10.9-beta.31",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.31",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
28
28
|
"react-pdf-js": "^5.1.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "9c578e2504da438b46c045852cda1e1025a4e0c2",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|