@kmkf-fe-packages/services-components 2.0.19-beta.1 → 2.0.21
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/components/BS/common/BsMemo.js +0 -1
- package/dist/esm/components/BS/common/BsType.js +0 -1
- package/dist/esm/components/Common/constants/gy.js +0 -66
- package/dist/esm/components/Common/index.js +1 -1
- package/dist/esm/components/CommonHeaderGood/index.js +0 -98
- package/dist/esm/components/JST/JstSendGood/index.js +1 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +0 -6
- package/dist/esm/components/LogisticsInterception/index.js +8 -19
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +0 -4
- package/dist/esm/components/LogisticsMoreInterception/index.js +3 -10
- package/dist/esm/components/MsgStatus/index.js +2 -7
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentAmount.js +4 -0
- package/dist/esm/components/Select/index.d.ts +1 -1
- package/dist/esm/components/Select/index.js +6 -9
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +1 -4
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +0 -1
- package/package.json +6 -6
- package/dist/esm/components/GY/GyReturn/index.d.ts +0 -57
- package/dist/esm/components/GY/GyReturn/index.js +0 -181
- package/dist/esm/components/LogisticsInterception/interceptLogisticsUserKCode.d.ts +0 -43
- package/dist/esm/components/LogisticsInterception/interceptLogisticsUserKCode.js +0 -110
- package/dist/esm/components/LogisticsInterception/interceptLogisticsUserSecretKey.d.ts +0 -35
- package/dist/esm/components/LogisticsInterception/interceptLogisticsUserSecretKey.js +0 -84
- package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsUserKCode.d.ts +0 -44
- package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsUserKCode.js +0 -113
- package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsUserSecretKey.d.ts +0 -35
- package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsUserSecretKey.js +0 -83
package/README.md
CHANGED
|
@@ -146,72 +146,6 @@ var getColumns = function getColumns() {
|
|
|
146
146
|
align: "center",
|
|
147
147
|
ellipsis: true
|
|
148
148
|
});
|
|
149
|
-
}),
|
|
150
|
-
//管易退货商品信息
|
|
151
|
-
GY_RETURN_GOODS: [{
|
|
152
|
-
dataIndex: "goodName",
|
|
153
|
-
title: "\u5546\u54C1\u540D\u79F0",
|
|
154
|
-
width: 150
|
|
155
|
-
}, {
|
|
156
|
-
dataIndex: "goodShortName",
|
|
157
|
-
title: "\u5546\u54C1\u7B80\u79F0",
|
|
158
|
-
width: 150
|
|
159
|
-
}, {
|
|
160
|
-
dataIndex: "goodNo",
|
|
161
|
-
title: "\u5546\u54C1\u7F16\u7801",
|
|
162
|
-
width: 200
|
|
163
|
-
}, {
|
|
164
|
-
dataIndex: "specName",
|
|
165
|
-
title: "SKU\u540D\u79F0",
|
|
166
|
-
align: "center",
|
|
167
|
-
ellipsis: true,
|
|
168
|
-
width: 250
|
|
169
|
-
}, {
|
|
170
|
-
dataIndex: "specNo",
|
|
171
|
-
title: "SKU\u7F16\u7801",
|
|
172
|
-
align: "center",
|
|
173
|
-
ellipsis: true,
|
|
174
|
-
width: 150
|
|
175
|
-
}, {
|
|
176
|
-
dataIndex: "qty",
|
|
177
|
-
title: "\u6570\u91CF",
|
|
178
|
-
width: 100
|
|
179
|
-
}, {
|
|
180
|
-
dataIndex: "price",
|
|
181
|
-
title: "\u5B9E\u9645\u5355\u4EF7",
|
|
182
|
-
width: 150
|
|
183
|
-
}, {
|
|
184
|
-
dataIndex: "amount",
|
|
185
|
-
title: "\u5B9E\u9645\u91D1\u989D",
|
|
186
|
-
width: 150
|
|
187
|
-
}, {
|
|
188
|
-
dataIndex: "originPrice",
|
|
189
|
-
title: "\u6807\u51C6\u5355\u4EF7",
|
|
190
|
-
width: 150
|
|
191
|
-
}, {
|
|
192
|
-
dataIndex: "originAmount",
|
|
193
|
-
title: "\u6807\u51C6\u91D1\u989D",
|
|
194
|
-
width: 150
|
|
195
|
-
}, {
|
|
196
|
-
dataIndex: "discountFee",
|
|
197
|
-
title: "\u8BA9\u5229\u91D1\u989D",
|
|
198
|
-
width: 150
|
|
199
|
-
}, {
|
|
200
|
-
dataIndex: "amountAfter",
|
|
201
|
-
title: "\u8BA9\u5229\u540E\u91D1\u989D",
|
|
202
|
-
width: 150
|
|
203
|
-
}, {
|
|
204
|
-
dataIndex: "isGift",
|
|
205
|
-
title: "\u662F\u5426\u8D60\u54C1",
|
|
206
|
-
width: 150,
|
|
207
|
-
render: function render(val) {
|
|
208
|
-
return /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
|
|
209
|
-
}
|
|
210
|
-
}].map(function (item) {
|
|
211
|
-
return _objectSpread(_objectSpread({}, item), {}, {
|
|
212
|
-
align: "center",
|
|
213
|
-
ellipsis: true
|
|
214
|
-
});
|
|
215
149
|
})
|
|
216
150
|
};
|
|
217
151
|
return data;
|
|
@@ -733,7 +733,7 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
733
733
|
var key = item.msgType || "ding";
|
|
734
734
|
var formatMsgContent = /*#__PURE__*/React.createElement("span", {
|
|
735
735
|
key: index
|
|
736
|
-
}, msgTypeCh[key]
|
|
736
|
+
}, msgTypeCh[key], "-", item.ruleName ? "".concat(item.ruleName, "-") : "", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
|
|
737
737
|
return /*#__PURE__*/React.createElement("div", {
|
|
738
738
|
key: "wrap_".concat(index),
|
|
739
739
|
style: {
|
|
@@ -648,104 +648,6 @@ var GoodHeaderMap = {
|
|
|
648
648
|
},
|
|
649
649
|
moneyKey: "amount"
|
|
650
650
|
},
|
|
651
|
-
GY_RETURN_GOODS: {
|
|
652
|
-
headerMap: {
|
|
653
|
-
goodName: {
|
|
654
|
-
component: BsHeaderChild,
|
|
655
|
-
name: "商品名称",
|
|
656
|
-
key: "goodName",
|
|
657
|
-
width: 100
|
|
658
|
-
},
|
|
659
|
-
goodShortName: {
|
|
660
|
-
component: BsHeaderChild,
|
|
661
|
-
name: "商品简称",
|
|
662
|
-
key: "goodShortName",
|
|
663
|
-
width: 70
|
|
664
|
-
},
|
|
665
|
-
goodNo: {
|
|
666
|
-
component: BsHeaderChild,
|
|
667
|
-
name: "商品编码",
|
|
668
|
-
key: "goodNo",
|
|
669
|
-
width: 70
|
|
670
|
-
},
|
|
671
|
-
specName: {
|
|
672
|
-
component: BsHeaderChild,
|
|
673
|
-
name: "SKU名称",
|
|
674
|
-
key: "specName",
|
|
675
|
-
width: 140
|
|
676
|
-
},
|
|
677
|
-
specNo: {
|
|
678
|
-
component: BsHeaderChild,
|
|
679
|
-
name: "SKU编码",
|
|
680
|
-
key: "specNo",
|
|
681
|
-
width: 140
|
|
682
|
-
},
|
|
683
|
-
qty: {
|
|
684
|
-
component: BsHeaderChild,
|
|
685
|
-
name: "数量",
|
|
686
|
-
key: "qty",
|
|
687
|
-
width: 140
|
|
688
|
-
},
|
|
689
|
-
price: {
|
|
690
|
-
component: BsHeaderChild,
|
|
691
|
-
name: "实际单价",
|
|
692
|
-
key: "price",
|
|
693
|
-
width: 140
|
|
694
|
-
},
|
|
695
|
-
amount: {
|
|
696
|
-
component: BsHeaderChild,
|
|
697
|
-
name: "实际金额",
|
|
698
|
-
key: "amount",
|
|
699
|
-
width: 140
|
|
700
|
-
},
|
|
701
|
-
originPrice: {
|
|
702
|
-
component: BsHeaderChild,
|
|
703
|
-
name: "标准单价",
|
|
704
|
-
key: "originPrice",
|
|
705
|
-
width: 140
|
|
706
|
-
},
|
|
707
|
-
originAmount: {
|
|
708
|
-
component: BsHeaderChild,
|
|
709
|
-
name: "标准金额",
|
|
710
|
-
key: "originAmount",
|
|
711
|
-
width: 140
|
|
712
|
-
},
|
|
713
|
-
discountFee: {
|
|
714
|
-
component: BsHeaderChild,
|
|
715
|
-
name: "让利金额",
|
|
716
|
-
key: "discountFee",
|
|
717
|
-
width: 140
|
|
718
|
-
},
|
|
719
|
-
amountAfter: {
|
|
720
|
-
component: BsHeaderChild,
|
|
721
|
-
name: "让利后金额",
|
|
722
|
-
key: "amountAfter",
|
|
723
|
-
width: 140
|
|
724
|
-
},
|
|
725
|
-
isGift: {
|
|
726
|
-
component: ReissueGift,
|
|
727
|
-
name: "是否赠品",
|
|
728
|
-
key: "isGift",
|
|
729
|
-
width: 150
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
itemKey: {
|
|
733
|
-
goodName: "商品名称",
|
|
734
|
-
goodShortName: "商品简称",
|
|
735
|
-
goodNo: "商品编码",
|
|
736
|
-
specName: "SKU名称",
|
|
737
|
-
specNo: "SKU编码",
|
|
738
|
-
qty: "数量",
|
|
739
|
-
price: "实际单价",
|
|
740
|
-
amount: "实际金额",
|
|
741
|
-
originPrice: "标准单价",
|
|
742
|
-
originAmount: "标准金额",
|
|
743
|
-
discountFee: "让利金额",
|
|
744
|
-
amountAfter: "让利后金额",
|
|
745
|
-
isGift: "是否赠品"
|
|
746
|
-
},
|
|
747
|
-
moneyKey: "amount"
|
|
748
|
-
},
|
|
749
651
|
BS_E3_REISSUE_GOODS: {
|
|
750
652
|
headerMap: {
|
|
751
653
|
sku: {
|
|
@@ -176,7 +176,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
176
176
|
});
|
|
177
177
|
_defineProperty(this, "filterConfig", function (item) {
|
|
178
178
|
var _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type11;
|
|
179
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "
|
|
179
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD"].includes(_this.type) ? {
|
|
180
180
|
searchDefaultConditions: SYMBOL.in,
|
|
181
181
|
type: item.type,
|
|
182
182
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendName),
|
|
@@ -10,8 +10,6 @@ import InterceptState from "./InterceptState";
|
|
|
10
10
|
import InterceptApiStatus from "./InterceptApiStatus";
|
|
11
11
|
import Express from "../Express";
|
|
12
12
|
import ExpressCode from "../ExpressCode";
|
|
13
|
-
import InterceptLogisticsUserKCode from "./interceptLogisticsUserKCode";
|
|
14
|
-
import InterceptLogisticsUserSecretKey from "./interceptLogisticsUserSecretKey";
|
|
15
13
|
declare class Logistics implements ComponentInterface {
|
|
16
14
|
name: string;
|
|
17
15
|
columnHeader: string | JSX.Element;
|
|
@@ -25,8 +23,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
25
23
|
interceptLogisticsStatus: InterceptStatus;
|
|
26
24
|
interceptApiStatus: InterceptApiStatus;
|
|
27
25
|
interceptSenderMobile: InterceptSenderMobile;
|
|
28
|
-
interceptLogisticsUserKCode: InterceptLogisticsUserKCode;
|
|
29
|
-
interceptLogisticsUserSecretKey: InterceptLogisticsUserSecretKey;
|
|
30
26
|
interceptSnapshot: InterceptSnapshot;
|
|
31
27
|
interceptState: InterceptState;
|
|
32
28
|
isCombinationComponent: boolean;
|
|
@@ -60,8 +56,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
60
56
|
};
|
|
61
57
|
interceptSnapshot: any;
|
|
62
58
|
interceptState: any;
|
|
63
|
-
interceptLogisticsUserKCode: any;
|
|
64
|
-
interceptLogisticsUserSecretKey: any;
|
|
65
59
|
};
|
|
66
60
|
renderPc: () => null;
|
|
67
61
|
renderExport: () => null;
|
|
@@ -22,8 +22,6 @@ import InterceptApiStatus from "./InterceptApiStatus";
|
|
|
22
22
|
import Express from "../Express";
|
|
23
23
|
import ExpressCode from "../ExpressCode";
|
|
24
24
|
import ColumnHeader from "./columnHeader";
|
|
25
|
-
import InterceptLogisticsUserKCode from "./interceptLogisticsUserKCode";
|
|
26
|
-
import InterceptLogisticsUserSecretKey from "./interceptLogisticsUserSecretKey";
|
|
27
25
|
var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
28
26
|
var _this = this;
|
|
29
27
|
_classCallCheck(this, Logistics);
|
|
@@ -39,8 +37,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
39
37
|
_defineProperty(this, "interceptLogisticsStatus", void 0);
|
|
40
38
|
_defineProperty(this, "interceptApiStatus", void 0);
|
|
41
39
|
_defineProperty(this, "interceptSenderMobile", void 0);
|
|
42
|
-
_defineProperty(this, "interceptLogisticsUserKCode", void 0);
|
|
43
|
-
_defineProperty(this, "interceptLogisticsUserSecretKey", void 0);
|
|
44
40
|
_defineProperty(this, "interceptSnapshot", void 0);
|
|
45
41
|
_defineProperty(this, "interceptState", void 0);
|
|
46
42
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
@@ -55,7 +51,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
55
51
|
_defineProperty(this, "effects", void 0);
|
|
56
52
|
_defineProperty(this, "dataType", void 0);
|
|
57
53
|
_defineProperty(this, "renderClient", function (record) {
|
|
58
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record), _this.interceptApiStatus.renderClient(record), _this.interceptSnapshot.renderClient(record), _this.interceptState.renderClient(record)
|
|
54
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record), _this.interceptApiStatus.renderClient(record), _this.interceptSnapshot.renderClient(record), _this.interceptState.renderClient(record));
|
|
59
55
|
});
|
|
60
56
|
_defineProperty(this, "renderLog", function (record) {
|
|
61
57
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, !isNull(_this.express.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.name, ": ", _this.express.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.expressCode.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.expressCode.name, ": ", _this.expressCode.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSenderMobile.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSenderMobile.name, ":", " ", _this.interceptSenderMobile.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptType.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptType.name, ": ", _this.interceptType.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptAddress.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptAddress.name, ":", " ", _this.interceptAddress.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptLogisticsStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptLogisticsStatus.name, ":", " ", _this.interceptLogisticsStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptApiStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptApiStatus.name, ":", " ", _this.interceptApiStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSnapshot.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSnapshot.name, ":", " ", _this.interceptSnapshot.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptState.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptState.name, ":", " ", _this.interceptState.renderLog(record))));
|
|
@@ -70,9 +66,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
70
66
|
interceptApiStatus: _this.interceptApiStatus.getComponentValue(r),
|
|
71
67
|
interceptRedirectTo: _this.interceptAddress.getComponentValue(r),
|
|
72
68
|
interceptSnapshot: _this.interceptSnapshot.getComponentValue(r),
|
|
73
|
-
interceptState: _this.interceptState.getComponentValue(r)
|
|
74
|
-
interceptLogisticsUserKCode: _this.interceptLogisticsUserKCode.getComponentValue(r),
|
|
75
|
-
interceptLogisticsUserSecretKey: _this.interceptLogisticsUserSecretKey.getComponentValue(r)
|
|
69
|
+
interceptState: _this.interceptState.getComponentValue(r)
|
|
76
70
|
};
|
|
77
71
|
});
|
|
78
72
|
_defineProperty(this, "renderPc", function () {
|
|
@@ -82,7 +76,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
82
76
|
return null;
|
|
83
77
|
});
|
|
84
78
|
_defineProperty(this, "editRender", function (p) {
|
|
85
|
-
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$effects
|
|
79
|
+
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$effects;
|
|
86
80
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
87
81
|
title: _this.name,
|
|
88
82
|
name: _this.id,
|
|
@@ -90,15 +84,12 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
90
84
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
91
85
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
92
86
|
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,
|
|
93
|
-
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 :
|
|
94
|
-
component: /*#__PURE__*/React.createElement(LogisticsInterception, _extends({
|
|
95
|
-
platform: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.env,
|
|
96
|
-
onJumpPage: (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.onJumpPage
|
|
97
|
-
}, _this.componentConfig, {
|
|
87
|
+
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 : '',
|
|
88
|
+
component: /*#__PURE__*/React.createElement(LogisticsInterception, _extends({}, _this.componentConfig, {
|
|
98
89
|
logisticsOptions: _this.expressDateInstance.getExpressData(),
|
|
99
90
|
expressInterceptData: _this.expressInterceptData.getExpressData(),
|
|
100
91
|
logisticsAddressData: _this.logisticsAddressData.getAddressData(),
|
|
101
|
-
isEditing: (_this$
|
|
92
|
+
isEditing: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.isEditing
|
|
102
93
|
}))
|
|
103
94
|
});
|
|
104
95
|
});
|
|
@@ -107,7 +98,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
107
98
|
subKey: "interceptCompany"
|
|
108
99
|
})), _this.expressCode.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
|
|
109
100
|
subKey: "interceptCode"
|
|
110
|
-
})), _this.interceptSenderMobile.filterConfig(item), _this.interceptLogisticsStatus.filterConfig(item), _this.interceptApiStatus.filterConfig(item), _this.interceptType.filterConfig(item), _this.interceptSnapshot.filterConfig(item), _this.interceptState.filterConfig(item)
|
|
101
|
+
})), _this.interceptSenderMobile.filterConfig(item), _this.interceptLogisticsStatus.filterConfig(item), _this.interceptApiStatus.filterConfig(item), _this.interceptType.filterConfig(item), _this.interceptSnapshot.filterConfig(item), _this.interceptState.filterConfig(item)];
|
|
111
102
|
});
|
|
112
103
|
this.name = options.name;
|
|
113
104
|
this.columnHeader = /*#__PURE__*/React.createElement(ColumnHeader, {
|
|
@@ -129,8 +120,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
129
120
|
this.interceptSenderMobile = new InterceptSenderMobile(options);
|
|
130
121
|
this.interceptSnapshot = new InterceptSnapshot(options);
|
|
131
122
|
this.interceptState = new InterceptState(options);
|
|
132
|
-
this.interceptLogisticsUserSecretKey = new InterceptLogisticsUserSecretKey(options);
|
|
133
|
-
this.interceptLogisticsUserKCode = new InterceptLogisticsUserKCode(options);
|
|
134
123
|
this.express = new Express(_objectSpread(_objectSpread({}, options), {}, {
|
|
135
124
|
id: "".concat(options.id, "_interceptCompany"),
|
|
136
125
|
name: "物流信息"
|
|
@@ -142,7 +131,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
142
131
|
this.isCombinationComponent = true;
|
|
143
132
|
this.canSort = false;
|
|
144
133
|
this.dataType = "object";
|
|
145
|
-
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptApiStatus, this.interceptSnapshot, this.interceptState
|
|
134
|
+
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptApiStatus, this.interceptSnapshot, this.interceptState];
|
|
146
135
|
this.rules = [{
|
|
147
136
|
validator: function validator(_, value) {
|
|
148
137
|
var _this$componentConfig5, _this$componentConfig6, _value$interceptAddre, _value$interceptSende;
|
|
@@ -9,8 +9,6 @@ import InterceptStatus from "./InterceptStatus";
|
|
|
9
9
|
import InterceptCode from "./interceptCode";
|
|
10
10
|
import InterceptApiStatus from "./InterceptApiStatus";
|
|
11
11
|
import Express from "./interceptCompany";
|
|
12
|
-
import InterceptLogisticsUserKCode from "./interceptLogisticsUserKCode";
|
|
13
|
-
import InterceptLogisticsUserSecretKey from "./interceptLogisticsUserSecretKey";
|
|
14
12
|
declare class Logistics implements ComponentInterface {
|
|
15
13
|
name: string;
|
|
16
14
|
columnHeader: string | JSX.Element;
|
|
@@ -25,8 +23,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
25
23
|
interceptApiStatus: InterceptApiStatus;
|
|
26
24
|
interceptSenderMobile: InterceptSenderMobile;
|
|
27
25
|
interceptSnapshot: InterceptSnapshot;
|
|
28
|
-
interceptLogisticsUserKCode: InterceptLogisticsUserKCode;
|
|
29
|
-
interceptLogisticsUserSecretKey: InterceptLogisticsUserSecretKey;
|
|
30
26
|
isCombinationComponent: boolean;
|
|
31
27
|
formField: string;
|
|
32
28
|
canSort: boolean;
|
|
@@ -25,8 +25,6 @@ import Express from "./interceptCompany";
|
|
|
25
25
|
import ColumnHeader from "./columnHeader";
|
|
26
26
|
import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
|
|
27
27
|
import CopyText from "../../commonComponents/CopyText";
|
|
28
|
-
import InterceptLogisticsUserKCode from "./interceptLogisticsUserKCode";
|
|
29
|
-
import InterceptLogisticsUserSecretKey from "./interceptLogisticsUserSecretKey";
|
|
30
28
|
var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
31
29
|
var _this = this,
|
|
32
30
|
_this$componentConfig5,
|
|
@@ -45,8 +43,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
45
43
|
_defineProperty(this, "interceptApiStatus", void 0);
|
|
46
44
|
_defineProperty(this, "interceptSenderMobile", void 0);
|
|
47
45
|
_defineProperty(this, "interceptSnapshot", void 0);
|
|
48
|
-
_defineProperty(this, "interceptLogisticsUserKCode", void 0);
|
|
49
|
-
_defineProperty(this, "interceptLogisticsUserSecretKey", void 0);
|
|
50
46
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
51
47
|
_defineProperty(this, "formField", void 0);
|
|
52
48
|
_defineProperty(this, "canSort", void 0);
|
|
@@ -80,7 +76,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
80
76
|
style: {
|
|
81
77
|
color: "red"
|
|
82
78
|
}
|
|
83
|
-
}, (_item$interceptLogist2 = item.interceptLogisticsApiStatus) === null || _item$interceptLogist2 === void 0 ? void 0 : _item$interceptLogist2.status, " \u5931\u8D25\u539F\u56E0\uFF1A", item === null || item === void 0 ? void 0 : (_item$interceptLogist3 = item.interceptLogisticsApiStatus) === null || _item$interceptLogist3 === void 0 ? void 0 : _item$interceptLogist3.reason) : /*#__PURE__*/React.createElement("span", null, (_item$interceptLogist4 = item.interceptLogisticsApiStatus) === null || _item$interceptLogist4 === void 0 ? void 0 : _item$interceptLogist4.status)) : null, item.interceptLogisticsSnapshot ? /*#__PURE__*/React.createElement("div", null, "\u5FEB\u7167\uFF1A", item.interceptLogisticsSnapshot) : null
|
|
79
|
+
}, (_item$interceptLogist2 = item.interceptLogisticsApiStatus) === null || _item$interceptLogist2 === void 0 ? void 0 : _item$interceptLogist2.status, " \u5931\u8D25\u539F\u56E0\uFF1A", item === null || item === void 0 ? void 0 : (_item$interceptLogist3 = item.interceptLogisticsApiStatus) === null || _item$interceptLogist3 === void 0 ? void 0 : _item$interceptLogist3.reason) : /*#__PURE__*/React.createElement("span", null, (_item$interceptLogist4 = item.interceptLogisticsApiStatus) === null || _item$interceptLogist4 === void 0 ? void 0 : _item$interceptLogist4.status)) : null, item.interceptLogisticsSnapshot ? /*#__PURE__*/React.createElement("div", null, "\u5FEB\u7167\uFF1A", item.interceptLogisticsSnapshot) : null);
|
|
84
80
|
}));
|
|
85
81
|
});
|
|
86
82
|
_defineProperty(this, "renderClient", function (record) {
|
|
@@ -113,8 +109,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
113
109
|
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 : "",
|
|
114
110
|
component: /*#__PURE__*/React.createElement(LogisticsMoreInterception, _extends({}, _this.componentConfig, {
|
|
115
111
|
expressInterceptData: _this.expressInterceptData.getExpressData(),
|
|
116
|
-
isEditing: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.isEditing
|
|
117
|
-
effects: _this.effects
|
|
112
|
+
isEditing: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.isEditing
|
|
118
113
|
}))
|
|
119
114
|
});
|
|
120
115
|
});
|
|
@@ -145,8 +140,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
145
140
|
this.interceptApiStatus = new InterceptApiStatus(options);
|
|
146
141
|
this.interceptSenderMobile = new InterceptSenderMobile(options);
|
|
147
142
|
this.interceptSnapshot = new InterceptSnapshot(options);
|
|
148
|
-
this.interceptLogisticsUserKCode = new InterceptLogisticsUserKCode(options);
|
|
149
|
-
this.interceptLogisticsUserSecretKey = new InterceptLogisticsUserSecretKey(options);
|
|
150
143
|
this.express = new Express(_objectSpread(_objectSpread({}, options), {}, {
|
|
151
144
|
id: "".concat(options.id, "_logisticsInterceptCompanyList"),
|
|
152
145
|
name: "物流信息"
|
|
@@ -158,7 +151,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
158
151
|
this.isCombinationComponent = true;
|
|
159
152
|
this.canSort = false;
|
|
160
153
|
this.dataType = "object";
|
|
161
|
-
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptApiStatus, this.interceptSnapshot
|
|
154
|
+
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptApiStatus, this.interceptSnapshot];
|
|
162
155
|
this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
|
|
163
156
|
required: (_this$componentConfig6 = this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.required,
|
|
164
157
|
validator: function validator(_, value) {
|
|
@@ -39,15 +39,10 @@ var typeMap = {
|
|
|
39
39
|
label: "等待执行",
|
|
40
40
|
color: "#e7780f"
|
|
41
41
|
}, {
|
|
42
|
-
oldValue: "
|
|
42
|
+
oldValue: "等待发送",
|
|
43
43
|
value: "不满足条件,无需执行",
|
|
44
44
|
label: "不满足条件,无需执行",
|
|
45
45
|
color: "#8A8A8A"
|
|
46
|
-
}, {
|
|
47
|
-
oldValue: "暂不满足条件,等待执行",
|
|
48
|
-
value: "暂不满足条件,等待执行",
|
|
49
|
-
label: "暂不满足条件,等待执行",
|
|
50
|
-
color: "#4D90F7"
|
|
51
46
|
}],
|
|
52
47
|
key: "msgStatusValues",
|
|
53
48
|
code: "msgStatus4Search",
|
|
@@ -130,7 +125,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
130
125
|
return item[(_typeMap$_this$type14 = typeMap[_this.type]) === null || _typeMap$_this$type14 === void 0 ? void 0 : _typeMap$_this$type14.valueKey] === option.value;
|
|
131
126
|
});
|
|
132
127
|
var key = item.msgType || "ding";
|
|
133
|
-
return "".concat(msgTypeCh[key]
|
|
128
|
+
return "".concat(msgTypeCh[key]).concat(item.ruleName ? "-".concat(item.ruleName) : "", ":").concat(currentOption ? (currentOption === null || currentOption === void 0 ? void 0 : currentOption.label) || "" : (item === null || item === void 0 ? void 0 : item[(_typeMap$_this$type15 = typeMap[_this.type]) === null || _typeMap$_this$type15 === void 0 ? void 0 : _typeMap$_this$type15.valueKey]) || "");
|
|
134
129
|
}).join(",");
|
|
135
130
|
});
|
|
136
131
|
_defineProperty(this, "editRender", function (p) {
|
|
@@ -36,5 +36,6 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
36
36
|
formatFilterValue: (val: Array<number | null>) => (number | null)[];
|
|
37
37
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
38
38
|
};
|
|
39
|
+
formDataTransform: (value: string) => string | number;
|
|
39
40
|
}
|
|
40
41
|
export default PaymentAmount;
|
|
@@ -132,6 +132,10 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
});
|
|
135
|
+
_defineProperty(this, "formDataTransform", function (value) {
|
|
136
|
+
var isNumber = new RegExp(/^[+-]?\d+(\.\d+)?$/);
|
|
137
|
+
return isNumber.test(value) ? Number(value) : value;
|
|
138
|
+
});
|
|
135
139
|
this.name = '打款金额';
|
|
136
140
|
this.id = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
137
141
|
this.sortField = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
@@ -13,7 +13,7 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
dataType: ComponentInterface["dataType"];
|
|
15
15
|
options: ComponentInterface["options"];
|
|
16
|
-
optionsMap: ComponentInterface[
|
|
16
|
+
optionsMap: ComponentInterface['optionsMap'];
|
|
17
17
|
constructor(options: PickOption);
|
|
18
18
|
getKeyByComponentType: (type: string) => any;
|
|
19
19
|
editRender: (p: any) => React.JSX.Element;
|
|
@@ -22,9 +22,6 @@ var typeMap = {
|
|
|
22
22
|
NEW_PAYMENT_STATUS: {
|
|
23
23
|
key: "newPaymentStatus",
|
|
24
24
|
placeholder: "自动获取无需填写"
|
|
25
|
-
},
|
|
26
|
-
ORDER_TYPE: {
|
|
27
|
-
key: "erpOrderType"
|
|
28
25
|
}
|
|
29
26
|
};
|
|
30
27
|
var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
@@ -57,7 +54,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
57
54
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
58
55
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
59
56
|
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,
|
|
60
|
-
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 :
|
|
57
|
+
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 : '',
|
|
61
58
|
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
|
|
62
59
|
placeholder: typeMap[_this.type].placeholder || "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
63
60
|
showSearch: true,
|
|
@@ -68,7 +65,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
68
65
|
_defineProperty(this, "renderClient", function (record) {
|
|
69
66
|
var _this$componentConfig5, _this$optionsMap;
|
|
70
67
|
// 特殊自定义组件为平台状态时匹配出label
|
|
71
|
-
var label = ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.webUniqueKey) ===
|
|
68
|
+
var label = ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.webUniqueKey) === 'PLATFORM_STATUS' ? (_this$optionsMap = _this.optionsMap) === null || _this$optionsMap === void 0 ? void 0 : _this$optionsMap[record === null || record === void 0 ? void 0 : record[_this.id]] : record === null || record === void 0 ? void 0 : record[_this.id];
|
|
72
69
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
73
70
|
id: _this.id,
|
|
74
71
|
label: _this.name,
|
|
@@ -80,7 +77,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
80
77
|
var type = _this.type;
|
|
81
78
|
var key = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type].key)];
|
|
82
79
|
// 特殊自定义组件为平台状态时匹配出label
|
|
83
|
-
var label = ((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.webUniqueKey) ===
|
|
80
|
+
var label = ((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.webUniqueKey) === 'PLATFORM_STATUS' ? ((_this$optionsMap2 = _this.optionsMap) === null || _this$optionsMap2 === void 0 ? void 0 : _this$optionsMap2[key]) || '' : key;
|
|
84
81
|
return /*#__PURE__*/React.createElement("span", null, label !== null && label !== void 0 ? label : "--");
|
|
85
82
|
});
|
|
86
83
|
_defineProperty(this, "renderLog", function (r) {
|
|
@@ -97,11 +94,11 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
97
94
|
var type = _this.type;
|
|
98
95
|
var key = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type].key)];
|
|
99
96
|
// 特殊自定义组件为平台状态时匹配出label
|
|
100
|
-
var label = ((_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.webUniqueKey) ===
|
|
97
|
+
var label = ((_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.webUniqueKey) === 'PLATFORM_STATUS' ? ((_this$optionsMap3 = _this.optionsMap) === null || _this$optionsMap3 === void 0 ? void 0 : _this$optionsMap3[key]) || '' : key;
|
|
101
98
|
return label !== null && label !== void 0 ? label : "--";
|
|
102
99
|
});
|
|
103
100
|
_defineProperty(this, "filterConfig", function (item) {
|
|
104
|
-
var _item$config
|
|
101
|
+
var _item$config;
|
|
105
102
|
var key = _this.getKeyByComponentType(item.type);
|
|
106
103
|
return {
|
|
107
104
|
searchDefaultConditions: SYMBOL.in,
|
|
@@ -112,7 +109,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
112
109
|
// 过滤组件名称
|
|
113
110
|
filterComponentType: "MultipleSelect",
|
|
114
111
|
props: {
|
|
115
|
-
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) ||
|
|
112
|
+
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
|
|
116
113
|
},
|
|
117
114
|
filterFn: function filterFn(value) {
|
|
118
115
|
return function (i) {
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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
|
|
1
|
+
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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 } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => GyReissue |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => GyReissue | JstSendGood | LogisticsInterception | LogisticsMoreInterception | MsgStatus | BasicSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicRadio | BasicTextArea | BasicPicture | 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 | 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 | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods;
|
package/dist/esm/factory.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, ErpTradeId, 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,
|
|
2
2
|
// CommonTradeId,
|
|
3
|
-
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
|
|
3
|
+
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 } from "./index";
|
|
4
4
|
export var factory = function factory(type, options) {
|
|
5
5
|
var _options$componentCon;
|
|
6
6
|
switch (type) {
|
|
@@ -31,7 +31,6 @@ export var factory = function factory(type, options) {
|
|
|
31
31
|
case "SELECT":
|
|
32
32
|
case "BUYER_MESSAGE_NOTICE":
|
|
33
33
|
case "NEW_PAYMENT_STATUS":
|
|
34
|
-
case "ORDER_TYPE":
|
|
35
34
|
return new BasicSelect(options);
|
|
36
35
|
case "PICTURE":
|
|
37
36
|
return new BasicPicture(options);
|
|
@@ -175,8 +174,6 @@ export var factory = function factory(type, options) {
|
|
|
175
174
|
return new BsReturn(options);
|
|
176
175
|
case "WDT_RETURN_GOODS":
|
|
177
176
|
return new WdtReturn(options);
|
|
178
|
-
case "GY_RETURN_GOODS":
|
|
179
|
-
return new GyReturn(options);
|
|
180
177
|
case "JST_RETURN_GOODS":
|
|
181
178
|
return new PublicReissueGoods(options);
|
|
182
179
|
case "REISSUE_TRADE_ID":
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -91,7 +91,6 @@ export { default as KmErpSendGood } from "./components/KmErpSendGood";
|
|
|
91
91
|
export { default as AfterSalesOrderId } from "./components/AfterSalesOrderId";
|
|
92
92
|
export { default as GyGoods } from "./components/GY/GyGoods";
|
|
93
93
|
export { default as GyReissue } from "./components/GY/GyReissue";
|
|
94
|
-
export { default as GyReturn } from "./components/GY/GyReturn";
|
|
95
94
|
export { default as KmErpOrderNum } from "./components/ErpTradeId/components/OrderNum";
|
|
96
95
|
export { factory } from "./factory";
|
|
97
96
|
export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
|
package/dist/esm/index.js
CHANGED
|
@@ -91,7 +91,6 @@ export { default as KmErpSendGood } from "./components/KmErpSendGood";
|
|
|
91
91
|
export { default as AfterSalesOrderId } from "./components/AfterSalesOrderId";
|
|
92
92
|
export { default as GyGoods } from "./components/GY/GyGoods";
|
|
93
93
|
export { default as GyReissue } from "./components/GY/GyReissue";
|
|
94
|
-
export { default as GyReturn } from "./components/GY/GyReturn";
|
|
95
94
|
// TODO: ERP 打款工单使用
|
|
96
95
|
export { default as KmErpOrderNum } from "./components/ErpTradeId/components/OrderNum";
|
|
97
96
|
export { factory } from "./factory";
|