@kmkf-fe-packages/basic-components 2.0.79-beta.80 → 2.0.79-beta.82

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 as Rate$1, Form, Tooltip, Popover, Table, Tabs, ConfigProvider, Pagination, Typography, Skeleton, Empty, Tag } from 'antd';
3
- import { EyeOutlined, DeleteOutlined, CloseOutlined, MinusCircleFilled, PlusCircleFilled, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, UpOutlined, DownOutlined, VideoCameraTwoTone } from '@ant-design/icons';
3
+ import { EyeOutlined, DeleteOutlined, CloseOutlined, MinusCircleFilled, PlusCircleFilled, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, UpOutlined, DownOutlined, 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
6
  import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, hasAddNullComponent, SUBMIT_TIME_ID, UPGRADE_TIME_ID, FINAL_TIME_ID, CUSTOM_TIME_ID, useStatus, finalFormData, transformList, dataSourceTrans, DATA_SPLIT_COMPONENT_FIELDS_MAP, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterJyOrders, 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, JY_SYSTEM_ORDER_CONFIG, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, updateJyGoodsHandle, 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 as reject$1, isEmpty, intersection } from 'lodash';
7
+ import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, uniqBy, cloneDeep, difference, differenceWith, isBoolean, isEqual, takeRight, reject as reject$1, 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';
@@ -1227,7 +1227,7 @@ var ApaasUploadAsync = function ApaasUploadAsync(_ref, ref) {
1227
1227
  className: "addBtn"
1228
1228
  }, "+"), /*#__PURE__*/React.createElement("div", null, uploadText)))));
1229
1229
  };
1230
- var index = /*#__PURE__*/forwardRef(ApaasUploadAsync);
1230
+ var ApaasUploadAsync$1 = /*#__PURE__*/forwardRef(ApaasUploadAsync);
1231
1231
 
1232
1232
  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";
1233
1233
  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"};
@@ -1536,7 +1536,7 @@ var ApaasUploadProAsync = function ApaasUploadProAsync(_ref, ref) {
1536
1536
  className: "addBtn"
1537
1537
  }, "+"), /*#__PURE__*/React.createElement("div", null, uploadText))), renderImages(value)));
1538
1538
  };
1539
- var index$1 = /*#__PURE__*/forwardRef(ApaasUploadProAsync);
1539
+ var index = /*#__PURE__*/forwardRef(ApaasUploadProAsync);
1540
1540
 
1541
1541
  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";
1542
1542
  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"};
@@ -13122,7 +13122,7 @@ var getColumnsBaseInfo = function getColumnsBaseInfo() {
13122
13122
  });
13123
13123
  return newColumns;
13124
13124
  };
13125
- var index$2 = getColumnsBaseInfo();
13125
+ var index$1 = getColumnsBaseInfo();
13126
13126
 
13127
13127
  var initNo = {
13128
13128
  dataIndex: 'index',
@@ -18848,11 +18848,11 @@ var getColumns$8 = function getColumns(_ref) {
18848
18848
  }, {
18849
18849
  dataIndex: 'subOrderId',
18850
18850
  title: "[SKX]\u53D1\u8D27\u5355-\u5B50\u8BA2\u5355\u53F7",
18851
- width: 200
18851
+ width: 300
18852
18852
  }, {
18853
18853
  dataIndex: 'onBillNo',
18854
18854
  title: "[SKX]ON\u51FA\u5E93\u901A\u77E5\u5355\u53F7",
18855
- width: 280
18855
+ width: 200
18856
18856
  }].map(function (item) {
18857
18857
  return _objectSpread2(_objectSpread2({}, item), {}, {
18858
18858
  align: 'center',
@@ -20885,7 +20885,7 @@ var rowKeyMap = {
20885
20885
  JST_SYSTEM_ORDER: 'oId',
20886
20886
  JY_SYSTEM_ORDER: 'tradeNo'
20887
20887
  };
20888
- var index$3 = (function (props) {
20888
+ var index$2 = (function (props) {
20889
20889
  var value = props.value,
20890
20890
  _onChange = props.onChange,
20891
20891
  disabled = props.disabled,
@@ -21228,6 +21228,758 @@ var index$3 = (function (props) {
21228
21228
  }));
21229
21229
  });
21230
21230
 
21231
+ var css_248z$d = ".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;\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";
21232
+ 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"};
21233
+ styleInject(css_248z$d);
21234
+
21235
+ var CustomizeUpload = function CustomizeUpload(_ref) {
21236
+ var _ref$value = _ref.value,
21237
+ value = _ref$value === void 0 ? '' : _ref$value,
21238
+ onChange = _ref.onChange,
21239
+ _ref$disabled = _ref.disabled,
21240
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
21241
+ _ref$maxCount = _ref.maxCount,
21242
+ maxCount = _ref$maxCount === void 0 ? 20 : _ref$maxCount,
21243
+ _ref$maxSize = _ref.maxSize,
21244
+ maxSize = _ref$maxSize === void 0 ? 10 : _ref$maxSize;
21245
+ var _useState = useState(false),
21246
+ _useState2 = _slicedToArray(_useState, 2),
21247
+ popoverVisible = _useState2[0],
21248
+ setPopoverVisible = _useState2[1];
21249
+ var newValue = useMemo(function () {
21250
+ return value ? value === null || value === void 0 ? void 0 : value.split(',') : [];
21251
+ }, [value]);
21252
+ // 渲染图片显示
21253
+ var renderImages = function renderImages() {
21254
+ if (newValue.length === 0) return null;
21255
+ return /*#__PURE__*/React.createElement(React.Fragment, null, newValue.map(function (image, index) {
21256
+ return /*#__PURE__*/React.createElement("div", {
21257
+ key: index,
21258
+ className: styles$5.imageItem
21259
+ }, /*#__PURE__*/React.createElement(Image, {
21260
+ src: image,
21261
+ alt: "\u56FE\u7247".concat(index + 1),
21262
+ className: styles$5.image,
21263
+ preview: {
21264
+ mask: '点击预览'
21265
+ }
21266
+ }));
21267
+ }));
21268
+ };
21269
+ var handleUploadChange = function handleUploadChange(val) {
21270
+ var newValue = val.join(',');
21271
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21272
+ };
21273
+ // Popover 内容
21274
+ var popoverContent = /*#__PURE__*/React.createElement("div", {
21275
+ className: styles$5.popoverContent
21276
+ }, /*#__PURE__*/React.createElement("div", {
21277
+ className: styles$5.popoverTitle
21278
+ }, "\u6DFB\u52A0\u56FE\u7247"), /*#__PURE__*/React.createElement("div", {
21279
+ className: styles$5.uploadContainer
21280
+ }, /*#__PURE__*/React.createElement(ApaasUploadAsync$1, {
21281
+ canPreview: true,
21282
+ maxSize: maxSize,
21283
+ maxCount: maxCount,
21284
+ uniqueKey: "remark",
21285
+ hostUrl: "https://kefu.kuaimai.com",
21286
+ value: newValue || [],
21287
+ onChange: handleUploadChange,
21288
+ disabled: disabled
21289
+ })));
21290
+ return /*#__PURE__*/React.createElement("div", {
21291
+ className: styles$5.customizeUpload
21292
+ }, /*#__PURE__*/React.createElement("div", {
21293
+ className: styles$5.inputContainer
21294
+ }, /*#__PURE__*/React.createElement(Popover, {
21295
+ content: popoverContent,
21296
+ title: null,
21297
+ trigger: "click",
21298
+ open: popoverVisible,
21299
+ onOpenChange: setPopoverVisible,
21300
+ placement: "bottomLeft"
21301
+ }, /*#__PURE__*/React.createElement(Button, {
21302
+ className: styles$5.addButton,
21303
+ icon: /*#__PURE__*/React.createElement(PlusOutlined, null),
21304
+ disabled: disabled,
21305
+ type: "text"
21306
+ }))), renderImages());
21307
+ };
21308
+
21309
+ var expressDateInstance = ExpressData.getInstance();
21310
+ var expressData = expressDateInstance.expressData;
21311
+ var refundTypeMap = {
21312
+ 0: '其他',
21313
+ 1: '已发货仅退款',
21314
+ 2: '退货',
21315
+ 3: '补发',
21316
+ 4: '换货',
21317
+ 5: '未发货仅退款',
21318
+ 9: '维修',
21319
+ 10: '价保',
21320
+ 11: '大家电安装',
21321
+ 12: '大家电移机',
21322
+ 13: '大家电增值服务',
21323
+ 14: '优鲜赔',
21324
+ 15: '试用收回'
21325
+ };
21326
+ var refundTypeOptions = Object.entries(refundTypeMap).map(function (_ref) {
21327
+ var _ref2 = _slicedToArray(_ref, 2),
21328
+ key = _ref2[0],
21329
+ value = _ref2[1];
21330
+ return {
21331
+ label: value,
21332
+ value: key
21333
+ };
21334
+ });
21335
+ var onlineStatusMap = {
21336
+ 1: '空',
21337
+ 2: '待卖家同意',
21338
+ 3: '待买家退货',
21339
+ 4: '待卖家确认收货',
21340
+ 5: '卖家拒绝退款',
21341
+ 6: '退款关闭',
21342
+ 7: '退款成功',
21343
+ 8: '待发出换货商品',
21344
+ 9: '待买家收货',
21345
+ 10: '换货关闭',
21346
+ 11: '换货成功'
21347
+ };
21348
+ var onlineStatusOptions = Object.entries(onlineStatusMap).map(function (_ref3) {
21349
+ var _ref4 = _slicedToArray(_ref3, 2),
21350
+ key = _ref4[0],
21351
+ value = _ref4[1];
21352
+ return {
21353
+ label: value,
21354
+ value: key
21355
+ };
21356
+ });
21357
+ var consignTypeMap = {
21358
+ 1: '是',
21359
+ 0: '否'
21360
+ };
21361
+ var consignTypeOptions = Object.entries(consignTypeMap).map(function (_ref5) {
21362
+ var _ref6 = _slicedToArray(_ref5, 2),
21363
+ key = _ref6[0],
21364
+ value = _ref6[1];
21365
+ return {
21366
+ label: value,
21367
+ value: key
21368
+ };
21369
+ });
21370
+ var orderSubformColumns = [{
21371
+ dataIndex: 'title',
21372
+ title: '商品名称',
21373
+ widget: 'input',
21374
+ widgetProps: {},
21375
+ width: 150
21376
+ }, {
21377
+ dataIndex: 'productCode',
21378
+ title: '商品编码',
21379
+ widget: 'input',
21380
+ width: 150,
21381
+ widgetProps: {}
21382
+ }, {
21383
+ dataIndex: 'picUrl',
21384
+ title: '图片',
21385
+ widget: 'upload',
21386
+ widgetProps: {},
21387
+ width: 100,
21388
+ customizeComponent: function customizeComponent(config) {
21389
+ return /*#__PURE__*/React.createElement(CustomizeUpload, {
21390
+ value: config.value,
21391
+ onChange: config.onChange,
21392
+ maxCount: config.maxCount,
21393
+ maxSize: config.maxSize
21394
+ });
21395
+ }
21396
+ }, {
21397
+ dataIndex: 'numIid',
21398
+ title: '商品id',
21399
+ widget: 'input',
21400
+ widgetProps: {},
21401
+ width: 150
21402
+ }, {
21403
+ dataIndex: 'quantity',
21404
+ title: '商品数量',
21405
+ widget: 'inputNumber',
21406
+ width: 100,
21407
+ widgetProps: {
21408
+ precision: 0,
21409
+ min: 0
21410
+ }
21411
+ }, {
21412
+ dataIndex: 'skuId',
21413
+ title: 'SKU ID',
21414
+ widget: 'input',
21415
+ width: 150,
21416
+ widgetProps: {}
21417
+ }, {
21418
+ dataIndex: 'outerSkuId',
21419
+ title: 'SKU 编码',
21420
+ widget: 'input',
21421
+ width: 150,
21422
+ widgetProps: {}
21423
+ }, {
21424
+ dataIndex: 'propertiesName',
21425
+ title: 'SKU 信息',
21426
+ widget: 'input',
21427
+ width: 200,
21428
+ widgetProps: {}
21429
+ }, {
21430
+ dataIndex: 'oid',
21431
+ title: '子订单号',
21432
+ widget: 'input',
21433
+ width: 150,
21434
+ widgetProps: {}
21435
+ }, {
21436
+ dataIndex: 'price',
21437
+ title: '商品单价',
21438
+ widget: 'inputNumber',
21439
+ width: 100,
21440
+ widgetProps: {
21441
+ precision: 2,
21442
+ min: 0
21443
+ }
21444
+ }, {
21445
+ dataIndex: 'actualPayment',
21446
+ title: '[子]实付金额',
21447
+ widget: 'inputNumber',
21448
+ width: 100,
21449
+ widgetProps: {
21450
+ precision: 2,
21451
+ min: 0
21452
+ }
21453
+ }, {
21454
+ dataIndex: 'expressLogisticsCode',
21455
+ title: '[子]运单号',
21456
+ widget: 'input',
21457
+ width: 150,
21458
+ widgetProps: {}
21459
+ }, {
21460
+ dataIndex: 'expressLogisticsCompany',
21461
+ title: '[子]发货快递',
21462
+ widget: 'select',
21463
+ width: 150,
21464
+ widgetProps: {
21465
+ options: expressData,
21466
+ showSearch: true,
21467
+ allowClear: true
21468
+ }
21469
+ }, {
21470
+ dataIndex: 'refundId',
21471
+ title: '退款单ID',
21472
+ widget: 'input',
21473
+ width: 150,
21474
+ widgetProps: {}
21475
+ }, {
21476
+ dataIndex: 'returnExpressLogisticsCode',
21477
+ title: '退货物流单号',
21478
+ widget: 'input',
21479
+ width: 150,
21480
+ widgetProps: {}
21481
+ }, {
21482
+ dataIndex: 'returnExpressLogisticsCompany',
21483
+ title: '退货物流公司',
21484
+ widget: 'select',
21485
+ width: 150,
21486
+ widgetProps: {
21487
+ options: expressData,
21488
+ showSearch: true,
21489
+ allowClear: true
21490
+ }
21491
+ }, {
21492
+ dataIndex: 'reason',
21493
+ title: '退款原因',
21494
+ widget: 'input',
21495
+ width: 200,
21496
+ widgetProps: {}
21497
+ }, {
21498
+ dataIndex: 'refundAmount',
21499
+ title: '退款金额',
21500
+ widget: 'inputNumber',
21501
+ width: 100,
21502
+ widgetProps: {
21503
+ precision: 2,
21504
+ min: 0
21505
+ }
21506
+ }, {
21507
+ dataIndex: 'afterSaleType',
21508
+ title: '退款类型',
21509
+ widget: 'select',
21510
+ width: 150,
21511
+ widgetProps: {
21512
+ options: refundTypeOptions,
21513
+ showSearch: true,
21514
+ allowClear: true
21515
+ }
21516
+ }, {
21517
+ dataIndex: 'platformStatus',
21518
+ title: '退款状态(平台)',
21519
+ widget: 'input',
21520
+ width: 150,
21521
+ widgetProps: {}
21522
+ }, {
21523
+ dataIndex: 'onlineStatus',
21524
+ title: '退款状态(快麦)',
21525
+ widget: 'select',
21526
+ width: 150,
21527
+ widgetProps: {
21528
+ options: onlineStatusOptions,
21529
+ showSearch: true,
21530
+ allowClear: true
21531
+ }
21532
+ }, {
21533
+ dataIndex: 'applyTime',
21534
+ title: '退款申请时间',
21535
+ widget: 'datePicker',
21536
+ width: 150,
21537
+ widgetProps: {
21538
+ showTime: true,
21539
+ format: 'YYYY-MM-DD HH:mm:ss'
21540
+ }
21541
+ }, {
21542
+ dataIndex: 'returnFreeShipping',
21543
+ title: '退货免运费',
21544
+ widget: 'input',
21545
+ width: 150,
21546
+ widgetProps: {}
21547
+ }, {
21548
+ dataIndex: 'isCNShipment',
21549
+ title: '是否菜鸟仓发货',
21550
+ widget: 'select',
21551
+ width: 100,
21552
+ widgetProps: {
21553
+ options: consignTypeOptions,
21554
+ showSearch: true,
21555
+ allowClear: true
21556
+ }
21557
+ }];
21558
+ var orderSubformColumnMap = orderSubformColumns.reduce(function (prv, next) {
21559
+ prv[next.dataIndex] = next;
21560
+ return prv;
21561
+ }, {});
21562
+ var selectWidgetMap = {
21563
+ expressCode: function expressCode(code) {
21564
+ return expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode(code);
21565
+ },
21566
+ subExpressCode: function subExpressCode(code) {
21567
+ return expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode(code);
21568
+ },
21569
+ refundType: refundTypeMap,
21570
+ consignType: consignTypeMap,
21571
+ kmRefundStatus: onlineStatusMap
21572
+ };
21573
+ var orderSubFormConstants = {
21574
+ orderSubformColumns: orderSubformColumns,
21575
+ selectWidgetMap: selectWidgetMap,
21576
+ orderSubformColumnMap: orderSubformColumnMap
21577
+ };
21578
+
21579
+ var selectWidgetMap$1 = orderSubFormConstants.selectWidgetMap;
21580
+ var singletonMap$8 = new Map();
21581
+ var getOrderListSingleton$3 = function getOrderListSingleton(parmas) {
21582
+ var orderNo = parmas.orderNo,
21583
+ shopId = parmas.shopId;
21584
+ var key = "".concat(orderNo, "-").concat(shopId);
21585
+ if (!singletonMap$8.has(key)) {
21586
+ var p = new Promise(function (resolve, reject) {
21587
+ var doReject = function doReject(err) {
21588
+ // 清空掉错误的请求记录
21589
+ singletonMap$8.delete(key);
21590
+ reject(err);
21591
+ };
21592
+ extendRequest('/qy/gdfw/order/subOrderItemsDetail', {
21593
+ method: 'post',
21594
+ data: _objectSpread2({}, parmas)
21595
+ }).then(function (data) {
21596
+ if (data === null || data === void 0 ? void 0 : data.success) {
21597
+ var _data$data;
21598
+ if (data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.length) {
21599
+ resolve(data === null || data === void 0 ? void 0 : data.data);
21600
+ } else {
21601
+ resolve([]);
21602
+ }
21603
+ // 延迟10秒清除,保证订单的时效性
21604
+ setTimeout(function () {
21605
+ singletonMap$8.delete(key);
21606
+ }, 1000 * 10);
21607
+ } else {
21608
+ doReject(data);
21609
+ }
21610
+ }).catch(doReject);
21611
+ });
21612
+ singletonMap$8.set(key, p);
21613
+ }
21614
+ return singletonMap$8.get(key);
21615
+ };
21616
+ var renderEditItem = function renderEditItem(_ref) {
21617
+ var item = _ref.item,
21618
+ val = _ref.val,
21619
+ disabled = _ref.disabled,
21620
+ index = _ref.index,
21621
+ type = _ref.type,
21622
+ updateHandle = _ref.updateHandle;
21623
+ var Component = /*#__PURE__*/React.createElement(React.Fragment, null, "\u4E0D\u652F\u6301\u7684\u7C7B\u578B\u7EC4\u4EF6\uFF1A", JSON.stringify(item.widget));
21624
+ if (typeof item.customizeComponent === 'function') {
21625
+ Component = item.customizeComponent(_objectSpread2(_objectSpread2({}, item.widgetProps), {}, {
21626
+ disabled: disabled,
21627
+ value: val,
21628
+ onChange: function onChange(e) {
21629
+ return updateHandle(e, index, type);
21630
+ }
21631
+ }));
21632
+ } else if (item.widget === 'input') {
21633
+ Component = /*#__PURE__*/React.createElement(Input, _objectSpread2(_objectSpread2({}, item.widgetProps), {}, {
21634
+ disabled: disabled,
21635
+ value: val,
21636
+ onChange: function onChange(e) {
21637
+ var _e$target;
21638
+ 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);
21639
+ }
21640
+ }));
21641
+ } else if (item.widget === 'select') {
21642
+ Component = /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, item.widgetProps), {}, {
21643
+ value: val,
21644
+ disabled: disabled,
21645
+ onChange: function onChange(e) {
21646
+ return updateHandle(e, index, type);
21647
+ }
21648
+ }));
21649
+ } else if (item.widget === 'datePicker') {
21650
+ Component = /*#__PURE__*/React.createElement(DatePicker, _objectSpread2(_objectSpread2({}, item.widgetProps), {}, {
21651
+ value: val ? hooks(val) : null,
21652
+ disabled: disabled,
21653
+ onChange: function onChange(e) {
21654
+ return updateHandle(hooks(e).format('YYYY-MM-DD HH:mm:ss'), index, type);
21655
+ }
21656
+ }));
21657
+ } else if (item.widget === 'inputNumber') {
21658
+ Component = /*#__PURE__*/React.createElement(InputNumber, _objectSpread2(_objectSpread2({
21659
+ style: {
21660
+ width: '100%'
21661
+ }
21662
+ }, item.widgetProps), {}, {
21663
+ value: val,
21664
+ disabled: disabled,
21665
+ onChange: function onChange(e) {
21666
+ return updateHandle(e, index, type);
21667
+ }
21668
+ }));
21669
+ } else if (item.widget === 'cascader') {
21670
+ Component = /*#__PURE__*/React.createElement(Cascader, _objectSpread2(_objectSpread2({}, item.widgetProps), {}, {
21671
+ value: val,
21672
+ disabled: disabled,
21673
+ onChange: function onChange(e) {
21674
+ return updateHandle(e, index, type);
21675
+ }
21676
+ }));
21677
+ }
21678
+ return Component;
21679
+ };
21680
+ var renderDate = function renderDate(value) {
21681
+ return value ? hooks(value).format('YYYY-MM-DD HH:mm:ss') : '';
21682
+ };
21683
+ var renderImages = function renderImages(value) {
21684
+ console.log('renderImages', value);
21685
+ var list = value ? value.split(',') : [];
21686
+ return list.map(function (url) {
21687
+ var finalSrc = (url === null || url === void 0 ? void 0 : url.startsWith('http')) ? url : "https://kefu.kuaimai.com/".concat(url);
21688
+ return /*#__PURE__*/React.createElement(Image, {
21689
+ src: finalSrc,
21690
+ width: 24,
21691
+ height: 24
21692
+ });
21693
+ });
21694
+ };
21695
+ var renderDetailItem = function renderDetailItem(_ref2) {
21696
+ var item = _ref2.item,
21697
+ val = _ref2.val;
21698
+ var Component = /*#__PURE__*/React.createElement(React.Fragment, null, "\u4E0D\u652F\u6301\u7684\u7C7B\u578B\u7EC4\u4EF6\uFF1A", JSON.stringify(item.widget));
21699
+ if (['input', 'inputNumber'].includes(item.widget)) {
21700
+ Component = val;
21701
+ } else if (item.widget === 'select') {
21702
+ var mapValue = selectWidgetMap$1 === null || selectWidgetMap$1 === void 0 ? void 0 : selectWidgetMap$1[item.dataIndex];
21703
+ var selectValue;
21704
+ if (mapValue && typeof mapValue === 'function') {
21705
+ selectValue = mapValue === null || mapValue === void 0 ? void 0 : mapValue(val);
21706
+ } else {
21707
+ selectValue = mapValue === null || mapValue === void 0 ? void 0 : mapValue[val];
21708
+ }
21709
+ Component = /*#__PURE__*/React.createElement(React.Fragment, null, selectValue);
21710
+ } else if (item.widget === 'datePicker') {
21711
+ Component = /*#__PURE__*/React.createElement(React.Fragment, null, renderDate(val));
21712
+ } else if (item.widget === 'upload') {
21713
+ Component = /*#__PURE__*/React.createElement(React.Fragment, null, renderImages(val));
21714
+ }
21715
+ return Component;
21716
+ };
21717
+ var utils = {
21718
+ getOrderListSingleton: getOrderListSingleton$3,
21719
+ renderEditItem: renderEditItem,
21720
+ renderDetailItem: renderDetailItem
21721
+ };
21722
+
21723
+ var orderSubformColumns$1 = orderSubFormConstants.orderSubformColumns,
21724
+ orderSubformColumnMap$1 = orderSubFormConstants.orderSubformColumnMap;
21725
+ var renderEditItem$1 = utils.renderEditItem,
21726
+ renderDetailItem$1 = utils.renderDetailItem,
21727
+ getOrderListSingleton$4 = utils.getOrderListSingleton;
21728
+ var OrderSubForm = function OrderSubForm(props) {
21729
+ var _props$value = props.value,
21730
+ value = _props$value === void 0 ? {} : _props$value,
21731
+ onChange = props.onChange,
21732
+ _props$tableHeader = props.tableHeader,
21733
+ tableHeader = _props$tableHeader === void 0 ? [] : _props$tableHeader,
21734
+ disabled = props.disabled,
21735
+ maxCount = props.maxCount,
21736
+ manual = props.manual,
21737
+ correlationList = props.subConfig.correlationList,
21738
+ effects = props.effects;
21739
+ console.log('orderForm', value);
21740
+ var _useState = useState(null),
21741
+ _useState2 = _slicedToArray(_useState, 2),
21742
+ hoveredRowIndex = _useState2[0],
21743
+ setHoveredRowIndex = _useState2[1];
21744
+ var updateHandle = function updateHandle(val, index, type) {
21745
+ var _value$subOrderList;
21746
+ if (value === null || value === void 0 ? void 0 : (_value$subOrderList = value.subOrderList) === null || _value$subOrderList === void 0 ? void 0 : _value$subOrderList.length) {
21747
+ var subOrderList = JSON.parse(JSON.stringify(value === null || value === void 0 ? void 0 : value.subOrderList));
21748
+ subOrderList[index][type] = val;
21749
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
21750
+ subOrderList: subOrderList
21751
+ }));
21752
+ }
21753
+ };
21754
+ var initColumns = useMemo(function () {
21755
+ return correlationList && (correlationList === null || correlationList === void 0 ? void 0 : correlationList.length) ? correlationList.map(function (t) {
21756
+ return orderSubformColumnMap$1[t.dataIndex];
21757
+ }) : orderSubformColumns$1;
21758
+ }, [correlationList]);
21759
+ // const initColumnsMap = useMemo(
21760
+ // () =>
21761
+ // initColumns.reduce((prv: any, next) => {
21762
+ // prv[next.dataIndex] = next;
21763
+ // return prv;
21764
+ // }, {}),
21765
+ // [initColumns],
21766
+ // );
21767
+ var newTableHeader = useMemo(function () {
21768
+ return initColumns.reduce(function (prv, next) {
21769
+ var t = tableHeader.find(function (t) {
21770
+ return t.key === next.dataIndex;
21771
+ }) || {
21772
+ isShow: true,
21773
+ isEdit: false,
21774
+ isRequired: false,
21775
+ width: 150
21776
+ };
21777
+ if (t && t.isShow) {
21778
+ prv.push(_objectSpread2(_objectSpread2({}, next), t));
21779
+ }
21780
+ return prv;
21781
+ }, []);
21782
+ }, [orderSubformColumns$1, tableHeader]);
21783
+ var column = [{
21784
+ dataIndex: 'index',
21785
+ title: '序号',
21786
+ width: 80,
21787
+ render: function render(val, record, index) {
21788
+ return /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
21789
+ index: index,
21790
+ hoveredRowIndex: hoveredRowIndex,
21791
+ handleClick: function handleClick() {
21792
+ return deleteHandle(record.uuid);
21793
+ }
21794
+ });
21795
+ // return <div style={{ width: 25 }}>{index + 1}</div>;
21796
+ }
21797
+ }].concat(_toConsumableArray(newTableHeader.map(function (t) {
21798
+ return _objectSpread2(_objectSpread2({}, t), {}, {
21799
+ dataIndex: t.dataIndex,
21800
+ title: /*#__PURE__*/React.createElement("span", null, t.isRequired ? /*#__PURE__*/React.createElement("span", {
21801
+ style: {
21802
+ color: 'red'
21803
+ }
21804
+ }, "*") : null, (t === null || t === void 0 ? void 0 : t.settingName) || t.title),
21805
+ ellipsis: true,
21806
+ width: t.width,
21807
+ render: function render(val, record, index) {
21808
+ // const column = orderSubformColumnMap[t.dataIndex];
21809
+ var isDisabled = t.isEdit || disabled;
21810
+ return renderEditItem$1({
21811
+ item: t || {},
21812
+ val: val,
21813
+ disabled: isDisabled,
21814
+ index: index,
21815
+ type: t.dataIndex,
21816
+ updateHandle: updateHandle
21817
+ });
21818
+ }
21819
+ });
21820
+ })), [disabled ? {} : {
21821
+ dataIndex: 'operation',
21822
+ title: '操作',
21823
+ width: 70,
21824
+ fixed: 'right',
21825
+ render: function render(val, record, index) {
21826
+ return /*#__PURE__*/React.createElement(Space, null, manual && /*#__PURE__*/React.createElement(Tooltip, {
21827
+ title: "\u6DFB\u52A0"
21828
+ }, /*#__PURE__*/React.createElement(PlusCircleFilled, {
21829
+ style: {
21830
+ fontSize: 18,
21831
+ color: '#1890ff'
21832
+ },
21833
+ onClick: function onClick() {
21834
+ return addHandle(index + 1);
21835
+ }
21836
+ })), /*#__PURE__*/React.createElement(Tooltip, {
21837
+ title: "\u5220\u9664"
21838
+ }, /*#__PURE__*/React.createElement(MinusCircleFilled, {
21839
+ style: {
21840
+ fontSize: 18
21841
+ },
21842
+ onClick: function onClick() {
21843
+ return deleteHandle(record.uuid);
21844
+ }
21845
+ })));
21846
+ }
21847
+ }]);
21848
+ console.log('value?.allOrders', value, (value === null || value === void 0 ? void 0 : value.allOrders) || []);
21849
+ var orderModalColumns = useMemo(function () {
21850
+ return [{
21851
+ dataIndex: '',
21852
+ title: '序号',
21853
+ align: 'center',
21854
+ ellipsis: true,
21855
+ width: 80,
21856
+ render: function render(val, record, index) {
21857
+ return /*#__PURE__*/React.createElement("span", null, index + 1);
21858
+ }
21859
+ }].concat(_toConsumableArray(column.filter(function (item) {
21860
+ return !['operation', 'index'].includes((item === null || item === void 0 ? void 0 : item.dataIndex) || '');
21861
+ }).map(function (item) {
21862
+ return _objectSpread2(_objectSpread2({}, item), {}, {
21863
+ render: function render(val, record, index) {
21864
+ return renderDetailItem$1({
21865
+ item: item,
21866
+ val: val
21867
+ });
21868
+ }
21869
+ });
21870
+ })));
21871
+ }, [column]);
21872
+ var defaultValueMap = useMemo(function () {
21873
+ return newTableHeader.reduce(function (prv, next) {
21874
+ prv["".concat(next.dataIndex)] = '';
21875
+ return prv;
21876
+ }, {});
21877
+ }, [newTableHeader]);
21878
+ var deleteHandle = function deleteHandle(uuid) {
21879
+ var _value$subOrderList2;
21880
+ var newList = value === null || value === void 0 ? void 0 : (_value$subOrderList2 = value.subOrderList) === null || _value$subOrderList2 === void 0 ? void 0 : _value$subOrderList2.filter(function (item) {
21881
+ return item.uuid !== uuid;
21882
+ });
21883
+ onChange === null || onChange === void 0 ? void 0 : onChange(newList);
21884
+ };
21885
+ var addHandle = function addHandle(index) {
21886
+ var _value$subOrderList3;
21887
+ if (maxCount && (value === null || value === void 0 ? void 0 : (_value$subOrderList3 = value.subOrderList) === null || _value$subOrderList3 === void 0 ? void 0 : _value$subOrderList3.length) >= maxCount) {
21888
+ message.error("\u8BE5\u5B50\u8868\u5355\u6700\u591A\u6DFB\u52A0".concat(maxCount, "\u6761"));
21889
+ return;
21890
+ }
21891
+ var subOrderList = _toConsumableArray((value === null || value === void 0 ? void 0 : value.subOrderList) || []);
21892
+ subOrderList.splice(index, 0, _objectSpread2(_objectSpread2({}, defaultValueMap), {}, {
21893
+ uuid: uuid()
21894
+ }));
21895
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, {
21896
+ subOrderList: subOrderList
21897
+ }));
21898
+ };
21899
+ var getDataSourceAsync = function getDataSourceAsync() {
21900
+ var _effects$form;
21901
+ console.log('22222');
21902
+ var _ref = (effects === null || effects === void 0 ? void 0 : (_effects$form = effects.form) === null || _effects$form === void 0 ? void 0 : _effects$form.getFieldsValue()) || {},
21903
+ _ref$shopId = _ref.shopId,
21904
+ shopId = _ref$shopId === void 0 ? '' : _ref$shopId;
21905
+ return (value === null || value === void 0 ? void 0 : value.orderNo) && shopId ? getOrderListSingleton$4({
21906
+ orderNo: value === null || value === void 0 ? void 0 : value.orderNo,
21907
+ shopId: shopId
21908
+ }).then(function (data) {
21909
+ console.log('333');
21910
+ // const list = processAllOrders({
21911
+ // data,
21912
+ // orderNo: value?.orderNo,
21913
+ // type: compType,
21914
+ // });
21915
+ // onChange({ ...valueRef.current, allOrders: list || [] });
21916
+ }) : Promise.resolve();
21917
+ };
21918
+ var getAllTradeGoodsDetails = function getAllTradeGoodsDetails() {
21919
+ var goodDetails = (value === null || value === void 0 ? void 0 : value.allOrders) || [];
21920
+ return goodDetails;
21921
+ };
21922
+ var selectedGoodsChange = useCallback(function (skuList) {
21923
+ var _uniqBy;
21924
+ var newValue = _objectSpread2({}, value);
21925
+ // 原订单商品
21926
+ var originTradeGoodList = getAllTradeGoodsDetails() || [];
21927
+ // 当前选中的所有商品【包含了原订单+商品库】
21928
+ var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value.subOrderList) || [];
21929
+ newValue['subOrderList'] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
21930
+ return skuList.includes(item.uuid);
21931
+ });
21932
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21933
+ }, [value === null || value === void 0 ? void 0 : value.subOrderList]);
21934
+ // TODO: 商品订单中以选中商品
21935
+ var selectedGoods = useMemo(function () {
21936
+ var _value$subOrderList4;
21937
+ return value === null || value === void 0 ? void 0 : (_value$subOrderList4 = value.subOrderList) === null || _value$subOrderList4 === void 0 ? void 0 : _value$subOrderList4.map(function (v) {
21938
+ return v === null || v === void 0 ? void 0 : v.uuid;
21939
+ });
21940
+ }, [value === null || value === void 0 ? void 0 : value.subOrderList]);
21941
+ return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && /*#__PURE__*/React.createElement("div", {
21942
+ style: {
21943
+ float: 'right'
21944
+ }
21945
+ }, /*#__PURE__*/React.createElement(SelectTradeGoods, {
21946
+ uniqueKey: 'uuid',
21947
+ columns: orderModalColumns,
21948
+ dataSource: getAllTradeGoodsDetails(),
21949
+ getDataSourceAsync: getDataSourceAsync,
21950
+ selectedRowKeys: selectedGoods,
21951
+ onChangeSelectedKeys: selectedGoodsChange,
21952
+ width: 850
21953
+ })), /*#__PURE__*/React.createElement(Table, {
21954
+ columns: column,
21955
+ dataSource: value === null || value === void 0 ? void 0 : value.subOrderList,
21956
+ rowKey: 'uuid',
21957
+ size: "small",
21958
+ pagination: false,
21959
+ scroll: {
21960
+ x: '100%'
21961
+ },
21962
+ locale: {
21963
+ emptyText: !disabled && manual ? /*#__PURE__*/React.createElement("span", null, "\u6682\u65E0\u6570\u636E,", /*#__PURE__*/React.createElement(Button, {
21964
+ type: "link",
21965
+ onClick: function onClick() {
21966
+ return addHandle(0);
21967
+ }
21968
+ }, "\u70B9\u51FB\u6DFB\u52A0")) : '暂无数据'
21969
+ },
21970
+ onRow: function onRow(_, index) {
21971
+ return {
21972
+ onMouseEnter: function onMouseEnter() {
21973
+ return setHoveredRowIndex(index !== null && index !== void 0 ? index : null);
21974
+ },
21975
+ onMouseLeave: function onMouseLeave() {
21976
+ return setHoveredRowIndex(null);
21977
+ }
21978
+ };
21979
+ }
21980
+ }));
21981
+ };
21982
+
21231
21983
  var isErpType$1 = {
21232
21984
  isWdt: function isWdt(type) {
21233
21985
  return ['WDT_GOODS'].includes(type);
@@ -22705,8 +23457,8 @@ var PublicReissue = function PublicReissue(props) {
22705
23457
  })));
22706
23458
  };
22707
23459
 
22708
- var css_248z$d = ".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";
22709
- styleInject(css_248z$d);
23460
+ var css_248z$e = ".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";
23461
+ styleInject(css_248z$e);
22710
23462
 
22711
23463
  var TabPane$1 = Tabs.TabPane;
22712
23464
  var Option$2 = Select.Option;
@@ -23179,7 +23931,7 @@ var Goods$1 = function Goods(props, ref) {
23179
23931
  userNick: userNick
23180
23932
  }));
23181
23933
  };
23182
- var index$4 = /*#__PURE__*/forwardRef(Goods$1);
23934
+ var index$3 = /*#__PURE__*/forwardRef(Goods$1);
23183
23935
 
23184
23936
  var _excluded$n = ["onChange", "value", "failValue"];
23185
23937
  function CommonStatus(props) {
@@ -23722,9 +24474,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
23722
24474
  })));
23723
24475
  };
23724
24476
 
23725
- var css_248z$e = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
23726
- var styles$5 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
23727
- styleInject(css_248z$e);
24477
+ var css_248z$f = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
24478
+ var styles$6 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
24479
+ styleInject(css_248z$f);
23728
24480
 
23729
24481
  var _excluded$r = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
23730
24482
  _excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
@@ -23986,7 +24738,7 @@ var GyReissue = function GyReissue(props) {
23986
24738
  placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
23987
24739
  }, ((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) {
23988
24740
  return /*#__PURE__*/React.createElement(Select.Option, {
23989
- className: styles$5.systemNoDisabled,
24741
+ className: styles$6.systemNoDisabled,
23990
24742
  key: item.billNo,
23991
24743
  value: item.billNo,
23992
24744
  label: item.billNo,
@@ -24284,7 +25036,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
24284
25036
  placeholder: "\u9009\u62E9\u9000\u8D27\u7684\u7CFB\u7EDF\u5355"
24285
25037
  }, ((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) {
24286
25038
  return /*#__PURE__*/React.createElement(Select.Option, {
24287
- className: styles$5.systemNoDisabled,
25039
+ className: styles$6.systemNoDisabled,
24288
25040
  key: item.billNo,
24289
25041
  value: item.billNo,
24290
25042
  label: item.billNo,
@@ -24335,9 +25087,9 @@ var GyReturnGoods = function GyReturnGoods(props) {
24335
25087
  })));
24336
25088
  };
24337
25089
 
24338
- var css_248z$f = ".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";
24339
- var styles$6 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
24340
- styleInject(css_248z$f);
25090
+ var css_248z$g = ".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";
25091
+ var styles$7 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
25092
+ styleInject(css_248z$g);
24341
25093
 
24342
25094
  var _excluded$t = ["maxCount", "maxSize", "onChange", "value", "disabled", "hostUrl", "canDownload", "actionUrl"];
24343
25095
  var Dragger$1 = Upload.Dragger;
@@ -24513,9 +25265,9 @@ var KmVideo = function KmVideo(_ref) {
24513
25265
  return /*#__PURE__*/React.createElement(Spin, {
24514
25266
  spinning: uploading
24515
25267
  }, /*#__PURE__*/React.createElement("p", {
24516
- className: styles$6.tips
25268
+ className: styles$7.tips
24517
25269
  }, "\u5141\u8BB8\u4E0A\u4F20", maxCount, "\u4E2A\u6587\u4EF6\uFF0C\u652F\u6301", videoSuffixList.join('/'), "\u683C\u5F0F\u6587\u4EF6"), /*#__PURE__*/React.createElement("div", {
24518
- className: styles$6.imageBox
25270
+ className: styles$7.imageBox
24519
25271
  }, /*#__PURE__*/React.createElement(Dragger$1, _objectSpread2({
24520
25272
  disabled: disabled,
24521
25273
  multiple: true,
@@ -24541,9 +25293,9 @@ var KmVideo = function KmVideo(_ref) {
24541
25293
  }), file.kmVideoType && "".concat(file.kmVideoType));
24542
25294
  }
24543
25295
  }, resetProps), /*#__PURE__*/React.createElement("span", {
24544
- className: styles$6.addBtn
25296
+ className: styles$7.addBtn
24545
25297
  }, "+"), /*#__PURE__*/React.createElement("p", {
24546
- className: styles$6.addBtn
25298
+ className: styles$7.addBtn
24547
25299
  }, "\u9009\u62E9\u6587\u4EF6")), /*#__PURE__*/React.createElement(Modal, {
24548
25300
  visible: visible,
24549
25301
  title: fileName,
@@ -24578,15 +25330,15 @@ var KmVideo = function KmVideo(_ref) {
24578
25330
  }))));
24579
25331
  };
24580
25332
 
24581
- var singletonMap$8 = new Map();
25333
+ var singletonMap$9 = new Map();
24582
25334
  var getAllGoods = function getAllGoods(params, setLoading) {
24583
25335
  var id = params.tid || params.onBillNo || '';
24584
- if (!singletonMap$8.has(id)) {
25336
+ if (!singletonMap$9.has(id)) {
24585
25337
  setLoading && setLoading(true);
24586
25338
  var p = new Promise(function (resolve, reject) {
24587
25339
  var doReject = function doReject(err) {
24588
25340
  // 清空掉错误的请求记录
24589
- singletonMap$8.delete(id);
25341
+ singletonMap$9.delete(id);
24590
25342
  reject(err);
24591
25343
  };
24592
25344
  extendRequest('/qy/gdfw/order/skxOrderDetail', {
@@ -24608,7 +25360,7 @@ var getAllGoods = function getAllGoods(params, setLoading) {
24608
25360
  resolve(res.data);
24609
25361
  // 延迟10秒清除,保证订单的时效性
24610
25362
  setTimeout(function () {
24611
- singletonMap$8.delete(id);
25363
+ singletonMap$9.delete(id);
24612
25364
  }, 1000 * 10);
24613
25365
  } else {
24614
25366
  doReject(res);
@@ -24617,9 +25369,9 @@ var getAllGoods = function getAllGoods(params, setLoading) {
24617
25369
  setLoading && setLoading(false);
24618
25370
  });
24619
25371
  });
24620
- singletonMap$8.set(id, p);
25372
+ singletonMap$9.set(id, p);
24621
25373
  }
24622
- return singletonMap$8.get(id);
25374
+ return singletonMap$9.get(id);
24623
25375
  };
24624
25376
  var skxUtils = {
24625
25377
  getAllGoods: getAllGoods
@@ -24688,11 +25440,21 @@ var IdInputSelect = function IdInputSelect(props) {
24688
25440
  _useState6 = _slicedToArray(_useState5, 2),
24689
25441
  spinning = _useState6[0],
24690
25442
  setSpinning = _useState6[1];
24691
- var tradeIdRef = useRef('');
24692
- var _useState7 = useState([]),
25443
+ var divRef = useRef(null);
25444
+ var _useState7 = useState(340),
24693
25445
  _useState8 = _slicedToArray(_useState7, 2),
24694
- dataSource = _useState8[0],
24695
- setDataSource = _useState8[1];
25446
+ width = _useState8[0],
25447
+ setWidth = _useState8[1];
25448
+ var tradeIdRef = useRef('');
25449
+ var _useState9 = useState([]),
25450
+ _useState10 = _slicedToArray(_useState9, 2),
25451
+ dataSource = _useState10[0],
25452
+ setDataSource = _useState10[1];
25453
+ useEffect(function () {
25454
+ if (!divRef.current) return;
25455
+ var measuredWidth = divRef.current.offsetWidth;
25456
+ setWidth(measuredWidth);
25457
+ }, []);
24696
25458
  //当外部数据源变化时更新内部状态;
24697
25459
  useEffect(function () {
24698
25460
  if (popoverVisible) {
@@ -24745,7 +25507,7 @@ var IdInputSelect = function IdInputSelect(props) {
24745
25507
  spinning: spinning
24746
25508
  }, /*#__PURE__*/React.createElement("div", {
24747
25509
  style: {
24748
- minWidth: 500,
25510
+ width: typeof width === 'number' ? width - 30 : 320,
24749
25511
  maxHeight: 400,
24750
25512
  minHeight: 36,
24751
25513
  overflow: 'auto'
@@ -24758,21 +25520,27 @@ var IdInputSelect = function IdInputSelect(props) {
24758
25520
  }
24759
25521
  }, typeMap$6[type].notDataText), dataSource && dataSource.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
24760
25522
  style: {
24761
- display: 'grid',
24762
- gridTemplateColumns: '1fr 1fr',
24763
- gap: '16px',
24764
- padding: '8px 16px',
25523
+ display: 'flex',
25524
+ padding: '8px 12px',
24765
25525
  fontWeight: 500,
24766
25526
  color: '#333'
24767
25527
  }
24768
- }, /*#__PURE__*/React.createElement("div", null, typeMap$6[type].columnHeaders.leftColumn.label), /*#__PURE__*/React.createElement("div", null, typeMap$6[type].columnHeaders.rightColumn.label)), dataSource.map(function (group) {
25528
+ }, /*#__PURE__*/React.createElement("div", {
25529
+ style: {
25530
+ flex: 1
25531
+ }
25532
+ }, typeMap$6[type].columnHeaders.leftColumn.label), /*#__PURE__*/React.createElement("div", {
25533
+ style: {
25534
+ flex: 1
25535
+ }
25536
+ }, typeMap$6[type].columnHeaders.rightColumn.label)), dataSource.map(function (group) {
24769
25537
  return /*#__PURE__*/React.createElement("div", {
24770
25538
  key: group[typeMap$6[type].key]
24771
25539
  }, /*#__PURE__*/React.createElement("div", {
24772
25540
  style: {
24773
25541
  display: 'flex',
24774
25542
  alignItems: 'center',
24775
- padding: '10px 16px',
25543
+ padding: '8px 12px',
24776
25544
  backgroundColor: '#f5f5f4'
24777
25545
  }
24778
25546
  }, /*#__PURE__*/React.createElement(Checkbox, {
@@ -24796,12 +25564,20 @@ var IdInputSelect = function IdInputSelect(props) {
24796
25564
  return /*#__PURE__*/React.createElement("div", {
24797
25565
  key: "".concat(group[typeMap$6[type].key], "-").concat(itemIndex),
24798
25566
  style: {
24799
- display: 'grid',
24800
- gridTemplateColumns: '1fr 1fr',
24801
- gap: '16px',
24802
- padding: '10px 16px 10px 44px'
25567
+ padding: '8px 12px',
25568
+ display: 'flex'
24803
25569
  }
24804
- }, /*#__PURE__*/React.createElement("div", null, item[typeMap$6[type].columnHeaders.leftColumn.value]), /*#__PURE__*/React.createElement("div", null, item[typeMap$6[type].columnHeaders.rightColumn.value]));
25570
+ }, /*#__PURE__*/React.createElement("div", {
25571
+ style: {
25572
+ flex: 1,
25573
+ wordBreak: 'break-all'
25574
+ }
25575
+ }, item[typeMap$6[type].columnHeaders.leftColumn.value]), /*#__PURE__*/React.createElement("div", {
25576
+ style: {
25577
+ flex: 1,
25578
+ wordBreak: 'break-all'
25579
+ }
25580
+ }, item[typeMap$6[type].columnHeaders.rightColumn.value]));
24805
25581
  }));
24806
25582
  }))));
24807
25583
  };
@@ -24810,7 +25586,9 @@ var IdInputSelect = function IdInputSelect(props) {
24810
25586
  // 关闭浮窗
24811
25587
  setPopoverVisible(false);
24812
25588
  };
24813
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Input, {
25589
+ return /*#__PURE__*/React.createElement("div", {
25590
+ ref: divRef
25591
+ }, /*#__PURE__*/React.createElement(Input, {
24814
25592
  placeholder: typeMap$6[type].placeholder,
24815
25593
  disabled: disabled,
24816
25594
  value: inputValue,
@@ -24904,4 +25682,4 @@ var SkxGoods = function SkxGoods(props) {
24904
25682
  }));
24905
25683
  };
24906
25684
 
24907
- 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$7 as getJyColumns, getColumns$6 as getKmColumns, getColumns$8 as getSkxColumns, getColumns$2 as getWdtColumns, getColumns$3 as getWlnColumns, skxUtils };
25685
+ 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$7 as getJyColumns, getColumns$6 as getKmColumns, getColumns$8 as getSkxColumns, getColumns$2 as getWdtColumns, getColumns$3 as getWlnColumns, orderSubFormConstants, skxUtils };