@kmkf-fe-packages/services-components 0.8.18-alpha.10 → 0.8.18-alpha.13
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/components/FlowMarkSelect/index.d.ts +3 -4
- package/dist/esm/components/FlowMarkSelect/index.js +118 -89
- package/dist/esm/components/PostIng/index.js +2 -2
- package/dist/esm/factory.d.ts +3 -3
- package/dist/esm/factory.js +87 -85
- package/dist/esm/index.d.ts +70 -69
- package/dist/esm/index.js +1 -0
- package/dist/esm/type.d.ts +1 -1
- package/package.json +4 -4
|
@@ -9,20 +9,19 @@ declare class FlowMarkSelect implements ComponentInterface {
|
|
|
9
9
|
rules: any[];
|
|
10
10
|
componentConfig: ComponentInterface["componentConfig"];
|
|
11
11
|
effects: ComponentInterface["effects"];
|
|
12
|
-
workOrderMark: any;
|
|
12
|
+
workOrderMark: any[];
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
14
|
formField: string;
|
|
15
15
|
canSort: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
dataType: ComponentInterface["dataType"];
|
|
18
|
-
options: ComponentInterface["options"];
|
|
19
18
|
constructor(options: PickOption);
|
|
20
19
|
renderMenu: (record: Record) => React.JSX.Element;
|
|
21
20
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
22
21
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
23
22
|
getComponentValue: (r: Record) => any;
|
|
24
23
|
renderExport: (value: any, record: Record) => any;
|
|
25
|
-
renderClient: () => null;
|
|
24
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
26
25
|
editRender: (p: any) => React.JSX.Element;
|
|
27
26
|
filterConfig: (item: ColumnConfig) => {
|
|
28
27
|
searchDefaultConditions: "in";
|
|
@@ -32,7 +31,7 @@ declare class FlowMarkSelect implements ComponentInterface {
|
|
|
32
31
|
filterComponentType: "MultipleSelect";
|
|
33
32
|
props: {
|
|
34
33
|
options: {
|
|
35
|
-
label:
|
|
34
|
+
label: string;
|
|
36
35
|
value: string;
|
|
37
36
|
}[];
|
|
38
37
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2
4
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
5
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
4
6
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -8,15 +10,14 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
8
10
|
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); }
|
|
9
11
|
import React from "react";
|
|
10
12
|
import { Dropdown, Menu } from "antd";
|
|
13
|
+
import ItemView from "../../commonComponents/ItemView";
|
|
11
14
|
import { ApaasSelect } from "@kmkf-fe-packages/basic-components";
|
|
12
|
-
import { filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
15
|
+
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
13
16
|
import GetFormItem from "../GetFormItem";
|
|
14
|
-
import get from "lodash/get";
|
|
15
17
|
import { SYMBOL } from "../../constant";
|
|
16
18
|
import "./icon/iconfont.css";
|
|
17
19
|
var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options) {
|
|
18
|
-
var _this = this
|
|
19
|
-
_Object$keys2;
|
|
20
|
+
var _this = this;
|
|
20
21
|
_classCallCheck(this, FlowMarkSelect);
|
|
21
22
|
_defineProperty(this, "name", void 0);
|
|
22
23
|
_defineProperty(this, "id", void 0);
|
|
@@ -31,42 +32,63 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
|
|
|
31
32
|
_defineProperty(this, "canSort", void 0);
|
|
32
33
|
_defineProperty(this, "children", void 0);
|
|
33
34
|
_defineProperty(this, "dataType", void 0);
|
|
34
|
-
_defineProperty(this, "options", void 0);
|
|
35
35
|
_defineProperty(this, "renderMenu", function (record) {
|
|
36
36
|
var menu = /*#__PURE__*/React.createElement(Menu, {
|
|
37
37
|
onClick: function onClick(_ref) {
|
|
38
38
|
var _this$effects, _this$effects2;
|
|
39
|
-
var key = _ref.key
|
|
39
|
+
var key = _ref.key,
|
|
40
|
+
domEvent = _ref.domEvent;
|
|
41
|
+
domEvent.stopPropagation();
|
|
40
42
|
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleChangeSingleWorkOrderMark) === "function" && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleChangeSingleWorkOrderMark(key, record));
|
|
41
43
|
}
|
|
42
|
-
},
|
|
44
|
+
}, _this.workOrderMark.map(function (item) {
|
|
43
45
|
return /*#__PURE__*/React.createElement(Menu.Item, {
|
|
44
|
-
key:
|
|
45
|
-
},
|
|
46
|
+
key: item.value
|
|
47
|
+
}, item.label);
|
|
46
48
|
}));
|
|
47
49
|
return menu;
|
|
48
50
|
});
|
|
49
51
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
50
|
-
var
|
|
51
|
-
|
|
52
|
+
var mark = _this.workOrderMark.find(function (item) {
|
|
53
|
+
return item.value === (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
|
|
54
|
+
});
|
|
55
|
+
return /*#__PURE__*/React.createElement(Dropdown, {
|
|
52
56
|
overlay: _this.renderMenu(record)
|
|
53
|
-
}, /*#__PURE__*/React.createElement("span", null,
|
|
57
|
+
}, /*#__PURE__*/React.createElement("span", null, (mark === null || mark === void 0 ? void 0 : mark.label) || "--"));
|
|
54
58
|
});
|
|
55
59
|
_defineProperty(this, "renderLog", function (r) {
|
|
56
|
-
var
|
|
57
|
-
|
|
60
|
+
var mark = _this.workOrderMark.find(function (item) {
|
|
61
|
+
return item.value === (r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
|
|
62
|
+
});
|
|
63
|
+
if (!mark) return null;
|
|
58
64
|
return _this.renderPc(undefined, r);
|
|
59
65
|
});
|
|
60
66
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
61
|
-
var
|
|
62
|
-
|
|
67
|
+
var mark = _this.workOrderMark.find(function (item) {
|
|
68
|
+
return item.value === (r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
|
|
69
|
+
});
|
|
70
|
+
return mark;
|
|
63
71
|
});
|
|
64
72
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
65
|
-
var
|
|
66
|
-
|
|
73
|
+
var MARK_MAP = {
|
|
74
|
+
1: "白色",
|
|
75
|
+
2: "红色",
|
|
76
|
+
3: "黄色",
|
|
77
|
+
4: "蓝色",
|
|
78
|
+
5: "绿色",
|
|
79
|
+
6: "紫色"
|
|
80
|
+
};
|
|
81
|
+
var mark = _this.workOrderMark.find(function (item) {
|
|
82
|
+
return item.value === (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
|
|
83
|
+
});
|
|
84
|
+
return mark ? MARK_MAP[mark === null || mark === void 0 ? void 0 : mark.value] : "--";
|
|
67
85
|
});
|
|
68
|
-
_defineProperty(this, "renderClient", function () {
|
|
69
|
-
return null
|
|
86
|
+
_defineProperty(this, "renderClient", function (record) {
|
|
87
|
+
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
88
|
+
id: _this.id,
|
|
89
|
+
label: _this.name,
|
|
90
|
+
value: (record === null || record === void 0 ? void 0 : record[_this.id]) || ""
|
|
91
|
+
}) : null;
|
|
70
92
|
});
|
|
71
93
|
_defineProperty(this, "editRender", function (p) {
|
|
72
94
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -77,13 +99,11 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
|
|
|
77
99
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
78
100
|
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,
|
|
79
101
|
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
|
|
80
|
-
placeholder: "\u8BF7\
|
|
81
|
-
showSearch: true
|
|
102
|
+
placeholder: "\u8BF7\u9009\u62E9".concat(_this.name)
|
|
82
103
|
}))
|
|
83
104
|
});
|
|
84
105
|
});
|
|
85
106
|
_defineProperty(this, "filterConfig", function (item) {
|
|
86
|
-
var _Object$keys;
|
|
87
107
|
return {
|
|
88
108
|
searchDefaultConditions: SYMBOL.in,
|
|
89
109
|
type: item.type,
|
|
@@ -93,12 +113,26 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
|
|
|
93
113
|
// 过滤组件名称
|
|
94
114
|
filterComponentType: "MultipleSelect",
|
|
95
115
|
props: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
116
|
+
//不使用workOrderMark的数据,筛选会深拷贝
|
|
117
|
+
options: [{
|
|
118
|
+
label: "空白",
|
|
119
|
+
value: "1"
|
|
120
|
+
}, {
|
|
121
|
+
label: "红色",
|
|
122
|
+
value: "2"
|
|
123
|
+
}, {
|
|
124
|
+
label: "黄色",
|
|
125
|
+
value: "3"
|
|
126
|
+
}, {
|
|
127
|
+
label: "蓝色",
|
|
128
|
+
value: "4"
|
|
129
|
+
}, {
|
|
130
|
+
label: "绿色",
|
|
131
|
+
value: "5"
|
|
132
|
+
}, {
|
|
133
|
+
label: "紫色",
|
|
134
|
+
value: "6"
|
|
135
|
+
}]
|
|
102
136
|
},
|
|
103
137
|
filterFn: function filterFn(value) {
|
|
104
138
|
return function (i) {
|
|
@@ -107,70 +141,65 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
|
|
|
107
141
|
}
|
|
108
142
|
};
|
|
109
143
|
});
|
|
110
|
-
this.name =
|
|
111
|
-
this.id =
|
|
112
|
-
this.sortField =
|
|
113
|
-
this.formField =
|
|
114
|
-
this.type =
|
|
115
|
-
this.componentConfig = options.componentConfig;
|
|
144
|
+
this.name = "标记";
|
|
145
|
+
this.id = "markFlag";
|
|
146
|
+
this.sortField = "markFlag";
|
|
147
|
+
this.formField = "markFlag";
|
|
148
|
+
this.type = "FLOW_MARK_SELECT";
|
|
116
149
|
this.effects = options.effects;
|
|
117
150
|
this.rules = [];
|
|
118
151
|
this.isCombinationComponent = false;
|
|
119
|
-
this.canSort =
|
|
152
|
+
this.canSort = false;
|
|
120
153
|
this.children = [];
|
|
121
|
-
this.workOrderMark = {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
this.options = (_Object$keys2 = Object.keys(this.workOrderMark)) === null || _Object$keys2 === void 0 ? void 0 : _Object$keys2.map(function (item) {
|
|
170
|
-
return {
|
|
171
|
-
label: _this.workOrderMark[item].label,
|
|
172
|
-
value: item
|
|
173
|
-
};
|
|
154
|
+
this.workOrderMark = [{
|
|
155
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
156
|
+
className: "iconfont icon-xingxing"
|
|
157
|
+
}),
|
|
158
|
+
value: "1"
|
|
159
|
+
}, {
|
|
160
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
161
|
+
className: "iconfont icon-xingxing1",
|
|
162
|
+
style: {
|
|
163
|
+
color: "#ff0000"
|
|
164
|
+
}
|
|
165
|
+
}),
|
|
166
|
+
value: "2"
|
|
167
|
+
}, {
|
|
168
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
169
|
+
className: "iconfont icon-xingxing1",
|
|
170
|
+
style: {
|
|
171
|
+
color: "#f6b343"
|
|
172
|
+
}
|
|
173
|
+
}),
|
|
174
|
+
value: "3"
|
|
175
|
+
}, {
|
|
176
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
177
|
+
className: "iconfont icon-xingxing1",
|
|
178
|
+
style: {
|
|
179
|
+
color: "#4d90f7"
|
|
180
|
+
}
|
|
181
|
+
}),
|
|
182
|
+
value: "4"
|
|
183
|
+
}, {
|
|
184
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
185
|
+
className: "iconfont icon-xingxing1",
|
|
186
|
+
style: {
|
|
187
|
+
color: "#6ed86c"
|
|
188
|
+
}
|
|
189
|
+
}),
|
|
190
|
+
value: "5"
|
|
191
|
+
}, {
|
|
192
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
193
|
+
className: "iconfont icon-xingxing1",
|
|
194
|
+
style: {
|
|
195
|
+
color: "#be4ed1"
|
|
196
|
+
}
|
|
197
|
+
}),
|
|
198
|
+
value: "6"
|
|
199
|
+
}];
|
|
200
|
+
this.componentConfig = _objectSpread(_objectSpread({}, options.componentConfig), {}, {
|
|
201
|
+
options: this.workOrderMark
|
|
174
202
|
});
|
|
203
|
+
this.dataType = "string";
|
|
175
204
|
});
|
|
176
205
|
export default FlowMarkSelect;
|
|
@@ -133,7 +133,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
|
|
|
133
133
|
}) : null;
|
|
134
134
|
});
|
|
135
135
|
_defineProperty(this, "editRender", function (p) {
|
|
136
|
-
var _this$componentConfig, _this$componentConfig2;
|
|
136
|
+
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3;
|
|
137
137
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
138
138
|
title: _this.name,
|
|
139
139
|
name: _this.id,
|
|
@@ -141,7 +141,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
|
|
|
141
141
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
142
142
|
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,
|
|
143
143
|
component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
|
|
144
|
-
type: _this.type === "POSTING" ? "workOrder" : "bs"
|
|
144
|
+
type: _this.type === "POSTING" || ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) === "workOrder" ? "workOrder" : "bs"
|
|
145
145
|
}))
|
|
146
146
|
});
|
|
147
147
|
});
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from
|
|
2
|
-
import { PickOption } from
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) =>
|
|
1
|
+
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from './index';
|
|
2
|
+
import { PickOption } from './type';
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AliPay | BsExchange | BsGoods | BsReissue | BsReturn | BsSystemOrder | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonDataTime | CommonMultiStatus | CommonSystemOrder | CommonTradeId | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | ErpTradeId | BasicFile | FlowMarkSelect | FlowStatusSelect | FlowWorkOrderId | BasicGrade | Handler | HandlerDeadLine | BasicInput | JstItemSelect | JstLogistics | JstSendGood | JstSupply | Logistics | LogisticsInterception | LogisticsTrajectory | BasicMultSelect | NodeDeadLine | NodeStayDuration | Ordinary | Payment | BasicPicture | PlatForm | BasicPosting | BasicRadio | BasicRate | ReceiverAddress | ReceiverMobile | ReceiverName | ERemark | ReturnLogistics | BasicSelect | ShopInput | ShopName | StatusSelect | Submitter | SystemOrderNo | TemplateSelect | BasicTextArea | ThirdItemSelect | TradeDateTime | TradeId | WorkOrderId;
|
package/dist/esm/factory.js
CHANGED
|
@@ -1,156 +1,158 @@
|
|
|
1
|
-
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from "./index";
|
|
1
|
+
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from "./index";
|
|
2
2
|
export var factory = function factory(type, options) {
|
|
3
3
|
var _options$componentCon;
|
|
4
4
|
switch (type) {
|
|
5
|
-
case
|
|
5
|
+
case 'PLATFORM_INPUT':
|
|
6
6
|
return new PlatForm();
|
|
7
|
-
case
|
|
7
|
+
case 'SHOP_INPUT':
|
|
8
8
|
return new ShopInput(options);
|
|
9
|
-
case
|
|
9
|
+
case 'OPERATOR_INPUT':
|
|
10
10
|
return new Submitter(options);
|
|
11
|
-
case
|
|
11
|
+
case 'HANDLER_INPUT':
|
|
12
12
|
return new Handler(options);
|
|
13
|
-
case
|
|
13
|
+
case 'COMPLETED_USER_INPUT':
|
|
14
14
|
return new CompletedUser(options);
|
|
15
|
-
case
|
|
15
|
+
case 'INPUT':
|
|
16
16
|
return new BasicInput(options);
|
|
17
|
-
case
|
|
17
|
+
case 'RADIO':
|
|
18
18
|
return new BasicRadio(options);
|
|
19
|
-
case
|
|
19
|
+
case 'TEXTAREA':
|
|
20
20
|
return new BasicTextArea(options);
|
|
21
|
-
case
|
|
21
|
+
case 'CHECKBOX':
|
|
22
22
|
return new BasicCheckbox(options);
|
|
23
|
-
case
|
|
23
|
+
case 'DATETIME':
|
|
24
24
|
return new BasicDataTime(options);
|
|
25
|
-
case
|
|
26
|
-
case
|
|
25
|
+
case 'SELECT':
|
|
26
|
+
case 'BUYER_MESSAGE_NOTICE':
|
|
27
27
|
return new BasicSelect(options);
|
|
28
|
-
case
|
|
28
|
+
case 'PICTURE':
|
|
29
29
|
return new BasicPicture(options);
|
|
30
|
-
case
|
|
30
|
+
case 'BASIC_MULT_SELECT':
|
|
31
31
|
return new BasicMultSelect(options);
|
|
32
|
-
case
|
|
32
|
+
case 'MULT_SELECT':
|
|
33
33
|
return new BasicCascader(options);
|
|
34
|
-
case
|
|
34
|
+
case 'BASIC_ADDRESS':
|
|
35
35
|
return new BasicAddress(options);
|
|
36
|
-
case
|
|
36
|
+
case 'BASIC_GRADE':
|
|
37
37
|
return new BasicGrade(options);
|
|
38
|
-
case
|
|
38
|
+
case 'RATE':
|
|
39
39
|
return new BasicRate(options);
|
|
40
|
-
case
|
|
40
|
+
case 'FILE':
|
|
41
41
|
return new BasicFile(options);
|
|
42
|
-
case
|
|
42
|
+
case 'POSTING':
|
|
43
43
|
return new BasicPosting(options);
|
|
44
|
-
case
|
|
44
|
+
case 'SHOP_NAME_INPUT':
|
|
45
45
|
return new ShopName(options);
|
|
46
|
-
case
|
|
46
|
+
case 'TRADE_ID_INPUT':
|
|
47
47
|
return options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.erpFlag ? new ErpTradeId(options) : new TradeId(options);
|
|
48
|
-
case
|
|
48
|
+
case 'BUYER_NICK_INPUT':
|
|
49
49
|
return new BuyerNick(options);
|
|
50
|
-
case
|
|
50
|
+
case 'RECEIVER_NAME_INPUT':
|
|
51
51
|
return new ReceiverName(options);
|
|
52
|
-
case
|
|
52
|
+
case 'RECEIVER_MOBILE_INPUT':
|
|
53
53
|
return new ReceiverMobile(options);
|
|
54
|
-
case
|
|
54
|
+
case 'RECEIVER_ADDRESS_INPUT':
|
|
55
55
|
return new ReceiverAddress(options);
|
|
56
|
-
case
|
|
57
|
-
case
|
|
58
|
-
case
|
|
59
|
-
case
|
|
60
|
-
case
|
|
61
|
-
case
|
|
62
|
-
case
|
|
56
|
+
case 'TRADE_CREATE_DATETIME':
|
|
57
|
+
case 'TRADE_PAYMENT_DATETIME':
|
|
58
|
+
case 'TRADE_DELIVERY_DATETIME':
|
|
59
|
+
case 'TRADE_CLOSING_DATETIME':
|
|
60
|
+
case 'BS_SIGNING_TIME':
|
|
61
|
+
case 'BS_SEND_TIME':
|
|
62
|
+
case 'BS_TRADE_PAYMENT_TIME':
|
|
63
63
|
return new TradeDateTime(options);
|
|
64
|
-
case
|
|
64
|
+
case 'EXPRESS_LOGISTICS_SELECT':
|
|
65
65
|
return new Logistics(options);
|
|
66
|
-
case
|
|
66
|
+
case 'RETURN_LOGISTICS_SELECT':
|
|
67
67
|
return new ReturnLogistics(options);
|
|
68
|
-
case
|
|
69
|
-
case
|
|
70
|
-
case
|
|
71
|
-
case
|
|
68
|
+
case 'ACTUAL_PAYMENT':
|
|
69
|
+
case 'BS_NET_RECEIPTS':
|
|
70
|
+
case 'BS_DEPOSIT':
|
|
71
|
+
case 'BS_PACKAGE_WEIGHT':
|
|
72
72
|
return new ActualPayment(options);
|
|
73
|
-
case
|
|
73
|
+
case 'REMARK_INPUT':
|
|
74
74
|
return new ERemark(options);
|
|
75
|
-
case
|
|
75
|
+
case 'ITEM_SELECT':
|
|
76
76
|
return new ItemSelect(options);
|
|
77
|
-
case
|
|
77
|
+
case 'ITEM_ID':
|
|
78
78
|
return new ItemId(options);
|
|
79
|
-
case
|
|
79
|
+
case 'ITEM_ENCODE':
|
|
80
80
|
return new ItemEnCode(options);
|
|
81
|
-
case
|
|
81
|
+
case 'ALI_PAY_INPUT':
|
|
82
82
|
return new AliPay(options);
|
|
83
|
-
case
|
|
83
|
+
case 'ORDINARY_INVOICE':
|
|
84
84
|
return new Ordinary(options);
|
|
85
|
-
case
|
|
85
|
+
case 'ITEM_SELECT_THIRD':
|
|
86
86
|
return new ThirdItemSelect(options);
|
|
87
|
-
case
|
|
87
|
+
case 'ENTERPRISE_PAYMENT':
|
|
88
88
|
return new Payment(options);
|
|
89
|
-
case
|
|
89
|
+
case 'SYSTEM_ORDER_NO':
|
|
90
90
|
return new SystemOrderNo(options);
|
|
91
|
-
case
|
|
91
|
+
case 'LOGISTICS_INTERCEPTION':
|
|
92
92
|
return new LogisticsInterception(options);
|
|
93
|
-
case
|
|
93
|
+
case 'LOGISTICS_TRAJECTORY':
|
|
94
94
|
return new LogisticsTrajectory(options);
|
|
95
|
-
case
|
|
95
|
+
case 'WORK_ORDER_ID_INPUT':
|
|
96
96
|
return new WorkOrderId(options);
|
|
97
|
-
case
|
|
97
|
+
case 'FLOW_STATUS_SELECT':
|
|
98
98
|
return new FlowStatusSelect(options);
|
|
99
|
-
case
|
|
99
|
+
case 'FLOW_MARK_SELECT':
|
|
100
|
+
return new FlowMarkSelect(options);
|
|
101
|
+
case 'COMPLETED_DATETIME':
|
|
100
102
|
return new CommonDataTime(options);
|
|
101
|
-
case
|
|
103
|
+
case 'CREATED_DATETIME':
|
|
102
104
|
return new CommonDataTime(options);
|
|
103
|
-
case
|
|
105
|
+
case 'UPDATE_DATETIME':
|
|
104
106
|
return new CommonDataTime(options);
|
|
105
|
-
case
|
|
107
|
+
case 'TEMPLATE_ID_INPUT':
|
|
106
108
|
return new TemplateSelect(options);
|
|
107
|
-
case
|
|
108
|
-
case
|
|
109
|
-
case
|
|
109
|
+
case 'JST_LOGISTICS':
|
|
110
|
+
case 'BS_LOGISTICS':
|
|
111
|
+
case 'REISSUE_LOGISTICS':
|
|
110
112
|
return new JstLogistics(options);
|
|
111
|
-
case
|
|
113
|
+
case 'JST_ITEM_SELECT_THIRD':
|
|
112
114
|
return new JstItemSelect(options);
|
|
113
|
-
case
|
|
115
|
+
case 'JST_SUPPLY':
|
|
114
116
|
return new JstSupply(options);
|
|
115
|
-
case
|
|
117
|
+
case 'BS_SYSTEM_ORDER':
|
|
116
118
|
return new BsSystemOrder(options);
|
|
117
|
-
case
|
|
118
|
-
case
|
|
119
|
+
case 'JST_SEND_GOOD':
|
|
120
|
+
case 'BS_SEND_GOOD':
|
|
119
121
|
return new JstSendGood(options);
|
|
120
|
-
case
|
|
122
|
+
case 'BS_POSTING':
|
|
121
123
|
return new BasicPosting(options);
|
|
122
|
-
case
|
|
124
|
+
case 'BS_GOODS':
|
|
123
125
|
return new BsGoods(options);
|
|
124
|
-
case
|
|
126
|
+
case 'BS_EXCHANGE_GOODS':
|
|
125
127
|
return new BsExchange(options);
|
|
126
|
-
case
|
|
128
|
+
case 'BS_REISSUE_GOODS':
|
|
127
129
|
return new BsReissue(options);
|
|
128
|
-
case
|
|
130
|
+
case 'BS_RETURN_GOODS':
|
|
129
131
|
return new BsReturn(options);
|
|
130
|
-
case
|
|
131
|
-
case
|
|
132
|
+
case 'BS_DELIVERY_NO':
|
|
133
|
+
case 'RETURN_GOODS_TRADE_ID':
|
|
132
134
|
return new CommonSystemOrder(options);
|
|
133
|
-
case
|
|
135
|
+
case 'FLOW_WORK_ORDER_ID_INPUT':
|
|
134
136
|
return new FlowWorkOrderId(options);
|
|
135
|
-
case
|
|
137
|
+
case 'OUTER_WORK_ORDER_ID_INPUT':
|
|
136
138
|
return new FlowWorkOrderId(options);
|
|
137
|
-
case
|
|
138
|
-
case
|
|
139
|
-
case
|
|
140
|
-
case
|
|
139
|
+
case 'REISSUE_STATUS':
|
|
140
|
+
case 'EXCHANGE_STATUS':
|
|
141
|
+
case 'ADJUST_WORK_ORDER_STATUS':
|
|
142
|
+
case 'CREATE_STATUS':
|
|
141
143
|
return new StatusSelect(options);
|
|
142
|
-
case
|
|
144
|
+
case 'RETURN_GOODS_STATUS':
|
|
143
145
|
return new CommonMultiStatus(options);
|
|
144
|
-
case
|
|
145
|
-
case
|
|
146
|
+
case 'REISSUE_TRADE_ID':
|
|
147
|
+
case 'EXCHANGE_TRADE_ID':
|
|
146
148
|
return new CommonTradeId(options);
|
|
147
|
-
case
|
|
149
|
+
case 'NUMERICAL_CALCULATION':
|
|
148
150
|
return new Calculation(options);
|
|
149
|
-
case
|
|
151
|
+
case 'NODE_DEAD_LINE_INPUT':
|
|
150
152
|
return new NodeDeadLine(options);
|
|
151
|
-
case
|
|
153
|
+
case 'HANDLER_DEAD_LINE_INPUT':
|
|
152
154
|
return new HandlerDeadLine(options);
|
|
153
|
-
case
|
|
155
|
+
case 'NODE_STAY_DURATION_INPUT':
|
|
154
156
|
return new NodeStayDuration(options);
|
|
155
157
|
default:
|
|
156
158
|
return new BasicInput(options);
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,69 +1,70 @@
|
|
|
1
|
-
export { default as BasicInput } from
|
|
2
|
-
export { default as BasicAddress } from
|
|
3
|
-
export { default as BasicCascader } from
|
|
4
|
-
export { default as BasicCheckbox } from
|
|
5
|
-
export { default as BasicDataTime } from
|
|
6
|
-
export { default as BasicSelect } from
|
|
7
|
-
export { default as BasicRadio } from
|
|
8
|
-
export { default as BasicTextArea } from
|
|
9
|
-
export { default as BasicPicture } from
|
|
10
|
-
export { default as BasicMultSelect } from
|
|
11
|
-
export { default as BasicGrade } from
|
|
12
|
-
export { default as BasicRate } from
|
|
13
|
-
export { default as BasicFile } from
|
|
14
|
-
export { default as BasicPosting } from
|
|
15
|
-
export { default as CommonDataTime } from
|
|
16
|
-
export { default as TradeId } from
|
|
17
|
-
export { default as ErpTradeId } from
|
|
18
|
-
export { default as ShopName } from
|
|
19
|
-
export { default as BuyerNick } from
|
|
20
|
-
export { default as ReceiverName } from
|
|
21
|
-
export { default as ReceiverMobile } from
|
|
22
|
-
export { default as ReceiverAddress } from
|
|
23
|
-
export { default as TradeDateTime } from
|
|
24
|
-
export { default as Logistics } from
|
|
25
|
-
export { default as ReturnLogistics } from
|
|
26
|
-
export { default as ActualPayment } from
|
|
27
|
-
export { default as ERemark } from
|
|
28
|
-
export { default as AliPay } from
|
|
29
|
-
export { default as ItemSelect } from
|
|
30
|
-
export { default as ItemId } from
|
|
31
|
-
export { default as ItemEnCode } from
|
|
32
|
-
export { default as SystemOrderNo } from
|
|
33
|
-
export { default as Ordinary } from
|
|
34
|
-
export { default as ThirdItemSelect } from
|
|
35
|
-
export { default as Payment } from
|
|
36
|
-
export { default as JstLogistics } from
|
|
37
|
-
export { default as JstItemSelect } from
|
|
38
|
-
export { default as JstSendGood } from
|
|
39
|
-
export { default as JstSupply } from
|
|
40
|
-
export { default as BsSystemOrder } from
|
|
41
|
-
export { default as BsGoods } from
|
|
42
|
-
export { default as BsExchange } from
|
|
43
|
-
export { default as BsReissue } from
|
|
44
|
-
export { default as BsReturn } from
|
|
45
|
-
export { default as FlowStatusSelect } from
|
|
46
|
-
export { default as
|
|
47
|
-
export { default as
|
|
48
|
-
export { default as
|
|
49
|
-
export { default as
|
|
50
|
-
export { default as
|
|
51
|
-
export { default as
|
|
52
|
-
export { default as
|
|
53
|
-
export { default as
|
|
54
|
-
export { default as
|
|
55
|
-
export { default as
|
|
56
|
-
export { default as
|
|
57
|
-
export { default as
|
|
58
|
-
export { default as
|
|
59
|
-
export { default as
|
|
60
|
-
export { default as
|
|
61
|
-
export { default as
|
|
62
|
-
export { default as
|
|
63
|
-
export { default as
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export { default as
|
|
67
|
-
export { default as
|
|
68
|
-
export { default as
|
|
69
|
-
export { default as
|
|
1
|
+
export { default as BasicInput } from './components/Input';
|
|
2
|
+
export { default as BasicAddress } from './components/Address';
|
|
3
|
+
export { default as BasicCascader } from './components/Cascader';
|
|
4
|
+
export { default as BasicCheckbox } from './components/Checkbox';
|
|
5
|
+
export { default as BasicDataTime } from './components/DataTime';
|
|
6
|
+
export { default as BasicSelect } from './components/Select';
|
|
7
|
+
export { default as BasicRadio } from './components/Radio';
|
|
8
|
+
export { default as BasicTextArea } from './components/TextArea';
|
|
9
|
+
export { default as BasicPicture } from './components/Picture';
|
|
10
|
+
export { default as BasicMultSelect } from './components/MultSelect';
|
|
11
|
+
export { default as BasicGrade } from './components/Grade';
|
|
12
|
+
export { default as BasicRate } from './components/Rate';
|
|
13
|
+
export { default as BasicFile } from './components/File';
|
|
14
|
+
export { default as BasicPosting } from './components/PostIng';
|
|
15
|
+
export { default as CommonDataTime } from './components/CommonDataTime';
|
|
16
|
+
export { default as TradeId } from './components/TradeId';
|
|
17
|
+
export { default as ErpTradeId } from './components/ErpTradeId';
|
|
18
|
+
export { default as ShopName } from './components/ShopName';
|
|
19
|
+
export { default as BuyerNick } from './components/BuyerNick';
|
|
20
|
+
export { default as ReceiverName } from './components/ReceiverName';
|
|
21
|
+
export { default as ReceiverMobile } from './components/ReceiverMobile';
|
|
22
|
+
export { default as ReceiverAddress } from './components/ReceiverAddress';
|
|
23
|
+
export { default as TradeDateTime } from './components/TradeDateTime';
|
|
24
|
+
export { default as Logistics } from './components/Logistics';
|
|
25
|
+
export { default as ReturnLogistics } from './components/ReturnLogistics';
|
|
26
|
+
export { default as ActualPayment } from './components/ActualPayment';
|
|
27
|
+
export { default as ERemark } from './components/Remark';
|
|
28
|
+
export { default as AliPay } from './components/Alipay';
|
|
29
|
+
export { default as ItemSelect } from './components/EItemSelect';
|
|
30
|
+
export { default as ItemId } from './components/EItemId';
|
|
31
|
+
export { default as ItemEnCode } from './components/EItemEnCode';
|
|
32
|
+
export { default as SystemOrderNo } from './components/SystemOrderNo';
|
|
33
|
+
export { default as Ordinary } from './components/Ordinary';
|
|
34
|
+
export { default as ThirdItemSelect } from './components/ThirdItemSelect';
|
|
35
|
+
export { default as Payment } from './components/Payment';
|
|
36
|
+
export { default as JstLogistics } from './components/JST/JstLogistics';
|
|
37
|
+
export { default as JstItemSelect } from './components/JST/JstItemSelect';
|
|
38
|
+
export { default as JstSendGood } from './components/JST/JstSendGood';
|
|
39
|
+
export { default as JstSupply } from './components/JST/JstSupply';
|
|
40
|
+
export { default as BsSystemOrder } from './components/BS/BsSystemOrder';
|
|
41
|
+
export { default as BsGoods } from './components/BS/BsGoods';
|
|
42
|
+
export { default as BsExchange } from './components/BS/BsExchange';
|
|
43
|
+
export { default as BsReissue } from './components/BS/BsReissue';
|
|
44
|
+
export { default as BsReturn } from './components/BS/BsReturn';
|
|
45
|
+
export { default as FlowStatusSelect } from './components/FlowStatusSelect';
|
|
46
|
+
export { default as FlowMarkSelect } from './components/FlowMarkSelect';
|
|
47
|
+
export { default as TemplateSelect } from './components/TemplateSelect';
|
|
48
|
+
export { default as WorkOrderId } from './components/WorkOrderId';
|
|
49
|
+
export { default as LogisticsInterception } from './components/LogisticsInterception';
|
|
50
|
+
export { default as LogisticsTrajectory } from './components/LogisticsTrajectory';
|
|
51
|
+
export { default as PlatForm } from './components/PlatForm';
|
|
52
|
+
export { default as ShopInput } from './components/ShopInput';
|
|
53
|
+
export { default as Submitter } from './components/Submitter';
|
|
54
|
+
export { default as Handler } from './components/Handler';
|
|
55
|
+
export { default as CompletedUser } from './components/CompletedUser';
|
|
56
|
+
export { default as FlowWorkOrderId } from './components/FlowWorkOrderId';
|
|
57
|
+
export { default as StatusSelect } from './components/StatusSelect';
|
|
58
|
+
export { default as CommonTradeId } from './components/CommonTradeId';
|
|
59
|
+
export { default as Calculation } from './components/Calculation';
|
|
60
|
+
export { default as CommonSystemOrder } from './components/CommonSystemOrder';
|
|
61
|
+
export { default as CommonMultiStatus } from './components/CommonMultiStatus';
|
|
62
|
+
export { default as NodeDeadLine } from './components/NodeDeadLine';
|
|
63
|
+
export { default as HandlerDeadLine } from './components/HandlerDeadLine';
|
|
64
|
+
export { default as NodeStayDuration } from './components/NodeStayDuration';
|
|
65
|
+
export { factory } from './factory';
|
|
66
|
+
export { default as PlatformAvatar } from './commonComponents/PlatformAvatar';
|
|
67
|
+
export { default as PlatBuyer } from './commonComponents/PlatBuyer';
|
|
68
|
+
export { default as ShopList } from './commonComponents/ShopList';
|
|
69
|
+
export { default as OperationLog } from './commonComponents/OperationLog';
|
|
70
|
+
export { default as GetFormItem } from './components/GetFormItem';
|
package/dist/esm/index.js
CHANGED
|
@@ -43,6 +43,7 @@ export { default as BsExchange } from "./components/BS/BsExchange";
|
|
|
43
43
|
export { default as BsReissue } from "./components/BS/BsReissue";
|
|
44
44
|
export { default as BsReturn } from "./components/BS/BsReturn";
|
|
45
45
|
export { default as FlowStatusSelect } from "./components/FlowStatusSelect";
|
|
46
|
+
export { default as FlowMarkSelect } from "./components/FlowMarkSelect";
|
|
46
47
|
export { default as TemplateSelect } from "./components/TemplateSelect";
|
|
47
48
|
export { default as WorkOrderId } from "./components/WorkOrderId";
|
|
48
49
|
export { default as LogisticsInterception } from "./components/LogisticsInterception";
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export interface ComponentInterface {
|
|
|
62
62
|
/**
|
|
63
63
|
* @description 显示字段名称
|
|
64
64
|
*/
|
|
65
|
-
showField?: "EXPRESS_COMPANY" | "EXPRESS_WAYBILL_CODE" | "EXPRESS_SNAPSHOT" | "all" | "bs";
|
|
65
|
+
showField?: "EXPRESS_COMPANY" | "EXPRESS_WAYBILL_CODE" | "EXPRESS_SNAPSHOT" | "all" | "bs" | "workOrder";
|
|
66
66
|
/**
|
|
67
67
|
* @description 是否选择SKU
|
|
68
68
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.8.18-alpha.
|
|
3
|
+
"version": "0.8.18-alpha.13",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"father": "^4.1.7"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kmkf-fe-packages/basic-components": "^0.8.18-alpha.
|
|
30
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.8.18-alpha.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.8.18-alpha.13",
|
|
30
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.8.18-alpha.13"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@ant-design/icons": "^4.7.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "6f3efeac8be25bc659a52ae759866a01a1f5b62d"
|
|
44
44
|
}
|