@kmkf-fe-packages/services-components 2.2.38 → 2.2.39-beta.0
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/components/BS/BsLogistics/index.js +11 -9
- package/dist/esm/components/BS/common/expressCode.js +1 -2
- package/dist/esm/components/CommonHeaderGood/index.js +64 -8
- package/dist/esm/components/CommonInput/index.js +11 -3
- package/dist/esm/components/Input/index.d.ts +4 -4
- package/dist/esm/components/Input/index.js +35 -31
- package/dist/esm/components/JST/JstSendGood/index.js +1 -1
- package/dist/esm/components/MsgStatus/index.js +6 -1
- package/dist/esm/components/OrderSubForm/index.d.ts +7 -0
- package/dist/esm/components/OrderSubForm/index.js +14 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +0 -1
- package/dist/esm/components/Payment/PaymentAmount.js +0 -4
- package/dist/esm/components/PostIng/index.d.ts +1 -1
- package/dist/esm/components/StatusSelect/index.js +4 -0
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +3 -0
- 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/
|
|
3
|
+
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/ActualPayment").default | import("../components/Address").default | import("../components/AfterSalesOrderId").default | import("../components/Alipay").default | import("../components/BS/BsExchange").default | import("../components/BS/BsGoods").default | import("../components/BS/BsLogistics").default | import("../components/BS/BsPosting").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/BS/BsSystemOrder").default | import("../components/BsE3/BsGoods").default | import("../components/BsE3/BsReissueE3").default | import("../components/BuyerNick").default | import("../components/Calculation").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/CommonDataTime").default | import("../components/CommonInput").default | import("../components/CommonMultiStatus").default | import("../components/CommonSystemOrder").default | import("../components/CompletedUser").default | import("../components/DataTime").default | import("../components/EItemEnCode").default | import("../components/EItemId").default | import("../components/EItemSelect").default | import("../components/Input").default | import("../components/TypeInput").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/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/Remark").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/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").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/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").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/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 | 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;
|
|
@@ -82,6 +82,15 @@ var typeMap = {
|
|
|
82
82
|
companyDataType: "string",
|
|
83
83
|
companyCodeType: "arrayObject"
|
|
84
84
|
},
|
|
85
|
+
JY_LOGISTICS: {
|
|
86
|
+
key: "jyLogisticsList",
|
|
87
|
+
name: "巨益",
|
|
88
|
+
company: "jyLogisticsCompany",
|
|
89
|
+
code: "jyLogisticsCode",
|
|
90
|
+
platformType: "jy",
|
|
91
|
+
companyDataType: "arrayObject",
|
|
92
|
+
companyCodeType: "arrayObject"
|
|
93
|
+
},
|
|
85
94
|
SKX_LOGISTICS: {
|
|
86
95
|
key: "skxLogisticsList",
|
|
87
96
|
name: "斯凯奇",
|
|
@@ -101,15 +110,6 @@ var typeMap = {
|
|
|
101
110
|
companyDataType: "like",
|
|
102
111
|
companyCodeType: "like",
|
|
103
112
|
logisticsCompanyFormType: "input"
|
|
104
|
-
},
|
|
105
|
-
JY_LOGISTICS: {
|
|
106
|
-
key: "jyLogisticsList",
|
|
107
|
-
name: "巨益",
|
|
108
|
-
company: "jyLogisticsCompany",
|
|
109
|
-
code: "jyLogisticsCode",
|
|
110
|
-
platformType: "jy",
|
|
111
|
-
companyDataType: "string",
|
|
112
|
-
companyCodeType: "arrayObject"
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
@@ -207,6 +207,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
207
207
|
_defineProperty(this, "editRender", function (p) {
|
|
208
208
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$expressDateInst2, _typeMap$_this$type6;
|
|
209
209
|
var onLogisticsCodeBlur = function onLogisticsCodeBlur(val) {
|
|
210
|
+
var _p$onBlur2;
|
|
210
211
|
if (_this.isChange) {
|
|
211
212
|
var _this$effects, _this$effects$form, _p$onBlur;
|
|
212
213
|
(_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : (_this$effects$form = _this$effects.form) === null || _this$effects$form === void 0 ? void 0 : _this$effects$form.setFieldsValue({
|
|
@@ -215,6 +216,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
215
216
|
_this.type === "SKX_RETURN_LOGISTICS" && (p === null || p === void 0 ? void 0 : (_p$onBlur = p.onBlur) === null || _p$onBlur === void 0 ? void 0 : _p$onBlur.call(p, val, "skxReturnTHLogisticsCode"));
|
|
216
217
|
_this.isChange = false;
|
|
217
218
|
}
|
|
219
|
+
_this.type === "SKX_LOGISTICS" && (p === null || p === void 0 ? void 0 : (_p$onBlur2 = p.onBlur) === null || _p$onBlur2 === void 0 ? void 0 : _p$onBlur2.call(p, val, "skxLogisticsCode"));
|
|
218
220
|
};
|
|
219
221
|
var onLogisticsCodeChange = function onLogisticsCodeChange() {
|
|
220
222
|
_this.isChange = true;
|
|
@@ -80,8 +80,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
80
80
|
}
|
|
81
81
|
return /*#__PURE__*/React.createElement(BsExpressRender, {
|
|
82
82
|
list: record === null || record === void 0 ? void 0 : record["".concat(key, "_").concat(parentKey, "_").concat(typeMap[_this.type].key)],
|
|
83
|
-
showField: "code"
|
|
84
|
-
logisticsCompanyFormType: _this.logisticsCompanyFormType || "select"
|
|
83
|
+
showField: "code"
|
|
85
84
|
});
|
|
86
85
|
});
|
|
87
86
|
_defineProperty(this, "renderLog", function (r) {
|
|
@@ -129,6 +129,18 @@ var GoodHeaderMap = {
|
|
|
129
129
|
name: "赠品方式",
|
|
130
130
|
key: "giftType",
|
|
131
131
|
width: 150
|
|
132
|
+
},
|
|
133
|
+
unitName: {
|
|
134
|
+
component: BsHeaderChild,
|
|
135
|
+
name: "基本单位",
|
|
136
|
+
key: "unitName",
|
|
137
|
+
width: 150
|
|
138
|
+
},
|
|
139
|
+
auxUnitName: {
|
|
140
|
+
component: BsHeaderChild,
|
|
141
|
+
name: "辅助单位",
|
|
142
|
+
key: "auxUnitName",
|
|
143
|
+
width: 150
|
|
132
144
|
}
|
|
133
145
|
},
|
|
134
146
|
itemKey: {
|
|
@@ -146,7 +158,9 @@ var GoodHeaderMap = {
|
|
|
146
158
|
orderPrice: "成交总金额",
|
|
147
159
|
num: "数量",
|
|
148
160
|
sharePrice: "分摊价",
|
|
149
|
-
giftType: "赠品方式"
|
|
161
|
+
giftType: "赠品方式",
|
|
162
|
+
unitName: "基本单位",
|
|
163
|
+
auxUnitName: "辅助单位"
|
|
150
164
|
},
|
|
151
165
|
moneyKey: "orderPrice"
|
|
152
166
|
},
|
|
@@ -265,6 +279,18 @@ var GoodHeaderMap = {
|
|
|
265
279
|
name: "赠品类型",
|
|
266
280
|
key: "giftTypeDesc",
|
|
267
281
|
width: 150
|
|
282
|
+
},
|
|
283
|
+
unitName: {
|
|
284
|
+
component: BsHeaderChild,
|
|
285
|
+
name: "基本单位",
|
|
286
|
+
key: "unitName",
|
|
287
|
+
width: 150
|
|
288
|
+
},
|
|
289
|
+
auxUnitName: {
|
|
290
|
+
component: BsHeaderChild,
|
|
291
|
+
name: "辅助单位",
|
|
292
|
+
key: "auxUnitName",
|
|
293
|
+
width: 150
|
|
268
294
|
}
|
|
269
295
|
},
|
|
270
296
|
itemKey: {
|
|
@@ -286,7 +312,9 @@ var GoodHeaderMap = {
|
|
|
286
312
|
num: "实际发出数量",
|
|
287
313
|
price: "价格",
|
|
288
314
|
originalPrice: "原价",
|
|
289
|
-
giftTypeDesc: "赠品类型"
|
|
315
|
+
giftTypeDesc: "赠品类型",
|
|
316
|
+
unitName: "基本单位",
|
|
317
|
+
auxUnitName: "辅助单位"
|
|
290
318
|
},
|
|
291
319
|
moneyKey: "totalAmount"
|
|
292
320
|
},
|
|
@@ -394,6 +422,18 @@ var GoodHeaderMap = {
|
|
|
394
422
|
};
|
|
395
423
|
return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
|
|
396
424
|
}
|
|
425
|
+
},
|
|
426
|
+
unitName: {
|
|
427
|
+
component: BsHeaderChild,
|
|
428
|
+
name: "基本单位",
|
|
429
|
+
key: "unitName",
|
|
430
|
+
width: 150
|
|
431
|
+
},
|
|
432
|
+
auxUnitName: {
|
|
433
|
+
component: BsHeaderChild,
|
|
434
|
+
name: "辅助单位",
|
|
435
|
+
key: "auxUnitName",
|
|
436
|
+
width: 150
|
|
397
437
|
}
|
|
398
438
|
},
|
|
399
439
|
itemKey: {
|
|
@@ -412,7 +452,9 @@ var GoodHeaderMap = {
|
|
|
412
452
|
sharePrice: "分摊价",
|
|
413
453
|
returnPrice: "退款金额",
|
|
414
454
|
giftType: "赠品方式",
|
|
415
|
-
type: "商品类型"
|
|
455
|
+
type: "商品类型",
|
|
456
|
+
unitName: "基本单位",
|
|
457
|
+
auxUnitName: "辅助单位"
|
|
416
458
|
},
|
|
417
459
|
moneyKey: "returnPrice"
|
|
418
460
|
},
|
|
@@ -520,6 +562,18 @@ var GoodHeaderMap = {
|
|
|
520
562
|
name: "赠品方式",
|
|
521
563
|
key: "giftType",
|
|
522
564
|
width: 150
|
|
565
|
+
},
|
|
566
|
+
unitName: {
|
|
567
|
+
component: BsHeaderChild,
|
|
568
|
+
name: "基本单位",
|
|
569
|
+
key: "unitName",
|
|
570
|
+
width: 150
|
|
571
|
+
},
|
|
572
|
+
auxUnitName: {
|
|
573
|
+
component: BsHeaderChild,
|
|
574
|
+
name: "辅助单位",
|
|
575
|
+
key: "auxUnitName",
|
|
576
|
+
width: 150
|
|
523
577
|
}
|
|
524
578
|
},
|
|
525
579
|
itemKey: {
|
|
@@ -538,7 +592,9 @@ var GoodHeaderMap = {
|
|
|
538
592
|
productPrice: "商品单价",
|
|
539
593
|
exchangePrice: "换出金额",
|
|
540
594
|
type: "商品类型",
|
|
541
|
-
giftType: "赠品方式"
|
|
595
|
+
giftType: "赠品方式",
|
|
596
|
+
unitName: "基本单位",
|
|
597
|
+
auxUnitName: "辅助单位"
|
|
542
598
|
},
|
|
543
599
|
moneyKey: "exchangePrice"
|
|
544
600
|
},
|
|
@@ -1152,11 +1208,11 @@ var GoodHeaderMap = {
|
|
|
1152
1208
|
name: "总金额",
|
|
1153
1209
|
transformValue: function transformValue(val, record, parentName) {
|
|
1154
1210
|
if (!record) return "--";
|
|
1155
|
-
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1211
|
+
return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
|
|
1156
1212
|
},
|
|
1157
1213
|
renderExport: function renderExport(val, record, parentName) {
|
|
1158
1214
|
if (!record) return "--";
|
|
1159
|
-
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1215
|
+
return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
|
|
1160
1216
|
}
|
|
1161
1217
|
},
|
|
1162
1218
|
batchId: "批次号",
|
|
@@ -1264,11 +1320,11 @@ var GoodHeaderMap = {
|
|
|
1264
1320
|
name: "总金额",
|
|
1265
1321
|
transformValue: function transformValue(val, record, parentName) {
|
|
1266
1322
|
if (!record) return "--";
|
|
1267
|
-
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1323
|
+
return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
|
|
1268
1324
|
},
|
|
1269
1325
|
renderExport: function renderExport(val, record, parentName) {
|
|
1270
1326
|
if (!record) return "--";
|
|
1271
|
-
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1327
|
+
return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
|
|
1272
1328
|
}
|
|
1273
1329
|
},
|
|
1274
1330
|
batchId: "批次号",
|
|
@@ -17,6 +17,14 @@ var INPUT_MAP = {
|
|
|
17
17
|
key: "businessOrderNo",
|
|
18
18
|
disabled: true,
|
|
19
19
|
placeholder: "自动获取无需填写"
|
|
20
|
+
},
|
|
21
|
+
REPAIR_ORDER_SN: {
|
|
22
|
+
key: "repairOrderSn",
|
|
23
|
+
placeholder: "请输入维修单编号"
|
|
24
|
+
},
|
|
25
|
+
REPAIR_ORDER_ID: {
|
|
26
|
+
key: "repairOrderId",
|
|
27
|
+
placeholder: "请输入维修单id"
|
|
20
28
|
}
|
|
21
29
|
};
|
|
22
30
|
var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
|
|
@@ -62,7 +70,7 @@ var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
|
|
|
62
70
|
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(INPUT_MAP[_this.type].key)]) !== null && _record !== void 0 ? _record : "--";
|
|
63
71
|
});
|
|
64
72
|
_defineProperty(this, "editRender", function (p) {
|
|
65
|
-
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
73
|
+
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$componentConfig5;
|
|
66
74
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
67
75
|
title: _this.name,
|
|
68
76
|
name: _this.id,
|
|
@@ -70,10 +78,10 @@ var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
|
|
|
70
78
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
71
79
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
72
80
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
73
|
-
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip :
|
|
81
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
|
|
74
82
|
component: /*#__PURE__*/React.createElement(Input, _extends({}, _this.componentConfig, {
|
|
75
83
|
placeholder: INPUT_MAP[_this.type].placeholder || "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
76
|
-
disabled: INPUT_MAP[_this.type].disabled
|
|
84
|
+
disabled: INPUT_MAP[_this.type].disabled || ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.disabled)
|
|
77
85
|
}))
|
|
78
86
|
});
|
|
79
87
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
|
|
2
|
+
import React from "react";
|
|
3
3
|
declare class BasicInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
9
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
formField: string;
|
|
12
12
|
canSort: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
|
-
dataType: ComponentInterface[
|
|
14
|
+
dataType: ComponentInterface["dataType"];
|
|
15
15
|
templateId?: string;
|
|
16
16
|
flowTemplateKey?: string;
|
|
17
17
|
workOrderUniqueKey?: string;
|
|
@@ -9,11 +9,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
9
9
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
10
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
11
11
|
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); }
|
|
12
|
-
import React from
|
|
13
|
-
import { ApaasInput } from
|
|
12
|
+
import React from "react";
|
|
13
|
+
import { ApaasInput } from "@kmkf-fe-packages/basic-components";
|
|
14
14
|
import GetFormItem from "../GetFormItem";
|
|
15
15
|
import ItemView from "../../commonComponents/ItemView";
|
|
16
|
-
import { isNull, filterFn as _filterFn } from
|
|
16
|
+
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
17
|
import { SYMBOL, batchInput, SEARCH_OPTIONS } from "../../constant";
|
|
18
18
|
import { replaceCheck } from "../../service/api";
|
|
19
19
|
var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
@@ -36,7 +36,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
36
36
|
_defineProperty(this, "workOrderUniqueKey", void 0);
|
|
37
37
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
38
38
|
var _record;
|
|
39
|
-
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record !== void 0 ? _record :
|
|
39
|
+
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record !== void 0 ? _record : "--");
|
|
40
40
|
});
|
|
41
41
|
_defineProperty(this, "renderLog", function (r) {
|
|
42
42
|
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")])) return null;
|
|
@@ -48,7 +48,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
48
48
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
49
49
|
var _this$componentConfig;
|
|
50
50
|
if (!(record !== null && record !== void 0 && record["".concat(_this.id, "_input")])) {
|
|
51
|
-
return
|
|
51
|
+
return "--";
|
|
52
52
|
}
|
|
53
53
|
return (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.isNumber ? Number(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) : record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")];
|
|
54
54
|
});
|
|
@@ -67,14 +67,18 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
67
67
|
rules: _this.rules,
|
|
68
68
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
69
69
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
70
|
-
validateTrigger: [
|
|
70
|
+
validateTrigger: ["onBlur", "onChange"],
|
|
71
71
|
required: (_this$componentConfig2 = (_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.required) !== null && _this$componentConfig2 !== void 0 ? _this$componentConfig2 : false,
|
|
72
|
-
tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip :
|
|
72
|
+
tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip : "",
|
|
73
73
|
component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
|
|
74
74
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
75
75
|
onChange: function onChange(e) {
|
|
76
76
|
var _this$componentConfig6, _e$target;
|
|
77
77
|
return p === null || p === void 0 ? void 0 : p.onChange((_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.isNumber ? e : e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value);
|
|
78
|
+
},
|
|
79
|
+
onBlur: function onBlur(e) {
|
|
80
|
+
var _this$componentConfig7, _e$target2;
|
|
81
|
+
return p === null || p === void 0 ? void 0 : p.onBlur((_this$componentConfig7 = _this.componentConfig) !== null && _this$componentConfig7 !== void 0 && _this$componentConfig7.isNumber ? e : e === null || e === void 0 ? void 0 : (_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.value, "input");
|
|
78
82
|
}
|
|
79
83
|
}))
|
|
80
84
|
});
|
|
@@ -90,17 +94,17 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
90
94
|
// 过滤组件id
|
|
91
95
|
name: item.name,
|
|
92
96
|
// 过滤组件名称
|
|
93
|
-
filterComponentType:
|
|
97
|
+
filterComponentType: "SelectInput",
|
|
94
98
|
props: {
|
|
95
99
|
filterOptions: SEARCH_OPTIONS
|
|
96
100
|
},
|
|
97
101
|
filterFn: function filterFn(value) {
|
|
98
102
|
return function (i) {
|
|
99
|
-
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id,
|
|
103
|
+
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, "input")).includes(value);
|
|
100
104
|
};
|
|
101
105
|
},
|
|
102
106
|
formatFilterValue: function formatFilterValue(value) {
|
|
103
|
-
if ([
|
|
107
|
+
if (["in", "anylike"].includes(value.type)) {
|
|
104
108
|
return batchInput(value.keywords);
|
|
105
109
|
} else {
|
|
106
110
|
return value;
|
|
@@ -119,7 +123,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
119
123
|
this.workOrderUniqueKey = options === null || options === void 0 ? void 0 : options.workOrderUniqueKey;
|
|
120
124
|
this.rules = [{
|
|
121
125
|
validator: function validator(_, value) {
|
|
122
|
-
var _this$
|
|
126
|
+
var _this$componentConfig8, _this$componentConfig9, _this$componentConfig10, _this$componentConfig11, _this$componentConfig12, _this$componentConfig13;
|
|
123
127
|
if (!value) {
|
|
124
128
|
return Promise.resolve();
|
|
125
129
|
}
|
|
@@ -127,23 +131,23 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
127
131
|
var mail = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9]+(\.[a-zA-Z0-9-]+)*\.([a-zA-Z]{2,})$/;
|
|
128
132
|
var phone = /^1\d{10}$/;
|
|
129
133
|
var testList = [];
|
|
130
|
-
((_this$
|
|
131
|
-
((_this$
|
|
132
|
-
((_this$
|
|
134
|
+
((_this$componentConfig8 = _this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.isNumber) && testList.push(number);
|
|
135
|
+
((_this$componentConfig9 = _this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : _this$componentConfig9.isMail) && testList.push(mail);
|
|
136
|
+
((_this$componentConfig10 = _this.componentConfig) === null || _this$componentConfig10 === void 0 ? void 0 : _this$componentConfig10.isPhone) && testList.push(phone);
|
|
133
137
|
var isTest = testList.some(function (item) {
|
|
134
138
|
return item.test(value);
|
|
135
139
|
});
|
|
136
140
|
if (testList.length && !isTest) {
|
|
137
|
-
return Promise.reject(new Error(
|
|
141
|
+
return Promise.reject(new Error("请填写正确的格式"));
|
|
138
142
|
}
|
|
139
|
-
if ((_this$
|
|
140
|
-
return Promise.reject(new Error(
|
|
143
|
+
if ((_this$componentConfig11 = _this.componentConfig) !== null && _this$componentConfig11 !== void 0 && _this$componentConfig11.isNumber && value > Number.MAX_SAFE_INTEGER) {
|
|
144
|
+
return Promise.reject(new Error("输入数值超出最大数字上限,请使用文本框替代当前数字输入框组件"));
|
|
141
145
|
}
|
|
142
|
-
if ((_this$
|
|
143
|
-
var _this$
|
|
144
|
-
var rulesList = (_this$
|
|
145
|
-
var _this$
|
|
146
|
-
return (((_this$
|
|
146
|
+
if ((_this$componentConfig12 = _this.componentConfig) !== null && _this$componentConfig12 !== void 0 && (_this$componentConfig13 = _this$componentConfig12.rulesOptions) !== null && _this$componentConfig13 !== void 0 && _this$componentConfig13.length) {
|
|
147
|
+
var _this$componentConfig14;
|
|
148
|
+
var rulesList = (_this$componentConfig14 = _this.componentConfig) === null || _this$componentConfig14 === void 0 ? void 0 : _this$componentConfig14.rulesOptions.filter(function (item) {
|
|
149
|
+
var _this$componentConfig15;
|
|
150
|
+
return (((_this$componentConfig15 = _this.componentConfig) === null || _this$componentConfig15 === void 0 ? void 0 : _this$componentConfig15.selectRules) || []).includes(item.id);
|
|
147
151
|
});
|
|
148
152
|
if (!rulesList.length) {
|
|
149
153
|
return Promise.resolve();
|
|
@@ -163,11 +167,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
163
167
|
return Promise.resolve();
|
|
164
168
|
}
|
|
165
169
|
}, {
|
|
166
|
-
validateTrigger:
|
|
170
|
+
validateTrigger: "onBlur",
|
|
167
171
|
validator: function () {
|
|
168
172
|
var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value) {
|
|
169
|
-
var _this$
|
|
170
|
-
var _resultList$, params, _yield$replaceCheck, resultList, _this$
|
|
173
|
+
var _this$componentConfig16;
|
|
174
|
+
var _resultList$, params, _yield$replaceCheck, resultList, _this$componentConfig17, _this$componentConfig18, _this$componentConfig19, messageMap;
|
|
171
175
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
172
176
|
while (1) switch (_context.prev = _context.next) {
|
|
173
177
|
case 0:
|
|
@@ -177,7 +181,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
177
181
|
}
|
|
178
182
|
return _context.abrupt("return", Promise.resolve());
|
|
179
183
|
case 2:
|
|
180
|
-
if (!((_this$
|
|
184
|
+
if (!((_this$componentConfig16 = _this.componentConfig) !== null && _this$componentConfig16 !== void 0 && _this$componentConfig16.replaceWarn)) {
|
|
181
185
|
_context.next = 11;
|
|
182
186
|
break;
|
|
183
187
|
}
|
|
@@ -200,11 +204,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
200
204
|
break;
|
|
201
205
|
}
|
|
202
206
|
messageMap = {
|
|
203
|
-
currWorkOrder:
|
|
204
|
-
currFlow:
|
|
205
|
-
allWorkOrder:
|
|
207
|
+
currWorkOrder: "数据已存在本模版同节点中,不能重复提交",
|
|
208
|
+
currFlow: "数据已存在本模版中,不能重复提交",
|
|
209
|
+
allWorkOrder: "数据已存在其他模版中,不能重复提交"
|
|
206
210
|
};
|
|
207
|
-
return _context.abrupt("return", Promise.reject(new Error(messageMap[(_this$
|
|
211
|
+
return _context.abrupt("return", Promise.reject(new Error(messageMap[(_this$componentConfig17 = (_this$componentConfig18 = _this.componentConfig) === null || _this$componentConfig18 === void 0 ? void 0 : (_this$componentConfig19 = _this$componentConfig18.repeatConfig) === null || _this$componentConfig19 === void 0 ? void 0 : _this$componentConfig19.repeatRange) !== null && _this$componentConfig17 !== void 0 ? _this$componentConfig17 : ""] || "内容已存在,不能重复提交")));
|
|
208
212
|
case 11:
|
|
209
213
|
case "end":
|
|
210
214
|
return _context.stop();
|
|
@@ -220,6 +224,6 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
220
224
|
this.isCombinationComponent = false;
|
|
221
225
|
this.canSort = true;
|
|
222
226
|
this.children = [];
|
|
223
|
-
this.dataType = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.isNumber ?
|
|
227
|
+
this.dataType = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.isNumber ? "number" : "string";
|
|
224
228
|
});
|
|
225
229
|
export default BasicInput;
|
|
@@ -184,7 +184,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
184
184
|
});
|
|
185
185
|
_defineProperty(this, "filterConfig", function (item) {
|
|
186
186
|
var _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type11;
|
|
187
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD"].includes(_this.type) ? {
|
|
187
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "KM_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD"].includes(_this.type) ? {
|
|
188
188
|
searchDefaultConditions: SYMBOL.in,
|
|
189
189
|
type: item.type,
|
|
190
190
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendName),
|
|
@@ -39,10 +39,15 @@ 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"
|
|
46
51
|
}],
|
|
47
52
|
key: "msgStatusValues",
|
|
48
53
|
code: "msgStatus4Search",
|
|
@@ -28,7 +28,14 @@ declare class OrderSubForm implements ComponentInterface {
|
|
|
28
28
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
29
29
|
children: ComponentInterface[];
|
|
30
30
|
dataType: ComponentInterface["dataType"];
|
|
31
|
+
sortChildField: {
|
|
32
|
+
name: string;
|
|
33
|
+
key: string;
|
|
34
|
+
dataType: string;
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}[];
|
|
31
37
|
constructor(options: PickOption);
|
|
38
|
+
getSortChildFields: () => any;
|
|
32
39
|
renderTransformItem: (item: subConfigType, val: any) => any;
|
|
33
40
|
getNewTableHeader: () => any;
|
|
34
41
|
renderTabel: (list: any) => React.JSX.Element;
|
|
@@ -48,6 +48,19 @@ function OrderSubForm(options) {
|
|
|
48
48
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
49
49
|
_defineProperty(this, "children", void 0);
|
|
50
50
|
_defineProperty(this, "dataType", void 0);
|
|
51
|
+
_defineProperty(this, "sortChildField", void 0);
|
|
52
|
+
_defineProperty(this, "getSortChildFields", function () {
|
|
53
|
+
var orderSubformColumns = getOrderSubformColumns();
|
|
54
|
+
return orderSubformColumns.filter(function (item) {
|
|
55
|
+
return !["picUrl"].includes(item.dataIndex);
|
|
56
|
+
}).map(function (item) {
|
|
57
|
+
return {
|
|
58
|
+
name: item.title,
|
|
59
|
+
key: "".concat(_this.id, "_").concat(item.dataIndex),
|
|
60
|
+
dataType: "arrayObject"
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
});
|
|
51
64
|
_defineProperty(this, "renderTransformItem", function (item, val) {
|
|
52
65
|
var _getSelectWidgetMap;
|
|
53
66
|
var mapValue = (_getSelectWidgetMap = getSelectWidgetMap(_this.expressDateInstance)) === null || _getSelectWidgetMap === void 0 ? void 0 : _getSelectWidgetMap[item.dataIndex];
|
|
@@ -267,5 +280,6 @@ function OrderSubForm(options) {
|
|
|
267
280
|
});
|
|
268
281
|
this.dataType = "object";
|
|
269
282
|
this.expressDateInstance = ExpressData.getInstance();
|
|
283
|
+
this.sortChildField = this.getSortChildFields();
|
|
270
284
|
});
|
|
271
285
|
export default OrderSubForm;
|
|
@@ -36,6 +36,5 @@ 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;
|
|
40
39
|
}
|
|
41
40
|
export default PaymentAmount;
|
|
@@ -132,10 +132,6 @@ 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
|
-
});
|
|
139
135
|
this.name = '打款金额';
|
|
140
136
|
this.id = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
141
137
|
this.sortField = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
@@ -31,7 +31,7 @@ declare class BasicPosting implements ComponentInterface {
|
|
|
31
31
|
sortColumns: SortColumnsField;
|
|
32
32
|
headerProvince: boolean;
|
|
33
33
|
constructor(options: PickOption);
|
|
34
|
-
getChildren: () => (
|
|
34
|
+
getChildren: () => (City | Detail | District | Province | ReceiverMobile | ReceiverName | undefined)[];
|
|
35
35
|
getSortColumns: (sortColumns: string | undefined) => SortColumnsField;
|
|
36
36
|
renderPc: (value: any, record: Record) => React.JSX.Element | null;
|
|
37
37
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
@@ -36,6 +36,10 @@ var selectTypeMap = {
|
|
|
36
36
|
key: "agreeRefundStatusValue",
|
|
37
37
|
info: "agreeRefundStatusReason"
|
|
38
38
|
}),
|
|
39
|
+
REPAIR_ORDER_STATUS: getSelectTypeAttribute({
|
|
40
|
+
key: "repairOrderStatusValue",
|
|
41
|
+
info: "repairOrderStatusReason"
|
|
42
|
+
}),
|
|
39
43
|
REJECT_REFUND_STATUS: getSelectTypeAttribute({
|
|
40
44
|
key: "rejectRefundStatusValue",
|
|
41
45
|
info: "rejectRefundStatusReason"
|
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, FlowOverallStatusSelect } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) =>
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AfterSalesOrderId | AliPay | BsExchange | BsGoods | BsLogistics | BsPosting | BsReissue | BsReturn | BsSystemOrder | BsE3Goods | BsE3Reissue | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonDataTime | CommonInput | CommonMultiStatus | CommonSystemOrder | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | BasicInput | BasicTypeInput | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | PublicGoods | PublicReissueGoods | PublicExchange | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | FlowWorkOrderId | StatusSelect | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | PaymentVoucherCode | Label | MemberLevel | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
|
package/dist/esm/factory.js
CHANGED
|
@@ -228,6 +228,7 @@ export var factory = function factory(type, options) {
|
|
|
228
228
|
case "AGREE_RETURN_GOODS_STATUS":
|
|
229
229
|
case "REJECT_RETURN_GOODS_STATUS":
|
|
230
230
|
case "RETURN_EXCHANGE_GOODS_REVIEW_STATUS":
|
|
231
|
+
case "REPAIR_ORDER_STATUS":
|
|
231
232
|
return new StatusSelect(options);
|
|
232
233
|
case "RETURN_GOODS_STATUS":
|
|
233
234
|
case "EXCHANGE_STATUS":
|
|
@@ -264,6 +265,8 @@ export var factory = function factory(type, options) {
|
|
|
264
265
|
// 万里牛商品
|
|
265
266
|
return new WdtGoods(options);
|
|
266
267
|
case "BUSINESS_ORDER_NO":
|
|
268
|
+
case "REPAIR_ORDER_SN":
|
|
269
|
+
case "REPAIR_ORDER_ID":
|
|
267
270
|
return new CommonInput(options);
|
|
268
271
|
case "PAYMENT_VOUCHER_CODE":
|
|
269
272
|
return new PaymentVoucherCode(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.39-beta.0",
|
|
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.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.2.39-beta.0",
|
|
25
25
|
"@kmkf-fe-packages/kmkf-utils": "2.2.36",
|
|
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": "9017c5c2ff27a176e9ff269593336782f990383b",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|