@kmkf-fe-packages/services-components 1.19.8-beta.12 → 1.19.8-beta.15
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/BsSystemOrder/index.js +29 -8
- package/dist/esm/components/BsE3/ReissueGift/index.d.ts +26 -0
- package/dist/esm/components/BsE3/ReissueGift/index.js +83 -0
- package/dist/esm/components/Common/index.js +33 -9
- package/dist/esm/components/CommonHeaderGood/index.js +17 -13
- package/dist/esm/factory.d.ts +1 -1
- package/package.json +4 -4
|
@@ -11,7 +11,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import GetFormItem from "../../GetFormItem";
|
|
13
13
|
import ItemView from "../../../commonComponents/ItemView";
|
|
14
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { isNull, BS_E3_BOOLEAN_STATUS_MAP, BS_E3_ORDER_STATUS_MAP } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
15
|
import { BsSystemOrder as SystemOrder } from '@kmkf-fe-packages/basic-components';
|
|
16
16
|
import { BsSystemOrderTable } from "../../Common";
|
|
17
17
|
import { BsHeaderChild } from "../common/index";
|
|
@@ -84,37 +84,58 @@ var typeMap = {
|
|
|
84
84
|
title: "订单状态",
|
|
85
85
|
dataIndex: "orderStatus",
|
|
86
86
|
width: 100,
|
|
87
|
-
ellipsis: true
|
|
87
|
+
ellipsis: true,
|
|
88
|
+
render: function render(val) {
|
|
89
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_ORDER_STATUS_MAP[val] || val);
|
|
90
|
+
}
|
|
88
91
|
}, {
|
|
89
92
|
title: "是否被拆分",
|
|
90
93
|
dataIndex: "isSplit",
|
|
91
94
|
width: 100,
|
|
92
|
-
ellipsis: true
|
|
95
|
+
ellipsis: true,
|
|
96
|
+
render: function render(val) {
|
|
97
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
98
|
+
}
|
|
93
99
|
}, {
|
|
94
100
|
title: "是否拆分子单",
|
|
95
101
|
dataIndex: "isSplitNew",
|
|
96
102
|
width: 100,
|
|
97
|
-
ellipsis: true
|
|
103
|
+
ellipsis: true,
|
|
104
|
+
render: function render(val) {
|
|
105
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
106
|
+
}
|
|
98
107
|
}, {
|
|
99
108
|
title: "是否被合并",
|
|
100
109
|
dataIndex: "isCombine",
|
|
101
110
|
width: 100,
|
|
102
|
-
ellipsis: true
|
|
111
|
+
ellipsis: true,
|
|
112
|
+
render: function render(val) {
|
|
113
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
114
|
+
}
|
|
103
115
|
}, {
|
|
104
116
|
title: "是否合并新单",
|
|
105
117
|
dataIndex: "isCombineNew",
|
|
106
118
|
width: 100,
|
|
107
|
-
ellipsis: true
|
|
119
|
+
ellipsis: true,
|
|
120
|
+
render: function render(val) {
|
|
121
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
122
|
+
}
|
|
108
123
|
}, {
|
|
109
124
|
title: "是否复制单",
|
|
110
125
|
dataIndex: "isCopy",
|
|
111
126
|
width: 100,
|
|
112
|
-
ellipsis: true
|
|
127
|
+
ellipsis: true,
|
|
128
|
+
render: function render(val) {
|
|
129
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
130
|
+
}
|
|
113
131
|
}, {
|
|
114
132
|
title: "是否换货单",
|
|
115
133
|
dataIndex: "isExchangeOrder",
|
|
116
134
|
width: 100,
|
|
117
|
-
ellipsis: true
|
|
135
|
+
ellipsis: true,
|
|
136
|
+
render: function render(val) {
|
|
137
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
138
|
+
}
|
|
118
139
|
}, {
|
|
119
140
|
title: "订单备注",
|
|
120
141
|
dataIndex: "orderMsg",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ALignType, Record } from '../../../type';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare class ReissueGift implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
sortField: string;
|
|
7
|
+
type: string;
|
|
8
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
9
|
+
align: ALignType;
|
|
10
|
+
width: number;
|
|
11
|
+
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
13
|
+
canSort: boolean;
|
|
14
|
+
children: ComponentInterface[];
|
|
15
|
+
dataType: ComponentInterface['dataType'];
|
|
16
|
+
constructor(options: PickOption);
|
|
17
|
+
getParentId: () => string;
|
|
18
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
|
+
renderPc: (value: unknown, record: Record) => "--" | "是" | "否";
|
|
20
|
+
renderLog: (r: Record) => "--" | "是" | "否" | null;
|
|
21
|
+
getComponentValue: (r: Record) => "--" | "是" | "否";
|
|
22
|
+
renderExport: (value: string, record: Record) => "--" | "是" | "否";
|
|
23
|
+
editRender: () => null;
|
|
24
|
+
filterConfig: () => never[];
|
|
25
|
+
}
|
|
26
|
+
export default ReissueGift;
|
|
@@ -0,0 +1,83 @@
|
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
3
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
5
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
6
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
7
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
|
+
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); } }
|
|
9
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
13
|
+
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); }
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import ItemView from "../../../commonComponents/ItemView";
|
|
16
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
17
|
+
var ReissueGift = /*#__PURE__*/_createClass(function ReissueGift(options) {
|
|
18
|
+
var _this = this;
|
|
19
|
+
_classCallCheck(this, ReissueGift);
|
|
20
|
+
_defineProperty(this, "name", void 0);
|
|
21
|
+
_defineProperty(this, "id", void 0);
|
|
22
|
+
_defineProperty(this, "sortField", void 0);
|
|
23
|
+
_defineProperty(this, "type", void 0);
|
|
24
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
25
|
+
_defineProperty(this, "align", void 0);
|
|
26
|
+
_defineProperty(this, "width", void 0);
|
|
27
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "formField", void 0);
|
|
29
|
+
_defineProperty(this, "canSort", void 0);
|
|
30
|
+
_defineProperty(this, "children", void 0);
|
|
31
|
+
_defineProperty(this, "dataType", void 0);
|
|
32
|
+
_defineProperty(this, "getParentId", function () {
|
|
33
|
+
var _this$id$split = _this.id.split('_'),
|
|
34
|
+
_this$id$split2 = _slicedToArray(_this$id$split, 3),
|
|
35
|
+
key = _this$id$split2[0],
|
|
36
|
+
name = _this$id$split2[1],
|
|
37
|
+
code = _this$id$split2[2];
|
|
38
|
+
return "".concat(key, "_").concat(name);
|
|
39
|
+
});
|
|
40
|
+
_defineProperty(this, "renderClient", function (record) {
|
|
41
|
+
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
42
|
+
id: _this.id,
|
|
43
|
+
label: _this.name,
|
|
44
|
+
value: _this.getComponentValue(record)
|
|
45
|
+
}) : null;
|
|
46
|
+
});
|
|
47
|
+
_defineProperty(this, "renderPc", function (value, record) {
|
|
48
|
+
return _this.getComponentValue(record);
|
|
49
|
+
});
|
|
50
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
51
|
+
var id = _this.getParentId();
|
|
52
|
+
if (isNull(r === null || r === void 0 ? void 0 : r[id])) return null;
|
|
53
|
+
return _this.renderPc(undefined, r);
|
|
54
|
+
});
|
|
55
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
56
|
+
if (isNull(r === null || r === void 0 ? void 0 : r[_this.id])) {
|
|
57
|
+
return '--';
|
|
58
|
+
}
|
|
59
|
+
return +(r === null || r === void 0 ? void 0 : r[_this.id]) ? '是' : '否';
|
|
60
|
+
});
|
|
61
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
62
|
+
return _this.getComponentValue(record);
|
|
63
|
+
});
|
|
64
|
+
_defineProperty(this, "editRender", function () {
|
|
65
|
+
return null;
|
|
66
|
+
});
|
|
67
|
+
_defineProperty(this, "filterConfig", function () {
|
|
68
|
+
return [];
|
|
69
|
+
});
|
|
70
|
+
this.name = options.name;
|
|
71
|
+
this.id = options.id;
|
|
72
|
+
this.sortField = options.id;
|
|
73
|
+
this.formField = options.id;
|
|
74
|
+
this.type = options.type;
|
|
75
|
+
this.componentConfig = options.componentConfig;
|
|
76
|
+
this.align = 'left';
|
|
77
|
+
this.width = (options === null || options === void 0 ? void 0 : options.width) || 100;
|
|
78
|
+
this.isCombinationComponent = false;
|
|
79
|
+
this.canSort = false;
|
|
80
|
+
this.dataType = 'string';
|
|
81
|
+
this.children = [];
|
|
82
|
+
});
|
|
83
|
+
export default ReissueGift;
|
|
@@ -14,7 +14,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
14
14
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
15
|
import { Form, Button, Modal, Tooltip, Space, Image, Popover, Table, message, Typography } from "antd";
|
|
16
16
|
import React, { useState, useMemo } from "react";
|
|
17
|
-
import { ExpressData, SendDataCenter } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
|
+
import { ExpressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, BS_E3_ORDER_STATUS_MAP } from "@kmkf-fe-packages/kmkf-utils";
|
|
18
18
|
import { getAlipayBillReceipt } from "../../service/api";
|
|
19
19
|
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
20
20
|
import styles from "./index.module.less";
|
|
@@ -892,7 +892,10 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
|
|
|
892
892
|
title: "\u662F\u5426\u8D60\u54C1",
|
|
893
893
|
align: 'center',
|
|
894
894
|
ellipsis: true,
|
|
895
|
-
width: 100
|
|
895
|
+
width: 100,
|
|
896
|
+
render: function render(val) {
|
|
897
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
898
|
+
}
|
|
896
899
|
}];
|
|
897
900
|
}
|
|
898
901
|
break;
|
|
@@ -1163,37 +1166,58 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
|
|
|
1163
1166
|
title: "订单状态",
|
|
1164
1167
|
dataIndex: "orderStatus",
|
|
1165
1168
|
width: 100,
|
|
1166
|
-
ellipsis: true
|
|
1169
|
+
ellipsis: true,
|
|
1170
|
+
render: function render(val) {
|
|
1171
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_ORDER_STATUS_MAP[val] || val);
|
|
1172
|
+
}
|
|
1167
1173
|
}, {
|
|
1168
1174
|
title: "是否被拆分",
|
|
1169
1175
|
dataIndex: "isSplit",
|
|
1170
1176
|
width: 100,
|
|
1171
|
-
ellipsis: true
|
|
1177
|
+
ellipsis: true,
|
|
1178
|
+
render: function render(val) {
|
|
1179
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
1180
|
+
}
|
|
1172
1181
|
}, {
|
|
1173
1182
|
title: "是否拆分子单",
|
|
1174
1183
|
dataIndex: "isSplitNew",
|
|
1175
1184
|
width: 100,
|
|
1176
|
-
ellipsis: true
|
|
1185
|
+
ellipsis: true,
|
|
1186
|
+
render: function render(val) {
|
|
1187
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
1188
|
+
}
|
|
1177
1189
|
}, {
|
|
1178
1190
|
title: "是否被合并",
|
|
1179
1191
|
dataIndex: "isCombine",
|
|
1180
1192
|
width: 100,
|
|
1181
|
-
ellipsis: true
|
|
1193
|
+
ellipsis: true,
|
|
1194
|
+
render: function render(val) {
|
|
1195
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
1196
|
+
}
|
|
1182
1197
|
}, {
|
|
1183
1198
|
title: "是否合并新单",
|
|
1184
1199
|
dataIndex: "isCombineNew",
|
|
1185
1200
|
width: 100,
|
|
1186
|
-
ellipsis: true
|
|
1201
|
+
ellipsis: true,
|
|
1202
|
+
render: function render(val) {
|
|
1203
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
1204
|
+
}
|
|
1187
1205
|
}, {
|
|
1188
1206
|
title: "是否复制单",
|
|
1189
1207
|
dataIndex: "isCopy",
|
|
1190
1208
|
width: 100,
|
|
1191
|
-
ellipsis: true
|
|
1209
|
+
ellipsis: true,
|
|
1210
|
+
render: function render(val) {
|
|
1211
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
1212
|
+
}
|
|
1192
1213
|
}, {
|
|
1193
1214
|
title: "是否换货单",
|
|
1194
1215
|
dataIndex: "isExchangeOrder",
|
|
1195
1216
|
width: 100,
|
|
1196
|
-
ellipsis: true
|
|
1217
|
+
ellipsis: true,
|
|
1218
|
+
render: function render(val) {
|
|
1219
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
1220
|
+
}
|
|
1197
1221
|
}, {
|
|
1198
1222
|
title: "订单备注",
|
|
1199
1223
|
dataIndex: "orderMsg",
|
|
@@ -19,8 +19,9 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
19
19
|
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); }
|
|
20
20
|
import React from "react";
|
|
21
21
|
import ItemView from "../../commonComponents/ItemView";
|
|
22
|
-
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
22
|
+
import { isNull, BS_E3_BOOLEAN_STATUS_MAP } from "@kmkf-fe-packages/kmkf-utils";
|
|
23
23
|
import { BsHeaderPic, BsHeaderChild } from "../BS/common";
|
|
24
|
+
import ReissueGift from "../BsE3/ReissueGift";
|
|
24
25
|
var GoodHeaderMap = {
|
|
25
26
|
"WDT_GOODS": {
|
|
26
27
|
headerMap: {
|
|
@@ -419,7 +420,10 @@ var GoodHeaderMap = {
|
|
|
419
420
|
component: BsHeaderChild,
|
|
420
421
|
name: "是否赠品",
|
|
421
422
|
key: "isGift",
|
|
422
|
-
width: 80
|
|
423
|
+
width: 80,
|
|
424
|
+
render: function render(val) {
|
|
425
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
426
|
+
}
|
|
423
427
|
}
|
|
424
428
|
},
|
|
425
429
|
itemKey: {
|
|
@@ -466,13 +470,13 @@ var GoodHeaderMap = {
|
|
|
466
470
|
component: BsHeaderChild,
|
|
467
471
|
name: "商品名称",
|
|
468
472
|
key: "goodsName",
|
|
469
|
-
width:
|
|
473
|
+
width: 200
|
|
470
474
|
},
|
|
471
475
|
goodsShortName: {
|
|
472
476
|
component: BsHeaderChild,
|
|
473
477
|
name: "商品简称",
|
|
474
478
|
key: "goodsShortName",
|
|
475
|
-
width:
|
|
479
|
+
width: 150
|
|
476
480
|
},
|
|
477
481
|
picPath: {
|
|
478
482
|
component: BsHeaderChild,
|
|
@@ -496,13 +500,13 @@ var GoodHeaderMap = {
|
|
|
496
500
|
component: BsHeaderChild,
|
|
497
501
|
name: "颜色名称",
|
|
498
502
|
key: "colorName",
|
|
499
|
-
width:
|
|
503
|
+
width: 150
|
|
500
504
|
},
|
|
501
505
|
colorCode: {
|
|
502
506
|
component: BsHeaderChild,
|
|
503
507
|
name: "颜色代码",
|
|
504
508
|
key: "colorCode",
|
|
505
|
-
width:
|
|
509
|
+
width: 150
|
|
506
510
|
},
|
|
507
511
|
sizeName: {
|
|
508
512
|
component: BsHeaderChild,
|
|
@@ -514,37 +518,37 @@ var GoodHeaderMap = {
|
|
|
514
518
|
component: BsHeaderChild,
|
|
515
519
|
name: "尺码代码",
|
|
516
520
|
key: "sizeCode",
|
|
517
|
-
width:
|
|
521
|
+
width: 150
|
|
518
522
|
},
|
|
519
523
|
brandName: {
|
|
520
524
|
component: BsHeaderChild,
|
|
521
525
|
name: "品牌名称",
|
|
522
526
|
key: "brandName",
|
|
523
|
-
width:
|
|
527
|
+
width: 150
|
|
524
528
|
},
|
|
525
529
|
goodsNumber: {
|
|
526
530
|
component: BsHeaderChild,
|
|
527
531
|
name: "商品数量",
|
|
528
532
|
key: "goodsNumber",
|
|
529
|
-
width:
|
|
533
|
+
width: 150
|
|
530
534
|
},
|
|
531
535
|
goodsPrice: {
|
|
532
536
|
component: BsHeaderChild,
|
|
533
537
|
name: "商品单价",
|
|
534
538
|
key: "goodsPrice",
|
|
535
|
-
width:
|
|
539
|
+
width: 150
|
|
536
540
|
},
|
|
537
541
|
shopPrice: {
|
|
538
542
|
component: BsHeaderChild,
|
|
539
543
|
name: "商品网店售价",
|
|
540
544
|
key: "shopPrice",
|
|
541
|
-
width:
|
|
545
|
+
width: 150
|
|
542
546
|
},
|
|
543
547
|
isGift: {
|
|
544
|
-
component:
|
|
548
|
+
component: ReissueGift,
|
|
545
549
|
name: "是否赠品",
|
|
546
550
|
key: "isGift",
|
|
547
|
-
width:
|
|
551
|
+
width: 150
|
|
548
552
|
}
|
|
549
553
|
},
|
|
550
554
|
itemKey: {
|
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, BsE3Goods, BsE3Reissue } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => ActualPayment | BsLogistics | BsE3Reissue | JstSendGood | KmErpSendGood | MsgStatus | BasicSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicRadio | BasicTextArea |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => ActualPayment | BsLogistics | BsSystemOrder | BsE3Reissue | JstSendGood | KmErpSendGood | MsgStatus | BasicPicture | BasicSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicRadio | BasicTextArea | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsGoods | BsE3Goods | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | 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 | AfterSalesOrderId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.19.8-beta.
|
|
3
|
+
"version": "1.19.8-beta.15",
|
|
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.19.8-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.19.8-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.19.8-beta.15",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.19.8-beta.15",
|
|
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": "d38edefc7901087a2d7c1606755cf5ff74615e45",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|