@kmkf-fe-packages/services-components 2.0.79-beta.85 → 2.0.79-beta.86
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/components/BS/BsLogistics/index.js +11 -0
- package/dist/esm/components/BS/common/expressCode.js +3 -0
- package/dist/esm/components/BS/common/expressCompany.js +3 -0
- package/dist/esm/components/CommonHeaderGood/index.js +16 -0
- package/dist/esm/components/SKX/SkxGoods/index.js +4 -0
- package/dist/esm/components/SKX/SkxIdInputSelect/index.js +7 -6
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +5 -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/
|
|
3
|
+
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/BuyerNick").default | import("../components/Checkbox").default | import("../components/CommonMultiStatus").default | import("../components/File").default | import("../components/FlowTag").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/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").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/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/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BS/BsGoods").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/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/CommonSystemOrder").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/AfterSalesOrderId").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/GY/GyGoods").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;
|
|
@@ -99,6 +99,16 @@ var typeMap = {
|
|
|
99
99
|
companyDataType: "like",
|
|
100
100
|
companyCodeType: "like",
|
|
101
101
|
logisticsCompanyFormType: "input"
|
|
102
|
+
},
|
|
103
|
+
SKX_RETURN_LOGISTICS: {
|
|
104
|
+
key: "skxReturnLogistics",
|
|
105
|
+
name: "斯凯奇退货",
|
|
106
|
+
company: "skxReturnLogisticsCompany",
|
|
107
|
+
code: "skxReturnLogisticsCode",
|
|
108
|
+
platformType: "skx",
|
|
109
|
+
companyDataType: "like",
|
|
110
|
+
companyCodeType: "like",
|
|
111
|
+
logisticsCompanyFormType: "input"
|
|
102
112
|
}
|
|
103
113
|
};
|
|
104
114
|
var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
@@ -165,6 +175,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
165
175
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
166
176
|
var _typeMap$_this$type2, _typeMap$_this$type3;
|
|
167
177
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.key)];
|
|
178
|
+
console.log("\uD83D\uDE80 ~ index.tsx:234 ~ list:", list);
|
|
168
179
|
//兼容多个商品
|
|
169
180
|
return /*#__PURE__*/React.createElement("span", {
|
|
170
181
|
onClick: function onClick(e) {
|
|
@@ -1578,6 +1578,22 @@ var GoodHeaderMap = {
|
|
|
1578
1578
|
width: 200
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
+
},
|
|
1582
|
+
SKX_RETURN_GOODS: {
|
|
1583
|
+
headerMap: {
|
|
1584
|
+
returnSkuEcode: {
|
|
1585
|
+
name: "[SKX]退货单明细-returnSkuEcode",
|
|
1586
|
+
width: 200
|
|
1587
|
+
},
|
|
1588
|
+
returnSubOrderId: {
|
|
1589
|
+
name: "[SKX]退货单-子订单号",
|
|
1590
|
+
width: 300
|
|
1591
|
+
},
|
|
1592
|
+
returnBillNo: {
|
|
1593
|
+
name: "[SKX]TH退换货单号",
|
|
1594
|
+
width: 200
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1581
1597
|
}
|
|
1582
1598
|
};
|
|
1583
1599
|
GoodHeaderMap["WDT_REISSUE_GOODS"] = GoodHeaderMap["WDT_GOODS"];
|
|
@@ -16,6 +16,10 @@ var typeMap = {
|
|
|
16
16
|
SKX_OUTBOUND_NOTICE_NO: {
|
|
17
17
|
key: "skxOutboundNoticeNo",
|
|
18
18
|
blurType: "skxOutboundNoticeNo"
|
|
19
|
+
},
|
|
20
|
+
SKX_RETURN_BILL_NO: {
|
|
21
|
+
key: "skxReturnBillNo",
|
|
22
|
+
blurType: "skxReturnBillNo"
|
|
19
23
|
}
|
|
20
24
|
};
|
|
21
25
|
var SkxIdInputSelect = /*#__PURE__*/_createClass(function SkxIdInputSelect(options) {
|
|
@@ -74,15 +78,12 @@ var SkxIdInputSelect = /*#__PURE__*/_createClass(function SkxIdInputSelect(optio
|
|
|
74
78
|
_this.isChange = false;
|
|
75
79
|
}
|
|
76
80
|
};
|
|
77
|
-
var onChange = function onChange() {
|
|
81
|
+
var onChange = function onChange(e, isChange) {
|
|
78
82
|
var _typeMap$_this$type8;
|
|
79
|
-
if ((_typeMap$_this$type8 = typeMap[_this.type]) !== null && _typeMap$_this$type8 !== void 0 && _typeMap$_this$type8.blurType) {
|
|
83
|
+
if ((_typeMap$_this$type8 = typeMap[_this.type]) !== null && _typeMap$_this$type8 !== void 0 && _typeMap$_this$type8.blurType && isChange) {
|
|
80
84
|
_this.isChange = true;
|
|
81
85
|
}
|
|
82
|
-
|
|
83
|
-
e[_key] = arguments[_key];
|
|
84
|
-
}
|
|
85
|
-
p === null || p === void 0 ? void 0 : p.onChange.apply(p, e);
|
|
86
|
+
p === null || p === void 0 ? void 0 : p.onChange(e);
|
|
86
87
|
};
|
|
87
88
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
88
89
|
title: _this.name,
|
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 | CommonMultiStatus | FlowTag | BasicInput | BasicTypeInput | BasicAddress | BasicCascader |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | BuyerNick | BasicCheckbox | CommonMultiStatus | BasicFile | FlowTag | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | GyGoods;
|
package/dist/esm/factory.js
CHANGED
|
@@ -205,6 +205,7 @@ export var factory = function factory(type, options) {
|
|
|
205
205
|
case "GY_LOGISTICS":
|
|
206
206
|
case "JY_LOGISTICS":
|
|
207
207
|
case "SKX_LOGISTICS":
|
|
208
|
+
case "SKX_RETURN_LOGISTICS":
|
|
208
209
|
return new BsLogistics(options);
|
|
209
210
|
case "FLOW_WORK_ORDER_ID_INPUT":
|
|
210
211
|
return new FlowWorkOrderId(options);
|
|
@@ -280,6 +281,7 @@ export var factory = function factory(type, options) {
|
|
|
280
281
|
case "WDT_TAGS":
|
|
281
282
|
return new AsyncSelect(options);
|
|
282
283
|
case "SKX_OUTBOUND_NOTICE_NO":
|
|
284
|
+
case "SKX_RETURN_BILL_NO":
|
|
283
285
|
return new SkxIdInputSelect(options);
|
|
284
286
|
case "SKX_ORDER_TYPE":
|
|
285
287
|
return new BasicSelectOption(options);
|
|
@@ -288,8 +290,11 @@ export var factory = function factory(type, options) {
|
|
|
288
290
|
case "SKX_SHOP_NAME":
|
|
289
291
|
case "SKX_WAREHOUSE":
|
|
290
292
|
case "SKX_ORDER_STATUS":
|
|
293
|
+
case "SKX_REFUND_BILL_NO":
|
|
294
|
+
case "SKX_RETURN_ORDER_STATUS":
|
|
291
295
|
return new BasicTypeInput(options);
|
|
292
296
|
case "SKX_GOODS":
|
|
297
|
+
case "SKX_RETURN_GOODS":
|
|
293
298
|
return new SkxGoods(options);
|
|
294
299
|
case "ORDER_SUBFORM":
|
|
295
300
|
return new OrderSubForm(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.0.79-beta.
|
|
3
|
+
"version": "2.0.79-beta.86",
|
|
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.0.79-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.0.79-beta.86",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.86",
|
|
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": "d482d7f91000c6f6b728ecda938cc7efe41d33c0",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|