@kmkf-fe-packages/services-components 1.17.8-beta.15 → 1.17.8-beta.17
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/BS/BsLogistics/index.js +4 -4
- package/dist/esm/components/EItemEnCode/index.js +1 -1
- package/dist/esm/components/JST/JstItemSelect/index.js +2 -4
- package/dist/esm/components/JST/JstSendGood/index.js +2 -2
- package/dist/esm/components/JST/JstSupply/index.js +4 -8
- package/dist/esm/components/KmErpSendGood/index.js +4 -4
- package/dist/esm/components/MsgStatus/index.js +1 -1
- package/dist/esm/components/ThirdItemSelect/index.js +2 -2
- package/dist/esm/factory.d.ts +1 -1
- package/package.json +4 -4
|
@@ -85,11 +85,11 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
85
85
|
name: "物流公司",
|
|
86
86
|
key: "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.company),
|
|
87
87
|
options: _this.expressDateInstance.getExpressData(),
|
|
88
|
-
dataType: "
|
|
88
|
+
dataType: "arrayObject"
|
|
89
89
|
}, {
|
|
90
90
|
name: "物流单号",
|
|
91
91
|
key: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.code),
|
|
92
|
-
dataType: "
|
|
92
|
+
dataType: "arrayObject"
|
|
93
93
|
}];
|
|
94
94
|
}
|
|
95
95
|
if (type === "logisticsCompany") {
|
|
@@ -98,7 +98,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
98
98
|
name: "物流公司",
|
|
99
99
|
key: "".concat(options.id, "_").concat((_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.company),
|
|
100
100
|
options: _this.expressDateInstance.getExpressData(),
|
|
101
|
-
dataType: "
|
|
101
|
+
dataType: "arrayObject"
|
|
102
102
|
}];
|
|
103
103
|
}
|
|
104
104
|
if (type === "logisticsCode") {
|
|
@@ -106,7 +106,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
106
106
|
return [{
|
|
107
107
|
name: "物流单号",
|
|
108
108
|
key: "".concat(options.id, "_").concat((_typeMap$options$type4 = typeMap[options.type]) === null || _typeMap$options$type4 === void 0 ? void 0 : _typeMap$options$type4.code),
|
|
109
|
-
dataType: "
|
|
109
|
+
dataType: "arrayObject"
|
|
110
110
|
}];
|
|
111
111
|
}
|
|
112
112
|
return [];
|
|
@@ -90,16 +90,14 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
90
90
|
list.push({
|
|
91
91
|
name: "jst供应商名称",
|
|
92
92
|
key: "".concat(_this.id, "_supplierName"),
|
|
93
|
-
dataType: "
|
|
94
|
-
format: "input"
|
|
93
|
+
dataType: "arrayObject"
|
|
95
94
|
});
|
|
96
95
|
}
|
|
97
96
|
if ((_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.enableItemId) {
|
|
98
97
|
list.push({
|
|
99
98
|
name: "jst供应商编码",
|
|
100
99
|
key: "".concat(_this.id, "_itemId"),
|
|
101
|
-
dataType: "
|
|
102
|
-
format: "input"
|
|
100
|
+
dataType: "arrayObject"
|
|
103
101
|
});
|
|
104
102
|
}
|
|
105
103
|
return list;
|
|
@@ -66,12 +66,12 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
66
66
|
var sendName = {
|
|
67
67
|
name: "发货仓名称",
|
|
68
68
|
key: "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.sendName),
|
|
69
|
-
dataType: "
|
|
69
|
+
dataType: "arrayObject"
|
|
70
70
|
};
|
|
71
71
|
var sendId = {
|
|
72
72
|
name: "发货仓编码",
|
|
73
73
|
key: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.sendId),
|
|
74
|
-
dataType: "
|
|
74
|
+
dataType: "arrayObject"
|
|
75
75
|
};
|
|
76
76
|
if (fieldType === 'WDT_SEND_GOOD') {
|
|
77
77
|
sendName.options = WdtSendData.getInstance().getWdtSendData() || [];
|
|
@@ -37,29 +37,25 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(_options) {
|
|
|
37
37
|
return [{
|
|
38
38
|
name: "jst供销商名称",
|
|
39
39
|
key: "".concat(options.id, "_supplyName"),
|
|
40
|
-
dataType: "
|
|
41
|
-
format: "input"
|
|
40
|
+
dataType: "arrayObject"
|
|
42
41
|
}, {
|
|
43
42
|
name: "jst供销商编码",
|
|
44
43
|
key: "".concat(options.id, "_supplyId"),
|
|
45
|
-
dataType: "
|
|
46
|
-
format: "input"
|
|
44
|
+
dataType: "arrayObject"
|
|
47
45
|
}];
|
|
48
46
|
}
|
|
49
47
|
if (type === "supplyName") {
|
|
50
48
|
return [{
|
|
51
49
|
name: "jst供销商名称",
|
|
52
50
|
key: "".concat(options.id, "_supplyName"),
|
|
53
|
-
dataType: "
|
|
54
|
-
format: "input"
|
|
51
|
+
dataType: "arrayObject"
|
|
55
52
|
}];
|
|
56
53
|
}
|
|
57
54
|
if (type === "supplyId") {
|
|
58
55
|
return [{
|
|
59
56
|
name: "jst供销商编码",
|
|
60
57
|
key: "".concat(options.id, "_supplyId"),
|
|
61
|
-
dataType: "
|
|
62
|
-
format: "input"
|
|
58
|
+
dataType: "arrayObject"
|
|
63
59
|
}];
|
|
64
60
|
}
|
|
65
61
|
return [];
|
|
@@ -40,25 +40,25 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
40
40
|
return [{
|
|
41
41
|
name: "发货仓名称",
|
|
42
42
|
key: "".concat(options.id, "_").concat(_this.suffixSendName),
|
|
43
|
-
dataType: "
|
|
43
|
+
dataType: "arrayObject"
|
|
44
44
|
}, {
|
|
45
45
|
name: "发货仓编码",
|
|
46
46
|
key: "".concat(options.id, "_").concat(_this.suffixSendId),
|
|
47
|
-
dataType: "
|
|
47
|
+
dataType: "arrayObject"
|
|
48
48
|
}];
|
|
49
49
|
}
|
|
50
50
|
if (type === 'sendName') {
|
|
51
51
|
return [{
|
|
52
52
|
name: "发货仓名称",
|
|
53
53
|
key: "".concat(options.id, "_").concat(_this.suffixSendName),
|
|
54
|
-
dataType: "
|
|
54
|
+
dataType: "arrayObject"
|
|
55
55
|
}];
|
|
56
56
|
}
|
|
57
57
|
if (type === 'sendId') {
|
|
58
58
|
return [{
|
|
59
59
|
name: "发货仓编码",
|
|
60
60
|
key: "".concat(options.id, "_").concat(_this.suffixSendId),
|
|
61
|
-
dataType: "
|
|
61
|
+
dataType: "arrayObject"
|
|
62
62
|
}];
|
|
63
63
|
}
|
|
64
64
|
return [];
|
|
@@ -185,7 +185,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
185
185
|
this.isCombinationComponent = false;
|
|
186
186
|
this.canSort = false;
|
|
187
187
|
this.children = [];
|
|
188
|
-
this.dataType = '
|
|
188
|
+
this.dataType = 'arrayObject';
|
|
189
189
|
this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
|
|
190
190
|
required: true,
|
|
191
191
|
validator: function validator(_, value) {
|
|
@@ -37,14 +37,14 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
37
37
|
list.push({
|
|
38
38
|
name: '供应商编码',
|
|
39
39
|
key: "".concat(_this.id, "_itemId"),
|
|
40
|
-
dataType: "
|
|
40
|
+
dataType: "arrayObject"
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
if ((_this$componentConfig2 = _this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.enableSupplierName) {
|
|
44
44
|
list.push({
|
|
45
45
|
name: '供应商名称',
|
|
46
46
|
key: "".concat(_this.id, "_supplierName"),
|
|
47
|
-
dataType: "
|
|
47
|
+
dataType: "arrayObject"
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
return list;
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { JstLogistics, 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, KmErpSendGood, AfterSalesOrderId } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BasicCascader |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BasicCascader | BasicCheckbox | ItemEnCode | FlowWorkOrderId | BasicInput | JstSendGood | JstSupply | LogisticsInterception | LogisticsMoreInterception | MsgStatus | PaymentVoucherCode | StatusSelect | SubForm | ThirdItemSelect | BasicDataTime | TradeDateTime | TradeId | BasicAddress | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | SystemOrderNo | Ordinary | Payment | JstLogistics | JstItemSelect | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | Label | KmErpSendGood | AfterSalesOrderId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.17.8-beta.
|
|
3
|
+
"version": "1.17.8-beta.17",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "1.17.8-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.17.8-beta.17",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.17",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
28
28
|
"react-pdf-js": "^5.1.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "d8cd5502419b67618ea3653283cbf94e96587c4f",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|