@kmkf-fe-packages/basic-components 2.2.5 → 2.2.6

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/index.esm.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import React, { useRef, useState, useEffect, forwardRef, useImperativeHandle, useMemo, useCallback } from 'react';
2
2
  import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, message, Radio, Space, Spin, Modal, Button, Checkbox, Row, Col, Slider, Rate, Form, Tooltip, Popover, Table, Tabs, ConfigProvider, Pagination, Typography, Skeleton, Tag } from 'antd';
3
- import { EyeOutlined, DeleteOutlined, CloseOutlined, MinusCircleFilled, PlusCircleFilled, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, VideoCameraTwoTone } from '@ant-design/icons';
3
+ import { EyeOutlined, DeleteOutlined, CloseOutlined, MinusCircleFilled, PlusCircleFilled, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, PlusOutlined, VideoCameraTwoTone } from '@ant-design/icons';
4
4
  import request, { extend as extend$1 } from 'umi-request';
5
5
  import { CopyToClipboard } from 'react-copy-to-clipboard';
6
- import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterKmOrders, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, updateSkxGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
7
- import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, uniqBy, cloneDeep, difference, differenceWith, isBoolean, isEqual, takeRight, reject, isEmpty, intersection } from 'lodash';
6
+ import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterKmOrders, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, updateOrderSubFormGoodsHandle, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, updateSkxGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
7
+ import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, uniqBy, cloneDeep, difference, differenceWith, isBoolean, isEqual, takeRight, reject, intersection, isEmpty } from 'lodash';
8
8
  import { useUpdateEffect, useDebounceEffect, useAntdTable } from 'ahooks';
9
9
  import zhCN from 'antd/lib/locale/zh_CN';
10
10
  import pubsub from 'pubsub-js';
@@ -1225,7 +1225,7 @@ var ApaasUploadAsync = function ApaasUploadAsync(_ref, ref) {
1225
1225
  className: "addBtn"
1226
1226
  }, "+"), /*#__PURE__*/React.createElement("div", null, uploadText)))));
1227
1227
  };
1228
- var index = /*#__PURE__*/forwardRef(ApaasUploadAsync);
1228
+ var ApaasUploadAsync$1 = /*#__PURE__*/forwardRef(ApaasUploadAsync);
1229
1229
 
1230
1230
  var css_248z$2 = ".index-module_imageProBox__1u84Y {\n display: flex;\n flex-wrap: wrap;\n}\n.index-module_imageProBox__1u84Y .ant-upload-picture-card-wrapper {\n width: auto;\n}\n.index-module_imageProBox__1u84Y .index-module_inputImage__nm5jb {\n width: 105px;\n height: 105px;\n border: 1px dashed #ccc;\n outline: none;\n background-color: rgba(0, 0, 0, 0);\n text-indent: 8px;\n}\n.index-module_imageProBox__1u84Y .index-module_imageShow__1cG2j {\n padding: 8px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo {\n display: flex;\n width: 280px;\n height: 105px;\n border-radius: 5px;\n background-color: rgba(240, 241, 242, 0.72);\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo textarea {\n max-width: 174px;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo:hover .index-module_mask__L3q8p:before {\n opacity: 1;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo .index-module_imageProInfo__iHM0C {\n width: 80px;\n height: 80px;\n border-radius: 5px;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo .index-module_imageProRight__3rPiY {\n position: relative;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo .index-module_imageProOperate__1hFcg {\n position: absolute;\n right: 0;\n bottom: 0;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n}\n.index-module_imageProBox__1u84Y .index-module_mask__L3q8p {\n position: relative;\n height: 100%;\n overflow: hidden;\n}\n.index-module_imageProBox__1u84Y .index-module_mask__L3q8p::before {\n position: absolute;\n z-index: 1;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n opacity: 0;\n transition: all 0.3s;\n content: ' ';\n}\n.index-module_imageProBox__1u84Y .index-module_mask__L3q8p:hover .index-module_actions__3Wwry {\n opacity: 1;\n}\n.index-module_imageProBox__1u84Y .index-module_mask__L3q8p .index-module_actions__3Wwry {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 10;\n white-space: nowrap;\n transform: translate(-50%, -50%);\n opacity: 0;\n transition: all 0.3s;\n}\n.index-module_imageProBox__1u84Y .index-module_mask__L3q8p .index-module_actions__3Wwry .index-module_icon__3oJ-1 {\n font-size: 16px;\n color: #fff;\n padding: 0 4px;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProPaste__22O8e {\n display: inline-block;\n margin-right: 8px !important;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProPaste__22O8e .index-module_fakeBox__3EXNG {\n width: 105px;\n height: 105px;\n border-radius: 2px;\n background: #F2F3F5;\n text-align: center;\n color: #86909C;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProPaste__22O8e .index-module_fakeBox__3EXNG .index-module_addBtn__1Dv95 {\n color: #86909C;\n}\n.index-module_imageProBox__1u84Y .index-module_uploadPro__3rAkl .ant-upload {\n height: 105px !important;\n width: 105px !important;\n border: none;\n background-color: #F2F3F5;\n color: #86909C;\n}\n.index-module_imageProBox__1u84Y .index-module_uploadPro__3rAkl .ant-upload .index-module_addBtn__1Dv95 {\n color: #86909C;\n}\n.index-module_tips__z9Yjd {\n color: #4E5969;\n font-size: 12px;\n}\n";
1231
1231
  var styles$2 = {"imageProBox":"index-module_imageProBox__1u84Y","inputImage":"index-module_inputImage__nm5jb","imageShow":"index-module_imageShow__1cG2j","imageProWrap":"index-module_imageProWrap__sx8lo","-webkit-mask":"index-module_mask__L3q8p","mask":"index-module_mask__L3q8p","imageProInfo":"index-module_imageProInfo__iHM0C","imageProRight":"index-module_imageProRight__3rPiY","imageProOperate":"index-module_imageProOperate__1hFcg","actions":"index-module_actions__3Wwry","icon":"index-module_icon__3oJ-1","imageProPaste":"index-module_imageProPaste__22O8e","fakeBox":"index-module_fakeBox__3EXNG","addBtn":"index-module_addBtn__1Dv95","uploadPro":"index-module_uploadPro__3rAkl","tips":"index-module_tips__z9Yjd"};
@@ -1534,7 +1534,7 @@ var ApaasUploadProAsync = function ApaasUploadProAsync(_ref, ref) {
1534
1534
  className: "addBtn"
1535
1535
  }, "+"), /*#__PURE__*/React.createElement("div", null, uploadText))), renderImages(value)));
1536
1536
  };
1537
- var index$1 = /*#__PURE__*/forwardRef(ApaasUploadProAsync);
1537
+ var index = /*#__PURE__*/forwardRef(ApaasUploadProAsync);
1538
1538
 
1539
1539
  var css_248z$3 = ".index-module_imageBox__1rpoB {\n display: flex;\n flex-wrap: wrap;\n}\n.index-module_imageBox__1rpoB .ant-upload-picture-card-wrapper {\n width: auto;\n}\n.index-module_imageBox__1rpoB .index-module_inputImage__MyiR1 {\n width: 80px;\n height: 80px;\n border: 1px dashed #ccc;\n outline: none;\n background-color: rgba(0, 0, 0, 0);\n text-indent: 8px;\n}\n.index-module_imageBox__1rpoB .index-module_imageShow__3BNqT {\n padding: 8px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n}\n.index-module_imageBox__1rpoB .index-module_imageWrap__LyKfP {\n width: 100px;\n height: 80px;\n position: relative;\n border-radius: 2px;\n margin-right: 8px;\n margin-bottom: 8px;\n}\n.index-module_imageBox__1rpoB .index-module_imageWrap__LyKfP:hover {\n background: transparent;\n}\n.index-module_imageBox__1rpoB .index-module_imageWrap__LyKfP:hover .index-module_mask__uy8r2:before {\n opacity: 1;\n}\n.index-module_imageBox__1rpoB .index-module_imageWrap__LyKfP img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.index-module_imageBox__1rpoB .index-module_imageWrap__LyKfP .index-module_delete__28zCp {\n position: absolute;\n right: 0px;\n top: 0px;\n}\n.index-module_imageBox__1rpoB .index-module_mask__uy8r2 {\n position: relative;\n height: 100%;\n overflow: hidden;\n}\n.index-module_imageBox__1rpoB .index-module_mask__uy8r2::before {\n position: absolute;\n z-index: 1;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n opacity: 0;\n transition: all 0.3s;\n content: ' ';\n}\n.index-module_imageBox__1rpoB .index-module_mask__uy8r2:hover .index-module_actions__1-6f4 {\n opacity: 1;\n}\n.index-module_imageBox__1rpoB .index-module_mask__uy8r2 .index-module_actions__1-6f4 {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 10;\n white-space: nowrap;\n transform: translate(-50%, -50%);\n opacity: 0;\n transition: all 0.3s;\n}\n.index-module_imageBox__1rpoB .index-module_mask__uy8r2 .index-module_actions__1-6f4 .index-module_icon__3yEcS {\n font-size: 16px;\n color: #fff;\n padding: 0 4px;\n}\n.index-module_imageBox__1rpoB .index-module_imagePaste__Ac77C {\n display: inline-block;\n margin-right: 8px;\n margin-bottom: 8px;\n}\n.index-module_imageBox__1rpoB .index-module_imagePaste__Ac77C .index-module_fakeBox__3W1d- {\n width: 80px;\n height: 80px;\n border-radius: 2px;\n background: #F2F3F5;\n text-align: center;\n color: #86909C;\n padding-top: 16px;\n}\n.index-module_imageBox__1rpoB .index-module_imagePaste__Ac77C .index-module_fakeBox__3W1d- .index-module_addBtn__3a1TQ {\n color: #86909C;\n}\n.index-module_imageBox__1rpoB .ant-upload {\n padding: 0;\n height: 80px;\n width: 80px;\n border: none;\n border-radius: 2px;\n background: #F2F3F5;\n text-align: center;\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1rpoB .ant-upload .index-module_addBtn__3a1TQ {\n color: #86909C;\n font-size: 14px;\n}\n.index-module_tips__168Vy {\n color: #4E5969;\n font-size: 12px;\n}\n";
1540
1540
  var styles$3 = {"imageBox":"index-module_imageBox__1rpoB","inputImage":"index-module_inputImage__MyiR1","imageShow":"index-module_imageShow__3BNqT","imageWrap":"index-module_imageWrap__LyKfP","-webkit-mask":"index-module_mask__uy8r2","mask":"index-module_mask__uy8r2","delete":"index-module_delete__28zCp","actions":"index-module_actions__1-6f4","icon":"index-module_icon__3yEcS","imagePaste":"index-module_imagePaste__Ac77C","fakeBox":"index-module_fakeBox__3W1d-","addBtn":"index-module_addBtn__3a1TQ","tips":"index-module_tips__168Vy"};
@@ -8417,10 +8417,6 @@ var SubForm = function SubForm(props) {
8417
8417
  }
8418
8418
  });
8419
8419
  }
8420
- if (maxCount && (value === null || value === void 0 ? void 0 : value.length) >= maxCount) {
8421
- message.error("\u8BE5\u5B50\u8868\u5355\u6700\u591A\u6DFB\u52A0".concat(maxCount, "\u6761"));
8422
- return;
8423
- }
8424
8420
  onChange === null || onChange === void 0 ? void 0 : onChange([].concat(_toConsumableArray(value || []), [_objectSpread2(_objectSpread2({}, newValue), {}, {
8425
8421
  uuid: uuid()
8426
8422
  })]));
@@ -12994,7 +12990,7 @@ var getColumnsBaseInfo = function getColumnsBaseInfo() {
12994
12990
  });
12995
12991
  return newColumns;
12996
12992
  };
12997
- var index$2 = getColumnsBaseInfo();
12993
+ var index$1 = getColumnsBaseInfo();
12998
12994
 
12999
12995
  var initNo = {
13000
12996
  dataIndex: 'index',
@@ -18628,7 +18624,7 @@ var rowKeyMap = {
18628
18624
  GY_SYSTEM_ORDER: 'billNo',
18629
18625
  JST_SYSTEM_ORDER: 'oId'
18630
18626
  };
18631
- var index$3 = (function (props) {
18627
+ var index$2 = (function (props) {
18632
18628
  var value = props.value,
18633
18629
  _onChange = props.onChange,
18634
18630
  disabled = props.disabled,
@@ -18938,6 +18934,819 @@ var index$3 = (function (props) {
18938
18934
  }));
18939
18935
  });
18940
18936
 
18937
+ var css_248z$b = ".customizeUpload-module_customizeUpload__2tG-4 {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n width: 100%;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj {\n display: flex !important;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj:hover:not(:disabled) {\n color: #40a9ff;\n border-color: #40a9ff;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj:disabled {\n color: #bfbfbf;\n background-color: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 {\n position: relative;\n width: 24px;\n height: 24px;\n overflow: hidden;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_image__3hOnT {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_deleteBtn__85Jsl {\n position: absolute;\n top: 2px;\n right: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n color: white;\n font-size: 10px;\n background-color: rgba(0, 0, 0, 0.6);\n border-radius: 50%;\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.2s;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_deleteBtn__85Jsl:hover {\n background-color: rgba(255, 0, 0, 0.8);\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1:hover .customizeUpload-module_deleteBtn__85Jsl {\n opacity: 1;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_uploadContainer__rUcw7 {\n margin-top: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq {\n width: 280px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_popoverTitle__3Qw2t {\n margin-bottom: 4px;\n color: #262626;\n font-weight: 500;\n font-size: 16px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_popoverSubtitle__1NA3m {\n margin-bottom: 16px;\n color: #8c8c8c;\n font-size: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G {\n display: flex;\n gap: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J {\n display: flex;\n flex: 1;\n gap: 6px;\n align-items: center;\n justify-content: center;\n height: 40px;\n background-color: #fafafa;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J:hover:not(:disabled) {\n color: #40a9ff;\n background-color: #f0f8ff;\n border-color: #40a9ff;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J:disabled {\n color: #bfbfbf;\n background-color: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n";
18938
+ var styles$5 = {"customizeUpload":"customizeUpload-module_customizeUpload__2tG-4","addButton":"customizeUpload-module_addButton__2w8Jj","imageItem":"customizeUpload-module_imageItem__yn6H1","image":"customizeUpload-module_image__3hOnT","deleteBtn":"customizeUpload-module_deleteBtn__85Jsl","uploadContainer":"customizeUpload-module_uploadContainer__rUcw7","popoverContent":"customizeUpload-module_popoverContent__FrAiq","popoverTitle":"customizeUpload-module_popoverTitle__3Qw2t","popoverSubtitle":"customizeUpload-module_popoverSubtitle__1NA3m","actionButtons":"customizeUpload-module_actionButtons__2la0G","actionButton":"customizeUpload-module_actionButton__1Wr1J"};
18939
+ styleInject(css_248z$b);
18940
+
18941
+ var CustomizeUpload = function CustomizeUpload(_ref) {
18942
+ var _ref$value = _ref.value,
18943
+ value = _ref$value === void 0 ? '' : _ref$value,
18944
+ onChange = _ref.onChange,
18945
+ _ref$disabled = _ref.disabled,
18946
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
18947
+ _ref$maxCount = _ref.maxCount,
18948
+ maxCount = _ref$maxCount === void 0 ? 20 : _ref$maxCount,
18949
+ _ref$maxSize = _ref.maxSize,
18950
+ maxSize = _ref$maxSize === void 0 ? 10 : _ref$maxSize;
18951
+ var _useState = useState(false),
18952
+ _useState2 = _slicedToArray(_useState, 2),
18953
+ popoverVisible = _useState2[0],
18954
+ setPopoverVisible = _useState2[1];
18955
+ var newValue = useMemo(function () {
18956
+ return value ? value === null || value === void 0 ? void 0 : value.split(',') : [];
18957
+ }, [value]);
18958
+ // 渲染图片显示
18959
+ var renderImages = function renderImages() {
18960
+ if (newValue.length === 0) return null;
18961
+ return /*#__PURE__*/React.createElement(Image.PreviewGroup, null, newValue.map(function (image, index) {
18962
+ var finalSrc = (image === null || image === void 0 ? void 0 : image.startsWith('http')) ? image : "https://kefu.kuaimai.com/".concat(image);
18963
+ return /*#__PURE__*/React.createElement("div", {
18964
+ key: index,
18965
+ className: styles$5.imageItem
18966
+ }, /*#__PURE__*/React.createElement(Image, {
18967
+ src: finalSrc,
18968
+ alt: "\u56FE\u7247".concat(index + 1),
18969
+ className: styles$5.image,
18970
+ preview: {
18971
+ mask: '点击预览'
18972
+ }
18973
+ }));
18974
+ }));
18975
+ };
18976
+ var handleUploadChange = function handleUploadChange(val) {
18977
+ var newValue = val.map(function (t) {
18978
+ return (t === null || t === void 0 ? void 0 : t.startsWith('http')) ? t : "https://kefu.kuaimai.com/".concat(t);
18979
+ });
18980
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue.join(','));
18981
+ };
18982
+ // Popover 内容
18983
+ var popoverContent = /*#__PURE__*/React.createElement("div", {
18984
+ className: styles$5.popoverContent
18985
+ }, /*#__PURE__*/React.createElement("div", {
18986
+ className: styles$5.popoverTitle
18987
+ }, "\u6DFB\u52A0\u56FE\u7247"), /*#__PURE__*/React.createElement("div", {
18988
+ className: styles$5.uploadContainer
18989
+ }, /*#__PURE__*/React.createElement(ApaasUploadAsync$1, {
18990
+ canPreview: true,
18991
+ maxSize: maxSize,
18992
+ maxCount: maxCount,
18993
+ uniqueKey: "remark",
18994
+ hostUrl: "https://kefu.kuaimai.com",
18995
+ value: newValue || [],
18996
+ onChange: handleUploadChange,
18997
+ disabled: disabled
18998
+ })));
18999
+ return /*#__PURE__*/React.createElement("div", {
19000
+ className: styles$5.customizeUpload
19001
+ }, /*#__PURE__*/React.createElement("div", {
19002
+ className: styles$5.inputContainer
19003
+ }, /*#__PURE__*/React.createElement(Popover, {
19004
+ getPopupContainer: function getPopupContainer() {
19005
+ return document.body;
19006
+ },
19007
+ content: popoverContent,
19008
+ title: null,
19009
+ trigger: "click",
19010
+ open: popoverVisible,
19011
+ onOpenChange: setPopoverVisible,
19012
+ placement: "bottomLeft",
19013
+ overlayStyle: {
19014
+ zIndex: 2000
19015
+ }
19016
+ }, /*#__PURE__*/React.createElement(Button, {
19017
+ className: styles$5.addButton,
19018
+ icon: /*#__PURE__*/React.createElement(PlusOutlined, null),
19019
+ disabled: disabled,
19020
+ type: "text"
19021
+ }))), renderImages());
19022
+ };
19023
+
19024
+ var refundTypeMap = {
19025
+ 0: '其他',
19026
+ 1: '已发货仅退款',
19027
+ 2: '退货',
19028
+ 3: '补发',
19029
+ 4: '换货',
19030
+ 5: '未发货仅退款',
19031
+ 9: '维修',
19032
+ 10: '价保',
19033
+ 11: '大家电安装',
19034
+ 12: '大家电移机',
19035
+ 13: '大家电增值服务',
19036
+ 14: '优鲜赔',
19037
+ 15: '试用收回'
19038
+ };
19039
+ var refundTypeOptions = Object.entries(refundTypeMap).map(function (_ref) {
19040
+ var _ref2 = _slicedToArray(_ref, 2),
19041
+ key = _ref2[0],
19042
+ value = _ref2[1];
19043
+ return {
19044
+ label: value,
19045
+ value: Number(key)
19046
+ };
19047
+ });
19048
+ var onlineStatusMap = {
19049
+ 1: '空',
19050
+ 2: '待卖家同意',
19051
+ 3: '待买家退货',
19052
+ 4: '待卖家确认收货',
19053
+ 5: '卖家拒绝退款',
19054
+ 6: '退款关闭',
19055
+ 7: '退款成功',
19056
+ 8: '待发出换货商品',
19057
+ 9: '待买家收货',
19058
+ 10: '换货关闭',
19059
+ 11: '换货成功'
19060
+ };
19061
+ var onlineStatusOptions = Object.entries(onlineStatusMap).map(function (_ref3) {
19062
+ var _ref4 = _slicedToArray(_ref3, 2),
19063
+ key = _ref4[0],
19064
+ value = _ref4[1];
19065
+ return {
19066
+ label: value,
19067
+ value: Number(key)
19068
+ };
19069
+ });
19070
+ var consignTypeMap = {
19071
+ 1: '是',
19072
+ 0: '否'
19073
+ };
19074
+ var consignTypeOptions = Object.entries(consignTypeMap).map(function (_ref5) {
19075
+ var _ref6 = _slicedToArray(_ref5, 2),
19076
+ key = _ref6[0],
19077
+ value = _ref6[1];
19078
+ return {
19079
+ label: value,
19080
+ value: Number(key)
19081
+ };
19082
+ });
19083
+ var getOrderSubformColumns = function getOrderSubformColumns(parmas) {
19084
+ var _ref7 = parmas || {},
19085
+ _ref7$expressData = _ref7.expressData,
19086
+ expressData = _ref7$expressData === void 0 ? [] : _ref7$expressData;
19087
+ return [{
19088
+ dataIndex: 'title',
19089
+ title: '商品名称',
19090
+ widget: 'input',
19091
+ widgetProps: {},
19092
+ width: 150
19093
+ }, {
19094
+ dataIndex: 'productCode',
19095
+ title: '商品编码',
19096
+ widget: 'input',
19097
+ width: 150,
19098
+ widgetProps: {}
19099
+ }, {
19100
+ dataIndex: 'picUrl',
19101
+ title: '图片',
19102
+ widget: 'upload',
19103
+ widgetProps: {},
19104
+ width: 100,
19105
+ customizeComponent: function customizeComponent(config) {
19106
+ return /*#__PURE__*/React.createElement(CustomizeUpload, {
19107
+ disabled: config.disabled,
19108
+ value: config.value,
19109
+ onChange: config.onChange,
19110
+ maxCount: config.maxCount,
19111
+ maxSize: config.maxSize
19112
+ });
19113
+ }
19114
+ }, {
19115
+ dataIndex: 'numIid',
19116
+ title: '商品id',
19117
+ widget: 'input',
19118
+ widgetProps: {},
19119
+ width: 150
19120
+ }, {
19121
+ dataIndex: 'quantity',
19122
+ title: '商品数量',
19123
+ widget: 'inputNumber',
19124
+ width: 100,
19125
+ widgetProps: {
19126
+ precision: 0,
19127
+ min: 0
19128
+ }
19129
+ }, {
19130
+ dataIndex: 'skuId',
19131
+ title: 'SKU ID',
19132
+ widget: 'input',
19133
+ width: 150,
19134
+ widgetProps: {}
19135
+ }, {
19136
+ dataIndex: 'outerSkuId',
19137
+ title: 'SKU 编码',
19138
+ widget: 'input',
19139
+ width: 150,
19140
+ widgetProps: {}
19141
+ }, {
19142
+ dataIndex: 'propertiesName',
19143
+ title: 'SKU 信息',
19144
+ widget: 'input',
19145
+ width: 200,
19146
+ widgetProps: {}
19147
+ }, {
19148
+ dataIndex: 'oid',
19149
+ title: '子订单号',
19150
+ widget: 'input',
19151
+ width: 150,
19152
+ widgetProps: {}
19153
+ }, {
19154
+ dataIndex: 'price',
19155
+ title: '商品单价',
19156
+ widget: 'inputNumber',
19157
+ width: 100,
19158
+ widgetProps: {
19159
+ precision: 2,
19160
+ min: 0
19161
+ }
19162
+ }, {
19163
+ dataIndex: 'actualPayment',
19164
+ title: '[子]实付金额',
19165
+ widget: 'inputNumber',
19166
+ width: 100,
19167
+ widgetProps: {
19168
+ precision: 2,
19169
+ min: 0
19170
+ }
19171
+ }, {
19172
+ dataIndex: 'expressLogisticsCode',
19173
+ title: '[子]运单号',
19174
+ widget: 'input',
19175
+ width: 150,
19176
+ widgetProps: {}
19177
+ }, {
19178
+ dataIndex: 'expressLogisticsCompany',
19179
+ title: '[子]发货快递',
19180
+ widget: 'select',
19181
+ width: 150,
19182
+ widgetProps: {
19183
+ filterOption: function filterOption(input, option) {
19184
+ return option.label.includes(input);
19185
+ },
19186
+ options: expressData,
19187
+ showSearch: true,
19188
+ allowClear: true
19189
+ }
19190
+ }, {
19191
+ dataIndex: 'refundId',
19192
+ title: '退款单ID',
19193
+ widget: 'input',
19194
+ width: 150,
19195
+ widgetProps: {}
19196
+ }, {
19197
+ dataIndex: 'returnExpressLogisticsCode',
19198
+ title: '退货物流单号',
19199
+ widget: 'input',
19200
+ width: 150,
19201
+ widgetProps: {}
19202
+ }, {
19203
+ dataIndex: 'returnExpressLogisticsCompany',
19204
+ title: '退货物流公司',
19205
+ widget: 'select',
19206
+ width: 150,
19207
+ widgetProps: {
19208
+ filterOption: function filterOption(input, option) {
19209
+ return option.label.includes(input);
19210
+ },
19211
+ options: expressData,
19212
+ showSearch: true,
19213
+ allowClear: true
19214
+ }
19215
+ }, {
19216
+ dataIndex: 'reason',
19217
+ title: '退款原因',
19218
+ widget: 'input',
19219
+ width: 200,
19220
+ widgetProps: {}
19221
+ }, {
19222
+ dataIndex: 'refundAmount',
19223
+ title: '退款金额',
19224
+ widget: 'inputNumber',
19225
+ width: 100,
19226
+ widgetProps: {
19227
+ precision: 2,
19228
+ min: 0
19229
+ }
19230
+ }, {
19231
+ dataIndex: 'afterSaleType',
19232
+ title: '退款类型',
19233
+ widget: 'select',
19234
+ width: 150,
19235
+ widgetProps: {
19236
+ filterOption: function filterOption(input, option) {
19237
+ return option.label.includes(input);
19238
+ },
19239
+ options: refundTypeOptions,
19240
+ showSearch: true,
19241
+ allowClear: true
19242
+ }
19243
+ }, {
19244
+ dataIndex: 'platformStatusText',
19245
+ title: '退款状态(平台)',
19246
+ widget: 'input',
19247
+ width: 150,
19248
+ widgetProps: {}
19249
+ }, {
19250
+ dataIndex: 'onlineStatus',
19251
+ title: '退款状态(快麦)',
19252
+ widget: 'select',
19253
+ width: 150,
19254
+ widgetProps: {
19255
+ filterOption: function filterOption(input, option) {
19256
+ return option.label.includes(input);
19257
+ },
19258
+ options: onlineStatusOptions,
19259
+ showSearch: true,
19260
+ allowClear: true
19261
+ }
19262
+ }, {
19263
+ dataIndex: 'applyTime',
19264
+ title: '退款申请时间',
19265
+ widget: 'datePicker',
19266
+ width: 200,
19267
+ widgetProps: {
19268
+ showTime: true,
19269
+ format: 'YYYY-MM-DD HH:mm:ss'
19270
+ }
19271
+ }, {
19272
+ dataIndex: 'returnFreeShipping',
19273
+ title: '退货免运费',
19274
+ widget: 'input',
19275
+ width: 150,
19276
+ widgetProps: {}
19277
+ }, {
19278
+ dataIndex: 'isCNShipment',
19279
+ title: '是否菜鸟仓发货',
19280
+ widget: 'select',
19281
+ width: 100,
19282
+ widgetProps: {
19283
+ filterOption: function filterOption(input, option) {
19284
+ return option.label.includes(input);
19285
+ },
19286
+ options: consignTypeOptions,
19287
+ showSearch: true,
19288
+ allowClear: true
19289
+ }
19290
+ }];
19291
+ };
19292
+ var getSelectWidgetMap = function getSelectWidgetMap(expressDateInstance) {
19293
+ return {
19294
+ expressLogisticsCompany: function expressLogisticsCompany(code) {
19295
+ return expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode(code);
19296
+ },
19297
+ returnExpressLogisticsCompany: function returnExpressLogisticsCompany(code) {
19298
+ return expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode(code);
19299
+ },
19300
+ afterSaleType: refundTypeMap,
19301
+ isCNShipment: consignTypeMap,
19302
+ onlineStatus: onlineStatusMap
19303
+ };
19304
+ };
19305
+ var orderSubFormConstants = {
19306
+ getSelectWidgetMap: getSelectWidgetMap,
19307
+ getOrderSubformColumns: getOrderSubformColumns
19308
+ };
19309
+
19310
+ var getSelectWidgetMap$1 = orderSubFormConstants.getSelectWidgetMap;
19311
+ var singletonMap$7 = new Map();
19312
+ var getOrderListSingleton$3 = function getOrderListSingleton(parmas) {
19313
+ var orderNo = parmas.orderNo,
19314
+ shopId = parmas.shopId;
19315
+ var key = "".concat(orderNo, "-").concat(shopId);
19316
+ if (!singletonMap$7.has(key)) {
19317
+ var p = new Promise(function (resolve, reject) {
19318
+ var doReject = function doReject(err) {
19319
+ // 清空掉错误的请求记录
19320
+ singletonMap$7.delete(key);
19321
+ reject(err);
19322
+ };
19323
+ extendRequest('/qy/gdfw/order/subOrderItemsDetail', {
19324
+ method: 'post',
19325
+ data: _objectSpread2({}, parmas)
19326
+ }).then(function (data) {
19327
+ if (data === null || data === void 0 ? void 0 : data.success) {
19328
+ var _data$data;
19329
+ if (data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.length) {
19330
+ resolve(data === null || data === void 0 ? void 0 : data.data);
19331
+ } else {
19332
+ resolve([]);
19333
+ }
19334
+ // 延迟10秒清除,保证订单的时效性
19335
+ setTimeout(function () {
19336
+ singletonMap$7.delete(key);
19337
+ }, 1000 * 10);
19338
+ } else {
19339
+ doReject(data);
19340
+ }
19341
+ }).catch(doReject);
19342
+ });
19343
+ singletonMap$7.set(key, p);
19344
+ }
19345
+ return singletonMap$7.get(key);
19346
+ };
19347
+ var renderEditItem = function renderEditItem(_ref) {
19348
+ var item = _ref.item,
19349
+ val = _ref.val,
19350
+ disabled = _ref.disabled,
19351
+ index = _ref.index,
19352
+ type = _ref.type,
19353
+ updateHandle = _ref.updateHandle;
19354
+ var Component = /*#__PURE__*/React.createElement(React.Fragment, null, "\u4E0D\u652F\u6301\u7684\u7C7B\u578B\u7EC4\u4EF6\uFF1A", JSON.stringify(item.widget));
19355
+ if (typeof item.customizeComponent === 'function') {
19356
+ Component = item.customizeComponent(_objectSpread2(_objectSpread2({}, item.widgetProps), {}, {
19357
+ disabled: disabled,
19358
+ value: val,
19359
+ onChange: function onChange(e) {
19360
+ return updateHandle(e, index, type);
19361
+ }
19362
+ }));
19363
+ } else if (item.widget === 'input') {
19364
+ Component = /*#__PURE__*/React.createElement(Input, _objectSpread2(_objectSpread2({}, item.widgetProps), {}, {
19365
+ disabled: disabled,
19366
+ value: val,
19367
+ onChange: function onChange(e) {
19368
+ var _e$target;
19369
+ return updateHandle(e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value, index, type);
19370
+ }
19371
+ }));
19372
+ } else if (item.widget === 'select') {
19373
+ Component = /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
19374
+ dropdownStyle: {
19375
+ zIndex: 2000
19376
+ },
19377
+ getPopupContainer: function getPopupContainer() {
19378
+ return document.body;
19379
+ }
19380
+ }, item.widgetProps), {}, {
19381
+ value: val,
19382
+ disabled: disabled,
19383
+ onChange: function onChange(e) {
19384
+ return updateHandle(e, index, type);
19385
+ }
19386
+ }));
19387
+ } else if (item.widget === 'datePicker') {
19388
+ Component = /*#__PURE__*/React.createElement(DatePicker, _objectSpread2(_objectSpread2({
19389
+ popupStyle: {
19390
+ zIndex: 2000
19391
+ },
19392
+ getPopupContainer: function getPopupContainer() {
19393
+ return document.body;
19394
+ }
19395
+ }, item.widgetProps), {}, {
19396
+ value: val ? hooks(val) : null,
19397
+ disabled: disabled,
19398
+ onChange: function onChange(e) {
19399
+ return updateHandle(hooks(e).format('YYYY-MM-DD HH:mm:ss'), index, type);
19400
+ }
19401
+ }));
19402
+ } else if (item.widget === 'inputNumber') {
19403
+ Component = /*#__PURE__*/React.createElement(InputNumber, _objectSpread2(_objectSpread2({
19404
+ style: {
19405
+ width: '100%'
19406
+ }
19407
+ }, item.widgetProps), {}, {
19408
+ value: val,
19409
+ disabled: disabled,
19410
+ onChange: function onChange(e) {
19411
+ return updateHandle(e, index, type);
19412
+ }
19413
+ }));
19414
+ } else if (item.widget === 'cascader') {
19415
+ Component = /*#__PURE__*/React.createElement(Cascader, _objectSpread2(_objectSpread2({
19416
+ getPopupContainer: function getPopupContainer() {
19417
+ return document.body;
19418
+ }
19419
+ }, item.widgetProps), {}, {
19420
+ value: val,
19421
+ disabled: disabled,
19422
+ onChange: function onChange(e) {
19423
+ return updateHandle(e, index, type);
19424
+ }
19425
+ }));
19426
+ }
19427
+ return Component;
19428
+ };
19429
+ var renderDate = function renderDate(value) {
19430
+ return value ? hooks(value).format('YYYY-MM-DD HH:mm:ss') : '';
19431
+ };
19432
+ var renderImages = function renderImages(value) {
19433
+ var list = value ? value.split(',') : [];
19434
+ return /*#__PURE__*/React.createElement(Image.PreviewGroup, null, /*#__PURE__*/React.createElement("div", {
19435
+ style: {
19436
+ display: 'flex',
19437
+ flexWrap: 'wrap'
19438
+ }
19439
+ }, list.map(function (url) {
19440
+ var finalSrc = (url === null || url === void 0 ? void 0 : url.startsWith('http')) ? url : "https://kefu.kuaimai.com/".concat(url);
19441
+ return /*#__PURE__*/React.createElement("div", {
19442
+ style: {
19443
+ padding: '2px'
19444
+ }
19445
+ }, /*#__PURE__*/React.createElement(Image, {
19446
+ src: finalSrc,
19447
+ width: 24,
19448
+ height: 24
19449
+ }));
19450
+ })));
19451
+ };
19452
+ var renderDetailItem = function renderDetailItem(_ref2) {
19453
+ var item = _ref2.item,
19454
+ val = _ref2.val;
19455
+ var expressDateInstance = ExpressData.getInstance();
19456
+ var Component = /*#__PURE__*/React.createElement(React.Fragment, null, "\u4E0D\u652F\u6301\u7684\u7C7B\u578B\u7EC4\u4EF6\uFF1A", JSON.stringify(item.widget));
19457
+ if (['input', 'inputNumber'].includes(item.widget)) {
19458
+ Component = val;
19459
+ } else if (item.widget === 'select') {
19460
+ var _getSelectWidgetMap;
19461
+ var mapValue = (_getSelectWidgetMap = getSelectWidgetMap$1(expressDateInstance)) === null || _getSelectWidgetMap === void 0 ? void 0 : _getSelectWidgetMap[item.dataIndex];
19462
+ var selectValue;
19463
+ if (mapValue && typeof mapValue === 'function') {
19464
+ selectValue = mapValue === null || mapValue === void 0 ? void 0 : mapValue(val);
19465
+ } else {
19466
+ selectValue = mapValue === null || mapValue === void 0 ? void 0 : mapValue[val];
19467
+ }
19468
+ Component = /*#__PURE__*/React.createElement(React.Fragment, null, selectValue);
19469
+ } else if (item.widget === 'datePicker') {
19470
+ Component = /*#__PURE__*/React.createElement(React.Fragment, null, renderDate(val));
19471
+ } else if (item.widget === 'upload') {
19472
+ Component = /*#__PURE__*/React.createElement(React.Fragment, null, renderImages(val));
19473
+ }
19474
+ return Component;
19475
+ };
19476
+ var utils = {
19477
+ getOrderListSingleton: getOrderListSingleton$3,
19478
+ renderEditItem: renderEditItem,
19479
+ renderDetailItem: renderDetailItem
19480
+ };
19481
+
19482
+ var getOrderSubformColumns$1 = orderSubFormConstants.getOrderSubformColumns;
19483
+ var renderEditItem$1 = utils.renderEditItem,
19484
+ renderDetailItem$1 = utils.renderDetailItem,
19485
+ getOrderListSingleton$4 = utils.getOrderListSingleton;
19486
+ var OrderSubForm = function OrderSubForm(props) {
19487
+ var _props$value = props.value,
19488
+ value = _props$value === void 0 ? {} : _props$value,
19489
+ onChange = props.onChange,
19490
+ _props$tableHeader = props.tableHeader,
19491
+ tableHeader = _props$tableHeader === void 0 ? [] : _props$tableHeader,
19492
+ disabled = props.disabled,
19493
+ maxCount = props.maxCount,
19494
+ manual = props.manual,
19495
+ correlationList = props.subConfig.correlationList,
19496
+ effects = props.effects;
19497
+ var valueRef = useRef(value);
19498
+ useEffect(function () {
19499
+ valueRef.current = value;
19500
+ return;
19501
+ }, [value]);
19502
+ var _useState = useState(null),
19503
+ _useState2 = _slicedToArray(_useState, 2),
19504
+ hoveredRowIndex = _useState2[0],
19505
+ setHoveredRowIndex = _useState2[1];
19506
+ var updateHandle = useCallback(function (val, index, type) {
19507
+ var _valueRef$current, _valueRef$current$sub;
19508
+ if ((_valueRef$current = valueRef.current) === null || _valueRef$current === void 0 ? void 0 : (_valueRef$current$sub = _valueRef$current.subOrderList) === null || _valueRef$current$sub === void 0 ? void 0 : _valueRef$current$sub.length) {
19509
+ var _valueRef$current2;
19510
+ var subOrderList = JSON.parse(JSON.stringify((_valueRef$current2 = valueRef.current) === null || _valueRef$current2 === void 0 ? void 0 : _valueRef$current2.subOrderList));
19511
+ subOrderList[index][type] = val;
19512
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef.current), {}, {
19513
+ subOrderList: subOrderList
19514
+ }));
19515
+ }
19516
+ }, [value === null || value === void 0 ? void 0 : value.subOrderList]);
19517
+ var orderSubformColumns = useMemo(function () {
19518
+ return getOrderSubformColumns$1({
19519
+ expressData: ExpressData.getInstance().getExpressData()
19520
+ });
19521
+ }, [ExpressData]);
19522
+ var orderSubformColumnMap = useMemo(function () {
19523
+ return orderSubformColumns.reduce(function (prv, next) {
19524
+ prv[next.dataIndex] = next;
19525
+ return prv;
19526
+ }, {});
19527
+ }, [orderSubformColumns]);
19528
+ var initColumns = useMemo(function () {
19529
+ return correlationList && (correlationList === null || correlationList === void 0 ? void 0 : correlationList.length) ? correlationList.map(function (t) {
19530
+ return orderSubformColumnMap === null || orderSubformColumnMap === void 0 ? void 0 : orderSubformColumnMap[t === null || t === void 0 ? void 0 : t.dataIndex];
19531
+ }) : orderSubformColumns;
19532
+ }, [correlationList, orderSubformColumns]);
19533
+ var newTableHeader = useMemo(function () {
19534
+ return initColumns.reduce(function (prv, next) {
19535
+ var t = tableHeader.find(function (t) {
19536
+ return t.key === (next === null || next === void 0 ? void 0 : next.dataIndex);
19537
+ }) || {
19538
+ isShow: true,
19539
+ isEdit: false,
19540
+ isRequired: false,
19541
+ width: Number(next === null || next === void 0 ? void 0 : next.width) || 150
19542
+ };
19543
+ if (t && t.isShow) {
19544
+ prv.push(_objectSpread2(_objectSpread2(_objectSpread2({}, next), t), {}, {
19545
+ widgetProps: (next === null || next === void 0 ? void 0 : next.widgetProps) || {}
19546
+ }));
19547
+ }
19548
+ return prv;
19549
+ }, []);
19550
+ }, [orderSubformColumns, tableHeader]);
19551
+ var column = useMemo(function () {
19552
+ return [{
19553
+ dataIndex: 'index',
19554
+ title: '序号',
19555
+ width: 80,
19556
+ render: function render(val, record, index) {
19557
+ return /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
19558
+ index: index,
19559
+ hoveredRowIndex: hoveredRowIndex,
19560
+ handleClick: function handleClick() {
19561
+ return deleteHandle(record.uuid);
19562
+ }
19563
+ });
19564
+ // return <div style={{ width: 25 }}>{index + 1}</div>;
19565
+ }
19566
+ }].concat(_toConsumableArray(newTableHeader.map(function (t) {
19567
+ return _objectSpread2(_objectSpread2({}, t), {}, {
19568
+ dataIndex: t === null || t === void 0 ? void 0 : t.dataIndex,
19569
+ title: /*#__PURE__*/React.createElement("span", null, t.isRequired ? /*#__PURE__*/React.createElement("span", {
19570
+ style: {
19571
+ color: 'red'
19572
+ }
19573
+ }, "*") : null, (t === null || t === void 0 ? void 0 : t.settingName) || t.title),
19574
+ width: Number(t.width),
19575
+ render: function render(val, record, index) {
19576
+ // const column = orderSubformColumnMap[t.dataIndex];
19577
+ var isDisabled = t.isEdit || disabled;
19578
+ return renderEditItem$1({
19579
+ item: t || {},
19580
+ val: val,
19581
+ disabled: isDisabled,
19582
+ index: index,
19583
+ type: t === null || t === void 0 ? void 0 : t.dataIndex,
19584
+ updateHandle: updateHandle
19585
+ });
19586
+ }
19587
+ });
19588
+ })), [disabled ? {} : {
19589
+ dataIndex: 'operation',
19590
+ title: '操作',
19591
+ width: 70,
19592
+ fixed: 'right',
19593
+ render: function render(val, record, index) {
19594
+ return /*#__PURE__*/React.createElement(Space, null, manual && /*#__PURE__*/React.createElement(Tooltip, {
19595
+ title: "\u6DFB\u52A0"
19596
+ }, /*#__PURE__*/React.createElement(PlusCircleFilled, {
19597
+ style: {
19598
+ fontSize: 18,
19599
+ color: '#1890ff'
19600
+ },
19601
+ onClick: function onClick() {
19602
+ return addHandle(index + 1);
19603
+ }
19604
+ })), /*#__PURE__*/React.createElement(Tooltip, {
19605
+ title: "\u5220\u9664"
19606
+ }, /*#__PURE__*/React.createElement(MinusCircleFilled, {
19607
+ style: {
19608
+ fontSize: 18
19609
+ },
19610
+ onClick: function onClick() {
19611
+ return deleteHandle(record.uuid);
19612
+ }
19613
+ })));
19614
+ }
19615
+ }]);
19616
+ }, [newTableHeader, disabled, updateHandle]);
19617
+ var orderModalColumns = useMemo(function () {
19618
+ return [{
19619
+ dataIndex: '',
19620
+ title: '序号',
19621
+ align: 'center',
19622
+ ellipsis: true,
19623
+ width: 80,
19624
+ render: function render(val, record, index) {
19625
+ return /*#__PURE__*/React.createElement("span", null, index + 1);
19626
+ }
19627
+ }].concat(_toConsumableArray(column.filter(function (item) {
19628
+ return !['operation', 'index'].includes((item === null || item === void 0 ? void 0 : item.dataIndex) || '');
19629
+ }).map(function (item) {
19630
+ return _objectSpread2(_objectSpread2({}, item), {}, {
19631
+ ellipsis: true,
19632
+ render: function render(val, record, index) {
19633
+ return renderDetailItem$1({
19634
+ item: item,
19635
+ val: val
19636
+ });
19637
+ }
19638
+ });
19639
+ })));
19640
+ }, [column]);
19641
+ var defaultValueMap = useMemo(function () {
19642
+ return newTableHeader.reduce(function (prv, next) {
19643
+ prv["".concat(next.dataIndex)] = '';
19644
+ return prv;
19645
+ }, {});
19646
+ }, [newTableHeader]);
19647
+ var deleteHandle = function deleteHandle(uuid) {
19648
+ var _value$subOrderList;
19649
+ var newList = value === null || value === void 0 ? void 0 : (_value$subOrderList = value.subOrderList) === null || _value$subOrderList === void 0 ? void 0 : _value$subOrderList.filter(function (item) {
19650
+ return item.uuid !== uuid;
19651
+ });
19652
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
19653
+ subOrderList: newList
19654
+ }));
19655
+ };
19656
+ var addHandle = function addHandle(index) {
19657
+ var _value$subOrderList2;
19658
+ if (maxCount && (value === null || value === void 0 ? void 0 : (_value$subOrderList2 = value.subOrderList) === null || _value$subOrderList2 === void 0 ? void 0 : _value$subOrderList2.length) >= maxCount) {
19659
+ message.error("\u8BE5\u5B50\u8868\u5355\u6700\u591A\u6DFB\u52A0".concat(maxCount, "\u6761"));
19660
+ return;
19661
+ }
19662
+ var subOrderList = _toConsumableArray((value === null || value === void 0 ? void 0 : value.subOrderList) || []);
19663
+ subOrderList.splice(index, 0, _objectSpread2(_objectSpread2({}, defaultValueMap), {}, {
19664
+ uuid: uuid()
19665
+ }));
19666
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
19667
+ subOrderList: subOrderList
19668
+ }));
19669
+ };
19670
+ var getDataSourceAsync = function getDataSourceAsync() {
19671
+ var _effects$form;
19672
+ var _ref = (effects === null || effects === void 0 ? void 0 : (_effects$form = effects.form) === null || _effects$form === void 0 ? void 0 : _effects$form.getFieldsValue()) || {},
19673
+ _ref$shopId = _ref.shopId,
19674
+ shopId = _ref$shopId === void 0 ? '' : _ref$shopId;
19675
+ return (value === null || value === void 0 ? void 0 : value.orderNo) && shopId ? getOrderListSingleton$4({
19676
+ orderNo: value === null || value === void 0 ? void 0 : value.orderNo,
19677
+ shopId: shopId
19678
+ }).then(function (data) {
19679
+ var allOrders = updateOrderSubFormGoodsHandle(data || []);
19680
+ onChange(_objectSpread2(_objectSpread2({}, value), {}, {
19681
+ allOrders: allOrders
19682
+ }));
19683
+ }) : Promise.resolve();
19684
+ };
19685
+ var getAllTradeGoodsDetails = function getAllTradeGoodsDetails() {
19686
+ var goodDetails = (value === null || value === void 0 ? void 0 : value.allOrders) || [];
19687
+ return goodDetails;
19688
+ };
19689
+ var selectedGoodsChange = useCallback(function (skuList) {
19690
+ var _uniqBy;
19691
+ var newValue = _objectSpread2({}, value);
19692
+ // 原订单商品
19693
+ var originTradeGoodList = getAllTradeGoodsDetails() || [];
19694
+ // 当前选中的所有商品【包含了原订单+商品库】
19695
+ var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value.subOrderList) || [];
19696
+ newValue['subOrderList'] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
19697
+ return skuList.includes(item.uuid);
19698
+ });
19699
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19700
+ }, [value === null || value === void 0 ? void 0 : value.subOrderList]);
19701
+ // TODO: 商品订单中以选中商品
19702
+ var selectedGoods = useMemo(function () {
19703
+ var _value$subOrderList3;
19704
+ return value === null || value === void 0 ? void 0 : (_value$subOrderList3 = value.subOrderList) === null || _value$subOrderList3 === void 0 ? void 0 : _value$subOrderList3.map(function (v) {
19705
+ return v === null || v === void 0 ? void 0 : v.uuid;
19706
+ });
19707
+ }, [value === null || value === void 0 ? void 0 : value.subOrderList]);
19708
+ return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && /*#__PURE__*/React.createElement("div", {
19709
+ style: {
19710
+ float: 'right'
19711
+ }
19712
+ }, /*#__PURE__*/React.createElement(SelectTradeGoods, {
19713
+ uniqueKey: 'uuid',
19714
+ columns: orderModalColumns,
19715
+ dataSource: getAllTradeGoodsDetails(),
19716
+ getDataSourceAsync: getDataSourceAsync,
19717
+ selectedRowKeys: selectedGoods,
19718
+ onChangeSelectedKeys: selectedGoodsChange,
19719
+ width: 850
19720
+ })), /*#__PURE__*/React.createElement(Table, {
19721
+ columns: column,
19722
+ dataSource: (value === null || value === void 0 ? void 0 : value.subOrderList) || [],
19723
+ rowKey: 'uuid',
19724
+ size: "small",
19725
+ pagination: false,
19726
+ scroll: {
19727
+ x: '100%'
19728
+ },
19729
+ locale: {
19730
+ emptyText: !disabled && manual ? /*#__PURE__*/React.createElement("span", null, "\u6682\u65E0\u6570\u636E,", /*#__PURE__*/React.createElement(Button, {
19731
+ type: "link",
19732
+ onClick: function onClick() {
19733
+ return addHandle(0);
19734
+ }
19735
+ }, "\u70B9\u51FB\u6DFB\u52A0")) : '暂无数据'
19736
+ },
19737
+ onRow: function onRow(_, index) {
19738
+ return {
19739
+ onMouseEnter: function onMouseEnter() {
19740
+ return setHoveredRowIndex(index !== null && index !== void 0 ? index : null);
19741
+ },
19742
+ onMouseLeave: function onMouseLeave() {
19743
+ return setHoveredRowIndex(null);
19744
+ }
19745
+ };
19746
+ }
19747
+ }));
19748
+ };
19749
+
18941
19750
  var isErpType$1 = {
18942
19751
  isWdt: function isWdt(type) {
18943
19752
  return ['WDT_GOODS'].includes(type);
@@ -20386,8 +21195,8 @@ var PublicReissue = function PublicReissue(props) {
20386
21195
  })));
20387
21196
  };
20388
21197
 
20389
- var css_248z$b = ".goodsBox {\n display: flex;\n flex-wrap: wrap;\n}\n.goods-imgBox {\n position: relative;\n width: 80px;\n height: 80px;\n border: 1px solid #F2F3F5;\n margin: 0 10px 10px 0;\n text-align: center;\n}\n.icon-close {\n position: absolute;\n top: -5px;\n right: -5px;\n width: 13px;\n height: 13px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n z-index: 3;\n background-color: #fff;\n cursor: pointer;\n}\n.img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.goods-title {\n margin: 0 0 10px 5px;\n color: #4E5969;\n}\n.deg90 {\n transform: rotate(90deg);\n}\n.goodMain {\n display: flex;\n flex-wrap: wrap;\n height: 265px;\n overflow-y: auto;\n margin-bottom: 10px;\n}\n.goodMain .goodItem {\n width: 140px;\n height: 175px;\n padding: 11px 10px 0;\n text-align: center;\n display: inline-block;\n vertical-align: top;\n margin-bottom: 10px;\n margin-right: 30px;\n border: 1px solid #e6e6e6;\n cursor: pointer;\n transition: border 0.3s;\n}\n.goodMain .goodItem .goodImg {\n width: 120px;\n height: 120px;\n}\n.goodMain .goodItem .goodText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.goodMain .goodItem.active {\n border: 1px solid #3089dc;\n}\n.right-context {\n display: flex;\n flex-direction: column;\n}\n";
20390
- styleInject(css_248z$b);
21198
+ var css_248z$c = ".goodsBox {\n display: flex;\n flex-wrap: wrap;\n}\n.goods-imgBox {\n position: relative;\n width: 80px;\n height: 80px;\n border: 1px solid #F2F3F5;\n margin: 0 10px 10px 0;\n text-align: center;\n}\n.icon-close {\n position: absolute;\n top: -5px;\n right: -5px;\n width: 13px;\n height: 13px;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n z-index: 3;\n background-color: #fff;\n cursor: pointer;\n}\n.img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.goods-title {\n margin: 0 0 10px 5px;\n color: #4E5969;\n}\n.deg90 {\n transform: rotate(90deg);\n}\n.goodMain {\n display: flex;\n flex-wrap: wrap;\n height: 265px;\n overflow-y: auto;\n margin-bottom: 10px;\n}\n.goodMain .goodItem {\n width: 140px;\n height: 175px;\n padding: 11px 10px 0;\n text-align: center;\n display: inline-block;\n vertical-align: top;\n margin-bottom: 10px;\n margin-right: 30px;\n border: 1px solid #e6e6e6;\n cursor: pointer;\n transition: border 0.3s;\n}\n.goodMain .goodItem .goodImg {\n width: 120px;\n height: 120px;\n}\n.goodMain .goodItem .goodText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.goodMain .goodItem.active {\n border: 1px solid #3089dc;\n}\n.right-context {\n display: flex;\n flex-direction: column;\n}\n";
21199
+ styleInject(css_248z$c);
20391
21200
 
20392
21201
  var TabPane$1 = Tabs.TabPane;
20393
21202
  var Option$2 = Select.Option;
@@ -20860,7 +21669,7 @@ var Goods$1 = function Goods(props, ref) {
20860
21669
  userNick: userNick
20861
21670
  }));
20862
21671
  };
20863
- var index$4 = /*#__PURE__*/forwardRef(Goods$1);
21672
+ var index$3 = /*#__PURE__*/forwardRef(Goods$1);
20864
21673
 
20865
21674
  var _excluded$k = ["onChange", "value", "failValue"];
20866
21675
  function CommonStatus(props) {
@@ -21461,9 +22270,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
21461
22270
  })));
21462
22271
  };
21463
22272
 
21464
- var css_248z$c = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
21465
- var styles$5 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
21466
- styleInject(css_248z$c);
22273
+ var css_248z$d = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
22274
+ var styles$6 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
22275
+ styleInject(css_248z$d);
21467
22276
 
21468
22277
  var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
21469
22278
  _excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
@@ -21725,7 +22534,7 @@ var GyReissue = function GyReissue(props) {
21725
22534
  placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
21726
22535
  }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s9 = value[(_typeMap$type35 = typeMap$4[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.systemOrder]) === null || _value$typeMap$type$s9 === void 0 ? void 0 : _value$typeMap$type$s9.showOrderInfo) || []).map(function (item) {
21727
22536
  return /*#__PURE__*/React.createElement(Select.Option, {
21728
- className: styles$5.systemNoDisabled,
22537
+ className: styles$6.systemNoDisabled,
21729
22538
  key: item.billNo,
21730
22539
  value: item.billNo,
21731
22540
  label: item.billNo,
@@ -22023,7 +22832,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
22023
22832
  placeholder: "\u9009\u62E9\u9000\u8D27\u7684\u7CFB\u7EDF\u5355"
22024
22833
  }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type30 = typeMap$5[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.showOrderInfo) || []).map(function (item) {
22025
22834
  return /*#__PURE__*/React.createElement(Select.Option, {
22026
- className: styles$5.systemNoDisabled,
22835
+ className: styles$6.systemNoDisabled,
22027
22836
  key: item.billNo,
22028
22837
  value: item.billNo,
22029
22838
  label: item.billNo,
@@ -22074,9 +22883,9 @@ var GyReturnGoods = function GyReturnGoods(props) {
22074
22883
  })));
22075
22884
  };
22076
22885
 
22077
- var css_248z$d = ".index-module_imageBox__1f2AI {\n display: flex;\n flex-wrap: wrap;\n}\n.index-module_imageBox__1f2AI .ant-upload {\n padding: 0;\n height: 80px;\n width: 80px;\n border: none;\n border-radius: 2px;\n background: #F2F3F5;\n text-align: center;\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI .ant-upload .index-module_addBtn__1DY59 {\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI > span {\n max-width: 100%;\n}\n.index-module_tips__1XQjf {\n color: #4E5969;\n font-size: 12px;\n}\n";
22078
- var styles$6 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
22079
- styleInject(css_248z$d);
22886
+ var css_248z$e = ".index-module_imageBox__1f2AI {\n display: flex;\n flex-wrap: wrap;\n}\n.index-module_imageBox__1f2AI .ant-upload {\n padding: 0;\n height: 80px;\n width: 80px;\n border: none;\n border-radius: 2px;\n background: #F2F3F5;\n text-align: center;\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI .ant-upload .index-module_addBtn__1DY59 {\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI > span {\n max-width: 100%;\n}\n.index-module_tips__1XQjf {\n color: #4E5969;\n font-size: 12px;\n}\n";
22887
+ var styles$7 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
22888
+ styleInject(css_248z$e);
22080
22889
 
22081
22890
  var _excluded$r = ["maxCount", "maxSize", "onChange", "value", "disabled", "hostUrl", "canDownload", "actionUrl"];
22082
22891
  var Dragger$1 = Upload.Dragger;
@@ -22252,9 +23061,9 @@ var KmVideo = function KmVideo(_ref) {
22252
23061
  return /*#__PURE__*/React.createElement(Spin, {
22253
23062
  spinning: uploading
22254
23063
  }, /*#__PURE__*/React.createElement("p", {
22255
- className: styles$6.tips
23064
+ className: styles$7.tips
22256
23065
  }, "\u5141\u8BB8\u4E0A\u4F20", maxCount, "\u4E2A\u6587\u4EF6\uFF0C\u652F\u6301", videoSuffixList.join('/'), "\u683C\u5F0F\u6587\u4EF6"), /*#__PURE__*/React.createElement("div", {
22257
- className: styles$6.imageBox
23066
+ className: styles$7.imageBox
22258
23067
  }, /*#__PURE__*/React.createElement(Dragger$1, _objectSpread2({
22259
23068
  disabled: disabled,
22260
23069
  multiple: true,
@@ -22280,9 +23089,9 @@ var KmVideo = function KmVideo(_ref) {
22280
23089
  }), file.kmVideoType && "".concat(file.kmVideoType));
22281
23090
  }
22282
23091
  }, resetProps), /*#__PURE__*/React.createElement("span", {
22283
- className: styles$6.addBtn
23092
+ className: styles$7.addBtn
22284
23093
  }, "+"), /*#__PURE__*/React.createElement("p", {
22285
- className: styles$6.addBtn
23094
+ className: styles$7.addBtn
22286
23095
  }, "\u9009\u62E9\u6587\u4EF6")), /*#__PURE__*/React.createElement(Modal, {
22287
23096
  visible: visible,
22288
23097
  title: fileName,
@@ -22317,15 +23126,15 @@ var KmVideo = function KmVideo(_ref) {
22317
23126
  }))));
22318
23127
  };
22319
23128
 
22320
- var singletonMap$7 = new Map();
23129
+ var singletonMap$8 = new Map();
22321
23130
  var getAllGoods = function getAllGoods(params, setLoading) {
22322
23131
  var id = params.tid || params.onBillNo || '';
22323
- if (!singletonMap$7.has(id)) {
23132
+ if (!singletonMap$8.has(id)) {
22324
23133
  setLoading && setLoading(true);
22325
23134
  var p = new Promise(function (resolve, reject) {
22326
23135
  var doReject = function doReject(err) {
22327
23136
  // 清空掉错误的请求记录
22328
- singletonMap$7.delete(id);
23137
+ singletonMap$8.delete(id);
22329
23138
  reject(err);
22330
23139
  };
22331
23140
  extendRequest('/qy/gdfw/order/skxOrderDetail', {
@@ -22347,7 +23156,7 @@ var getAllGoods = function getAllGoods(params, setLoading) {
22347
23156
  resolve(res.data);
22348
23157
  // 延迟10秒清除,保证订单的时效性
22349
23158
  setTimeout(function () {
22350
- singletonMap$7.delete(id);
23159
+ singletonMap$8.delete(id);
22351
23160
  }, 1000 * 10);
22352
23161
  } else {
22353
23162
  doReject(res);
@@ -22356,9 +23165,9 @@ var getAllGoods = function getAllGoods(params, setLoading) {
22356
23165
  setLoading && setLoading(false);
22357
23166
  });
22358
23167
  });
22359
- singletonMap$7.set(id, p);
23168
+ singletonMap$8.set(id, p);
22360
23169
  }
22361
- return singletonMap$7.get(id);
23170
+ return singletonMap$8.get(id);
22362
23171
  };
22363
23172
  var skxUtils = {
22364
23173
  getAllGoods: getAllGoods
@@ -22674,4 +23483,4 @@ var SkxGoods = function SkxGoods(props) {
22674
23483
  }));
22675
23484
  };
22676
23485
 
22677
- export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, index as ApaasUploadAsync, ApaasUploadFile, index$1 as ApaasUploadProAsync, AsyncSelect, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$3 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, CopyTextIcon, ExpressLogistics, Goods, index$4 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, KmVideo, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, SkxGoods, IdInputSelect as SkxIdInputSelect, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, erpColumnsMap, erpFormValidator, index$2 as erpModalColumnsMap, getColumns$4 as getGyColumns, getColumns$5 as getJstColumns, getColumns$6 as getKmColumns, getColumns$7 as getSkxColumns, getColumns$2 as getWdtColumns, getColumns$3 as getWlnColumns, skxUtils };
23486
+ export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, ApaasUploadAsync$1 as ApaasUploadAsync, ApaasUploadFile, index as ApaasUploadProAsync, AsyncSelect, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$2 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, CopyTextIcon, ExpressLogistics, Goods, index$3 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, KmVideo, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, OrderSubForm, utils as OrderSubFormUtils, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, SkxGoods, IdInputSelect as SkxIdInputSelect, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, erpColumnsMap, erpFormValidator, index$1 as erpModalColumnsMap, getColumns$4 as getGyColumns, getColumns$5 as getJstColumns, getColumns$6 as getKmColumns, getColumns$7 as getSkxColumns, getColumns$2 as getWdtColumns, getColumns$3 as getWlnColumns, orderSubFormConstants, skxUtils };