@kmkf-fe-packages/services-components 2.3.14 → 2.3.16
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/Hooks/useColumnsConfig.js +2 -2
- package/dist/esm/components/BS/common/BsHeaderPic.js +4 -1
- package/dist/esm/components/BS/common/BsMemo.js +1 -0
- package/dist/esm/components/BS/common/BsType.js +1 -0
- package/dist/esm/components/BS/common/SystemOrderNo.js +1 -0
- package/dist/esm/components/Common/index.js +1 -1
- package/dist/esm/components/CommonHeaderGood/index.js +37 -1
- package/dist/esm/components/JST/JstSendGood/index.js +1 -1
- package/dist/esm/components/KM/KmExchange/index.d.ts +35 -0
- package/dist/esm/components/KM/KmExchange/index.js +136 -0
- package/dist/esm/components/Logistics/index.d.ts +1 -0
- package/dist/esm/components/Logistics/index.js +10 -0
- package/dist/esm/components/Public/ReissueGoods/index.js +23 -5
- package/dist/esm/components/Public/ReturnWarehouse/index.d.ts +51 -0
- package/dist/esm/components/Public/ReturnWarehouse/index.js +210 -0
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +6 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +2 -0
- package/package.json +4 -4
|
@@ -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/
|
|
3
|
+
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/JST/JstSendGood").default | import("../components/KM/KmExchange").default | import("../components/MsgStatus").default | import("../components/Public/ReissueGoods").default | import("../components/Public/ReturnWarehouse").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").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/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/BuyerNick").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/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/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/BS/BsLogistics").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/CommonMultiStatus").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/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/AfterSalesOrderId").default | import("../components/GY/GyGoods").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/FlowOverallStatusSelect").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;
|
|
@@ -19,8 +19,8 @@ import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
|
|
|
19
19
|
import { TEMPLATE_TYPE, DATA_SPLIT_COMPONENT_FIELDS_MAP } from "@kmkf-fe-packages/kmkf-utils";
|
|
20
20
|
|
|
21
21
|
//工单列表左对齐
|
|
22
|
-
var workOrderListAlignLeft = [
|
|
23
|
-
var cantFilterType = ["CREATED_DATETIME", "UPDATE_DATETIME", "COMPLETED_DATETIME", "JST_LOGISTICS", "JST_ITEM_SELECT_THIRD", "JST_SUPPLY", "JST_SEND_GOOD", "TEXTAREA", "BS_SEND_GOOD", "BS_LOGISTICS", "BS_DELIVERY_NO", "WLN_SEND_GOOD", "WLN_LOGISTICS", "WDT_SEND_GOOD", "WDT_LOGISTICS", "KM_LOGISTICS", "REISSUE_LOGISTICS", "KM_SEND_GOOD", "GY_SEND_GOOD", "GY_LOGISTICS"];
|
|
22
|
+
var workOrderListAlignLeft = ["KM_VIDEO"];
|
|
23
|
+
var cantFilterType = ["CREATED_DATETIME", "UPDATE_DATETIME", "COMPLETED_DATETIME", "JST_LOGISTICS", "JST_ITEM_SELECT_THIRD", "JST_SUPPLY", "JST_SEND_GOOD", "TEXTAREA", "BS_SEND_GOOD", "BS_LOGISTICS", "BS_DELIVERY_NO", "WLN_SEND_GOOD", "WLN_LOGISTICS", "WDT_SEND_GOOD", "WDT_LOGISTICS", "KM_LOGISTICS", "REISSUE_LOGISTICS", "KM_SEND_GOOD", "KM_RETURN_WAREHOUSE", "GY_SEND_GOOD", "GY_LOGISTICS"];
|
|
24
24
|
var cantShareFilterType = ["WORK_ORDER_ID_INPUT", "OPERATOR_INPUT", "HANDLER_INPUT", "COMPLETED_USER_INPUT"];
|
|
25
25
|
//需要拆行的组件
|
|
26
26
|
var SplitRowsType = Object.keys(DATA_SPLIT_COMPONENT_FIELDS_MAP);
|
|
@@ -52,8 +52,11 @@ var BsChildPic = /*#__PURE__*/_createClass(function BsChildPic(options) {
|
|
|
52
52
|
}) : null;
|
|
53
53
|
});
|
|
54
54
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
55
|
+
var _picValue$split;
|
|
55
56
|
var picValue = _this.getComponentValue(record);
|
|
56
|
-
var imgList = picValue ? picValue === null || picValue === void 0 ? void 0 : picValue.split(",") :
|
|
57
|
+
var imgList = picValue ? picValue === null || picValue === void 0 ? void 0 : (_picValue$split = picValue.split(",http")) === null || _picValue$split === void 0 ? void 0 : _picValue$split.map(function (url, index) {
|
|
58
|
+
return index !== 0 ? "http".concat(url) : url;
|
|
59
|
+
}) : [];
|
|
57
60
|
return BsGoodPic(imgList);
|
|
58
61
|
});
|
|
59
62
|
_defineProperty(this, "renderLog", function (r) {
|
|
@@ -22,6 +22,7 @@ var componentType = {
|
|
|
22
22
|
JST_REISSUE_GOODS: "jstSystemOrderNo",
|
|
23
23
|
JST_RETURN_GOODS: "jstSystemOrderNo",
|
|
24
24
|
KM_REISSUE_GOODS: "kmSystemOrderNo",
|
|
25
|
+
KM_RETURN_GOODS: "kmSystemOrderNo",
|
|
25
26
|
JY_REISSUE_GOODS: "jySystemOrderNo",
|
|
26
27
|
JKY_REISSUE_GOODS: "jkySystemOrderNo"
|
|
27
28
|
};
|
|
@@ -294,7 +294,7 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
|
|
|
294
294
|
text: item.logisticsCode
|
|
295
295
|
})) : company ? company : item.logisticsCode ? /*#__PURE__*/React.createElement(CopyText, {
|
|
296
296
|
text: item.logisticsCode
|
|
297
|
-
}) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join("/") : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item)].join("/") : item.sendId ? item.sendId : getSendName(item)) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || "") : null));
|
|
297
|
+
}) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join("/") : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item)].join("/") : item.sendId ? item.sendId : getSendName(item)) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || "") : null, type === 5 ? /*#__PURE__*/React.createElement("span", null, item.returnWarehouseName && item.returnWarehouseId ? [item.returnWarehouseId, item.returnWarehouseName].join("/") : item.returnWarehouseId ? item.returnWarehouseId : item.returnWarehouseName) : null));
|
|
298
298
|
}) : null;
|
|
299
299
|
};
|
|
300
300
|
export var BsExpressRender = function BsExpressRender(_ref7) {
|
|
@@ -19,7 +19,7 @@ import { isNull, BS_E3_BOOLEAN_STATUS_MAP } from "@kmkf-fe-packages/kmkf-utils";
|
|
|
19
19
|
import { BsHeaderPic, BsHeaderChild } from "../BS/common";
|
|
20
20
|
import ReissueGift from "../BsE3/ReissueGift";
|
|
21
21
|
import { erpColumnsMap } from "@kmkf-fe-packages/basic-components";
|
|
22
|
-
import { getJstColumns } from "@kmkf-fe-packages/basic-components";
|
|
22
|
+
import { getJstColumns, getKmColumns } from "@kmkf-fe-packages/basic-components";
|
|
23
23
|
var orderGoodsHeaderComponentMap = {
|
|
24
24
|
pic: BsHeaderPic
|
|
25
25
|
};
|
|
@@ -1543,6 +1543,10 @@ var GoodHeaderMap = {
|
|
|
1543
1543
|
supplierCode: {
|
|
1544
1544
|
name: "供应商编码",
|
|
1545
1545
|
width: 150
|
|
1546
|
+
},
|
|
1547
|
+
remark: {
|
|
1548
|
+
name: "备注",
|
|
1549
|
+
width: 200
|
|
1546
1550
|
}
|
|
1547
1551
|
},
|
|
1548
1552
|
moneyKey: "money"
|
|
@@ -1617,6 +1621,38 @@ var GoodHeaderMap = {
|
|
|
1617
1621
|
},
|
|
1618
1622
|
moneyKey: "money"
|
|
1619
1623
|
},
|
|
1624
|
+
KM_RETURN_GOODS: {
|
|
1625
|
+
headerMap: getKmColumns()["KM_RETURN_GOODS"].reduce(function (acc, item) {
|
|
1626
|
+
acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
|
|
1627
|
+
component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
|
|
1628
|
+
name: item.title,
|
|
1629
|
+
key: item.dataIndex,
|
|
1630
|
+
width: item.width || 150
|
|
1631
|
+
});
|
|
1632
|
+
return acc;
|
|
1633
|
+
}, {}),
|
|
1634
|
+
itemKey: getKmColumns()["KM_RETURN_GOODS"].reduce(function (acc, item) {
|
|
1635
|
+
acc[item.dataIndex] = item.title;
|
|
1636
|
+
return acc;
|
|
1637
|
+
}, {}),
|
|
1638
|
+
moneyKey: "price"
|
|
1639
|
+
},
|
|
1640
|
+
KM_EXCHANGE_GOODS: {
|
|
1641
|
+
headerMap: getKmColumns()["KM_EXCHANGE_GOODS"].reduce(function (acc, item) {
|
|
1642
|
+
acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
|
|
1643
|
+
component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
|
|
1644
|
+
name: item.title,
|
|
1645
|
+
key: item.dataIndex,
|
|
1646
|
+
width: item.width || 150
|
|
1647
|
+
});
|
|
1648
|
+
return acc;
|
|
1649
|
+
}, {}),
|
|
1650
|
+
itemKey: getKmColumns()["KM_EXCHANGE_GOODS"].reduce(function (acc, item) {
|
|
1651
|
+
acc[item.dataIndex] = item.title;
|
|
1652
|
+
return acc;
|
|
1653
|
+
}, {}),
|
|
1654
|
+
moneyKey: "price"
|
|
1655
|
+
},
|
|
1620
1656
|
JY_GOODS: {
|
|
1621
1657
|
headerMap: {
|
|
1622
1658
|
productName: {
|
|
@@ -192,7 +192,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
192
192
|
});
|
|
193
193
|
_defineProperty(this, "filterConfig", function (item) {
|
|
194
194
|
var _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type11;
|
|
195
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD", "JKY_SEND_GOOD"].includes(_this.type) ? {
|
|
195
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "KM_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD", "JKY_SEND_GOOD"].includes(_this.type) ? {
|
|
196
196
|
searchDefaultConditions: SYMBOL.in,
|
|
197
197
|
type: item.type,
|
|
198
198
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendName),
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../../type";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import CommonHeaderGoods from "../../CommonHeaderGood";
|
|
4
|
+
declare class KmExchange implements ComponentInterface {
|
|
5
|
+
name: string;
|
|
6
|
+
id: string;
|
|
7
|
+
sortField: string;
|
|
8
|
+
type: string;
|
|
9
|
+
rules: any[];
|
|
10
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
11
|
+
effects: ComponentInterface["effects"];
|
|
12
|
+
isCombinationComponent: boolean;
|
|
13
|
+
formField: string;
|
|
14
|
+
canSort: boolean;
|
|
15
|
+
children: ComponentInterface[];
|
|
16
|
+
dataType: ComponentInterface["dataType"];
|
|
17
|
+
returnGoods: CommonHeaderGoods;
|
|
18
|
+
constructor(options: PickOption);
|
|
19
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
|
+
renderPc: () => null;
|
|
21
|
+
renderLog: (r: Record) => React.JSX.Element;
|
|
22
|
+
getComponentValue: (r: Record) => {
|
|
23
|
+
kmExchangeGoods: any;
|
|
24
|
+
};
|
|
25
|
+
renderExport: (value: any, record: any) => null;
|
|
26
|
+
editRender: (p: any) => React.JSX.Element;
|
|
27
|
+
filterConfig: (item: ColumnConfig) => {
|
|
28
|
+
searchDefaultConditions: "like";
|
|
29
|
+
type: string;
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
filterComponentType: "Input";
|
|
33
|
+
}[];
|
|
34
|
+
}
|
|
35
|
+
export default KmExchange;
|
|
@@ -0,0 +1,136 @@
|
|
|
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; }
|
|
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); }
|
|
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); } }
|
|
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; }
|
|
7
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
+
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; }
|
|
9
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
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); }
|
|
11
|
+
import React from "react";
|
|
12
|
+
import GetFormItem from "../../GetFormItem";
|
|
13
|
+
import { BsGoodsTable } from "../../Common";
|
|
14
|
+
import ItemView from "../../../commonComponents/ItemView";
|
|
15
|
+
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
16
|
+
import { SYMBOL } from "../../../constant";
|
|
17
|
+
// import { BsType, BsMemo } from "../../Bs/common";
|
|
18
|
+
import { CommonExchangeGoods, erpFormValidator } from "@kmkf-fe-packages/basic-components";
|
|
19
|
+
import CommonHeaderGoods from "../../CommonHeaderGood";
|
|
20
|
+
var KmExchange = /*#__PURE__*/_createClass(function KmExchange(options) {
|
|
21
|
+
var _this = this,
|
|
22
|
+
_this$componentConfig6,
|
|
23
|
+
_this$componentConfig8;
|
|
24
|
+
_classCallCheck(this, KmExchange);
|
|
25
|
+
_defineProperty(this, "name", void 0);
|
|
26
|
+
_defineProperty(this, "id", void 0);
|
|
27
|
+
_defineProperty(this, "sortField", void 0);
|
|
28
|
+
_defineProperty(this, "type", void 0);
|
|
29
|
+
_defineProperty(this, "rules", void 0);
|
|
30
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
31
|
+
_defineProperty(this, "effects", void 0);
|
|
32
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
33
|
+
_defineProperty(this, "formField", void 0);
|
|
34
|
+
_defineProperty(this, "canSort", void 0);
|
|
35
|
+
_defineProperty(this, "children", void 0);
|
|
36
|
+
_defineProperty(this, "dataType", void 0);
|
|
37
|
+
_defineProperty(this, "returnGoods", void 0);
|
|
38
|
+
_defineProperty(this, "renderClient", function (record) {
|
|
39
|
+
var _this$componentConfig;
|
|
40
|
+
var kmExchangeGoods = JSON.parse((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_kmExchangeGoods")]) || "[]");
|
|
41
|
+
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ItemView, {
|
|
42
|
+
id: "".concat(_this.id, "-out"),
|
|
43
|
+
label: "".concat(_this.name, "-\u6362\u51FA"),
|
|
44
|
+
value: /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
45
|
+
type: _this.type,
|
|
46
|
+
list: kmExchangeGoods || [],
|
|
47
|
+
showHeader: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.showHeader) || []
|
|
48
|
+
})
|
|
49
|
+
})) : null;
|
|
50
|
+
});
|
|
51
|
+
_defineProperty(this, "renderPc", function () {
|
|
52
|
+
return null;
|
|
53
|
+
});
|
|
54
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
55
|
+
var _r, _this$componentConfig2;
|
|
56
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, r !== null && r !== void 0 && (_r = r["".concat(_this.id, "_kmExchangeGoods")]) !== null && _r !== void 0 && _r.length ? /*#__PURE__*/React.createElement("div", null, "\u6362\u51FA\u5546\u54C1\uFF1A", /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
57
|
+
type: _this.type,
|
|
58
|
+
list: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_kmExchangeGoods")]) || [],
|
|
59
|
+
showHeader: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.showHeader) || []
|
|
60
|
+
})) : null, r !== null && r !== void 0 && r["".concat(_this.id, "_shopCode")] ? /*#__PURE__*/React.createElement("div", null, "\u5E97\u94FAid:", r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_shopCode")]) : null);
|
|
61
|
+
});
|
|
62
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
63
|
+
return {
|
|
64
|
+
kmExchangeGoods: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_kmExchangeGoods")]
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
68
|
+
return null;
|
|
69
|
+
});
|
|
70
|
+
_defineProperty(this, "editRender", function (p) {
|
|
71
|
+
var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$effects, _this$effects2, _this$effects3, _this$effects4;
|
|
72
|
+
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
73
|
+
title: _this.name,
|
|
74
|
+
name: _this.id,
|
|
75
|
+
rules: _this.rules,
|
|
76
|
+
required: false,
|
|
77
|
+
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
78
|
+
display: p === null || p === void 0 ? void 0 : p.display,
|
|
79
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
|
|
80
|
+
component: /*#__PURE__*/React.createElement(CommonExchangeGoods, _extends({}, _this.componentConfig, {
|
|
81
|
+
maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
|
|
82
|
+
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
83
|
+
shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
|
|
84
|
+
companyKey: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.companyKey,
|
|
85
|
+
form: (_this$effects4 = _this.effects) === null || _this$effects4 === void 0 ? void 0 : _this$effects4.form,
|
|
86
|
+
width: "90%",
|
|
87
|
+
type: "KM_EXCHANGE_GOODS"
|
|
88
|
+
}))
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
92
|
+
return [{
|
|
93
|
+
searchDefaultConditions: SYMBOL.like,
|
|
94
|
+
type: item.type,
|
|
95
|
+
id: "".concat(item.id, "_kmExchangeGoods"),
|
|
96
|
+
name: "".concat(_this.name, "-\u6362\u51FA"),
|
|
97
|
+
filterComponentType: "Input"
|
|
98
|
+
}];
|
|
99
|
+
});
|
|
100
|
+
this.name = options.name;
|
|
101
|
+
this.id = options.id;
|
|
102
|
+
this.sortField = "".concat(options.id);
|
|
103
|
+
this.formField = "".concat(options.id);
|
|
104
|
+
this.type = options.type;
|
|
105
|
+
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
106
|
+
this.isCombinationComponent = true;
|
|
107
|
+
this.canSort = false;
|
|
108
|
+
this.returnGoods = new CommonHeaderGoods(_objectSpread(_objectSpread({}, options), {}, {
|
|
109
|
+
id: "".concat(options.id, "_kmExchangeGoods"),
|
|
110
|
+
name: "商品信息"
|
|
111
|
+
}));
|
|
112
|
+
this.children = [this.returnGoods];
|
|
113
|
+
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
114
|
+
this.rules = [{
|
|
115
|
+
required: (_this$componentConfig6 = this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.required,
|
|
116
|
+
validator: function validator(_, value) {
|
|
117
|
+
var _this$componentConfig7, _value$kmExchangeGood;
|
|
118
|
+
if ((_this$componentConfig7 = _this.componentConfig) !== null && _this$componentConfig7 !== void 0 && _this$componentConfig7.required && !(value !== null && value !== void 0 && (_value$kmExchangeGood = value.kmExchangeGoods) !== null && _value$kmExchangeGood !== void 0 && _value$kmExchangeGood.length)) {
|
|
119
|
+
return Promise.reject(new Error("请选择快麦换货商品"));
|
|
120
|
+
}
|
|
121
|
+
return Promise.resolve();
|
|
122
|
+
}
|
|
123
|
+
}, {
|
|
124
|
+
required: (_this$componentConfig8 = this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.required,
|
|
125
|
+
validator: function validator(_rule, value) {
|
|
126
|
+
if (!_rule.required) return Promise.resolve();
|
|
127
|
+
var validatorFlag = erpFormValidator(_rule, value, "KM_EXCHANGE_GOODS", _this.componentConfig);
|
|
128
|
+
if (validatorFlag) {
|
|
129
|
+
return validatorFlag;
|
|
130
|
+
}
|
|
131
|
+
return Promise.resolve();
|
|
132
|
+
}
|
|
133
|
+
}];
|
|
134
|
+
this.dataType = "object";
|
|
135
|
+
});
|
|
136
|
+
export default KmExchange;
|
|
@@ -19,6 +19,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
19
19
|
children: ComponentInterface[];
|
|
20
20
|
dataType: ComponentInterface["dataType"];
|
|
21
21
|
isChange: boolean;
|
|
22
|
+
compoundConfig: ComponentInterface["compoundConfig"];
|
|
22
23
|
constructor(options: PickOption);
|
|
23
24
|
editRender: (p: any) => React.JSX.Element;
|
|
24
25
|
renderClient: (record: Record) => React.JSX.Element;
|
|
@@ -33,6 +33,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
33
33
|
_defineProperty(this, "children", void 0);
|
|
34
34
|
_defineProperty(this, "dataType", void 0);
|
|
35
35
|
_defineProperty(this, "isChange", void 0);
|
|
36
|
+
_defineProperty(this, "compoundConfig", void 0);
|
|
36
37
|
_defineProperty(this, "editRender", function (p) {
|
|
37
38
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
38
39
|
var onExpressLogisticsCodeBlur = function onExpressLogisticsCodeBlur(val) {
|
|
@@ -130,5 +131,14 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
130
131
|
}
|
|
131
132
|
}] : [];
|
|
132
133
|
this.isChange = false;
|
|
134
|
+
this.compoundConfig = [{
|
|
135
|
+
name: "快递物流公司",
|
|
136
|
+
id: "".concat(options.id, "_expressLogisticsCompany"),
|
|
137
|
+
standardDateType: "String"
|
|
138
|
+
}, {
|
|
139
|
+
name: "快递物流单号",
|
|
140
|
+
id: "".concat(options.id, "_expressLogisticsCode"),
|
|
141
|
+
standardDateType: "String"
|
|
142
|
+
}];
|
|
133
143
|
});
|
|
134
144
|
export default Logistics;
|
|
@@ -66,6 +66,24 @@ var typeMap = {
|
|
|
66
66
|
errMsg: "请选择快麦补发商品",
|
|
67
67
|
name: "快麦",
|
|
68
68
|
compType: "补发",
|
|
69
|
+
validator: function validator(_rule, value, type, componentConfig) {
|
|
70
|
+
if (!_rule.required) return Promise.resolve();
|
|
71
|
+
var validatorFlag = erpFormValidator(_rule, value, type, componentConfig);
|
|
72
|
+
if (validatorFlag) {
|
|
73
|
+
return validatorFlag;
|
|
74
|
+
}
|
|
75
|
+
return Promise.resolve();
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
KM_RETURN_GOODS: {
|
|
79
|
+
key: "kmReturnGoods",
|
|
80
|
+
typeName: "kmReturnType",
|
|
81
|
+
remark: "kmReturnType_memo",
|
|
82
|
+
systemOrderNo: "kmSystemOrderNo",
|
|
83
|
+
systemOrderBillType: "kmSystemOrderBillType",
|
|
84
|
+
errMsg: "请选择快麦退货商品",
|
|
85
|
+
name: "快麦",
|
|
86
|
+
compType: "退货",
|
|
69
87
|
validator: function validator(_rule, value, type) {
|
|
70
88
|
if (!_rule.required) return Promise.resolve();
|
|
71
89
|
var validatorFlag = erpFormValidator(_rule, value, type);
|
|
@@ -180,7 +198,7 @@ var PublicReissue = /*#__PURE__*/_createClass(function PublicReissue(options) {
|
|
|
180
198
|
_defineProperty(this, "editRender", function (p) {
|
|
181
199
|
var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$effects, _this$effects2, _this$effects3;
|
|
182
200
|
var onChange = function onChange(val, type) {
|
|
183
|
-
if (_this.type
|
|
201
|
+
if (["KM_REISSUE_GOODS", "KM_RETURN_GOODS"].includes(_this.type) && type === "systemOrder") {
|
|
184
202
|
p === null || p === void 0 ? void 0 : p.onChange(val, "kmSystemOrder");
|
|
185
203
|
}
|
|
186
204
|
};
|
|
@@ -279,9 +297,9 @@ var PublicReissue = /*#__PURE__*/_createClass(function PublicReissue(options) {
|
|
|
279
297
|
var _typeMap$options$type12;
|
|
280
298
|
return Promise.reject(new Error("".concat((_typeMap$options$type12 = typeMap[options.type]) === null || _typeMap$options$type12 === void 0 ? void 0 : _typeMap$options$type12.errMsg)));
|
|
281
299
|
}
|
|
282
|
-
//
|
|
283
|
-
if (isRequired && ["KM_REISSUE_GOODS"].includes(options.type) && (!value || !(value !== null && value !== void 0 && value["".concat((_typeMap$options$type13 = typeMap[options.type]) === null || _typeMap$options$type13 === void 0 ? void 0 : _typeMap$options$type13.systemOrderNo)]))) {
|
|
284
|
-
return Promise.reject(new Error("\u8BF7\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"));
|
|
300
|
+
// 快麦补发/退货商品需要校验系统单
|
|
301
|
+
if (isRequired && ["KM_REISSUE_GOODS", "KM_RETURN_GOODS"].includes(options.type) && (!value || !(value !== null && value !== void 0 && value["".concat((_typeMap$options$type13 = typeMap[options.type]) === null || _typeMap$options$type13 === void 0 ? void 0 : _typeMap$options$type13.systemOrderNo)]))) {
|
|
302
|
+
return Promise.reject(new Error(options.type === "KM_REISSUE_GOODS" ? "\u8BF7\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355" : "\u8BF7\u9009\u62E9\u9000\u8D27\u7CFB\u7EDF\u5355"));
|
|
285
303
|
}
|
|
286
304
|
return Promise.resolve();
|
|
287
305
|
}
|
|
@@ -289,7 +307,7 @@ var PublicReissue = /*#__PURE__*/_createClass(function PublicReissue(options) {
|
|
|
289
307
|
required: isRequired,
|
|
290
308
|
validator: function validator(_rule, value) {
|
|
291
309
|
var _typeMap$options$type14, _typeMap$options$type15;
|
|
292
|
-
return ((_typeMap$options$type14 = typeMap[options.type]) === null || _typeMap$options$type14 === void 0 ? void 0 : (_typeMap$options$type15 = _typeMap$options$type14.validator) === null || _typeMap$options$type15 === void 0 ? void 0 : _typeMap$options$type15.call(_typeMap$options$type14, _rule, value, options.type)) || function () {
|
|
310
|
+
return ((_typeMap$options$type14 = typeMap[options.type]) === null || _typeMap$options$type14 === void 0 ? void 0 : (_typeMap$options$type15 = _typeMap$options$type14.validator) === null || _typeMap$options$type15 === void 0 ? void 0 : _typeMap$options$type15.call(_typeMap$options$type14, _rule, value, options.type, _this.componentConfig)) || function () {
|
|
293
311
|
return Promise.resolve();
|
|
294
312
|
};
|
|
295
313
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from "../../../type";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare class ReturnWarehouse implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
sortField: string;
|
|
7
|
+
sortChildField: {
|
|
8
|
+
name: string;
|
|
9
|
+
key: string;
|
|
10
|
+
dataType: string;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}[];
|
|
13
|
+
type: string;
|
|
14
|
+
rules: any[];
|
|
15
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
16
|
+
align: ALignType;
|
|
17
|
+
isCombinationComponent: boolean;
|
|
18
|
+
formField: string;
|
|
19
|
+
canSort: boolean;
|
|
20
|
+
children: ComponentInterface[];
|
|
21
|
+
dataType: ComponentInterface["dataType"];
|
|
22
|
+
format: ComponentInterface["format"];
|
|
23
|
+
constructor(options: PickOption);
|
|
24
|
+
getSortChildFields: (type: string, options: PickOption, fieldType?: string) => any;
|
|
25
|
+
renderClient: (record: Record) => React.JSX.Element | null;
|
|
26
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
27
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
28
|
+
getComponentValue: (r: Record) => any;
|
|
29
|
+
renderExport: (value: any, record: any) => any;
|
|
30
|
+
editRender: (p: any) => React.JSX.Element;
|
|
31
|
+
filterConfig: (item: ColumnConfig) => ({
|
|
32
|
+
searchDefaultConditions: "in";
|
|
33
|
+
type: string;
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
filterComponentType: "MultipleSelect";
|
|
37
|
+
props: {
|
|
38
|
+
options: any[];
|
|
39
|
+
};
|
|
40
|
+
filterFn: (value: string) => (i: Record) => any;
|
|
41
|
+
} | {
|
|
42
|
+
searchDefaultConditions: "like";
|
|
43
|
+
type: string;
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
filterComponentType: "Input";
|
|
47
|
+
filterFn: (value: string) => (i: Record) => any;
|
|
48
|
+
props?: undefined;
|
|
49
|
+
})[];
|
|
50
|
+
}
|
|
51
|
+
export default ReturnWarehouse;
|
|
@@ -0,0 +1,210 @@
|
|
|
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 _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
|
+
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
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
5
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
6
|
+
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; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
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
|
+
import React from "react";
|
|
10
|
+
import some from "lodash/some";
|
|
11
|
+
import GetFormItem from "../../GetFormItem";
|
|
12
|
+
import { JstGoodImage } from "../../Common";
|
|
13
|
+
import { JstGoods } from "@kmkf-fe-packages/basic-components";
|
|
14
|
+
import ItemView from "../../../commonComponents/ItemView";
|
|
15
|
+
import { isNull, filterFn as _filterFn, SendDataCenter } from "@kmkf-fe-packages/kmkf-utils";
|
|
16
|
+
import { SYMBOL } from "../../../constant";
|
|
17
|
+
var typeMap = {
|
|
18
|
+
KM_RETURN_WAREHOUSE: {
|
|
19
|
+
key: "kmReturnWarehouse",
|
|
20
|
+
name: "km",
|
|
21
|
+
returnWarehouseId: "kmReturnWarehouseId",
|
|
22
|
+
returnWarehouseName: "kmReturnWarehouseName",
|
|
23
|
+
platformType: "km",
|
|
24
|
+
dataType: "weakenArray",
|
|
25
|
+
placeholder: "请选择快麦退货仓"
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
var ReturnWarehouse = /*#__PURE__*/_createClass(function ReturnWarehouse(_options) {
|
|
29
|
+
var _this = this,
|
|
30
|
+
_typeMap$_options$typ,
|
|
31
|
+
_typeMap$_options$typ2,
|
|
32
|
+
_this$componentConfig3,
|
|
33
|
+
_typeMap$_options$typ3,
|
|
34
|
+
_this$componentConfig4;
|
|
35
|
+
_classCallCheck(this, ReturnWarehouse);
|
|
36
|
+
_defineProperty(this, "name", void 0);
|
|
37
|
+
_defineProperty(this, "id", void 0);
|
|
38
|
+
_defineProperty(this, "sortField", void 0);
|
|
39
|
+
_defineProperty(this, "sortChildField", void 0);
|
|
40
|
+
_defineProperty(this, "type", void 0);
|
|
41
|
+
_defineProperty(this, "rules", void 0);
|
|
42
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
43
|
+
_defineProperty(this, "align", void 0);
|
|
44
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
45
|
+
_defineProperty(this, "formField", void 0);
|
|
46
|
+
_defineProperty(this, "canSort", void 0);
|
|
47
|
+
_defineProperty(this, "children", void 0);
|
|
48
|
+
_defineProperty(this, "dataType", void 0);
|
|
49
|
+
_defineProperty(this, "format", void 0);
|
|
50
|
+
_defineProperty(this, "getSortChildFields", function (type, options, fieldType) {
|
|
51
|
+
var _typeMap$options$type, _typeMap$options$type2, _typeMap$options$type3;
|
|
52
|
+
var returnWarehouseName = {
|
|
53
|
+
name: "退货仓名称",
|
|
54
|
+
key: "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.returnWarehouseName),
|
|
55
|
+
dataType: (_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.dataType,
|
|
56
|
+
disabled: type === "returnWarehouseId"
|
|
57
|
+
};
|
|
58
|
+
var returnWarehouseId = {
|
|
59
|
+
name: "退货仓编码",
|
|
60
|
+
key: "".concat(options.id, "_").concat((_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.returnWarehouseId),
|
|
61
|
+
dataType: "arrayObject",
|
|
62
|
+
disabled: type === "returnWarehouseName"
|
|
63
|
+
};
|
|
64
|
+
returnWarehouseName.options = fieldType && SendDataCenter.getInstance(fieldType).getSendData();
|
|
65
|
+
return [returnWarehouseName, returnWarehouseId];
|
|
66
|
+
});
|
|
67
|
+
_defineProperty(this, "renderClient", function (record) {
|
|
68
|
+
var _typeMap$_this$type;
|
|
69
|
+
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
70
|
+
return !isNull(item);
|
|
71
|
+
}) : false;
|
|
72
|
+
return isShow ? /*#__PURE__*/React.createElement(ItemView, {
|
|
73
|
+
id: _this.id,
|
|
74
|
+
label: _this.name,
|
|
75
|
+
value: /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
76
|
+
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
77
|
+
type: 5,
|
|
78
|
+
platformType: (_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.platformType
|
|
79
|
+
})
|
|
80
|
+
}) : null;
|
|
81
|
+
});
|
|
82
|
+
_defineProperty(this, "renderPc", function (value, record) {
|
|
83
|
+
var _typeMap$_this$type2, _typeMap$_this$type3;
|
|
84
|
+
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.key)];
|
|
85
|
+
//兼容多个商品
|
|
86
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
87
|
+
onClick: function onClick(e) {
|
|
88
|
+
return e.stopPropagation();
|
|
89
|
+
}
|
|
90
|
+
}, /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
91
|
+
list: list,
|
|
92
|
+
type: 5,
|
|
93
|
+
platformType: (_typeMap$_this$type3 = typeMap[_this.type]) === null || _typeMap$_this$type3 === void 0 ? void 0 : _typeMap$_this$type3.platformType
|
|
94
|
+
}));
|
|
95
|
+
});
|
|
96
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
97
|
+
var _typeMap$_this$type4;
|
|
98
|
+
var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat((_typeMap$_this$type4 = typeMap[_this.type]) === null || _typeMap$_this$type4 === void 0 ? void 0 : _typeMap$_this$type4.key)];
|
|
99
|
+
if (isNull(list)) return null;
|
|
100
|
+
return _this.renderPc(undefined, r);
|
|
101
|
+
});
|
|
102
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
103
|
+
var _typeMap$_this$type5;
|
|
104
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat((_typeMap$_this$type5 = typeMap[_this.type]) === null || _typeMap$_this$type5 === void 0 ? void 0 : _typeMap$_this$type5.key)];
|
|
105
|
+
});
|
|
106
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
107
|
+
var _typeMap$_this$type6;
|
|
108
|
+
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type6 = typeMap[_this.type]) === null || _typeMap$_this$type6 === void 0 ? void 0 : _typeMap$_this$type6.key)];
|
|
109
|
+
return (list || []).map(function (item) {
|
|
110
|
+
return [item === null || item === void 0 ? void 0 : item.returnWarehouseId, SendDataCenter.getInstance(_this.type).getSendNameByCode(item === null || item === void 0 ? void 0 : item.returnWarehouseName)].join("/");
|
|
111
|
+
}).join(",");
|
|
112
|
+
});
|
|
113
|
+
_defineProperty(this, "editRender", function (p) {
|
|
114
|
+
var _this$componentConfig, _this$componentConfig2, _typeMap$_this$type7;
|
|
115
|
+
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
116
|
+
title: _this.name,
|
|
117
|
+
name: _this.id,
|
|
118
|
+
rules: _this.rules,
|
|
119
|
+
required: false,
|
|
120
|
+
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
121
|
+
display: p === null || p === void 0 ? void 0 : p.display,
|
|
122
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : "",
|
|
123
|
+
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
|
124
|
+
type: 5,
|
|
125
|
+
platformType: (_typeMap$_this$type7 = typeMap[_this.type]) === null || _typeMap$_this$type7 === void 0 ? void 0 : _typeMap$_this$type7.platformType,
|
|
126
|
+
onlyShowFieldSelect: _this.componentConfig ? _this.componentConfig.showField === "returnWarehouseName" : false
|
|
127
|
+
}))
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
131
|
+
var _typeMap$_this$type8, _typeMap$_this$type9;
|
|
132
|
+
return [{
|
|
133
|
+
searchDefaultConditions: SYMBOL.in,
|
|
134
|
+
type: item.type,
|
|
135
|
+
id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.returnWarehouseName),
|
|
136
|
+
name: "".concat(_this.name, "-\u540D\u79F0"),
|
|
137
|
+
filterComponentType: "MultipleSelect",
|
|
138
|
+
props: {
|
|
139
|
+
options: SendDataCenter.getInstance(item.type).getSendData().map(function (item) {
|
|
140
|
+
return {
|
|
141
|
+
label: item.label,
|
|
142
|
+
value: item.label
|
|
143
|
+
};
|
|
144
|
+
})
|
|
145
|
+
},
|
|
146
|
+
filterFn: function filterFn(value) {
|
|
147
|
+
return function (i) {
|
|
148
|
+
var _ref;
|
|
149
|
+
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, "returnWarehouseName").split(",") || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
150
|
+
var _String;
|
|
151
|
+
var returnWarehouseName = item ? (_String = String(item)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
152
|
+
return returnWarehouseName;
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
}, {
|
|
157
|
+
searchDefaultConditions: SYMBOL.like,
|
|
158
|
+
type: item.type,
|
|
159
|
+
id: "".concat(item.id, "_").concat((_typeMap$_this$type9 = typeMap[_this.type]) === null || _typeMap$_this$type9 === void 0 ? void 0 : _typeMap$_this$type9.returnWarehouseId),
|
|
160
|
+
name: "".concat(_this.name, "-\u7F16\u7801"),
|
|
161
|
+
filterComponentType: "Input",
|
|
162
|
+
filterFn: function filterFn(value) {
|
|
163
|
+
return function (i) {
|
|
164
|
+
var _ref2, _typeMap$_this$type10;
|
|
165
|
+
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, (_typeMap$_this$type10 = typeMap[_this.type]) === null || _typeMap$_this$type10 === void 0 ? void 0 : _typeMap$_this$type10.key) || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
166
|
+
var _String2;
|
|
167
|
+
var id = item !== null && item !== void 0 && item.returnWarehouseId ? (_String2 = String(item === null || item === void 0 ? void 0 : item.returnWarehouseId)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
|
|
168
|
+
return id;
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
}];
|
|
173
|
+
});
|
|
174
|
+
this.name = _options.name;
|
|
175
|
+
this.id = _options.id;
|
|
176
|
+
this.sortField = "".concat(_options.id, "_").concat((_typeMap$_options$typ = typeMap[_options.type]) === null || _typeMap$_options$typ === void 0 ? void 0 : _typeMap$_options$typ.key);
|
|
177
|
+
this.formField = "".concat(_options.id, "_").concat((_typeMap$_options$typ2 = typeMap[_options.type]) === null || _typeMap$_options$typ2 === void 0 ? void 0 : _typeMap$_options$typ2.key);
|
|
178
|
+
this.componentConfig = _options.componentConfig;
|
|
179
|
+
this.sortChildField = this.getSortChildFields(((_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) || "", _options, _options.type);
|
|
180
|
+
this.type = _options.type;
|
|
181
|
+
this.dataType = (_typeMap$_options$typ3 = typeMap[_options.type]) === null || _typeMap$_options$typ3 === void 0 ? void 0 : _typeMap$_options$typ3.dataType;
|
|
182
|
+
this.rules = (_this$componentConfig4 = this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required ? [{
|
|
183
|
+
required: true,
|
|
184
|
+
validator: function validator(_, value) {
|
|
185
|
+
if (!value || !value.length) {
|
|
186
|
+
var _typeMap$_options$typ4;
|
|
187
|
+
return Promise.reject(new Error((_typeMap$_options$typ4 = typeMap[_options.type]) === null || _typeMap$_options$typ4 === void 0 ? void 0 : _typeMap$_options$typ4.placeholder));
|
|
188
|
+
}
|
|
189
|
+
var hasNo = (value || []).some(function (item) {
|
|
190
|
+
var _this$componentConfig5, _this$componentConfig6;
|
|
191
|
+
if (["returnWarehouseName"].includes((_this === null || _this === void 0 ? void 0 : (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.showField) || "")) {
|
|
192
|
+
return item.returnWarehouseName;
|
|
193
|
+
} else if (["returnWarehouseId"].includes((_this === null || _this === void 0 ? void 0 : (_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.showField) || "")) {
|
|
194
|
+
return item.returnWarehouseId;
|
|
195
|
+
} else {
|
|
196
|
+
return item.returnWarehouseId && item.returnWarehouseName;
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
if (!hasNo) {
|
|
200
|
+
return Promise.reject(new Error("\u81F3\u5C11\u586B\u5199\u4E00\u4E2A\u5B8C\u6574\u7684\u9000\u8D27\u4ED3\u4FE1\u606F"));
|
|
201
|
+
}
|
|
202
|
+
return Promise.resolve();
|
|
203
|
+
}
|
|
204
|
+
}] : [];
|
|
205
|
+
this.align = "left";
|
|
206
|
+
this.isCombinationComponent = false;
|
|
207
|
+
this.canSort = false;
|
|
208
|
+
this.children = [];
|
|
209
|
+
});
|
|
210
|
+
export default ReturnWarehouse;
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect } from "./index";
|
|
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, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect, ReturnWarehouse, KmExchange } 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) => JstSendGood | KmExchange | MsgStatus | PublicReissueGoods | ReturnWarehouse | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | 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 | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | 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 | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
|
package/dist/esm/factory.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect,
|
|
2
2
|
// CommonTradeId,
|
|
3
|
-
CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect } from "./index";
|
|
3
|
+
CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect, ReturnWarehouse, KmExchange } from "./index";
|
|
4
4
|
export var factory = function factory(type, options) {
|
|
5
5
|
var _options$componentCon;
|
|
6
6
|
switch (type) {
|
|
@@ -158,6 +158,8 @@ export var factory = function factory(type, options) {
|
|
|
158
158
|
case "JY_SEND_GOOD":
|
|
159
159
|
case "JKY_SEND_GOOD":
|
|
160
160
|
return new JstSendGood(options);
|
|
161
|
+
case "KM_RETURN_WAREHOUSE":
|
|
162
|
+
return new ReturnWarehouse(options);
|
|
161
163
|
case "BS_POSTING":
|
|
162
164
|
return new BsPosting(options);
|
|
163
165
|
case "BS_GOODS":
|
|
@@ -175,6 +177,7 @@ export var factory = function factory(type, options) {
|
|
|
175
177
|
return new PublicGoods(options);
|
|
176
178
|
case "JST_REISSUE_GOODS":
|
|
177
179
|
case "KM_REISSUE_GOODS":
|
|
180
|
+
case "KM_RETURN_GOODS":
|
|
178
181
|
case "JY_REISSUE_GOODS":
|
|
179
182
|
case "JKY_REISSUE_GOODS":
|
|
180
183
|
return new PublicReissueGoods(options);
|
|
@@ -184,6 +187,8 @@ export var factory = function factory(type, options) {
|
|
|
184
187
|
return new BsExchange(options);
|
|
185
188
|
case "WDT_EXCHANGE_GOODS":
|
|
186
189
|
return new WdtExchange(options);
|
|
190
|
+
case "KM_EXCHANGE_GOODS":
|
|
191
|
+
return new KmExchange(options);
|
|
187
192
|
case "JST_EXCHANGE_GOODS":
|
|
188
193
|
return new PublicExchange(options);
|
|
189
194
|
case "BS_REISSUE_GOODS":
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -102,6 +102,8 @@ export { default as SkxIdInputSelect } from "./components/SKX/SkxIdInputSelect";
|
|
|
102
102
|
export { default as SkxGoods } from "./components/SKX/SkxGoods";
|
|
103
103
|
export { default as OrderSubForm } from "./components/OrderSubForm";
|
|
104
104
|
export { default as FlowOverallStatusSelect } from "./components/FlowOverallStatusSelect";
|
|
105
|
+
export { default as ReturnWarehouse } from "./components/Public/ReturnWarehouse";
|
|
106
|
+
export { default as KmExchange } from "./components/KM/KmExchange";
|
|
105
107
|
export { default as KmErpOrderNum } from "./components/ErpTradeId/components/OrderNum";
|
|
106
108
|
export { factory } from "./factory";
|
|
107
109
|
export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
|
package/dist/esm/index.js
CHANGED
|
@@ -102,6 +102,8 @@ export { default as SkxIdInputSelect } from "./components/SKX/SkxIdInputSelect";
|
|
|
102
102
|
export { default as SkxGoods } from "./components/SKX/SkxGoods";
|
|
103
103
|
export { default as OrderSubForm } from "./components/OrderSubForm";
|
|
104
104
|
export { default as FlowOverallStatusSelect } from "./components/FlowOverallStatusSelect";
|
|
105
|
+
export { default as ReturnWarehouse } from "./components/Public/ReturnWarehouse";
|
|
106
|
+
export { default as KmExchange } from "./components/KM/KmExchange";
|
|
105
107
|
|
|
106
108
|
// TODO: ERP 打款工单使用
|
|
107
109
|
export { default as KmErpOrderNum } from "./components/ErpTradeId/components/OrderNum";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.16",
|
|
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.3.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "2.3.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.3.16",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "2.3.16",
|
|
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": "367bd0911e63aa16ac6f95d6fb2f8d80903cbbbb",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|