@kmkf-fe-packages/services-components 2.10.9-beta.5 → 2.10.9-beta.53
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/BsExchange/index.d.ts +7 -0
- package/dist/esm/components/BS/BsExchange/index.js +6 -0
- package/dist/esm/components/BS/BsGoods/index.d.ts +7 -0
- package/dist/esm/components/BS/BsGoods/index.js +6 -0
- package/dist/esm/components/BS/BsLogistics/index.js +9 -0
- package/dist/esm/components/BS/BsReissue/index.d.ts +7 -0
- package/dist/esm/components/BS/BsReissue/index.js +6 -0
- package/dist/esm/components/BS/BsReturn/index.d.ts +7 -0
- package/dist/esm/components/BS/BsReturn/index.js +6 -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/BsE3/BsGoods/index.d.ts +7 -0
- package/dist/esm/components/BsE3/BsGoods/index.js +6 -0
- package/dist/esm/components/BsE3/BsReissueE3/index.d.ts +7 -0
- package/dist/esm/components/BsE3/BsReissueE3/index.js +6 -0
- package/dist/esm/components/Common/constants/columnsBaseInfoMap.d.ts +6 -0
- package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +18 -2
- package/dist/esm/components/Common/constants/wdt.js +13 -3
- package/dist/esm/components/Common/index.js +21 -6
- package/dist/esm/components/CommonHeaderGood/index.js +81 -42
- package/dist/esm/components/CommonMultiStatus/index.d.ts +4 -1
- package/dist/esm/components/CommonMultiStatus/index.js +92 -6
- package/dist/esm/components/GY/GyGoods/index.d.ts +7 -0
- package/dist/esm/components/GY/GyGoods/index.js +6 -0
- package/dist/esm/components/GY/GyReissue/index.d.ts +7 -0
- package/dist/esm/components/GY/GyReissue/index.js +6 -0
- package/dist/esm/components/GY/GyReturn/index.d.ts +7 -0
- package/dist/esm/components/GY/GyReturn/index.js +6 -0
- package/dist/esm/components/JST/JstSendGood/index.d.ts +2 -1
- package/dist/esm/components/JST/JstSendGood/index.js +16 -2
- package/dist/esm/components/JST/JstSupply/index.d.ts +1 -1
- package/dist/esm/components/JST/JstSupply/index.js +3 -0
- package/dist/esm/components/KM/KmExchange/index.d.ts +7 -0
- package/dist/esm/components/KM/KmExchange/index.js +6 -0
- package/dist/esm/components/KmErpSendGood/index.d.ts +1 -1
- package/dist/esm/components/KmErpSendGood/index.js +3 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +3 -0
- package/dist/esm/components/LogisticsInterception/index.js +14 -7
- package/dist/esm/components/LogisticsInterception/interceptLogisticsCustomerCode.d.ts +42 -0
- package/dist/esm/components/LogisticsInterception/interceptLogisticsCustomerCode.js +102 -0
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +2 -0
- package/dist/esm/components/LogisticsMoreInterception/index.js +19 -5
- package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsCustomerCode.d.ts +39 -0
- package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsCustomerCode.js +101 -0
- package/dist/esm/components/Public/Exchange/index.d.ts +7 -0
- package/dist/esm/components/Public/Exchange/index.js +6 -0
- package/dist/esm/components/Public/Goods/index.js +6 -12
- package/dist/esm/components/Public/ReissueGoods/index.d.ts +7 -0
- package/dist/esm/components/Public/ReissueGoods/index.js +6 -0
- package/dist/esm/components/Public/ReturnWarehouse/index.d.ts +1 -1
- package/dist/esm/components/Public/ReturnWarehouse/index.js +3 -0
- package/dist/esm/components/Reissue/Logistics/index.d.ts +1 -1
- package/dist/esm/components/Reissue/Logistics/index.js +3 -0
- package/dist/esm/components/Remark/index.d.ts +4 -1
- package/dist/esm/components/Remark/index.js +46 -9
- package/dist/esm/components/SKX/SkxGoods/index.d.ts +7 -0
- package/dist/esm/components/SKX/SkxGoods/index.js +6 -0
- package/dist/esm/components/WDT/WdtExchange/index.d.ts +7 -0
- package/dist/esm/components/WDT/WdtExchange/index.js +6 -0
- package/dist/esm/components/WDT/WdtGoods/index.d.ts +7 -0
- package/dist/esm/components/WDT/WdtGoods/index.js +6 -0
- package/dist/esm/components/WDT/WdtRessuie/index.d.ts +7 -0
- package/dist/esm/components/WDT/WdtRessuie/index.js +6 -0
- package/dist/esm/components/WDT/WdtReturn/index.d.ts +7 -0
- package/dist/esm/components/WDT/WdtReturn/index.js +6 -0
- package/dist/esm/constant.js +0 -3
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +11 -1
- package/dist/esm/service/api.d.ts +1 -0
- package/dist/esm/service/api.js +6 -0
- package/dist/esm/type.d.ts +1 -0
- package/package.json +4 -4
|
@@ -17,6 +17,7 @@ import { SYMBOL } from "../../../constant";
|
|
|
17
17
|
// import { BsType, BsMemo } from "../../Bs/common";
|
|
18
18
|
import { CommonExchangeGoods } from "@kmkf-fe-packages/basic-components";
|
|
19
19
|
import CommonHeaderGoods from "../../CommonHeaderGood";
|
|
20
|
+
import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
|
|
20
21
|
var WDTExchange = /*#__PURE__*/_createClass(
|
|
21
22
|
// wdtType: BsType;
|
|
22
23
|
// wdtMemo: BsMemo;
|
|
@@ -39,7 +40,11 @@ function WDTExchange(options) {
|
|
|
39
40
|
_defineProperty(this, "canSort", void 0);
|
|
40
41
|
_defineProperty(this, "children", void 0);
|
|
41
42
|
_defineProperty(this, "dataType", void 0);
|
|
43
|
+
_defineProperty(this, "sortChildField", void 0);
|
|
42
44
|
_defineProperty(this, "returnGoods", void 0);
|
|
45
|
+
_defineProperty(this, "getSortChildFields", function () {
|
|
46
|
+
return getGoodsSortChildFields(_this.type, _this.id);
|
|
47
|
+
});
|
|
43
48
|
_defineProperty(this, "renderClient", function (record) {
|
|
44
49
|
var _this$componentConfig;
|
|
45
50
|
var wdtExchangeGoods = JSON.parse((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_wdtExchangeGoods")]) || "[]");
|
|
@@ -180,5 +185,6 @@ function WDTExchange(options) {
|
|
|
180
185
|
},*/];
|
|
181
186
|
|
|
182
187
|
this.dataType = "object";
|
|
188
|
+
this.sortChildField = this.getSortChildFields();
|
|
183
189
|
});
|
|
184
190
|
export default WDTExchange;
|
|
@@ -14,8 +14,15 @@ declare class WdtGoods implements ComponentInterface {
|
|
|
14
14
|
canSort: boolean;
|
|
15
15
|
children: ComponentInterface[];
|
|
16
16
|
dataType: ComponentInterface["dataType"];
|
|
17
|
+
sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
|
|
17
18
|
wdtGoods: CommonHeaderGoods;
|
|
18
19
|
constructor(options: PickOption);
|
|
20
|
+
getSortChildFields: () => {
|
|
21
|
+
name: any;
|
|
22
|
+
key: string;
|
|
23
|
+
dataType: string;
|
|
24
|
+
conditionOptionsSetting: any;
|
|
25
|
+
}[];
|
|
19
26
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
27
|
renderPc: () => null;
|
|
21
28
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
@@ -16,6 +16,7 @@ import ItemView from "../../../commonComponents/ItemView";
|
|
|
16
16
|
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
17
|
import { CommonGoods as Goods } from "@kmkf-fe-packages/basic-components";
|
|
18
18
|
import { SYMBOL } from "../../../constant";
|
|
19
|
+
import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
|
|
19
20
|
var WdtGoods = /*#__PURE__*/_createClass(function WdtGoods(options) {
|
|
20
21
|
var _this = this,
|
|
21
22
|
_this$componentConfig6;
|
|
@@ -32,7 +33,11 @@ var WdtGoods = /*#__PURE__*/_createClass(function WdtGoods(options) {
|
|
|
32
33
|
_defineProperty(this, "canSort", void 0);
|
|
33
34
|
_defineProperty(this, "children", void 0);
|
|
34
35
|
_defineProperty(this, "dataType", void 0);
|
|
36
|
+
_defineProperty(this, "sortChildField", void 0);
|
|
35
37
|
_defineProperty(this, "wdtGoods", void 0);
|
|
38
|
+
_defineProperty(this, "getSortChildFields", function () {
|
|
39
|
+
return getGoodsSortChildFields(_this.type, _this.id);
|
|
40
|
+
});
|
|
36
41
|
_defineProperty(this, "renderClient", function (record) {
|
|
37
42
|
var _record, _this$componentConfig;
|
|
38
43
|
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -119,5 +124,6 @@ var WdtGoods = /*#__PURE__*/_createClass(function WdtGoods(options) {
|
|
|
119
124
|
}
|
|
120
125
|
}] : [];
|
|
121
126
|
this.dataType = "object";
|
|
127
|
+
this.sortChildField = this.getSortChildFields();
|
|
122
128
|
});
|
|
123
129
|
export default WdtGoods;
|
|
@@ -15,11 +15,18 @@ declare class WdtReissue implements ComponentInterface {
|
|
|
15
15
|
canSort: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
dataType: ComponentInterface["dataType"];
|
|
18
|
+
sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
|
|
18
19
|
bsType: BsType;
|
|
19
20
|
bsMemo: BsMemo;
|
|
20
21
|
systemOrderNo: SystemOrderNo;
|
|
21
22
|
reissueGoods: BsHeaderGood | CommonHeaderGoods;
|
|
22
23
|
constructor(options: PickOption);
|
|
24
|
+
getSortChildFields: () => {
|
|
25
|
+
name: any;
|
|
26
|
+
key: string;
|
|
27
|
+
dataType: string;
|
|
28
|
+
conditionOptionsSetting: any;
|
|
29
|
+
}[];
|
|
23
30
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
24
31
|
renderPc: () => null;
|
|
25
32
|
renderLog: (r: Record) => React.JSX.Element;
|
|
@@ -17,6 +17,7 @@ import { SYMBOL } from "../../../constant";
|
|
|
17
17
|
import { BsGoodsTable } from "../../Common/index";
|
|
18
18
|
import { BsType, BsMemo, BsHeaderGood, SystemOrderNo } from "../../BS/common/index";
|
|
19
19
|
import CommonHeaderGoods from "../../CommonHeaderGood";
|
|
20
|
+
import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
|
|
20
21
|
var typeMap = {
|
|
21
22
|
WDT_REISSUE_GOODS: {
|
|
22
23
|
key: "wdtReissueGoods",
|
|
@@ -56,10 +57,14 @@ var WdtReissue = /*#__PURE__*/_createClass(function WdtReissue(options) {
|
|
|
56
57
|
_defineProperty(this, "canSort", void 0);
|
|
57
58
|
_defineProperty(this, "children", void 0);
|
|
58
59
|
_defineProperty(this, "dataType", void 0);
|
|
60
|
+
_defineProperty(this, "sortChildField", void 0);
|
|
59
61
|
_defineProperty(this, "bsType", void 0);
|
|
60
62
|
_defineProperty(this, "bsMemo", void 0);
|
|
61
63
|
_defineProperty(this, "systemOrderNo", void 0);
|
|
62
64
|
_defineProperty(this, "reissueGoods", void 0);
|
|
65
|
+
_defineProperty(this, "getSortChildFields", function () {
|
|
66
|
+
return getGoodsSortChildFields(_this.type, _this.id);
|
|
67
|
+
});
|
|
63
68
|
_defineProperty(this, "renderClient", function (record) {
|
|
64
69
|
var _record, _typeMap$_this$type, _record2, _typeMap$_this$type2, _this$componentConfig;
|
|
65
70
|
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.bsType.renderClient(record), _this.bsMemo.renderClient(record), _this.systemOrderNo.renderClient(record), record !== null && record !== void 0 && (_record = record["".concat(_this.id)]) !== null && _record !== void 0 && _record[(_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key].length ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -208,5 +213,6 @@ var WdtReissue = /*#__PURE__*/_createClass(function WdtReissue(options) {
|
|
|
208
213
|
}
|
|
209
214
|
}];
|
|
210
215
|
this.dataType = "object";
|
|
216
|
+
this.sortChildField = this.getSortChildFields();
|
|
211
217
|
});
|
|
212
218
|
export default WdtReissue;
|
|
@@ -15,9 +15,16 @@ declare class WdtReturn implements ComponentInterface {
|
|
|
15
15
|
canSort: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
dataType: ComponentInterface["dataType"];
|
|
18
|
+
sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
|
|
18
19
|
wdtType: BsType;
|
|
19
20
|
reissueGoods: CommonHeaderGoods;
|
|
20
21
|
constructor(options: PickOption);
|
|
22
|
+
getSortChildFields: () => {
|
|
23
|
+
name: any;
|
|
24
|
+
key: string;
|
|
25
|
+
dataType: string;
|
|
26
|
+
conditionOptionsSetting: any;
|
|
27
|
+
}[];
|
|
21
28
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
22
29
|
renderPc: () => null;
|
|
23
30
|
renderLog: (r: Record) => React.JSX.Element;
|
|
@@ -17,6 +17,7 @@ import { BsGoodsTable } from "../../Common";
|
|
|
17
17
|
import { BsType } from "../../BS/common/index";
|
|
18
18
|
import { CommonReturnGoods } from "@kmkf-fe-packages/basic-components";
|
|
19
19
|
import CommonHeaderGoods from "../../CommonHeaderGood";
|
|
20
|
+
import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
|
|
20
21
|
var WdtReturn = /*#__PURE__*/_createClass(function WdtReturn(options) {
|
|
21
22
|
var _this = this,
|
|
22
23
|
_this$componentConfig6;
|
|
@@ -33,8 +34,12 @@ var WdtReturn = /*#__PURE__*/_createClass(function WdtReturn(options) {
|
|
|
33
34
|
_defineProperty(this, "canSort", void 0);
|
|
34
35
|
_defineProperty(this, "children", void 0);
|
|
35
36
|
_defineProperty(this, "dataType", void 0);
|
|
37
|
+
_defineProperty(this, "sortChildField", void 0);
|
|
36
38
|
_defineProperty(this, "wdtType", void 0);
|
|
37
39
|
_defineProperty(this, "reissueGoods", void 0);
|
|
40
|
+
_defineProperty(this, "getSortChildFields", function () {
|
|
41
|
+
return getGoodsSortChildFields(_this.type, _this.id);
|
|
42
|
+
});
|
|
38
43
|
_defineProperty(this, "renderClient", function (record) {
|
|
39
44
|
var _this$componentConfig;
|
|
40
45
|
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.wdtType.renderClient(record), record !== null && record !== void 0 && record["".concat(_this.id)].wdtReturnGoods.length ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -147,5 +152,6 @@ var WdtReturn = /*#__PURE__*/_createClass(function WdtReturn(options) {
|
|
|
147
152
|
}
|
|
148
153
|
}] : [];
|
|
149
154
|
this.dataType = "object";
|
|
155
|
+
this.sortChildField = this.getSortChildFields();
|
|
150
156
|
});
|
|
151
157
|
export default WdtReturn;
|
package/dist/esm/constant.js
CHANGED
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) => CommonMultiStatus |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => CommonMultiStatus | LogisticsInterception | LogisticsMoreInterception | 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 | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | 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);
|
|
@@ -254,14 +258,20 @@ export var factory = function factory(type, options) {
|
|
|
254
258
|
return new StatusSelect(options);
|
|
255
259
|
case "RETURN_GOODS_STATUS":
|
|
256
260
|
case "EXCHANGE_STATUS":
|
|
261
|
+
return new CommonMultiStatus(options);
|
|
257
262
|
case "WAREHOUSING_STATUS":
|
|
258
263
|
case "BS_E3_WAREHOUSING_STATUS":
|
|
259
264
|
case "WDT_WAREHOUSING_STATUS":
|
|
265
|
+
case "WDT_WAREHOUSING_STATUS_V2":
|
|
266
|
+
case "DXD_WAREHOUSING_STATUS":
|
|
260
267
|
case "WLN_WAREHOUSING_STATUS":
|
|
261
268
|
case "JKY_WAREHOUSING_STATUS":
|
|
262
269
|
case "JST_WAREHOUSING_STATUS":
|
|
263
270
|
case "KM_WAREHOUSING_STATUS":
|
|
264
|
-
|
|
271
|
+
case "TTX_WAREHOUSING_STATUS":
|
|
272
|
+
return new CommonMultiStatus(options, {
|
|
273
|
+
isWarehousingStatus: true
|
|
274
|
+
});
|
|
265
275
|
case "MSG_STATUS":
|
|
266
276
|
return new MsgStatus(options);
|
|
267
277
|
case "GY_PAYMENT_METHOD":
|
|
@@ -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/dist/esm/type.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare type ShowHeaderObjType = {
|
|
|
5
5
|
title: string;
|
|
6
6
|
dataIndex: string;
|
|
7
7
|
show?: boolean;
|
|
8
|
+
width?: number;
|
|
8
9
|
};
|
|
9
10
|
export declare type DataType = "string" | "number" | "array" | "dateArray" | "date" | "tradeId";
|
|
10
11
|
export declare type ALignType = "left" | "right" | "center";
|
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.53",
|
|
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.53",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.53",
|
|
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": "2b33e941ade36298495ea83b762c57cbd52e3c12",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|