@kmkf-fe-packages/services-components 2.0.79-beta.51 → 2.0.79-beta.53
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/Hooks/useColumnsConfig.d.ts +1 -1
- package/dist/esm/components/BS/BsLogistics/index.d.ts +6 -0
- package/dist/esm/components/BS/BsLogistics/index.js +8 -0
- package/dist/esm/components/BS/BsSystemOrder/index.js +3 -2
- package/dist/esm/components/BS/common/expressCode.d.ts +4 -4
- package/dist/esm/components/BS/common/expressCode.js +21 -18
- package/dist/esm/components/BS/common/expressCompany.js +3 -0
- package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +4 -2
- package/dist/esm/components/Common/index.js +5 -3
- package/dist/esm/components/CommonHeaderGood/index.js +210 -0
- package/dist/esm/components/JST/JstSendGood/index.js +8 -0
- package/dist/esm/components/KmErpSendGood/index.js +1 -1
- package/dist/esm/components/Public/Goods/index.d.ts +3 -0
- package/dist/esm/components/Public/Goods/index.js +3 -0
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +4 -0
- package/package.json +4 -4
- package/dist/esm/commonComponents/GlobalContext/hook/dist/useGetHasErpData.js +0 -52
- package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpAddressData.js +0 -180
- package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpLogisticsCompany.js +0 -186
- package/dist/esm/components/BS/BsGoods/dist/index.js +0 -113
- package/dist/esm/components/Common/dist/index.js +0 -1019
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import LogisticsInterception from "../components/LogisticsInterception";
|
|
2
2
|
import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
|
|
3
|
-
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/AfterSalesOrderId").default | import("../components/BuyerNick").default | import("../components/Checkbox").default | import("../components/CommonMultiStatus").default | import("../components/File").default | import("../components/Input").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BS/BsSystemOrder").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/
|
|
3
|
+
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/AfterSalesOrderId").default | import("../components/BS/BsLogistics").default | import("../components/BuyerNick").default | import("../components/Checkbox").default | import("../components/CommonMultiStatus").default | import("../components/File").default | import("../components/Input").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BS/BsSystemOrder").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/CommonSystemOrder").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/GY/GyGoods").default;
|
|
4
4
|
export declare const useColumnsConfig: ({ queryWorkOrderDetail, flatTemplateList, shopList, sortState, onChangeSort, handleReset, handleSubmit, handleChangeSingleWorkOrderMark, userList, tbAppKey, isShare, openSingleColumnsFilter, openSingleColumnsSort, }: {
|
|
5
5
|
queryWorkOrderDetail?: ((p: any) => void) | undefined;
|
|
6
6
|
flatTemplateList?: any;
|
|
@@ -49,6 +49,12 @@ declare class BsLogistics implements ComponentInterface {
|
|
|
49
49
|
id: string;
|
|
50
50
|
name: string;
|
|
51
51
|
filterComponentType: "SelectInput";
|
|
52
|
+
props: {
|
|
53
|
+
filterOptions: {
|
|
54
|
+
label: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}[];
|
|
57
|
+
};
|
|
52
58
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
53
59
|
formatFilterValue: (value: any) => any;
|
|
54
60
|
})[];
|
|
@@ -74,6 +74,14 @@ var typeMap = {
|
|
|
74
74
|
code: "gyLogisticsCode",
|
|
75
75
|
platformType: "gy",
|
|
76
76
|
companyDataType: "arrayObject"
|
|
77
|
+
},
|
|
78
|
+
JY_LOGISTICS: {
|
|
79
|
+
key: "jyLogisticsList",
|
|
80
|
+
name: "巨益",
|
|
81
|
+
company: "jyLogisticsCompany",
|
|
82
|
+
code: "jyLogisticsCode",
|
|
83
|
+
platformType: "jy",
|
|
84
|
+
companyDataType: "arrayObject"
|
|
77
85
|
}
|
|
78
86
|
};
|
|
79
87
|
var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
@@ -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, KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
|
|
14
|
+
import { isNull, KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG } 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";
|
|
@@ -23,7 +23,8 @@ var typeMap = {
|
|
|
23
23
|
WDT_SYSTEM_ORDER: WDT_SYSTEM_ORDER_CONFIG,
|
|
24
24
|
BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG,
|
|
25
25
|
GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG,
|
|
26
|
-
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG
|
|
26
|
+
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG,
|
|
27
|
+
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG
|
|
27
28
|
};
|
|
28
29
|
var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
29
30
|
var _this = this,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from "../../../type";
|
|
2
|
+
import React from "react";
|
|
3
3
|
declare class ExpressCode implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
9
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
align: ALignType;
|
|
11
11
|
width: number;
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
formField: string;
|
|
14
14
|
canSort: boolean;
|
|
15
15
|
children: ComponentInterface[];
|
|
16
|
-
dataType: ComponentInterface[
|
|
16
|
+
dataType: ComponentInterface["dataType"];
|
|
17
17
|
parentName: string;
|
|
18
18
|
constructor(options: PickOption);
|
|
19
19
|
renderClient: () => null;
|
|
@@ -11,31 +11,34 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
11
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
12
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
13
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
|
|
14
|
+
import React from "react";
|
|
15
15
|
import { BsExpressRender } from "../../Common";
|
|
16
|
-
import { isNull, filterFn as _filterFn } from
|
|
16
|
+
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
17
|
import { SEARCH_OPTIONS_V2, SYMBOL, batchInput } from "../../../constant";
|
|
18
18
|
var typeMap = {
|
|
19
19
|
BS_LOGISTICS: {
|
|
20
|
-
key:
|
|
20
|
+
key: "bsLogisticsItem"
|
|
21
21
|
},
|
|
22
22
|
BS_E3_LOGISTICS: {
|
|
23
|
-
key:
|
|
23
|
+
key: "bsE3LogisticsItem"
|
|
24
24
|
},
|
|
25
25
|
WLN_LOGISTICS: {
|
|
26
|
-
key:
|
|
26
|
+
key: "wlnLogisticsItem"
|
|
27
27
|
},
|
|
28
28
|
WDT_LOGISTICS: {
|
|
29
|
-
key:
|
|
29
|
+
key: "wdtLogisticsItem"
|
|
30
30
|
},
|
|
31
31
|
JST_LOGISTICS: {
|
|
32
|
-
key:
|
|
32
|
+
key: "jstLogisticsItem"
|
|
33
33
|
},
|
|
34
34
|
KM_LOGISTICS: {
|
|
35
|
-
key:
|
|
35
|
+
key: "kmLogisticsItem"
|
|
36
36
|
},
|
|
37
37
|
GY_LOGISTICS: {
|
|
38
|
-
key:
|
|
38
|
+
key: "gyLogisticsItem"
|
|
39
|
+
},
|
|
40
|
+
JY_LOGISTICS: {
|
|
41
|
+
key: "jyLogisticsItem"
|
|
39
42
|
}
|
|
40
43
|
};
|
|
41
44
|
var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
@@ -60,7 +63,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
60
63
|
return null;
|
|
61
64
|
});
|
|
62
65
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
63
|
-
var _this$id$split = _this.id.split(
|
|
66
|
+
var _this$id$split = _this.id.split("_"),
|
|
64
67
|
_this$id$split2 = _slicedToArray(_this$id$split, 3),
|
|
65
68
|
key = _this$id$split2[0],
|
|
66
69
|
parentKey = _this$id$split2[1],
|
|
@@ -70,7 +73,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
70
73
|
}
|
|
71
74
|
return /*#__PURE__*/React.createElement(BsExpressRender, {
|
|
72
75
|
list: record === null || record === void 0 ? void 0 : record["".concat(key, "_").concat(parentKey, "_").concat(typeMap[_this.type].key)],
|
|
73
|
-
showField:
|
|
76
|
+
showField: "code"
|
|
74
77
|
});
|
|
75
78
|
});
|
|
76
79
|
_defineProperty(this, "renderLog", function (r) {
|
|
@@ -82,7 +85,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
82
85
|
});
|
|
83
86
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
84
87
|
var _record;
|
|
85
|
-
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record :
|
|
88
|
+
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : "--";
|
|
86
89
|
});
|
|
87
90
|
_defineProperty(this, "editRender", function () {
|
|
88
91
|
return null;
|
|
@@ -94,17 +97,17 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
94
97
|
type: item.type,
|
|
95
98
|
id: "".concat(item.id, "_").concat(subKey),
|
|
96
99
|
name: "".concat(_this.parentName, "-\u7269\u6D41\u5355\u53F7"),
|
|
97
|
-
filterComponentType:
|
|
100
|
+
filterComponentType: "SelectInput",
|
|
98
101
|
props: {
|
|
99
102
|
filterOptions: SEARCH_OPTIONS_V2
|
|
100
103
|
},
|
|
101
104
|
filterFn: function filterFn(value) {
|
|
102
105
|
return function (i) {
|
|
103
|
-
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id,
|
|
106
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "logisticsCode"), value);
|
|
104
107
|
};
|
|
105
108
|
},
|
|
106
109
|
formatFilterValue: function formatFilterValue(value) {
|
|
107
|
-
if (value.type ===
|
|
110
|
+
if (value.type === "in") {
|
|
108
111
|
return batchInput(value.keywords);
|
|
109
112
|
} else {
|
|
110
113
|
return value;
|
|
@@ -123,14 +126,14 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
123
126
|
if (/^[0-9a-zA-Z]*$/.test(value)) {
|
|
124
127
|
return Promise.resolve();
|
|
125
128
|
}
|
|
126
|
-
return Promise.reject(new Error(
|
|
129
|
+
return Promise.reject(new Error("只能输入数字和字母"));
|
|
127
130
|
}
|
|
128
131
|
}] : [];
|
|
129
|
-
this.align =
|
|
132
|
+
this.align = "left";
|
|
130
133
|
this.width = (options === null || options === void 0 ? void 0 : options.width) || 150;
|
|
131
134
|
this.isCombinationComponent = false;
|
|
132
135
|
this.canSort = false;
|
|
133
|
-
this.dataType =
|
|
136
|
+
this.dataType = "string";
|
|
134
137
|
this.children = [];
|
|
135
138
|
this.parentName = options === null || options === void 0 ? void 0 : options.parentName;
|
|
136
139
|
});
|
|
@@ -7,13 +7,13 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
7
7
|
import system from "./system";
|
|
8
8
|
import bs_e3 from "./bs_e3";
|
|
9
9
|
import bs from "./bs";
|
|
10
|
-
import { getJstColumns, getWlnColumns, getGyColumns, getWdtColumns, getKmColumns } from "@kmkf-fe-packages/basic-components";
|
|
10
|
+
import { getJstColumns, getWlnColumns, getGyColumns, getWdtColumns, getKmColumns, getJyColumns } from "@kmkf-fe-packages/basic-components";
|
|
11
11
|
import defaultColumns from "./defaultColumns";
|
|
12
12
|
export var getColumnsMap = function getColumnsMap(args) {
|
|
13
13
|
var _ref = args || {},
|
|
14
14
|
_ref$text = _ref.text,
|
|
15
15
|
text = _ref$text === void 0 ? "" : _ref$text;
|
|
16
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, system()), bs({
|
|
16
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, system()), bs({
|
|
17
17
|
text: text
|
|
18
18
|
})), bs_e3()), getWdtColumns({
|
|
19
19
|
text: text,
|
|
@@ -26,6 +26,8 @@ export var getColumnsMap = function getColumnsMap(args) {
|
|
|
26
26
|
text: text
|
|
27
27
|
})), getKmColumns({
|
|
28
28
|
disabled: true
|
|
29
|
+
})), getJyColumns({
|
|
30
|
+
disabled: true
|
|
29
31
|
})), {}, {
|
|
30
32
|
default: defaultColumns({
|
|
31
33
|
text: text
|
|
@@ -21,7 +21,7 @@ import { CopyToClipboard } from "react-copy-to-clipboard";
|
|
|
21
21
|
import styles from "./index.module.less";
|
|
22
22
|
import defaultImg from "./img/default-img.png";
|
|
23
23
|
import CopyText from "../../commonComponents/CopyText";
|
|
24
|
-
import { KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, msgTypeCh, getMapping, columnsGoodsList } from "@kmkf-fe-packages/kmkf-utils";
|
|
24
|
+
import { KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, msgTypeCh, getMapping, columnsGoodsList } from "@kmkf-fe-packages/kmkf-utils";
|
|
25
25
|
import { getColumnsMap } from "./constants/columnsBaseInfoMap";
|
|
26
26
|
import { VideoCameraTwoTone } from "@ant-design/icons";
|
|
27
27
|
var Paragraph = Typography.Paragraph;
|
|
@@ -762,7 +762,8 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
|
|
|
762
762
|
WDT_SYSTEM_ORDER: WDT_SYSTEM_ORDER_CONFIG.columns,
|
|
763
763
|
BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
764
764
|
GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG.columns,
|
|
765
|
-
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns
|
|
765
|
+
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns,
|
|
766
|
+
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG.columns
|
|
766
767
|
};
|
|
767
768
|
var rowKeyMap = {
|
|
768
769
|
BS_SYSTEM_ORDER: "billNo",
|
|
@@ -771,7 +772,8 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
|
|
|
771
772
|
WDT_SYSTEM_ORDER: "billNo",
|
|
772
773
|
BS_E3_SYSTEM_ORDER: "orderSn",
|
|
773
774
|
GY_SYSTEM_ORDER: "billNo",
|
|
774
|
-
JST_SYSTEM_ORDER: "oId"
|
|
775
|
+
JST_SYSTEM_ORDER: "oId",
|
|
776
|
+
JY_SYSTEM_ORDER: "tradeNo"
|
|
775
777
|
};
|
|
776
778
|
var rowSelection = {
|
|
777
779
|
selectedRowKeys: (value === null || value === void 0 ? void 0 : value.selectIds) || ((value === null || value === void 0 ? void 0 : value.showOrderInfo) || []).reduce(function (prv, next) {
|
|
@@ -1352,6 +1352,216 @@ var GoodHeaderMap = {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
},
|
|
1354
1354
|
moneyKey: "money"
|
|
1355
|
+
},
|
|
1356
|
+
JY_GOODS: {
|
|
1357
|
+
headerMap: {
|
|
1358
|
+
goodsName: {
|
|
1359
|
+
component: BsHeaderChild,
|
|
1360
|
+
name: "货品名称",
|
|
1361
|
+
key: "goodsName",
|
|
1362
|
+
width: 150
|
|
1363
|
+
},
|
|
1364
|
+
goodsCode: {
|
|
1365
|
+
component: BsHeaderChild,
|
|
1366
|
+
name: "货品编号",
|
|
1367
|
+
key: "goodsCode",
|
|
1368
|
+
width: 200
|
|
1369
|
+
},
|
|
1370
|
+
goodsId: {
|
|
1371
|
+
component: BsHeaderChild,
|
|
1372
|
+
name: "货品ID",
|
|
1373
|
+
key: "goodsId",
|
|
1374
|
+
width: 150
|
|
1375
|
+
},
|
|
1376
|
+
goodsClass: {
|
|
1377
|
+
component: BsHeaderChild,
|
|
1378
|
+
name: "货品分类",
|
|
1379
|
+
key: "goodsClass",
|
|
1380
|
+
width: 150
|
|
1381
|
+
},
|
|
1382
|
+
code: {
|
|
1383
|
+
component: BsHeaderChild,
|
|
1384
|
+
name: "条码",
|
|
1385
|
+
key: "code",
|
|
1386
|
+
width: 150
|
|
1387
|
+
},
|
|
1388
|
+
specName: {
|
|
1389
|
+
component: BsHeaderChild,
|
|
1390
|
+
name: "规格名称",
|
|
1391
|
+
key: "specName",
|
|
1392
|
+
width: 200
|
|
1393
|
+
},
|
|
1394
|
+
specCode: {
|
|
1395
|
+
component: BsHeaderChild,
|
|
1396
|
+
name: "规格编号",
|
|
1397
|
+
key: "specCode",
|
|
1398
|
+
width: 150
|
|
1399
|
+
},
|
|
1400
|
+
specId: {
|
|
1401
|
+
component: BsHeaderChild,
|
|
1402
|
+
name: "规格ID",
|
|
1403
|
+
key: "specId",
|
|
1404
|
+
width: 150
|
|
1405
|
+
},
|
|
1406
|
+
productName: {
|
|
1407
|
+
component: BsHeaderChild,
|
|
1408
|
+
name: "系统商品名称",
|
|
1409
|
+
key: "productName",
|
|
1410
|
+
width: 150
|
|
1411
|
+
},
|
|
1412
|
+
productCode: {
|
|
1413
|
+
component: BsHeaderChild,
|
|
1414
|
+
name: "系统商品编码",
|
|
1415
|
+
key: "productCode",
|
|
1416
|
+
width: 150
|
|
1417
|
+
},
|
|
1418
|
+
productId: {
|
|
1419
|
+
component: BsHeaderChild,
|
|
1420
|
+
name: "系统商品ID",
|
|
1421
|
+
key: "productId",
|
|
1422
|
+
width: 150
|
|
1423
|
+
},
|
|
1424
|
+
skuName: {
|
|
1425
|
+
component: BsHeaderChild,
|
|
1426
|
+
name: "系统规格名称",
|
|
1427
|
+
key: "skuName",
|
|
1428
|
+
width: 150
|
|
1429
|
+
},
|
|
1430
|
+
skuCode: {
|
|
1431
|
+
component: BsHeaderChild,
|
|
1432
|
+
name: "系统规格编码",
|
|
1433
|
+
key: "skuCode",
|
|
1434
|
+
width: 150
|
|
1435
|
+
},
|
|
1436
|
+
mallProductName: {
|
|
1437
|
+
component: BsHeaderChild,
|
|
1438
|
+
name: "平台商品名称",
|
|
1439
|
+
key: "mallProductName",
|
|
1440
|
+
width: 150
|
|
1441
|
+
},
|
|
1442
|
+
mallProductOutCode: {
|
|
1443
|
+
component: BsHeaderChild,
|
|
1444
|
+
name: "平台商品编码",
|
|
1445
|
+
key: "mallProductOutCode",
|
|
1446
|
+
width: 150
|
|
1447
|
+
},
|
|
1448
|
+
mallProductId: {
|
|
1449
|
+
component: BsHeaderChild,
|
|
1450
|
+
name: "平台商品ID",
|
|
1451
|
+
key: "mallProductId",
|
|
1452
|
+
width: 150
|
|
1453
|
+
},
|
|
1454
|
+
mallSkuName: {
|
|
1455
|
+
component: BsHeaderChild,
|
|
1456
|
+
name: "平台规格名称",
|
|
1457
|
+
key: "mallSkuName",
|
|
1458
|
+
width: 150
|
|
1459
|
+
},
|
|
1460
|
+
mallSkuId: {
|
|
1461
|
+
component: BsHeaderChild,
|
|
1462
|
+
name: "平台规格ID",
|
|
1463
|
+
key: "mallSkuId",
|
|
1464
|
+
width: 150
|
|
1465
|
+
},
|
|
1466
|
+
sellcount: {
|
|
1467
|
+
component: BsHeaderChild,
|
|
1468
|
+
name: "数量",
|
|
1469
|
+
key: "sellcount",
|
|
1470
|
+
width: 100
|
|
1471
|
+
},
|
|
1472
|
+
sellPrice: {
|
|
1473
|
+
component: BsHeaderChild,
|
|
1474
|
+
name: "单价",
|
|
1475
|
+
key: "sellPrice",
|
|
1476
|
+
width: 150
|
|
1477
|
+
},
|
|
1478
|
+
mallSellingPrice: {
|
|
1479
|
+
component: BsHeaderChild,
|
|
1480
|
+
name: "平台商品价格",
|
|
1481
|
+
key: "mallSellingPrice",
|
|
1482
|
+
width: 150
|
|
1483
|
+
},
|
|
1484
|
+
sellTotal: {
|
|
1485
|
+
component: BsHeaderChild,
|
|
1486
|
+
name: "金额",
|
|
1487
|
+
key: "sellTotal",
|
|
1488
|
+
width: 150
|
|
1489
|
+
},
|
|
1490
|
+
settlementPrice: {
|
|
1491
|
+
component: BsHeaderChild,
|
|
1492
|
+
name: "结算价",
|
|
1493
|
+
key: "settlementPrice",
|
|
1494
|
+
width: 150
|
|
1495
|
+
},
|
|
1496
|
+
divideOrderFee: {
|
|
1497
|
+
component: BsHeaderChild,
|
|
1498
|
+
name: "分摊实付金额",
|
|
1499
|
+
key: "divideOrderFee",
|
|
1500
|
+
width: 150
|
|
1501
|
+
},
|
|
1502
|
+
bfit: {
|
|
1503
|
+
component: BsHeaderChild,
|
|
1504
|
+
name: "是否组合装",
|
|
1505
|
+
key: "bfit",
|
|
1506
|
+
width: 150
|
|
1507
|
+
},
|
|
1508
|
+
combinationName: {
|
|
1509
|
+
component: BsHeaderChild,
|
|
1510
|
+
name: "组合商品名称",
|
|
1511
|
+
key: "combinationName",
|
|
1512
|
+
width: 150
|
|
1513
|
+
},
|
|
1514
|
+
combinationCode: {
|
|
1515
|
+
component: BsHeaderChild,
|
|
1516
|
+
name: "组合商品编码",
|
|
1517
|
+
key: "combinationCode",
|
|
1518
|
+
width: 150
|
|
1519
|
+
},
|
|
1520
|
+
gift: {
|
|
1521
|
+
component: BsHeaderChild,
|
|
1522
|
+
name: "是否赠品",
|
|
1523
|
+
key: "gift",
|
|
1524
|
+
width: 150
|
|
1525
|
+
},
|
|
1526
|
+
skuNote: {
|
|
1527
|
+
component: BsHeaderChild,
|
|
1528
|
+
name: "商品备注",
|
|
1529
|
+
key: "skuNote",
|
|
1530
|
+
width: 150
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
itemKey: {
|
|
1534
|
+
goodsName: "货品名称",
|
|
1535
|
+
goodsCode: "货品编号",
|
|
1536
|
+
goodsId: "货品ID",
|
|
1537
|
+
goodsClass: "货品分类",
|
|
1538
|
+
code: "条码",
|
|
1539
|
+
specName: "规格名称",
|
|
1540
|
+
specCode: "规格编号",
|
|
1541
|
+
specId: "规格ID",
|
|
1542
|
+
productName: "系统商品名称",
|
|
1543
|
+
productCode: "系统商品编码",
|
|
1544
|
+
productId: "系统商品ID",
|
|
1545
|
+
skuName: "系统规格名称",
|
|
1546
|
+
skuCode: "系统规格编码",
|
|
1547
|
+
mallProductName: "平台商品名称",
|
|
1548
|
+
mallProductOutCode: "平台商品编码",
|
|
1549
|
+
mallProductId: "平台商品ID",
|
|
1550
|
+
mallSkuName: "平台规格名称",
|
|
1551
|
+
mallSkuId: "平台规格ID",
|
|
1552
|
+
sellcount: "数量",
|
|
1553
|
+
sellPrice: "单价",
|
|
1554
|
+
mallSellingPrice: "平台商品价格",
|
|
1555
|
+
sellTotal: "金额",
|
|
1556
|
+
settlementPrice: "结算价",
|
|
1557
|
+
divideOrderFee: "分摊实付金额",
|
|
1558
|
+
bfit: "是否组合装",
|
|
1559
|
+
combinationName: "组合商品名称",
|
|
1560
|
+
combinationCode: "组合商品编码",
|
|
1561
|
+
gift: "是否赠品",
|
|
1562
|
+
skuNote: "商品备注"
|
|
1563
|
+
},
|
|
1564
|
+
moneyKey: "sellTotal"
|
|
1355
1565
|
}
|
|
1356
1566
|
};
|
|
1357
1567
|
GoodHeaderMap["WDT_REISSUE_GOODS"] = GoodHeaderMap["WDT_GOODS"];
|
|
@@ -70,6 +70,14 @@ var typeMap = {
|
|
|
70
70
|
sendName: "gySendName",
|
|
71
71
|
platformType: "gy",
|
|
72
72
|
dataType: "weakenArray"
|
|
73
|
+
},
|
|
74
|
+
JY_SEND_GOOD: {
|
|
75
|
+
key: "jySendGood",
|
|
76
|
+
name: "jy",
|
|
77
|
+
sendId: "jySendId",
|
|
78
|
+
sendName: "jySendName",
|
|
79
|
+
platformType: "jy",
|
|
80
|
+
dataType: "weakenArray"
|
|
73
81
|
}
|
|
74
82
|
};
|
|
75
83
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
@@ -106,7 +106,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
108
|
_defineProperty(this, "filterConfig", function (item) {
|
|
109
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD"].includes(_this.type) ? {
|
|
109
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD"].includes(_this.type) ? {
|
|
110
110
|
searchDefaultConditions: SYMBOL.in,
|
|
111
111
|
type: item.type,
|
|
112
112
|
id: "".concat(item.id, "_").concat(_this.suffixSendName),
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) =>
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => AfterSalesOrderId | BsLogistics | BuyerNick | BasicCheckbox | CommonMultiStatus | BasicFile | BasicInput | BasicAddress | BasicCascader | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | GyReissue | GyReturn | AsyncSelect | GyGoods;
|
package/dist/esm/factory.js
CHANGED
|
@@ -141,6 +141,7 @@ export var factory = function factory(type, options) {
|
|
|
141
141
|
case "BS_E3_SYSTEM_ORDER":
|
|
142
142
|
case "GY_SYSTEM_ORDER":
|
|
143
143
|
case "JST_SYSTEM_ORDER":
|
|
144
|
+
case "JY_SYSTEM_ORDER":
|
|
144
145
|
return new BsSystemOrder(options);
|
|
145
146
|
case "JST_SEND_GOOD":
|
|
146
147
|
case "BS_SEND_GOOD":
|
|
@@ -149,6 +150,7 @@ export var factory = function factory(type, options) {
|
|
|
149
150
|
case "WDT_SEND_GOOD":
|
|
150
151
|
case "KM_SEND_GOOD":
|
|
151
152
|
case "GY_SEND_GOOD":
|
|
153
|
+
case "JY_SEND_GOOD":
|
|
152
154
|
return new JstSendGood(options);
|
|
153
155
|
case "BS_POSTING":
|
|
154
156
|
return new BsPosting(options);
|
|
@@ -158,6 +160,7 @@ export var factory = function factory(type, options) {
|
|
|
158
160
|
return new BsE3Goods(options);
|
|
159
161
|
case "GY_GOODS":
|
|
160
162
|
return new GyGoods(options);
|
|
163
|
+
case "JY_GOODS":
|
|
161
164
|
case "KM_GOODS":
|
|
162
165
|
case "JST_GOODS":
|
|
163
166
|
return new PublicGoods(options);
|
|
@@ -199,6 +202,7 @@ export var factory = function factory(type, options) {
|
|
|
199
202
|
case "JST_LOGISTICS":
|
|
200
203
|
case "KM_LOGISTICS":
|
|
201
204
|
case "GY_LOGISTICS":
|
|
205
|
+
case "JY_LOGISTICS":
|
|
202
206
|
return new BsLogistics(options);
|
|
203
207
|
case "FLOW_WORK_ORDER_ID_INPUT":
|
|
204
208
|
return new FlowWorkOrderId(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.0.79-beta.
|
|
3
|
+
"version": "2.0.79-beta.53",
|
|
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": "2.0.79-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.0.79-beta.53",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.52",
|
|
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": "13c8ff980230cb655e0ce76acbe2893f38d497a7",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|