@kmkf-fe-packages/basic-components 2.0.19-beta.6 → 2.0.19-beta.60

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,9 +1,9 @@
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, Popover, Table, Tabs, ConfigProvider, Pagination, Typography } from 'antd';
3
- import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } from '@ant-design/icons';
3
+ import { EyeOutlined, DeleteOutlined, CloseOutlined, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, MinusCircleFilled } 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, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, 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, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, jstMergeIdenticalGoods, msgTypeCh } from '@kmkf-fe-packages/kmkf-utils';
6
+ import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, servers, 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, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog } from '@kmkf-fe-packages/kmkf-utils';
7
7
  import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, cloneDeep, difference, differenceWith, takeRight, reject, isEmpty, intersection, uniqBy } from 'lodash';
8
8
  import { useUpdateEffect, useDebounceEffect, useAntdTable } from 'ahooks';
9
9
  import zhCN from 'antd/lib/locale/zh_CN';
@@ -1176,10 +1176,296 @@ var ApaasUploadAsync = function ApaasUploadAsync(_ref, ref) {
1176
1176
  };
1177
1177
  var index = /*#__PURE__*/forwardRef(ApaasUploadAsync);
1178
1178
 
1179
- var css_248z$2 = ".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";
1180
- var styles$2 = {"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"};
1179
+ 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 padding: 8px;\n margin-bottom: 8px;\n margin-right: 8px;\n border-radius: 5px;\n background-color: rgba(240, 241, 242, 0.72);\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo:hover {\n background: transparent;\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 margin-right: 8px;\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_imageProOperate__1hFcg {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n margin-top: 8px;\n}\n.index-module_imageProBox__1u84Y .index-module_imageProWrap__sx8lo .index-module_deleteIcon__2LWG9 {\n color: #1890ff;\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_imagePaste__1A8C5 {\n display: inline-block;\n margin-right: 8px;\n}\n.index-module_imageProBox__1u84Y .index-module_imagePaste__1A8C5 .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 padding-top: 16px;\n}\n.index-module_imageProBox__1u84Y .index-module_imagePaste__1A8C5 .index-module_fakeBox__3EXNG .index-module_addBtn__1Dv95 {\n color: #86909C;\n}\n.index-module_imageProBox__1u84Y .index-module_upload__2nwd8 .ant-upload {\n height: 105px;\n width: 105px;\n border: none;\n background-color: #F2F3F5;\n color: #86909C;\n}\n.index-module_imageProBox__1u84Y .index-module_upload__2nwd8 .ant-upload .index-module_addBtn__1Dv95 {\n color: #86909C;\n}\n.index-module_tips__z9Yjd {\n color: #4E5969;\n font-size: 12px;\n}\n";
1180
+ 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","imageProOperate":"index-module_imageProOperate__1hFcg","deleteIcon":"index-module_deleteIcon__2LWG9","actions":"index-module_actions__3Wwry","icon":"index-module_icon__3oJ-1","imagePaste":"index-module_imagePaste__1A8C5","fakeBox":"index-module_fakeBox__3EXNG","addBtn":"index-module_addBtn__1Dv95","upload":"index-module_upload__2nwd8","tips":"index-module_tips__z9Yjd"};
1181
1181
  styleInject(css_248z$2);
1182
1182
 
1183
+ var _excluded$7 = ["maxCount", "maxSize", "uploadText", "onChange", "value", "accept", "canPreview", "disabled", "uniqueKey", "hostUrl", "actionUrl", "platform"];
1184
+ var TextArea = Input.TextArea;
1185
+ var fn$2 = function fn() {
1186
+ return void 0;
1187
+ };
1188
+ var ApaasUploadProAsync = function ApaasUploadProAsync(_ref, ref) {
1189
+ var _document;
1190
+ var _ref$maxCount = _ref.maxCount,
1191
+ maxCount = _ref$maxCount === void 0 ? 20 : _ref$maxCount,
1192
+ _ref$maxSize = _ref.maxSize,
1193
+ maxSize = _ref$maxSize === void 0 ? 10 : _ref$maxSize,
1194
+ _ref$uploadText = _ref.uploadText,
1195
+ uploadText = _ref$uploadText === void 0 ? '上传' : _ref$uploadText,
1196
+ _ref$onChange = _ref.onChange,
1197
+ onChange = _ref$onChange === void 0 ? fn$2 : _ref$onChange,
1198
+ _ref$value = _ref.value,
1199
+ value = _ref$value === void 0 ? [] : _ref$value,
1200
+ _ref$accept = _ref.accept,
1201
+ accept = _ref$accept === void 0 ? 'image/gif,image/jpg,image/jpeg,image/png' : _ref$accept,
1202
+ _ref$canPreview = _ref.canPreview,
1203
+ _ref$disabled = _ref.disabled,
1204
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
1205
+ uniqueKey = _ref.uniqueKey,
1206
+ _ref$hostUrl = _ref.hostUrl,
1207
+ hostUrl = _ref$hostUrl === void 0 ? '' : _ref$hostUrl,
1208
+ _ref$actionUrl = _ref.actionUrl,
1209
+ actionUrl = _ref$actionUrl === void 0 ? '/qy/common/uploadWorkOrderImg' : _ref$actionUrl,
1210
+ _ref$platform = _ref.platform,
1211
+ platform = _ref$platform === void 0 ? '' : _ref$platform,
1212
+ resetProps = _objectWithoutProperties(_ref, _excluded$7);
1213
+ var inputRef = useRef(null);
1214
+ var valueRef = useRef(value);
1215
+ var _useState = useState(false),
1216
+ _useState2 = _slicedToArray(_useState, 2),
1217
+ uploading = _useState2[0],
1218
+ setUploading = _useState2[1];
1219
+ var _useState3 = useState(true),
1220
+ _useState4 = _slicedToArray(_useState3, 2),
1221
+ pasteDefaultStates = _useState4[0],
1222
+ setPasteDefaultStates = _useState4[1];
1223
+ var preview = platform === 'ks' ? {
1224
+ getContainer: (_document = document) === null || _document === void 0 ? void 0 : _document.getElementById('root')
1225
+ } : true;
1226
+ useEffect(function () {
1227
+ valueRef.current = value;
1228
+ }, [value]);
1229
+ var asyncUpload = /*#__PURE__*/function () {
1230
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1231
+ var _valueRef$current;
1232
+ var formData, fileName, showName, _yield$request, success, data;
1233
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
1234
+ while (1) switch (_context.prev = _context.next) {
1235
+ case 0:
1236
+ setUploading(true);
1237
+ formData = new FormData();
1238
+ formData.append('file', file);
1239
+ fileName = "".concat(uniqueKey, "_").concat(((_valueRef$current = valueRef.current) === null || _valueRef$current === void 0 ? void 0 : _valueRef$current.length) + 1, "_").concat(new Date().getTime(), ".jpg");
1240
+ formData.append('fileName', fileName);
1241
+ showName = file.name.substring(0, file.name.lastIndexOf('.'));
1242
+ _context.prev = 6;
1243
+ _context.next = 9;
1244
+ return request(actionUrl, {
1245
+ method: 'post',
1246
+ body: formData
1247
+ });
1248
+ case 9:
1249
+ _yield$request = _context.sent;
1250
+ success = _yield$request.success;
1251
+ data = _yield$request.data;
1252
+ if (success) {
1253
+ handleChange([].concat(_toConsumableArray(valueRef.current), [{
1254
+ url: data,
1255
+ name: showName
1256
+ }]));
1257
+ }
1258
+ _context.next = 18;
1259
+ break;
1260
+ case 15:
1261
+ _context.prev = 15;
1262
+ _context.t0 = _context["catch"](6);
1263
+ message.error('图片上传失败');
1264
+ case 18:
1265
+ _context.prev = 18;
1266
+ setUploading(false);
1267
+ return _context.finish(18);
1268
+ case 21:
1269
+ case "end":
1270
+ return _context.stop();
1271
+ }
1272
+ }, _callee, null, [[6, 15, 18, 21]]);
1273
+ }));
1274
+ return function asyncUpload(_x) {
1275
+ return _ref2.apply(this, arguments);
1276
+ };
1277
+ }();
1278
+ var imgReader = function imgReader(item) {
1279
+ var blob = item.getAsFile(),
1280
+ reader = new FileReader();
1281
+ if (blob.size > maxSize * 1024 * 1024) {
1282
+ message.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(maxSize, "MB"));
1283
+ return;
1284
+ }
1285
+ if (valueRef.current.length >= maxCount) {
1286
+ message.error("\u53EA\u80FD\u4E0A\u4F20".concat(maxCount, "\u5F20\u56FE\u7247"));
1287
+ return;
1288
+ }
1289
+ reader.onload = /*#__PURE__*/function () {
1290
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(e) {
1291
+ var _e$target, _valueRef$current2;
1292
+ var result, fileName, file;
1293
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1294
+ while (1) switch (_context2.prev = _context2.next) {
1295
+ case 0:
1296
+ result = e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.result;
1297
+ fileName = "".concat(uniqueKey, "_").concat(((_valueRef$current2 = valueRef.current) === null || _valueRef$current2 === void 0 ? void 0 : _valueRef$current2.length) + 1, "_").concat(new Date().getTime(), ".jpg");
1298
+ file = dataURLtoFile(result, fileName);
1299
+ asyncUpload(file);
1300
+ case 4:
1301
+ case "end":
1302
+ return _context2.stop();
1303
+ }
1304
+ }, _callee2);
1305
+ }));
1306
+ return function (_x2) {
1307
+ return _ref3.apply(this, arguments);
1308
+ };
1309
+ }();
1310
+ reader.readAsDataURL(blob);
1311
+ };
1312
+ var handleChange = function handleChange(list) {
1313
+ valueRef.current = list;
1314
+ onChange(list);
1315
+ };
1316
+ var clipboardDataChange = function clipboardDataChange(e) {
1317
+ var clipboardData = e.clipboardData || window.clipboardData;
1318
+ var i = 0,
1319
+ items,
1320
+ item,
1321
+ types;
1322
+ if (clipboardData) {
1323
+ items = clipboardData.items;
1324
+ if (!items) return;
1325
+ item = items[0];
1326
+ types = clipboardData.types || [];
1327
+ for (; i < types.length; i++) {
1328
+ if (types[i] === 'Files') {
1329
+ item = items[i];
1330
+ break;
1331
+ }
1332
+ }
1333
+ if (item && item.kind === 'file' && item.type.match(/^image\//i)) {
1334
+ imgReader(item);
1335
+ }
1336
+ }
1337
+ };
1338
+ // 手动上传模式, 一直返回false
1339
+ var beforeUpload = function beforeUpload(file) {
1340
+ var size = file.size / 1024 / 1024 < maxSize;
1341
+ if (value.length > maxCount) {
1342
+ message.error("\u6700\u591A\u6DFB\u52A0".concat(maxCount, "\u5F20\u56FE\u7247\uFF01"));
1343
+ return Upload.LIST_IGNORE;
1344
+ }
1345
+ if (!size) {
1346
+ message.error("\u56FE\u7247\u4E0D\u80FD\u5927\u4E8E".concat(maxSize, "MB"));
1347
+ return Upload.LIST_IGNORE;
1348
+ }
1349
+ asyncUpload(file);
1350
+ return Upload.LIST_IGNORE;
1351
+ };
1352
+ var handleDelete = function handleDelete(key) {
1353
+ return function () {
1354
+ if (disabled) return;
1355
+ handleChange(value.filter(function (_, index) {
1356
+ return key !== index;
1357
+ }));
1358
+ };
1359
+ };
1360
+ var renderImages = function renderImages(images) {
1361
+ return /*#__PURE__*/React.createElement(Image.PreviewGroup, {
1362
+ preview: preview
1363
+ }, images.map(function (image, index) {
1364
+ var finalImage = "".concat(/^pic\/[\s\S]*$/.test(image.url) ? "".concat(hostUrl, "/").concat(image.url) : image.url, "?x-oss-process=image/resize,h_60,w_60");
1365
+ var showImage = /^pic\/[\s\S]*$/.test(image.url) ? "".concat(hostUrl, "/").concat(image.url) : image.url;
1366
+ return /*#__PURE__*/React.createElement("div", {
1367
+ className: styles$2.imageProWrap,
1368
+ key: index
1369
+ }, /*#__PURE__*/React.createElement("div", {
1370
+ className: styles$2.imageProInfo
1371
+ }, /*#__PURE__*/React.createElement(Image, {
1372
+ src: finalImage,
1373
+ preview: {
1374
+ src: showImage
1375
+ },
1376
+ width: '100%',
1377
+ height: '100%'
1378
+ })), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(TextArea, {
1379
+ value: image.name,
1380
+ onChange: function onChange(e) {
1381
+ handleChange(value.map(function (item, i) {
1382
+ if (index === i) {
1383
+ return _objectSpread2(_objectSpread2({}, item), {}, {
1384
+ name: e.target.value
1385
+ });
1386
+ }
1387
+ return item;
1388
+ }));
1389
+ },
1390
+ placeholder: "\u8BF7\u8F93\u5165\u56FE\u7247\u63CF\u8FF0",
1391
+ autoSize: {
1392
+ minRows: 2,
1393
+ maxRows: 2
1394
+ },
1395
+ maxLength: 1000
1396
+ }), /*#__PURE__*/React.createElement("div", {
1397
+ className: styles$2.imageProOperate
1398
+ }, /*#__PURE__*/React.createElement(CloseOutlined, {
1399
+ className: styles$2.deleteIcon,
1400
+ onClick: handleDelete(index)
1401
+ }))));
1402
+ }));
1403
+ };
1404
+ useEffect(function () {
1405
+ var _inputRef$current2;
1406
+ if (!pasteDefaultStates) {
1407
+ var _inputRef$current;
1408
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
1409
+ }
1410
+ (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.addEventListener('paste', function (e) {
1411
+ return clipboardDataChange(e);
1412
+ });
1413
+ return function () {
1414
+ var _inputRef$current3;
1415
+ (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.removeEventListener('paste', function (e) {
1416
+ return clipboardDataChange(e);
1417
+ });
1418
+ };
1419
+ }, [pasteDefaultStates]);
1420
+ useImperativeHandle(ref, function () {
1421
+ return {
1422
+ taskCompleted: !uploading
1423
+ };
1424
+ }, [uploading]);
1425
+ return /*#__PURE__*/React.createElement(Spin, {
1426
+ spinning: uploading
1427
+ }, /*#__PURE__*/React.createElement("p", {
1428
+ className: styles$2.tips
1429
+ }, "\u5141\u8BB8\u4E0A\u4F20", maxCount, "\u5F20\u56FE\u7247"), /*#__PURE__*/React.createElement("div", {
1430
+ className: styles$2.imageProBox
1431
+ }, !disabled && /*#__PURE__*/React.createElement("div", {
1432
+ className: styles$2.imagePaste
1433
+ }, pasteDefaultStates ? /*#__PURE__*/React.createElement("div", {
1434
+ className: styles$2.fakeBox,
1435
+ onClick: function onClick() {
1436
+ setPasteDefaultStates(false);
1437
+ }
1438
+ }, /*#__PURE__*/React.createElement("span", {
1439
+ className: styles$2.addBtn
1440
+ }, "+"), /*#__PURE__*/React.createElement("p", {
1441
+ className: styles$2.text
1442
+ }, "\u590D\u5236\u7C98\u8D34")) : /*#__PURE__*/React.createElement("input", {
1443
+ ref: inputRef,
1444
+ className: styles$2.inputImage,
1445
+ type: "text",
1446
+ placeholder: "\u590D\u5236\u7C98\u8D34",
1447
+ onBlur: function onBlur() {
1448
+ setPasteDefaultStates(true);
1449
+ },
1450
+ value: ""
1451
+ })), /*#__PURE__*/React.createElement(Upload, _objectSpread2({
1452
+ disabled: disabled,
1453
+ accept: accept,
1454
+ name: "file",
1455
+ listType: "picture-card",
1456
+ maxCount: maxCount,
1457
+ className: styles$2.upload,
1458
+ beforeUpload: beforeUpload
1459
+ }, resetProps), value.length >= maxCount ? null : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
1460
+ className: "addBtn"
1461
+ }, "+"), /*#__PURE__*/React.createElement("div", null, uploadText))), renderImages(value)));
1462
+ };
1463
+ var index$1 = /*#__PURE__*/forwardRef(ApaasUploadProAsync);
1464
+
1465
+ 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";
1466
+ 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"};
1467
+ styleInject(css_248z$3);
1468
+
1183
1469
  //! moment.js
1184
1470
  //! version : 2.29.4
1185
1471
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -6856,9 +7142,9 @@ hooks.HTML5_FMT = {
6856
7142
  MONTH: 'YYYY-MM', // <input type="month" />
6857
7143
  };
6858
7144
 
6859
- var _excluded$7 = ["maxCount", "maxSize", "onChange", "value", "accept", "disabled", "hostUrl", "canDownload", "actionUrl", "platform"];
7145
+ var _excluded$8 = ["maxCount", "maxSize", "onChange", "value", "accept", "disabled", "hostUrl", "canDownload", "actionUrl", "platform"];
6860
7146
  var Dragger = Upload.Dragger;
6861
- var fn$2 = function fn() {
7147
+ var fn$3 = function fn() {
6862
7148
  return void 0;
6863
7149
  };
6864
7150
  var ApaasUploadFile = function ApaasUploadFile(_ref) {
@@ -6867,7 +7153,7 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
6867
7153
  _ref$maxSize = _ref.maxSize,
6868
7154
  maxSize = _ref$maxSize === void 0 ? 100 : _ref$maxSize,
6869
7155
  _ref$onChange = _ref.onChange,
6870
- onChange = _ref$onChange === void 0 ? fn$2 : _ref$onChange,
7156
+ onChange = _ref$onChange === void 0 ? fn$3 : _ref$onChange,
6871
7157
  _ref$value = _ref.value,
6872
7158
  value = _ref$value === void 0 ? [] : _ref$value,
6873
7159
  _ref$accept = _ref.accept,
@@ -6881,7 +7167,7 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
6881
7167
  _ref$actionUrl = _ref.actionUrl,
6882
7168
  actionUrl = _ref$actionUrl === void 0 ? '/qy/common/uploadWorkOrderImg' : _ref$actionUrl,
6883
7169
  _ref$platform = _ref.platform,
6884
- resetProps = _objectWithoutProperties(_ref, _excluded$7);
7170
+ resetProps = _objectWithoutProperties(_ref, _excluded$8);
6885
7171
  var inputRef = useRef(null);
6886
7172
  var _useState = useState(false),
6887
7173
  _useState2 = _slicedToArray(_useState, 2),
@@ -7111,23 +7397,23 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
7111
7397
  return /*#__PURE__*/React.createElement(Spin, {
7112
7398
  spinning: uploading
7113
7399
  }, /*#__PURE__*/React.createElement("p", {
7114
- className: styles$2.tips
7400
+ className: styles$3.tips
7115
7401
  }, "\u5141\u8BB8\u4E0A\u4F20", maxCount, "\u4E2A\u6587\u4EF6"), /*#__PURE__*/React.createElement("div", {
7116
- className: styles$2.imageBox
7402
+ className: styles$3.imageBox
7117
7403
  }, !disabled && /*#__PURE__*/React.createElement("div", {
7118
- className: styles$2.imagePaste
7404
+ className: styles$3.imagePaste
7119
7405
  }, pasteDefaultStates ? /*#__PURE__*/React.createElement("div", {
7120
- className: styles$2.fakeBox,
7406
+ className: styles$3.fakeBox,
7121
7407
  onClick: function onClick() {
7122
7408
  setPasteDefaultStates(false);
7123
7409
  }
7124
7410
  }, /*#__PURE__*/React.createElement("span", {
7125
- className: styles$2.addBtn
7411
+ className: styles$3.addBtn
7126
7412
  }, "+"), /*#__PURE__*/React.createElement("p", {
7127
- className: styles$2.text
7413
+ className: styles$3.text
7128
7414
  }, "\u590D\u5236\u7C98\u8D34")) : /*#__PURE__*/React.createElement("input", {
7129
7415
  ref: inputRef,
7130
- className: styles$2.inputImage,
7416
+ className: styles$3.inputImage,
7131
7417
  type: "text",
7132
7418
  placeholder: "\u590D\u5236\u7C98\u8D34",
7133
7419
  onBlur: function onBlur() {
@@ -7145,9 +7431,9 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
7145
7431
  fileList: fileList,
7146
7432
  onRemove: onRemove
7147
7433
  }, resetProps), /*#__PURE__*/React.createElement("span", {
7148
- className: styles$2.addBtn
7434
+ className: styles$3.addBtn
7149
7435
  }, "+"), /*#__PURE__*/React.createElement("p", {
7150
- className: styles$2.addBtn
7436
+ className: styles$3.addBtn
7151
7437
  }, "\u9009\u62E9\u6587\u4EF6")), /*#__PURE__*/React.createElement(Modal, {
7152
7438
  visible: visible,
7153
7439
  title: fileName,
@@ -7182,7 +7468,7 @@ var ApaasUploadFile = function ApaasUploadFile(_ref) {
7182
7468
  }))));
7183
7469
  };
7184
7470
 
7185
- var _excluded$8 = ["showOther", "horizontal", "options", "value", "onChange", "disabled"];
7471
+ var _excluded$9 = ["showOther", "horizontal", "options", "value", "onChange", "disabled"];
7186
7472
  function ApaasCheckbox(props) {
7187
7473
  var showOther = props.showOther,
7188
7474
  _props$horizontal = props.horizontal,
@@ -7193,7 +7479,7 @@ function ApaasCheckbox(props) {
7193
7479
  value = _props$value === void 0 ? {} : _props$value,
7194
7480
  onChange = props.onChange,
7195
7481
  disabled = props.disabled,
7196
- otherProps = _objectWithoutProperties(props, _excluded$8);
7482
+ otherProps = _objectWithoutProperties(props, _excluded$9);
7197
7483
  var checkboxValue = value.value,
7198
7484
  other = value.other;
7199
7485
  var triggerChange = function triggerChange(changedValue) {
@@ -7279,11 +7565,11 @@ function ApaasSlider(props) {
7279
7565
  })));
7280
7566
  }
7281
7567
 
7282
- var css_248z$3 = ".index-module_rateLabel__3k-Xa {\n margin-right: 8px;\n}\n.index-module_rateText__A1GRy {\n margin-left: 8px;\n}\n";
7283
- var styles$3 = {"rateLabel":"index-module_rateLabel__3k-Xa","rateText":"index-module_rateText__A1GRy"};
7284
- styleInject(css_248z$3);
7568
+ var css_248z$4 = ".index-module_rateLabel__3k-Xa {\n margin-right: 8px;\n}\n.index-module_rateText__A1GRy {\n margin-left: 8px;\n}\n";
7569
+ var styles$4 = {"rateLabel":"index-module_rateLabel__3k-Xa","rateText":"index-module_rateText__A1GRy"};
7570
+ styleInject(css_248z$4);
7285
7571
 
7286
- var _excluded$9 = ["value", "onChange", "options", "textStyle"];
7572
+ var _excluded$a = ["value", "onChange", "options", "textStyle"];
7287
7573
  //状态文字映射
7288
7574
  var RATE_MAP = {
7289
7575
  0: '',
@@ -7305,7 +7591,7 @@ function ApaasRate(props) {
7305
7591
  _props$options = props.options,
7306
7592
  options = _props$options === void 0 ? [] : _props$options,
7307
7593
  textStyle = props.textStyle,
7308
- other = _objectWithoutProperties(props, _excluded$9);
7594
+ other = _objectWithoutProperties(props, _excluded$a);
7309
7595
  var rateValues = useMemo(function () {
7310
7596
  return (value || []).reduce(function (prv, next) {
7311
7597
  prv[next.id || ''] = next.value;
@@ -7341,14 +7627,14 @@ function ApaasRate(props) {
7341
7627
  }, /*#__PURE__*/React.createElement(Col, {
7342
7628
  span: 24
7343
7629
  }, /*#__PURE__*/React.createElement("span", {
7344
- className: styles$3.rateLabel
7630
+ className: styles$4.rateLabel
7345
7631
  }, item === null || item === void 0 ? void 0 : item.name), /*#__PURE__*/React.createElement(Rate, _objectSpread2(_objectSpread2({}, other), {}, {
7346
7632
  value: rateValues[item.id] || 0,
7347
7633
  onChange: function onChange(val) {
7348
7634
  return changeHandle(val, item.id);
7349
7635
  }
7350
7636
  })), /*#__PURE__*/React.createElement("span", {
7351
- className: styles$3.rateText,
7637
+ className: styles$4.rateText,
7352
7638
  style: textStyle
7353
7639
  }, RATE_MAP[rateValues[item.id]])));
7354
7640
  }));
@@ -7373,7 +7659,7 @@ var Province = function Province(props) {
7373
7659
  })));
7374
7660
  };
7375
7661
 
7376
- var TextArea = Input.TextArea;
7662
+ var TextArea$1 = Input.TextArea;
7377
7663
  var ParseLogistics = function ParseLogistics(props) {
7378
7664
  var onChange = props.onChange,
7379
7665
  _props$selfCalibratio = props.selfCalibration,
@@ -7422,7 +7708,7 @@ var ParseLogistics = function ParseLogistics(props) {
7422
7708
  handleIdentify(val);
7423
7709
  }
7424
7710
  };
7425
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(TextArea, {
7711
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(TextArea$1, {
7426
7712
  placeholder: "\u590D\u5236\u4FE1\u606F\uFF0C\u70B9\u51FB\u667A\u80FD\u8BC6\u522B",
7427
7713
  rows: 3,
7428
7714
  value: value,
@@ -7549,14 +7835,14 @@ function ApaasPosting(props) {
7549
7835
  });
7550
7836
  }
7551
7837
 
7552
- var _excluded$a = ["value", "onChange", "platformType", "type"];
7838
+ var _excluded$b = ["value", "onChange", "platformType", "type"];
7553
7839
  function ApaasLogistics(props) {
7554
7840
  var value = props.value,
7555
7841
  onChange = props.onChange,
7556
7842
  platformType = props.platformType,
7557
7843
  _props$type = props.type,
7558
7844
  type = _props$type === void 0 ? 'select' : _props$type,
7559
- other = _objectWithoutProperties(props, _excluded$a);
7845
+ other = _objectWithoutProperties(props, _excluded$b);
7560
7846
  var _useState = useState([]),
7561
7847
  _useState2 = _slicedToArray(_useState, 2),
7562
7848
  option = _useState2[0],
@@ -7601,7 +7887,7 @@ function ApaasLogistics(props) {
7601
7887
  }));
7602
7888
  }
7603
7889
 
7604
- var _excluded$b = ["label", "name", "extra", "required", "rules", "initialValue"];
7890
+ var _excluded$c = ["label", "name", "extra", "required", "rules", "initialValue"];
7605
7891
  function withFormItem(WrappedComponent) {
7606
7892
  return function (props) {
7607
7893
  var label = props.label,
@@ -7610,7 +7896,7 @@ function withFormItem(WrappedComponent) {
7610
7896
  required = props.required,
7611
7897
  rules = props.rules,
7612
7898
  initialValue = props.initialValue,
7613
- otherProps = _objectWithoutProperties(props, _excluded$b);
7899
+ otherProps = _objectWithoutProperties(props, _excluded$c);
7614
7900
  return /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({}, {
7615
7901
  label: label,
7616
7902
  name: name,
@@ -7960,6 +8246,9 @@ var SubForm = function SubForm(props) {
7960
8246
  value: selectKey,
7961
8247
  onChange: setSelectKey
7962
8248
  }), /*#__PURE__*/React.createElement(Popover, {
8249
+ getPopupContainer: function getPopupContainer(triggerNode) {
8250
+ return triggerNode.parentElement;
8251
+ },
7963
8252
  content: /*#__PURE__*/React.createElement("div", {
7964
8253
  ref: ref,
7965
8254
  onScrollCapture: onScrollCapture,
@@ -8016,6 +8305,33 @@ var SubForm = function SubForm(props) {
8016
8305
  }));
8017
8306
  };
8018
8307
 
8308
+ function CopyTextIcon(_ref) {
8309
+ var val = _ref.val;
8310
+ return /*#__PURE__*/React.createElement("div", {
8311
+ style: {
8312
+ display: 'flex',
8313
+ alignItems: 'center',
8314
+ justifyContent: 'center'
8315
+ }
8316
+ }, /*#__PURE__*/React.createElement("span", {
8317
+ style: {
8318
+ marginRight: 8,
8319
+ overflow: 'hidden',
8320
+ textOverflow: 'ellipsis',
8321
+ whiteSpace: 'nowrap'
8322
+ }
8323
+ }, val), /*#__PURE__*/React.createElement(CopyToClipboard, {
8324
+ text: val,
8325
+ onCopy: function onCopy() {
8326
+ message.success('复制成功');
8327
+ }
8328
+ }, /*#__PURE__*/React.createElement(CopyOutlined, {
8329
+ style: {
8330
+ color: '#1890ff'
8331
+ }
8332
+ })));
8333
+ }
8334
+
8019
8335
  var BuyerNick = function BuyerNick(props) {
8020
8336
  var _props$value = props.value,
8021
8337
  value = _props$value === void 0 ? {} : _props$value,
@@ -8158,7 +8474,7 @@ var trade4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVzn
8158
8474
 
8159
8475
  var trade5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0MUVBOUVCQjIzQUIxMUU0QUZCMkFCQ0QzMzVDM0ZDMCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0MUVBOUVCQzIzQUIxMUU0QUZCMkFCQ0QzMzVDM0ZDMCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjQxRUE5RUI5MjNBQjExRTRBRkIyQUJDRDMzNUMzRkMwIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjQxRUE5RUJBMjNBQjExRTRBRkIyQUJDRDMzNUMzRkMwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+xU6hIgAAAPdJREFUeNqM0M9KAlEUx/E7MoF/WoiIoCslCyIXIgS5alMgvoJvIPgCbXwWobYuJVqVgeCmVSAyxGgE1dJVicH1e/AMDSLqgQ935nJ+d+4Z57bofxljOjhEEwuM0VU+csg0vHzf5SGCGkZmVQcoqRt8SDMGuJbmHk7gwWooWOXAPOIo3x1PUhJ4RFRP/jb/ZUOk0jiXwLNuFkLXWq8gdCmBKV5R0WGlnA2k6hEm/9NrHWGGoQ7b1vneQ1/6cfXhAS38ymc5ZB50MGiS5RQxvDjWWtnM8vImv47mK7OlZAZD06ekcUE4vTOgdY8EqvsGnnQ92xZYCjAAxxw+q99X1uIAAAAASUVORK5CYII=";
8160
8476
 
8161
- var TextArea$1 = Input.TextArea;
8477
+ var TextArea$2 = Input.TextArea;
8162
8478
  var imgList = [trade0, trade1, trade2, trade3, trade4, trade5];
8163
8479
  var RemarkInput = function RemarkInput(props) {
8164
8480
  var isShowFlag = props.isShowFlag,
@@ -8177,7 +8493,7 @@ var RemarkInput = function RemarkInput(props) {
8177
8493
  });
8178
8494
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
8179
8495
  };
8180
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TextArea$1, {
8496
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TextArea$2, {
8181
8497
  disabled: disabled,
8182
8498
  rows: 4,
8183
8499
  value: value === null || value === void 0 ? void 0 : value.remark,
@@ -8201,8 +8517,8 @@ var RemarkInput = function RemarkInput(props) {
8201
8517
  })));
8202
8518
  };
8203
8519
 
8204
- var css_248z$4 = ".mb8 {\n margin-bottom: 8px;\n}\n";
8205
- styleInject(css_248z$4);
8520
+ var css_248z$5 = ".mb8 {\n margin-bottom: 8px;\n}\n";
8521
+ styleInject(css_248z$5);
8206
8522
 
8207
8523
  var Logistics = function Logistics(props) {
8208
8524
  var options = props.options,
@@ -8256,7 +8572,7 @@ var Logistics = function Logistics(props) {
8256
8572
  return /*#__PURE__*/React.createElement(Input, {
8257
8573
  disabled: disabled,
8258
8574
  placeholder: "\u7269\u6D41\u5355\u53F7",
8259
- className: css_248z$4.logisticsInput,
8575
+ className: css_248z$5.logisticsInput,
8260
8576
  onChange: handleInputChange,
8261
8577
  value: value === null || value === void 0 ? void 0 : value.order,
8262
8578
  onBlur: function onBlur(e) {
@@ -8265,7 +8581,7 @@ var Logistics = function Logistics(props) {
8265
8581
  });
8266
8582
  };
8267
8583
  return /*#__PURE__*/React.createElement("div", {
8268
- className: css_248z$4.logistics
8584
+ className: css_248z$5.logistics
8269
8585
  }, isSingle ? showField === 'EXPRESS_COMPANY' ? LogisticsCompany() : null : LogisticsCompany(), isSingle ? showField === 'EXPRESS_WAYBILL_CODE' ? LogisticsCode() : null : LogisticsCode());
8270
8586
  };
8271
8587
 
@@ -8302,8 +8618,8 @@ var AliPay = function AliPay(props) {
8302
8618
  })));
8303
8619
  };
8304
8620
 
8305
- var css_248z$5 = ".goodsBox {\n display: flex;\n flex-wrap: wrap;\n}\n.goodsBox .goodBox-Img {\n width: 80px;\n margin: 0 10px 10px 0;\n}\n.goodsBox .right-context {\n font-size: 12px;\n}\n.goodsBox .right-context .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.goodsBox .right-context .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.goodsBox.goodsBox-item-horizontal--box {\n flex-direction: row;\n width: auto;\n}\n.goods-imgBox {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 10px 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n.goods-imgBox .add-btn {\n color: #86909c;\n}\n.goods-imgBox .text {\n color: #86909c;\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.searchBox {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n margin-bottom: 10px;\n}\n.searchBox .search {\n width: 150px;\n margin-left: 6px;\n}\n.deg90 {\n transform: rotate(90deg);\n}\n.goodsMain {\n display: flex;\n flex-wrap: wrap;\n height: 400px;\n overflow-y: auto;\n margin-bottom: 10px;\n}\n.goodsMain .goodItem {\n width: 142px;\n height: 184px;\n padding: 7px;\n margin: 0 16px 16px 0;\n border-radius: 4px;\n background: #ffffff;\n box-sizing: border-box;\n /* 主题色/常规 */\n border: 1px solid #c9cdd4;\n}\n.goodsMain .goodItem .goodImg {\n width: 128px;\n height: 128px;\n border-radius: 4px;\n overflow: hidden;\n}\n.goodsMain .goodItem .goodImg img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.goodsMain .goodItem .goodText {\n text-align: center;\n font-size: 12px;\n color: #4e5969;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.goodsMain .goodItem .goodPrice {\n text-align: center;\n font-size: 14px;\n color: #1d2129;\n}\n.goodsMain .goodItem.active {\n border: 1px solid #1b5bf3;\n}\n@media screen and (max-width: 500px) {\n .goodsMain {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 8px;\n height: 300px;\n }\n .goodsMain .goodItem {\n height: 126px;\n width: 83px;\n padding: 4px;\n margin: 0;\n border-radius: 4px;\n background: #FFFFFF;\n box-sizing: border-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n }\n .goodsMain .goodItem .goodImg {\n width: 98%;\n height: 77px;\n }\n .goodsMain .goodItem .goodText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .goodsMain .goodItem.active {\n border: 1px solid #3089dc;\n }\n .searchBox {\n display: flex;\n flex-wrap: wrap;\n justify-content: initial;\n }\n .searchBox .classify {\n width: 120px;\n }\n .goodModal .ant-modal-body {\n padding: 8px;\n }\n}\n.goods-uploaded-count {\n color: #ff3638;\n}\n.footer {\n display: flex;\n justify-content: flex-end;\n}\n.right-context {\n display: flex;\n flex-direction: column;\n}\n.right-context .info-row {\n width: 80px;\n display: flex;\n align-items: center;\n padding: 0px 8px;\n border-radius: 2px;\n cursor: pointer;\n background: #f2f3f5;\n margin-bottom: 4px;\n}\n.right-context .info-row > div {\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n word-break: break-all;\n}\n.sphPagination {\n display: flex;\n align-items: center;\n}\n.sphPagination .shpBtn {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 8px;\n height: 32px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n cursor: pointer;\n margin: 0 8px;\n}\n.sphPagination .shpBtn.unCursor {\n color: #eee;\n cursor: not-allowed;\n}\n";
8306
- styleInject(css_248z$5);
8621
+ var css_248z$6 = ".goodsBox {\n display: flex;\n flex-wrap: wrap;\n}\n.goodsBox .goodBox-Img {\n width: 80px;\n margin: 0 10px 10px 0;\n}\n.goodsBox .right-context {\n font-size: 12px;\n}\n.goodsBox .right-context .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.goodsBox .right-context .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.goodsBox.goodsBox-item-horizontal--box {\n flex-direction: row;\n width: auto;\n}\n.goods-imgBox {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 10px 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n.goods-imgBox .add-btn {\n color: #86909c;\n}\n.goods-imgBox .text {\n color: #86909c;\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.searchBox {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n margin-bottom: 10px;\n}\n.searchBox .search {\n width: 150px;\n margin-left: 6px;\n}\n.deg90 {\n transform: rotate(90deg);\n}\n.goodsMain {\n display: flex;\n flex-wrap: wrap;\n height: 400px;\n overflow-y: auto;\n margin-bottom: 10px;\n}\n.goodsMain .goodItem {\n width: 142px;\n height: 184px;\n padding: 7px;\n margin: 0 16px 16px 0;\n border-radius: 4px;\n background: #ffffff;\n box-sizing: border-box;\n /* 主题色/常规 */\n border: 1px solid #c9cdd4;\n}\n.goodsMain .goodItem .goodImg {\n width: 128px;\n height: 128px;\n border-radius: 4px;\n overflow: hidden;\n}\n.goodsMain .goodItem .goodImg img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.goodsMain .goodItem .goodText {\n text-align: center;\n font-size: 12px;\n color: #4e5969;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.goodsMain .goodItem .goodPrice {\n text-align: center;\n font-size: 14px;\n color: #1d2129;\n}\n.goodsMain .goodItem.active {\n border: 1px solid #1b5bf3;\n}\n@media screen and (max-width: 500px) {\n .goodsMain {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 8px;\n height: 300px;\n }\n .goodsMain .goodItem {\n height: 126px;\n width: 83px;\n padding: 4px;\n margin: 0;\n border-radius: 4px;\n background: #FFFFFF;\n box-sizing: border-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n }\n .goodsMain .goodItem .goodImg {\n width: 98%;\n height: 77px;\n }\n .goodsMain .goodItem .goodText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .goodsMain .goodItem.active {\n border: 1px solid #3089dc;\n }\n .searchBox {\n display: flex;\n flex-wrap: wrap;\n justify-content: initial;\n }\n .searchBox .classify {\n width: 120px;\n }\n .goodModal .ant-modal-body {\n padding: 8px;\n }\n}\n.goods-uploaded-count {\n color: #ff3638;\n}\n.footer {\n display: flex;\n justify-content: flex-end;\n}\n.right-context {\n display: flex;\n flex-direction: column;\n}\n.right-context .info-row {\n width: 80px;\n display: flex;\n align-items: center;\n padding: 0px 8px;\n border-radius: 2px;\n cursor: pointer;\n background: #f2f3f5;\n margin-bottom: 4px;\n}\n.right-context .info-row > div {\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n word-break: break-all;\n}\n.sphPagination {\n display: flex;\n align-items: center;\n}\n.sphPagination .shpBtn {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 8px;\n height: 32px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n cursor: pointer;\n margin: 0 8px;\n}\n.sphPagination .shpBtn.unCursor {\n color: #eee;\n cursor: not-allowed;\n}\n";
8622
+ styleInject(css_248z$6);
8307
8623
 
8308
8624
  var defaultImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAOKADAAQAAAABAAAAOAAAAAANV2hTAAACcklEQVRoBe1aa3OqMBBdlFatfVivnV7H29f//0md6XSc1hegKCCigE2c0YKtri7Rm3ayX0zCbjhnzyZEVBs53hx+seV+MbcFNUXwpyusFFQKSp4BVaKSC4TCUwqiKZLcQSkouUAoPKUgmiLJHZSCkguEwtNRjw0O8/kcTMuGWRhu8BAzfKLrUPtTAU3TSBOSCXqeD2bfJt1036BSqQjn5dK+YQt/8hoMo4h0Q0pQmKFKyAomgdZva1C5ukgOZW7bQwfaXTPzPEIIZkXBXnyBN/aBr7fq9SXkcuTC+gLlvxPkG5VhDVbAHHcMj/f1VT9rQ1yqiEj69jAVOQkC8CdBaixL5ygEB/YIhiM3C05y7EFLNGI7battgMvWF7d8Pv9lu69WrlIlWiwUoFQswHQ6I5NKBh6MIC+z93YPZrPPg0Cr04Onh8ZiM1mC4A/x09OT1CZDfagv50x+HoTgwHag2zNh/TeBKIoZaQMe/v1NnUzO2IP88qKcxCWsLXQNxnEMrY4BnW/ILRH7/mRVkvy4x/2fX5osxgLeF23CFAzYmnlv9SCYTlGMVn8IMVOTx4wZYW58IwrDCBr1m5S66GSIgxCCLjuXdg0L4nh3BQbspLJujutB8y2Cu8bt+iVyX0iJcmD7kNuGliv62mwD34FFmBAFRQBJzsHL3DDxUk/GbGoLUXDT5FnGdy/27XeRluB22LtfVQR3z5WcnmQFdXauPJbp7Hsi1ciRZfaOpFatHOWlU/msSOUHmvobCTl3cgSS16Ac8HEUiiCeI7k9lIJy64OjUwriOZLbQykotz44OqUgniO5PZSCcuuDo1MK4jmS2+MD4RXMNiaoge4AAAAASUVORK5CYII=";
8309
8625
 
@@ -9357,8 +9673,8 @@ var ChooseBaby = function ChooseBaby(props) {
9357
9673
  }));
9358
9674
  };
9359
9675
 
9360
- var css_248z$6 = "#goods-wrap.goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-pic,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n#goods-wrap .good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n#goods-wrap .good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n#goods-wrap .good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n#goods-wrap .good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n#goods-wrap .good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n#goods-wrap .good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n#goods-wrap .good-item.rich-item .good-attrs div {\n display: flex;\n}\n#goods-wrap .good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
9361
- styleInject(css_248z$6);
9676
+ var css_248z$7 = "#goods-wrap.goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-pic,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n#goods-wrap .good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n#goods-wrap .good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n#goods-wrap .good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n#goods-wrap .good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n#goods-wrap .good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n#goods-wrap .good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n#goods-wrap .good-item.rich-item .good-attrs div {\n display: flex;\n}\n#goods-wrap .good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
9677
+ styleInject(css_248z$7);
9362
9678
 
9363
9679
  var GoodItem = function GoodItem(props) {
9364
9680
  var _props$isSingleRow = props.isSingleRow,
@@ -9796,8 +10112,8 @@ var Supplier = function Supplier(props) {
9796
10112
  }));
9797
10113
  };
9798
10114
 
9799
- var css_248z$7 = ".cardBox {\n position: absolute;\n z-index: 1;\n border: 1px solid #e6e6e6;\n background-color: #fff;\n color: #303133;\n border-radius: 4px;\n overflow: auto;\n height: 200px;\n cursor: pointer;\n}\n.cardBox .cardli {\n padding: 7px 13px;\n width: 332px;\n}\n.cardBox .cardli:hover {\n background-color: #f5f7fa;\n}\n.cardBox .cardText {\n font-size: 14px;\n color: #333;\n margin: 0;\n padding: 0;\n line-height: 26px;\n}\n.cardBox .c-f60 {\n color: #f60;\n}\n.btn-discern {\n margin-left: 10px;\n height: 24px;\n font-size: 12px;\n color: #1B5BF3;\n border-color: #1B5BF3;\n padding: 0;\n}\n";
9800
- styleInject(css_248z$7);
10115
+ var css_248z$8 = ".cardBox {\n position: absolute;\n z-index: 1;\n border: 1px solid #e6e6e6;\n background-color: #fff;\n color: #303133;\n border-radius: 4px;\n overflow: auto;\n height: 200px;\n cursor: pointer;\n}\n.cardBox .cardli {\n padding: 7px 13px;\n width: 332px;\n}\n.cardBox .cardli:hover {\n background-color: #f5f7fa;\n}\n.cardBox .cardText {\n font-size: 14px;\n color: #333;\n margin: 0;\n padding: 0;\n line-height: 26px;\n}\n.cardBox .c-f60 {\n color: #f60;\n}\n.btn-discern {\n margin-left: 10px;\n height: 24px;\n font-size: 12px;\n color: #1B5BF3;\n border-color: #1B5BF3;\n padding: 0;\n}\n";
10116
+ styleInject(css_248z$8);
9801
10117
 
9802
10118
  var Invoice = function Invoice(props) {
9803
10119
  var _props$value = props.value,
@@ -10228,8 +10544,8 @@ var Payment = function Payment(props) {
10228
10544
  }));
10229
10545
  };
10230
10546
 
10231
- var css_248z$8 = ".interceptBox :global(.ant-select-item-option-content) {\n overflow: auto !important;\n white-space: initial !important;\n}\n";
10232
- styleInject(css_248z$8);
10547
+ var css_248z$9 = ".interceptBox :global(.ant-select-item-option-content) {\n overflow: auto !important;\n white-space: initial !important;\n}\n";
10548
+ styleInject(css_248z$9);
10233
10549
 
10234
10550
  var Item = Form.Item;
10235
10551
  var LogisticsInterception = function LogisticsInterception(props) {
@@ -10341,8 +10657,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
10341
10657
  var showKcode = useMemo(function () {
10342
10658
  var isShow = false;
10343
10659
  if (value === null || value === void 0 ? void 0 : value.interceptCompany) {
10344
- var _value$interceptCompa, _value$interceptCompa2;
10345
- isShow = (value === null || value === void 0 ? void 0 : (_value$interceptCompa = value.interceptCompany) === null || _value$interceptCompa === void 0 ? void 0 : _value$interceptCompa.indexOf('YT')) > -1 || (value === null || value === void 0 ? void 0 : (_value$interceptCompa2 = value.interceptCompany) === null || _value$interceptCompa2 === void 0 ? void 0 : _value$interceptCompa2.indexOf('CP468398')) > -1;
10660
+ var _value$interceptCompa;
10661
+ isShow = (value === null || value === void 0 ? void 0 : (_value$interceptCompa = value.interceptCompany) === null || _value$interceptCompa === void 0 ? void 0 : _value$interceptCompa.indexOf('YTO')) > -1;
10346
10662
  }
10347
10663
  return isShow;
10348
10664
  }, [value === null || value === void 0 ? void 0 : value.interceptCompany]);
@@ -10481,7 +10797,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
10481
10797
  }
10482
10798
  };
10483
10799
  return /*#__PURE__*/React.createElement("div", {
10484
- className: css_248z$8.interceptBox
10800
+ className: css_248z$9.interceptBox
10485
10801
  }, /*#__PURE__*/React.createElement(Item, {
10486
10802
  label: '物流信息',
10487
10803
  required: required,
@@ -10538,11 +10854,14 @@ var LogisticsInterception = function LogisticsInterception(props) {
10538
10854
  })), /*#__PURE__*/React.createElement(Item, {
10539
10855
  key: 'interceptLogisticsUserSecretKey',
10540
10856
  hidden: !showKcode,
10541
- noStyle: true
10857
+ label: /*#__PURE__*/React.createElement("span", {
10858
+ style: {
10859
+ opacity: 0
10860
+ }
10861
+ }, "\u517C\u5BB9\u98DE\u9E3D\u6837\u5F0F")
10542
10862
  }, /*#__PURE__*/React.createElement(Input, {
10543
10863
  style: {
10544
- width: platform === 'pc' ? 200 : 150,
10545
- marginTop: '6px'
10864
+ width: platform === 'pc' ? 200 : 130
10546
10865
  },
10547
10866
  placeholder: "\u5BA2\u6237\u5BC6\u94A5",
10548
10867
  disabled: true,
@@ -11294,8 +11613,8 @@ var jstGoods = function jstGoods(props) {
11294
11613
  })) : null) : null);
11295
11614
  };
11296
11615
 
11297
- var css_248z$9 = ".jstGoodsBox {\n display: flex;\n flex-wrap: wrap;\n}\n.jstGoodsBox .goodBox-Img {\n width: 80px;\n margin: 0 10px 10px 0;\n}\n.jstGoodsBox .right-context {\n font-size: 12px;\n}\n.jstGoodsBox .right-context .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.jstGoodsBox .right-context .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.jstGoodsBox.goodsBox-item-horizontal--box {\n flex-direction: row;\n width: auto;\n}\n.jstimgBox {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 10px 0;\n text-align: center;\n background-color: #f2f3f5;\n display: flex;\n justify-items: center;\n align-items: center;\n}\n.jstimgBox .add-btn {\n color: #86909c;\n}\n.jstimgBox .text {\n color: #86909c;\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.searchBox {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n margin-bottom: 10px;\n}\n.searchBox .search {\n width: 150px;\n margin-left: 6px;\n}\n.deg90 {\n transform: rotate(90deg);\n}\n.goodsMain {\n display: flex;\n flex-wrap: wrap;\n height: 400px;\n overflow-y: auto;\n margin-bottom: 10px;\n}\n.goodsMain .goodItem {\n width: 142px;\n height: 184px;\n padding: 7px;\n margin: 0 16px 16px 0;\n border-radius: 4px;\n background: #ffffff;\n box-sizing: border-box;\n /* 主题色/常规 */\n border: 1px solid #c9cdd4;\n}\n.goodsMain .goodItem .goodImg {\n width: 128px;\n height: 128px;\n border-radius: 4px;\n overflow: hidden;\n}\n.goodsMain .goodItem .goodImg img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.goodsMain .goodItem .goodText {\n text-align: center;\n font-size: 12px;\n color: #4e5969;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.goodsMain .goodItem .goodPrice {\n text-align: center;\n font-size: 14px;\n color: #1d2129;\n}\n.goodsMain .goodItem.active {\n border: 1px solid #1b5bf3;\n}\n@media screen and (max-width: 500px) {\n .goodsMain {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 8px;\n height: 300px;\n }\n .goodsMain .goodItem {\n height: 126px;\n width: 83px;\n padding: 4px;\n margin: 0;\n border-radius: 4px;\n background: #FFFFFF;\n box-sizing: border-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n }\n .goodsMain .goodItem .goodImg {\n width: 98%;\n height: 77px;\n }\n .goodsMain .goodItem .goodText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .goodsMain .goodItem.active {\n border: 1px solid #3089dc;\n }\n .searchBox {\n display: flex;\n flex-wrap: wrap;\n justify-content: initial;\n }\n .searchBox .classify {\n width: 120px;\n }\n .goodModal .ant-modal-body {\n padding: 8px;\n }\n}\n.goods-uploaded-count {\n color: #ff3638;\n}\n.footer {\n display: flex;\n justify-content: flex-end;\n}\n.right-context {\n display: flex;\n flex-direction: column;\n}\n.right-context .info-row {\n width: 80px;\n display: flex;\n align-items: center;\n padding: 0px 8px;\n border-radius: 2px;\n cursor: pointer;\n background: #f2f3f5;\n margin-bottom: 4px;\n}\n.right-context .info-row > div {\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n word-break: break-all;\n}\n.sphPagination {\n display: flex;\n align-items: center;\n}\n.sphPagination .shpBtn {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 8px;\n height: 32px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n cursor: pointer;\n margin: 0 8px;\n}\n.sphPagination .shpBtn.unCursor {\n color: #eee;\n cursor: not-allowed;\n}\n";
11298
- styleInject(css_248z$9);
11616
+ var css_248z$a = ".jstGoodsBox {\n display: flex;\n flex-wrap: wrap;\n}\n.jstGoodsBox .goodBox-Img {\n width: 80px;\n margin: 0 10px 10px 0;\n}\n.jstGoodsBox .right-context {\n font-size: 12px;\n}\n.jstGoodsBox .right-context .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.jstGoodsBox .right-context .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n.jstGoodsBox.goodsBox-item-horizontal--box {\n flex-direction: row;\n width: auto;\n}\n.jstimgBox {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 10px 0;\n text-align: center;\n background-color: #f2f3f5;\n display: flex;\n justify-items: center;\n align-items: center;\n}\n.jstimgBox .add-btn {\n color: #86909c;\n}\n.jstimgBox .text {\n color: #86909c;\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.searchBox {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n margin-bottom: 10px;\n}\n.searchBox .search {\n width: 150px;\n margin-left: 6px;\n}\n.deg90 {\n transform: rotate(90deg);\n}\n.goodsMain {\n display: flex;\n flex-wrap: wrap;\n height: 400px;\n overflow-y: auto;\n margin-bottom: 10px;\n}\n.goodsMain .goodItem {\n width: 142px;\n height: 184px;\n padding: 7px;\n margin: 0 16px 16px 0;\n border-radius: 4px;\n background: #ffffff;\n box-sizing: border-box;\n /* 主题色/常规 */\n border: 1px solid #c9cdd4;\n}\n.goodsMain .goodItem .goodImg {\n width: 128px;\n height: 128px;\n border-radius: 4px;\n overflow: hidden;\n}\n.goodsMain .goodItem .goodImg img {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.goodsMain .goodItem .goodText {\n text-align: center;\n font-size: 12px;\n color: #4e5969;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.goodsMain .goodItem .goodPrice {\n text-align: center;\n font-size: 14px;\n color: #1d2129;\n}\n.goodsMain .goodItem.active {\n border: 1px solid #1b5bf3;\n}\n@media screen and (max-width: 500px) {\n .goodsMain {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n grid-gap: 8px;\n height: 300px;\n }\n .goodsMain .goodItem {\n height: 126px;\n width: 83px;\n padding: 4px;\n margin: 0;\n border-radius: 4px;\n background: #FFFFFF;\n box-sizing: border-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n }\n .goodsMain .goodItem .goodImg {\n width: 98%;\n height: 77px;\n }\n .goodsMain .goodItem .goodText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .goodsMain .goodItem.active {\n border: 1px solid #3089dc;\n }\n .searchBox {\n display: flex;\n flex-wrap: wrap;\n justify-content: initial;\n }\n .searchBox .classify {\n width: 120px;\n }\n .goodModal .ant-modal-body {\n padding: 8px;\n }\n}\n.goods-uploaded-count {\n color: #ff3638;\n}\n.footer {\n display: flex;\n justify-content: flex-end;\n}\n.right-context {\n display: flex;\n flex-direction: column;\n}\n.right-context .info-row {\n width: 80px;\n display: flex;\n align-items: center;\n padding: 0px 8px;\n border-radius: 2px;\n cursor: pointer;\n background: #f2f3f5;\n margin-bottom: 4px;\n}\n.right-context .info-row > div {\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n word-break: break-all;\n}\n.sphPagination {\n display: flex;\n align-items: center;\n}\n.sphPagination .shpBtn {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 8px;\n height: 32px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n cursor: pointer;\n margin: 0 8px;\n}\n.sphPagination .shpBtn.unCursor {\n color: #eee;\n cursor: not-allowed;\n}\n";
11617
+ styleInject(css_248z$a);
11299
11618
 
11300
11619
  var ItemList = function ItemList(props) {
11301
11620
  var _props$value = props.value,
@@ -11368,7 +11687,7 @@ var ItemList = function ItemList(props) {
11368
11687
  }, "\u6682\u4E0D\u652F\u6301\u6DFB\u52A0")) : null);
11369
11688
  };
11370
11689
 
11371
- var _excluded$c = ["shopId"];
11690
+ var _excluded$d = ["shopId"];
11372
11691
  var columns = [{
11373
11692
  dataIndex: 'index',
11374
11693
  title: 'NO',
@@ -11593,7 +11912,7 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
11593
11912
  };
11594
11913
  var onFinish = function onFinish(val) {
11595
11914
  var shopId = val.shopId,
11596
- other = _objectWithoutProperties(val, _excluded$c);
11915
+ other = _objectWithoutProperties(val, _excluded$d);
11597
11916
  var value = other;
11598
11917
  var newFilterList = [];
11599
11918
  var hasValue = Object.values(value).some(function (t) {
@@ -13186,29 +13505,29 @@ var GoodList$3 = function GoodList(props, ref) {
13186
13505
  fixed: true,
13187
13506
  onSelect: function onSelect(record, selected) {
13188
13507
  if (selected) {
13189
- setSelectIds([].concat(_toConsumableArray(selectIds), [record.specNo]));
13508
+ setSelectIds([].concat(_toConsumableArray(selectIds), [record.id]));
13190
13509
  setSelect([].concat(_toConsumableArray(selectList), [record]));
13191
13510
  } else {
13192
13511
  setSelectIds(selectIds.filter(function (t) {
13193
- return t !== record.specNo;
13512
+ return t !== record.id;
13194
13513
  }));
13195
13514
  setSelect(selectList.filter(function (t) {
13196
- return t.specNo !== record.specNo;
13515
+ return t.id !== record.id;
13197
13516
  }));
13198
13517
  }
13199
13518
  },
13200
13519
  onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
13201
13520
  if (selected) {
13202
13521
  setSelectIds([].concat(_toConsumableArray(selectIds), _toConsumableArray(changeRows.map(function (t) {
13203
- return t.specNo;
13522
+ return t.id;
13204
13523
  }))));
13205
13524
  setSelect([].concat(_toConsumableArray(selectList), _toConsumableArray(changeRows)));
13206
13525
  } else {
13207
13526
  setSelectIds(difference(selectIds, changeRows.map(function (t) {
13208
- return t.specNo;
13527
+ return t.id;
13209
13528
  })));
13210
13529
  var list = differenceWith(selectList, changeRows, function (arrVal, othVal) {
13211
- return arrVal.specNo !== othVal.specNo;
13530
+ return arrVal.id !== othVal.id;
13212
13531
  });
13213
13532
  setSelect(list);
13214
13533
  }
@@ -13217,10 +13536,10 @@ var GoodList$3 = function GoodList(props, ref) {
13217
13536
  var showTable = function showTable() {
13218
13537
  var handleDelete = function handleDelete(record) {
13219
13538
  setSelectIds(selectIds.filter(function (t) {
13220
- return t !== record.specNo;
13539
+ return t !== record.id;
13221
13540
  }));
13222
13541
  setSelect(selectList.filter(function (t) {
13223
- return t.specNo !== record.specNo;
13542
+ return t.id !== record.id;
13224
13543
  }));
13225
13544
  };
13226
13545
  var showColumns = [{
@@ -13244,7 +13563,7 @@ var GoodList$3 = function GoodList(props, ref) {
13244
13563
  }
13245
13564
  }, /*#__PURE__*/React.createElement(Table, {
13246
13565
  columns: showColumns,
13247
- rowKey: 'specNo',
13566
+ rowKey: 'id',
13248
13567
  dataSource: selectList,
13249
13568
  scroll: {
13250
13569
  x: '100%',
@@ -13264,7 +13583,7 @@ var GoodList$3 = function GoodList(props, ref) {
13264
13583
  }
13265
13584
  }, /*#__PURE__*/React.createElement(Table, _objectSpread2({
13266
13585
  rowSelection: rowSelection,
13267
- rowKey: "specNo",
13586
+ rowKey: "id",
13268
13587
  columns: columns$4,
13269
13588
  scroll: {
13270
13589
  x: '100%',
@@ -13780,7 +14099,12 @@ var getColumns$2 = function getColumns(_ref) {
13780
14099
  }, {
13781
14100
  dataIndex: 'goodName',
13782
14101
  title: "\u5546\u54C1\u540D\u79F0",
13783
- width: 200
14102
+ width: 200,
14103
+ render: function render(text) {
14104
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14105
+ val: text
14106
+ });
14107
+ }
13784
14108
  }, {
13785
14109
  dataIndex: 'specId',
13786
14110
  title: "SKUID",
@@ -13792,10 +14116,18 @@ var getColumns$2 = function getColumns(_ref) {
13792
14116
  }, {
13793
14117
  dataIndex: 'specName',
13794
14118
  title: "\u5546\u54C1SKU\u540D\u79F0",
13795
- width: 250
14119
+ width: 250,
14120
+ render: function render(text) {
14121
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14122
+ val: text
14123
+ });
14124
+ }
13796
14125
  }, {
13797
14126
  dataIndex: 'orderPrice',
13798
- title: "\u5B9E\u4ED8\u603B\u91D1\u989D",
14127
+ title: "\u6210\u4EA4\u603B\u91D1\u989D",
14128
+ render: function render(val, record) {
14129
+ return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
14130
+ },
13799
14131
  width: 200
13800
14132
  }, {
13801
14133
  dataIndex: 'num',
@@ -13828,8 +14160,12 @@ var getColumns$2 = function getColumns(_ref) {
13828
14160
  dataIndex: 'goodName',
13829
14161
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
13830
14162
  align: 'center',
13831
- ellipsis: true,
13832
- width: 250
14163
+ width: 250,
14164
+ render: function render(text) {
14165
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14166
+ val: text
14167
+ });
14168
+ }
13833
14169
  }, {
13834
14170
  dataIndex: 'specId',
13835
14171
  title: "".concat(text, "SKUID"),
@@ -13846,14 +14182,21 @@ var getColumns$2 = function getColumns(_ref) {
13846
14182
  dataIndex: 'specName',
13847
14183
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
13848
14184
  align: 'center',
13849
- ellipsis: true,
13850
- width: 250
14185
+ width: 250,
14186
+ render: function render(text) {
14187
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14188
+ val: text
14189
+ });
14190
+ }
13851
14191
  }, {
13852
14192
  dataIndex: 'orderPrice',
13853
- title: "\u5B9E\u4ED8\u603B\u91D1\u989D",
14193
+ title: "\u6210\u4EA4\u603B\u91D1\u989D",
13854
14194
  align: 'center',
13855
14195
  ellipsis: true,
13856
- width: 100
14196
+ width: 100,
14197
+ render: function render(val, record) {
14198
+ return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
14199
+ }
13857
14200
  }, {
13858
14201
  dataIndex: 'num',
13859
14202
  title: "".concat(text, "\u6570\u91CF"),
@@ -13915,8 +14258,12 @@ var getColumns$2 = function getColumns(_ref) {
13915
14258
  dataIndex: 'goodName',
13916
14259
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
13917
14260
  align: 'center',
13918
- ellipsis: true,
13919
- width: 250
14261
+ width: 250,
14262
+ render: function render(text) {
14263
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14264
+ val: text
14265
+ });
14266
+ }
13920
14267
  }, {
13921
14268
  dataIndex: 'specId',
13922
14269
  title: "".concat(text, "SKUID"),
@@ -13933,8 +14280,12 @@ var getColumns$2 = function getColumns(_ref) {
13933
14280
  dataIndex: 'specName',
13934
14281
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
13935
14282
  align: 'center',
13936
- ellipsis: true,
13937
- width: 250
14283
+ width: 250,
14284
+ render: function render(text) {
14285
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14286
+ val: text
14287
+ });
14288
+ }
13938
14289
  }, {
13939
14290
  dataIndex: 'num',
13940
14291
  title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
@@ -14039,8 +14390,12 @@ var getColumns$2 = function getColumns(_ref) {
14039
14390
  dataIndex: 'goodName',
14040
14391
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
14041
14392
  align: 'center',
14042
- ellipsis: true,
14043
- width: 250
14393
+ width: 250,
14394
+ render: function render(text) {
14395
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14396
+ val: text
14397
+ });
14398
+ }
14044
14399
  }, {
14045
14400
  dataIndex: 'specId',
14046
14401
  title: "".concat(text, "SKUID"),
@@ -14057,8 +14412,12 @@ var getColumns$2 = function getColumns(_ref) {
14057
14412
  dataIndex: 'specName',
14058
14413
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
14059
14414
  align: 'center',
14060
- ellipsis: true,
14061
- width: 250
14415
+ width: 250,
14416
+ render: function render(text) {
14417
+ return /*#__PURE__*/React.createElement(CopyTextIcon, {
14418
+ val: text
14419
+ });
14420
+ }
14062
14421
  }, {
14063
14422
  dataIndex: 'num',
14064
14423
  title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
@@ -14149,6 +14508,10 @@ var getColumns$2 = function getColumns(_ref) {
14149
14508
  };
14150
14509
  };
14151
14510
 
14511
+ var getYesOrNo = function getYesOrNo(val) {
14512
+ if (isNull(val)) return null;
14513
+ return val ? '是' : '否';
14514
+ };
14152
14515
  var getColumns$3 = function getColumns(_ref) {
14153
14516
  var _ref$text = _ref.text,
14154
14517
  text = _ref$text === void 0 ? '' : _ref$text,
@@ -14157,26 +14520,50 @@ var getColumns$3 = function getColumns(_ref) {
14157
14520
  return {
14158
14521
  //万里牛商品信息
14159
14522
  WLN_GOODS: [{
14523
+ dataIndex: 'wlnItemName',
14524
+ title: "\u5546\u54C1\u540D\u79F0",
14525
+ align: 'center',
14526
+ ellipsis: true,
14527
+ width: 250
14528
+ }, {
14529
+ dataIndex: 'goodsCode',
14530
+ title: "\u5546\u54C1\u7F16\u7801",
14531
+ align: 'center',
14532
+ ellipsis: true,
14533
+ width: 250
14534
+ }, {
14535
+ dataIndex: 'skuCode',
14536
+ title: "sku\u7F16\u7801",
14537
+ align: 'center',
14538
+ ellipsis: true,
14539
+ width: 250
14540
+ }, {
14160
14541
  dataIndex: 'skuName',
14161
- title: "".concat(text, "sku\u540D\u79F0"),
14542
+ title: "\u7EBF\u4E0Asku\u540D\u79F0",
14162
14543
  align: 'center',
14163
14544
  ellipsis: true,
14164
14545
  width: 250
14546
+ }, {
14547
+ dataIndex: 'olnSkuCode',
14548
+ title: "\u7EBF\u4E0Asku\u7F16\u7801",
14549
+ align: 'center',
14550
+ ellipsis: true,
14551
+ width: 150
14165
14552
  }, {
14166
14553
  dataIndex: 'sku',
14167
- title: "".concat(text, "sku\u7F16\u7801"),
14554
+ title: "\u7EBF\u4E0Asku id",
14168
14555
  align: 'center',
14169
14556
  ellipsis: true,
14170
- width: 100
14557
+ width: 150
14171
14558
  }, {
14172
14559
  dataIndex: 'name',
14173
- title: "".concat(text, "\u540D\u79F0"),
14560
+ title: "\u7EBF\u4E0A\u5546\u54C1\u540D\u79F0",
14174
14561
  align: 'center',
14175
14562
  ellipsis: true,
14176
14563
  width: 250
14177
14564
  }, {
14178
14565
  dataIndex: 'pic',
14179
- title: "\u56FE\u7247",
14566
+ title: "\u7EBF\u4E0A\u56FE\u7247",
14180
14567
  align: 'center',
14181
14568
  ellipsis: true,
14182
14569
  width: 100,
@@ -14186,12 +14573,24 @@ var getColumns$3 = function getColumns(_ref) {
14186
14573
  src: val
14187
14574
  });
14188
14575
  }
14576
+ }, {
14577
+ dataIndex: 'olnItemCOde',
14578
+ title: "\u7EBF\u4E0A\u5546\u54C1\u7F16\u7801",
14579
+ align: 'center',
14580
+ ellipsis: true,
14581
+ width: 150
14189
14582
  }, {
14190
14583
  dataIndex: 'code',
14191
- title: "".concat(text, "\u7F16\u7801"),
14584
+ title: "\u7EBF\u4E0A\u5546\u54C1id",
14192
14585
  align: 'center',
14193
14586
  ellipsis: true,
14194
- width: 100
14587
+ width: 150
14588
+ }, {
14589
+ dataIndex: 'barCode',
14590
+ title: "\u5546\u54C1\u6761\u7801",
14591
+ align: 'center',
14592
+ ellipsis: true,
14593
+ width: 150
14195
14594
  }, {
14196
14595
  dataIndex: 'money',
14197
14596
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -14219,7 +14618,7 @@ var getColumns$3 = function getColumns(_ref) {
14219
14618
  }
14220
14619
  }, {
14221
14620
  dataIndex: 'share',
14222
- title: "\u5206\u644A\u4EF7",
14621
+ title: "\u5E94\u6536\u6B3E",
14223
14622
  align: 'center',
14224
14623
  ellipsis: true,
14225
14624
  width: 70
@@ -14229,6 +14628,27 @@ var getColumns$3 = function getColumns(_ref) {
14229
14628
  align: 'center',
14230
14629
  ellipsis: true,
14231
14630
  width: 100
14631
+ }, {
14632
+ dataIndex: 'isPackage',
14633
+ title: "\u662F\u5426\u7EC4\u5408\u5546\u54C1",
14634
+ align: 'center',
14635
+ ellipsis: true,
14636
+ render: function render(val, record, index) {
14637
+ return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
14638
+ value: val,
14639
+ onChange: function onChange(value) {
14640
+ updateHandle(value, index, 'isGift');
14641
+ },
14642
+ options: [{
14643
+ label: '是',
14644
+ value: true
14645
+ }, {
14646
+ label: '否',
14647
+ value: false
14648
+ }]
14649
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14650
+ },
14651
+ width: 100
14232
14652
  }]
14233
14653
  };
14234
14654
  };
@@ -14238,7 +14658,7 @@ var isNumberOrNumberString = function isNumberOrNumberString(value) {
14238
14658
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
14239
14659
  return false;
14240
14660
  };
14241
- var getYesOrNo = function getYesOrNo(val) {
14661
+ var getYesOrNo$1 = function getYesOrNo(val) {
14242
14662
  if (isNull(val)) return null;
14243
14663
  return val ? '是' : '否';
14244
14664
  };
@@ -14339,7 +14759,7 @@ var getColumns$4 = function getColumns(_ref) {
14339
14759
  title: "\u662F\u5426\u53D6\u6D88",
14340
14760
  width: 150,
14341
14761
  render: function render(val) {
14342
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14762
+ return /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
14343
14763
  }
14344
14764
  }, {
14345
14765
  dataIndex: 'isGift',
@@ -14358,7 +14778,7 @@ var getColumns$4 = function getColumns(_ref) {
14358
14778
  label: '否',
14359
14779
  value: 0
14360
14780
  }]
14361
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14781
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
14362
14782
  }
14363
14783
  }, {
14364
14784
  dataIndex: 'skuNote',
@@ -14400,7 +14820,7 @@ var getColumns$4 = function getColumns(_ref) {
14400
14820
  title: "\u6570\u91CF",
14401
14821
  width: 100,
14402
14822
  render: function render(val, record, index) {
14403
- return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14823
+ return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14404
14824
  style: {
14405
14825
  width: 70
14406
14826
  },
@@ -14421,7 +14841,7 @@ var getColumns$4 = function getColumns(_ref) {
14421
14841
  title: "\u5B9E\u9645\u5355\u4EF7",
14422
14842
  width: 150,
14423
14843
  render: function render(val, record, index) {
14424
- return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14844
+ return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14425
14845
  style: {
14426
14846
  width: 130
14427
14847
  },
@@ -14465,7 +14885,7 @@ var getColumns$4 = function getColumns(_ref) {
14465
14885
  label: '否',
14466
14886
  value: 0
14467
14887
  }]
14468
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14888
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
14469
14889
  }
14470
14890
  }].map(function (item) {
14471
14891
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -14503,7 +14923,7 @@ var getColumns$4 = function getColumns(_ref) {
14503
14923
  title: "\u6570\u91CF",
14504
14924
  width: 100,
14505
14925
  render: function render(val, record, index) {
14506
- return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14926
+ return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14507
14927
  style: {
14508
14928
  width: 70
14509
14929
  },
@@ -14524,7 +14944,7 @@ var getColumns$4 = function getColumns(_ref) {
14524
14944
  title: "\u5B9E\u9645\u5355\u4EF7",
14525
14945
  width: 150,
14526
14946
  render: function render(val, record, index) {
14527
- return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14947
+ return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
14528
14948
  style: {
14529
14949
  width: 130
14530
14950
  },
@@ -14576,7 +14996,7 @@ var getColumns$4 = function getColumns(_ref) {
14576
14996
  label: '否',
14577
14997
  value: 0
14578
14998
  }]
14579
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14999
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
14580
15000
  }
14581
15001
  }].map(function (item) {
14582
15002
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -15304,6 +15724,29 @@ var getBsE3ReissueGoodColumns = function getBsE3ReissueGoodColumns(_ref4) {
15304
15724
  });
15305
15725
  };
15306
15726
 
15727
+ function HoverTableRowDeleteIcon(_ref) {
15728
+ var index = _ref.index,
15729
+ hoveredRowIndex = _ref.hoveredRowIndex,
15730
+ handleClick = _ref.handleClick;
15731
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
15732
+ style: {
15733
+ display: hoveredRowIndex === index ? 'none' : 'inline'
15734
+ }
15735
+ }, index + 1), /*#__PURE__*/React.createElement("span", {
15736
+ style: {
15737
+ cursor: 'pointer'
15738
+ },
15739
+ onClick: handleClick,
15740
+ title: "\u5220\u9664"
15741
+ }, /*#__PURE__*/React.createElement(MinusCircleFilled, {
15742
+ style: {
15743
+ fontSize: 18,
15744
+ color: '#1890ff',
15745
+ display: hoveredRowIndex === index ? 'inline' : 'none'
15746
+ }
15747
+ })));
15748
+ }
15749
+
15307
15750
  var GoodsModalMap = {
15308
15751
  WDT_REISSUE_GOODS: WdtGoodsModal,
15309
15752
  WDT_GOODS: WdtGoodsModal,
@@ -15414,6 +15857,8 @@ var GoodItem$1 = function GoodItem(props) {
15414
15857
  showErpGoodsBtn = _props$showErpGoodsBt === void 0 ? true : _props$showErpGoodsBt,
15415
15858
  _props$showModeBtn = props.showModeBtn,
15416
15859
  showModeBtn = _props$showModeBtn === void 0 ? false : _props$showModeBtn,
15860
+ _props$alwaysShowChoo = props.alwaysShowChooseErpGoodsBtn,
15861
+ alwaysShowChooseErpGoodsBtn = _props$alwaysShowChoo === void 0 ? false : _props$alwaysShowChoo,
15417
15862
  _props$isStrict = props.isStrict,
15418
15863
  isStrict = _props$isStrict === void 0 ? false : _props$isStrict,
15419
15864
  _props$tableSelect = props.tableSelect,
@@ -15449,6 +15894,10 @@ var GoodItem$1 = function GoodItem(props) {
15449
15894
  _useState4 = _slicedToArray(_useState3, 2),
15450
15895
  selectedRowKeys = _useState4[0],
15451
15896
  setSelectedRowKeys = _useState4[1];
15897
+ var _useState5 = useState(null),
15898
+ _useState6 = _slicedToArray(_useState5, 2),
15899
+ hoveredRowIndex = _useState6[0],
15900
+ setHoveredRowIndex = _useState6[1];
15452
15901
  useEffect(function () {
15453
15902
  setSelectedRowKeys([]);
15454
15903
  }, [tableSelect, selectType]);
@@ -15497,7 +15946,9 @@ var GoodItem$1 = function GoodItem(props) {
15497
15946
  };
15498
15947
  var COLUMNS_MAP = function COLUMNS_MAP() {
15499
15948
  var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
15500
- var columnsOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
15949
+ var columnsOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
15950
+ operate: true
15951
+ };
15501
15952
  return function (type) {
15502
15953
  var columns = [];
15503
15954
  switch (type) {
@@ -15584,7 +16035,13 @@ var GoodItem$1 = function GoodItem(props) {
15584
16035
  ellipsis: true,
15585
16036
  width: 50,
15586
16037
  render: function render(val, record, index) {
15587
- return /*#__PURE__*/React.createElement("span", null, index + 1);
16038
+ return /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
16039
+ index: index,
16040
+ hoveredRowIndex: !disabled && record.canDelete ? hoveredRowIndex : null,
16041
+ handleClick: function handleClick() {
16042
+ return handleDelete(record, index);
16043
+ }
16044
+ });
15588
16045
  }
15589
16046
  }].concat(_toConsumableArray(baseInfoColumns));
15590
16047
  if (!disabled) {
@@ -15605,7 +16062,7 @@ var GoodItem$1 = function GoodItem(props) {
15605
16062
  });
15606
16063
  }
15607
16064
  return columnList;
15608
- }, [showHeader, value, disabled]);
16065
+ }, [showHeader, value, disabled, hoveredRowIndex]);
15609
16066
  var orderColumns = useMemo(function () {
15610
16067
  var columns = COLUMNS_MAP('', {
15611
16068
  operate: false,
@@ -15766,7 +16223,7 @@ var GoodItem$1 = function GoodItem(props) {
15766
16223
  return params;
15767
16224
  }, [tableSelect, selectedRowKeys]);
15768
16225
  var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
15769
- return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && showChangeBtn && /*#__PURE__*/React.createElement("div", {
16226
+ return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && (showChangeBtn ? /*#__PURE__*/React.createElement("div", {
15770
16227
  style: {
15771
16228
  float: 'right'
15772
16229
  }
@@ -15783,7 +16240,14 @@ var GoodItem$1 = function GoodItem(props) {
15783
16240
  }), showErpGoodsBtn && /*#__PURE__*/React.createElement(Button, {
15784
16241
  type: "link",
15785
16242
  onClick: handleChangeGoods
15786
- }, getButtonText(type)), otherOperations), /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
16243
+ }, getButtonText(type)), otherOperations) : showErpGoodsBtn && alwaysShowChooseErpGoodsBtn && /*#__PURE__*/React.createElement("div", {
16244
+ style: {
16245
+ float: 'right'
16246
+ }
16247
+ }, /*#__PURE__*/React.createElement(Button, {
16248
+ type: "link",
16249
+ onClick: handleChangeGoods
16250
+ }, getButtonText(type)))), /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
15787
16251
  columns: newColumns,
15788
16252
  dataSource: value,
15789
16253
  rowKey: uniqueKey,
@@ -15794,6 +16258,16 @@ var GoodItem$1 = function GoodItem(props) {
15794
16258
  },
15795
16259
  locale: {
15796
16260
  emptyText: '暂无数据'
16261
+ },
16262
+ onRow: function onRow(_, index) {
16263
+ return {
16264
+ onMouseEnter: function onMouseEnter() {
16265
+ return setHoveredRowIndex(index);
16266
+ },
16267
+ onMouseLeave: function onMouseLeave() {
16268
+ return setHoveredRowIndex(null);
16269
+ }
16270
+ };
15797
16271
  }
15798
16272
  })), /*#__PURE__*/React.createElement(TheGoodsModal, {
15799
16273
  ref: refModal,
@@ -15817,11 +16291,12 @@ var BsGoods = function BsGoods(props) {
15817
16291
  setTableSelect = _useState2[1];
15818
16292
  var withInfo = useRef(null);
15819
16293
  var valueRef = useRef(null);
16294
+ var tokens = useRef([]);
15820
16295
  useEffect(function () {
15821
16296
  valueRef.current = value;
15822
16297
  }, [value]);
15823
16298
  useEffect(function () {
15824
- pubsub.subscribe('type', function (type, data) {
16299
+ tokens.current = [pubsub.subscribe('type', function (type, data) {
15825
16300
  if (disabled) return;
15826
16301
  // console.log(type, data);
15827
16302
  withInfo.current = {
@@ -15838,9 +16313,7 @@ var BsGoods = function BsGoods(props) {
15838
16313
  goodValue: data === null || data === void 0 ? void 0 : data.goodValue
15839
16314
  });
15840
16315
  }
15841
- });
15842
- //补发
15843
- pubsub.subscribe('reissueType', function (type, data) {
16316
+ }), pubsub.subscribe('reissueType', function (type, data) {
15844
16317
  if (disabled) return;
15845
16318
  withInfo.current = {
15846
16319
  type: type,
@@ -15860,9 +16333,7 @@ var BsGoods = function BsGoods(props) {
15860
16333
  goodValue: data === null || data === void 0 ? void 0 : data.goodValue
15861
16334
  });
15862
16335
  }
15863
- });
15864
- //退货
15865
- pubsub.subscribe('returnType', function (type, data) {
16336
+ }), pubsub.subscribe('returnType', function (type, data) {
15866
16337
  if (disabled) return;
15867
16338
  withInfo.current = {
15868
16339
  type: type,
@@ -15878,15 +16349,18 @@ var BsGoods = function BsGoods(props) {
15878
16349
  goodValue: data === null || data === void 0 ? void 0 : data.goodValue
15879
16350
  });
15880
16351
  }
15881
- });
15882
- pubsub.subscribeOnce('changeShopCode', function (type, data) {
16352
+ }), pubsub.subscribeOnce('changeShopCode', function (type, data) {
15883
16353
  // console.log(data);
15884
16354
  onChange(_objectSpread2(_objectSpread2({}, valueRef === null || valueRef === void 0 ? void 0 : valueRef.current), {}, {
15885
16355
  shopCode: data.shopCode
15886
16356
  }));
15887
- });
16357
+ })];
15888
16358
  return function () {
15889
- pubsub.clearAllSubscriptions();
16359
+ // 清除当前组件所有订阅
16360
+ tokens.current.forEach(function (token) {
16361
+ return pubsub.unsubscribe(token);
16362
+ });
16363
+ tokens.current = [];
15890
16364
  };
15891
16365
  }, [disabled]);
15892
16366
  var _onSelect = function onSelect(list) {
@@ -15941,7 +16415,7 @@ var BsGoods = function BsGoods(props) {
15941
16415
  }));
15942
16416
  };
15943
16417
 
15944
- var _excluded$d = ["value", "onChange", "reasonList", "disabled"];
16418
+ var _excluded$e = ["value", "onChange", "reasonList", "disabled"];
15945
16419
  var BsExchange = function BsExchange(props) {
15946
16420
  var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
15947
16421
  var value = props.value,
@@ -15949,7 +16423,7 @@ var BsExchange = function BsExchange(props) {
15949
16423
  _props$reasonList = props.reasonList,
15950
16424
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
15951
16425
  disabled = props.disabled,
15952
- other = _objectWithoutProperties(props, _excluded$d);
16426
+ other = _objectWithoutProperties(props, _excluded$e);
15953
16427
  var valueRef = useRef({});
15954
16428
  useEffect(function () {
15955
16429
  valueRef.current = value;
@@ -16176,7 +16650,7 @@ var BsExchange = function BsExchange(props) {
16176
16650
  }))) : null);
16177
16651
  };
16178
16652
 
16179
- var _excluded$e = ["value", "onChange", "reasonList", "disabled", "type"];
16653
+ var _excluded$f = ["value", "onChange", "reasonList", "disabled", "type"];
16180
16654
  var typeMap = {
16181
16655
  BS_REISSUE_GOODS: {
16182
16656
  key: 'bsReissueGoods',
@@ -16201,7 +16675,7 @@ var BsReissue = function BsReissue(props) {
16201
16675
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
16202
16676
  disabled = props.disabled,
16203
16677
  type = props.type,
16204
- other = _objectWithoutProperties(props, _excluded$e);
16678
+ other = _objectWithoutProperties(props, _excluded$f);
16205
16679
  var valueRef = useRef({});
16206
16680
  useEffect(function () {
16207
16681
  var _typeMap$type;
@@ -16317,14 +16791,14 @@ var BsReissue = function BsReissue(props) {
16317
16791
  })));
16318
16792
  };
16319
16793
 
16320
- var _excluded$f = ["value", "onChange", "reasonList", "disabled"];
16794
+ var _excluded$g = ["value", "onChange", "reasonList", "disabled"];
16321
16795
  var BsReturnGoods = function BsReturnGoods(props) {
16322
16796
  var value = props.value,
16323
16797
  onChange = props.onChange,
16324
16798
  _props$reasonList = props.reasonList,
16325
16799
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
16326
16800
  disabled = props.disabled,
16327
- other = _objectWithoutProperties(props, _excluded$f);
16801
+ other = _objectWithoutProperties(props, _excluded$g);
16328
16802
  var valueRef = useRef({});
16329
16803
  useEffect(function () {
16330
16804
  pubsub.subscribe('returnSelectList', function (_, data) {
@@ -16550,12 +17024,7 @@ var getJstOrderListSingleton = function getJstOrderListSingleton(orderNo) {
16550
17024
  // singletonMap.delete(orderNo);
16551
17025
  reject(err);
16552
17026
  };
16553
- extendRequest('/qy/gdfw/jst/erp/orderOut/list', {
16554
- method: 'post',
16555
- data: {
16556
- soId: orderNo
16557
- }
16558
- }).then(function (data) {
17027
+ servers.JST.jstOrderDetailWrap(orderNo).then(function (data) {
16559
17028
  if (data === null || data === void 0 ? void 0 : data.success) {
16560
17029
  data.data = filterJstOrders({
16561
17030
  orderList: (data === null || data === void 0 ? void 0 : data.data) || []
@@ -16565,7 +17034,28 @@ var getJstOrderListSingleton = function getJstOrderListSingleton(orderNo) {
16565
17034
  doReject(data);
16566
17035
  }
16567
17036
  }).catch(doReject);
17037
+ // request('/qy/gdfw/jst/erp/orderOut/list', {
17038
+ // method: 'post',
17039
+ // data: {
17040
+ // soId: orderNo,
17041
+ // },
17042
+ // })
17043
+ // .then((data) => {
17044
+ // if (data?.success) {
17045
+ // data.data = filterJstOrders(
17046
+ // {
17047
+ // orderList: data?.data || [],
17048
+ // },
17049
+ // orderNo,
17050
+ // );
17051
+ // resolve(data.data);
17052
+ // } else {
17053
+ // doReject(data);
17054
+ // }
17055
+ // })
17056
+ // .catch(doReject);
16568
17057
  });
17058
+
16569
17059
  singletonMap$3.set(orderNo, p);
16570
17060
  }
16571
17061
  return singletonMap$3.get(orderNo);
@@ -16621,7 +17111,7 @@ var kmUtils = {
16621
17111
  getOrderListSingleton: getOrderListSingleton
16622
17112
  };
16623
17113
 
16624
- var _excluded$g = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
17114
+ var _excluded$h = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
16625
17115
  var columnsMap = {
16626
17116
  BS_SYSTEM_ORDER: BS_SYSTEM_ORDER_CONFIG.columns,
16627
17117
  KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
@@ -16640,14 +17130,16 @@ var rowKeyMap = {
16640
17130
  GY_SYSTEM_ORDER: 'billNo',
16641
17131
  JST_SYSTEM_ORDER: 'oId'
16642
17132
  };
16643
- var index$1 = (function (props) {
17133
+ var index$2 = (function (props) {
16644
17134
  var value = props.value,
16645
17135
  _onChange = props.onChange,
16646
17136
  disabled = props.disabled,
16647
17137
  type = props.type;
16648
17138
  var onceRef = useRef(false);
17139
+ var valueRef = useRef(null);
16649
17140
  useEffect(function () {
16650
17141
  var _value$orders, _value$showOrderInfo;
17142
+ valueRef.current = value;
16651
17143
  if (!(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo) && (value === null || value === void 0 ? void 0 : (_value$showOrderInfo = value.showOrderInfo) === null || _value$showOrderInfo === void 0 ? void 0 : _value$showOrderInfo.length) && !onceRef.current) {
16652
17144
  onceRef.current = true;
16653
17145
  if (type === 'BS_SYSTEM_ORDER') {
@@ -16673,7 +17165,7 @@ var index$1 = (function (props) {
16673
17165
  }, [type]);
16674
17166
  var getOrderList = /*#__PURE__*/function () {
16675
17167
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
16676
- var _yield$request, success, data;
17168
+ var _yield$request, success, data, _valueRef$current;
16677
17169
  return _regeneratorRuntime().wrap(function _callee$(_context) {
16678
17170
  while (1) switch (_context.prev = _context.next) {
16679
17171
  case 0:
@@ -16689,7 +17181,7 @@ var index$1 = (function (props) {
16689
17181
  success = _yield$request.success;
16690
17182
  data = _yield$request.data;
16691
17183
  if (success) {
16692
- _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17184
+ _onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, {
16693
17185
  orders: (data === null || data === void 0 ? void 0 : data.orders) || [],
16694
17186
  showOrderInfo: data === null || data === void 0 ? void 0 : data.orders.map(function (item) {
16695
17187
  return {
@@ -16717,7 +17209,7 @@ var index$1 = (function (props) {
16717
17209
  }();
16718
17210
  var getWlnOrderList = /*#__PURE__*/function () {
16719
17211
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(orderNo) {
16720
- var _yield$request2, success, data;
17212
+ var _yield$request2, success, data, _valueRef$current2;
16721
17213
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
16722
17214
  while (1) switch (_context2.prev = _context2.next) {
16723
17215
  case 0:
@@ -16733,7 +17225,7 @@ var index$1 = (function (props) {
16733
17225
  success = _yield$request2.success;
16734
17226
  data = _yield$request2.data;
16735
17227
  if (success) {
16736
- _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17228
+ _onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}), {}, {
16737
17229
  orders: data === null || data === void 0 ? void 0 : data.orders.map(function (item) {
16738
17230
  return _objectSpread2(_objectSpread2({}, item), {}, {
16739
17231
  billNo: item.tradeNo,
@@ -16770,7 +17262,7 @@ var index$1 = (function (props) {
16770
17262
  var trades = ((data === null || data === void 0 ? void 0 : data.trades) || []).filter(function (item) {
16771
17263
  return (item.srcTid || '').split(',').includes(orderNo);
16772
17264
  });
16773
- _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17265
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
16774
17266
  orders: trades,
16775
17267
  showOrderInfo: trades.map(function (_ref4) {
16776
17268
  var billNo = _ref4.billNo,
@@ -16804,7 +17296,7 @@ var index$1 = (function (props) {
16804
17296
  var trades = ((data === null || data === void 0 ? void 0 : data.orderList) || []).filter(function (item) {
16805
17297
  return (item === null || item === void 0 ? void 0 : item.dealCode) === orderNo;
16806
17298
  });
16807
- _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17299
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
16808
17300
  orders: trades,
16809
17301
  showOrderInfo: trades
16810
17302
  }));
@@ -16827,7 +17319,7 @@ var index$1 = (function (props) {
16827
17319
  case 0:
16828
17320
  jstUtils.getJstOrderListSingleton(orderNo).then(function (data) {
16829
17321
  var trades = data || [];
16830
- _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17322
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
16831
17323
  orders: trades,
16832
17324
  showOrderInfo: trades
16833
17325
  }));
@@ -16849,7 +17341,7 @@ var index$1 = (function (props) {
16849
17341
  while (1) switch (_context6.prev = _context6.next) {
16850
17342
  case 0:
16851
17343
  kmUtils.getOrderListSingleton(orderNo).then(function (trades) {
16852
- _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17344
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
16853
17345
  orders: trades,
16854
17346
  showOrderInfo: trades.map(function (_ref8) {
16855
17347
  var billNo = _ref8.billNo,
@@ -16883,7 +17375,7 @@ var index$1 = (function (props) {
16883
17375
  var trades = ((data === null || data === void 0 ? void 0 : data.trades) || []).filter(function (item) {
16884
17376
  return getIsPlatformCodesIncludeOrderNos(item.platformCode, orderNo);
16885
17377
  });
16886
- _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17378
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
16887
17379
  orders: trades,
16888
17380
  showOrderInfo: trades.map(function (_ref10) {
16889
17381
  var billNo = _ref10.billNo,
@@ -16893,7 +17385,7 @@ var index$1 = (function (props) {
16893
17385
  deliveryState = _ref10.deliveryState,
16894
17386
  vipCode = _ref10.vipCode,
16895
17387
  shopCode = _ref10.shopCode,
16896
- rest = _objectWithoutProperties(_ref10, _excluded$g);
17388
+ rest = _objectWithoutProperties(_ref10, _excluded$h);
16897
17389
  return _objectSpread2(_objectSpread2({}, rest), {}, {
16898
17390
  billNo: billNo,
16899
17391
  billType: billType,
@@ -17110,6 +17602,7 @@ var CommonGoods = function CommonGoods(props) {
17110
17602
  setTableSelect = _useState2[1];
17111
17603
  var withInfo = useRef(null);
17112
17604
  var valueRef = useRef(null);
17605
+ var tokens = useRef([]);
17113
17606
  useEffect(function () {
17114
17607
  var _value$orders;
17115
17608
  valueRef.current = value;
@@ -17125,9 +17618,10 @@ var CommonGoods = function CommonGoods(props) {
17125
17618
  case 0:
17126
17619
  wdtUtils.getWdtOrderListSingleton(orderNo).then(function (data) {
17127
17620
  var orders = ((data === null || data === void 0 ? void 0 : data.trades) || []).filter(function (trade) {
17128
- return (value.selectIds || []).includes(trade.tradeNo);
17621
+ var _valueRef$current;
17622
+ return (((_valueRef$current = valueRef.current) === null || _valueRef$current === void 0 ? void 0 : _valueRef$current.selectIds) || []).includes(trade.tradeNo);
17129
17623
  });
17130
- onChange(_objectSpread2(_objectSpread2({}, value), {}, {
17624
+ onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
17131
17625
  orders: orders
17132
17626
  }));
17133
17627
  });
@@ -17142,7 +17636,7 @@ var CommonGoods = function CommonGoods(props) {
17142
17636
  };
17143
17637
  }();
17144
17638
  useEffect(function () {
17145
- pubsub.subscribe(componentMap$1[compType].eventNameMap.type, function (type, data) {
17639
+ tokens.current = [pubsub.subscribe(componentMap$1[compType].eventNameMap.type, function (type, data) {
17146
17640
  if (disabled) return;
17147
17641
  // console.log(type, data);
17148
17642
  withInfo.current = {
@@ -17152,16 +17646,14 @@ var CommonGoods = function CommonGoods(props) {
17152
17646
  };
17153
17647
  setTableSelect(['2', '4'].includes(data.val));
17154
17648
  if (['1', '3'].includes(data.val)) {
17155
- var _valueRef$current, _valueRef$current2;
17649
+ var _valueRef$current2, _valueRef$current3;
17156
17650
  pubsub.publish(componentMap$1[compType].eventNameMap.selectListReturn, {
17157
- list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current = valueRef.current) === null || _valueRef$current === void 0 ? void 0 : _valueRef$current[componentMap$1[compType].key]) || []),
17158
- shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current2 = valueRef.current) === null || _valueRef$current2 === void 0 ? void 0 : _valueRef$current2.shopCode,
17651
+ list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current2 = valueRef.current) === null || _valueRef$current2 === void 0 ? void 0 : _valueRef$current2[componentMap$1[compType].key]) || []),
17652
+ shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current3 = valueRef.current) === null || _valueRef$current3 === void 0 ? void 0 : _valueRef$current3.shopCode,
17159
17653
  goodValue: data === null || data === void 0 ? void 0 : data.goodValue
17160
17654
  });
17161
17655
  }
17162
- });
17163
- //补发
17164
- pubsub.subscribe(componentMap$1[compType].eventNameMap.reissueType, function (type, data) {
17656
+ }), pubsub.subscribe(componentMap$1[compType].eventNameMap.reissueType, function (type, data) {
17165
17657
  if (disabled) return;
17166
17658
  withInfo.current = {
17167
17659
  type: type,
@@ -17170,16 +17662,14 @@ var CommonGoods = function CommonGoods(props) {
17170
17662
  };
17171
17663
  setTableSelect(['2', '4'].includes(data.val));
17172
17664
  if (['1', '3'].includes(data.val)) {
17173
- var _valueRef$current3, _valueRef$current4;
17665
+ var _valueRef$current4, _valueRef$current5;
17174
17666
  pubsub.publish(componentMap$1[compType].eventNameMap.reissueSelectListReturn, {
17175
- list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current3 = valueRef.current) === null || _valueRef$current3 === void 0 ? void 0 : _valueRef$current3[componentMap$1[compType].key]) || []),
17176
- shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current4 = valueRef.current) === null || _valueRef$current4 === void 0 ? void 0 : _valueRef$current4.shopCode,
17667
+ list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current4 = valueRef.current) === null || _valueRef$current4 === void 0 ? void 0 : _valueRef$current4[componentMap$1[compType].key]) || []),
17668
+ shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current5 = valueRef.current) === null || _valueRef$current5 === void 0 ? void 0 : _valueRef$current5.shopCode,
17177
17669
  goodValue: data === null || data === void 0 ? void 0 : data.goodValue
17178
17670
  });
17179
17671
  }
17180
- });
17181
- //退货
17182
- pubsub.subscribe(componentMap$1[compType].eventNameMap.returnType, function (type, data) {
17672
+ }), pubsub.subscribe(componentMap$1[compType].eventNameMap.returnType, function (type, data) {
17183
17673
  if (disabled) return;
17184
17674
  withInfo.current = {
17185
17675
  type: type,
@@ -17188,26 +17678,29 @@ var CommonGoods = function CommonGoods(props) {
17188
17678
  };
17189
17679
  setTableSelect(['2', '4'].includes(data.val));
17190
17680
  if (['1', '3'].includes(data.val)) {
17191
- var _valueRef$current5, _valueRef$current6;
17681
+ var _valueRef$current6, _valueRef$current7;
17192
17682
  pubsub.publish(componentMap$1[compType].eventNameMap.returnSelectListReturn, {
17193
- list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current5 = valueRef.current) === null || _valueRef$current5 === void 0 ? void 0 : _valueRef$current5[componentMap$1[compType].key]) || []),
17194
- shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current6 = valueRef.current) === null || _valueRef$current6 === void 0 ? void 0 : _valueRef$current6.shopCode,
17683
+ list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current6 = valueRef.current) === null || _valueRef$current6 === void 0 ? void 0 : _valueRef$current6[componentMap$1[compType].key]) || []),
17684
+ shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current7 = valueRef.current) === null || _valueRef$current7 === void 0 ? void 0 : _valueRef$current7.shopCode,
17195
17685
  goodValue: data === null || data === void 0 ? void 0 : data.goodValue
17196
17686
  });
17197
17687
  }
17198
- });
17199
- pubsub.subscribeOnce(componentMap$1[compType].eventNameMap.changeShopCode, function (type, data) {
17688
+ }), pubsub.subscribeOnce(componentMap$1[compType].eventNameMap.changeShopCode, function (type, data) {
17200
17689
  // console.log(data);
17201
17690
  onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef === null || valueRef === void 0 ? void 0 : valueRef.current), {}, {
17202
17691
  shopCode: data.shopCode
17203
17692
  }));
17204
- });
17693
+ })];
17205
17694
  return function () {
17206
- pubsub.clearAllSubscriptions();
17695
+ // 清除当前组件所有订阅
17696
+ tokens.current.forEach(function (token) {
17697
+ return pubsub.unsubscribe(token);
17698
+ });
17699
+ tokens.current = [];
17207
17700
  };
17208
17701
  }, [disabled]);
17209
17702
  var _onSelect = function onSelect(list) {
17210
- var _typeMap, _withInfo$current, _withInfo$current2, _valueRef$current7;
17703
+ var _typeMap, _withInfo$current, _withInfo$current2, _valueRef$current8;
17211
17704
  if (disabled) return;
17212
17705
  var newList = cloneDeep(list);
17213
17706
  var typeMap = (_typeMap = {
@@ -17224,7 +17717,7 @@ var CommonGoods = function CommonGoods(props) {
17224
17717
  item.canDelete = true;
17225
17718
  return item;
17226
17719
  }),
17227
- shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current7 = valueRef.current) === null || _valueRef$current7 === void 0 ? void 0 : _valueRef$current7.shopCode,
17720
+ shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current8 = valueRef.current) === null || _valueRef$current8 === void 0 ? void 0 : _valueRef$current8.shopCode,
17228
17721
  goodValue: withInfo.current.goodValue
17229
17722
  });
17230
17723
  };
@@ -17599,7 +18092,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
17599
18092
  })));
17600
18093
  };
17601
18094
 
17602
- var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
18095
+ var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
17603
18096
  var typeMap$1 = {
17604
18097
  WDT_REISSUE_GOODS: {
17605
18098
  key: 'wdtReissueGoods',
@@ -17620,14 +18113,14 @@ var typeMap$1 = {
17620
18113
  }
17621
18114
  };
17622
18115
  var wdtReissue = function wdtReissue(props) {
17623
- var _value$wdtSystemOrder, _typeMap$type26, _typeMap$type28, _typeMap$type29, _value$typeMap$type$s5, _typeMap$type30, _typeMap$type31, _typeMap$type32;
18116
+ var _value$wdtSystemOrder, _typeMap$type24, _typeMap$type26, _typeMap$type27, _value$typeMap$type$s5, _typeMap$type28, _typeMap$type29, _typeMap$type30;
17624
18117
  var value = props.value,
17625
18118
  onChange = props.onChange,
17626
18119
  _props$reasonList = props.reasonList,
17627
18120
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
17628
18121
  disabled = props.disabled,
17629
18122
  type = props.type,
17630
- other = _objectWithoutProperties(props, _excluded$h);
18123
+ other = _objectWithoutProperties(props, _excluded$i);
17631
18124
  var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$wdtSystemOrder = value.wdtSystemOrder) === null || _value$wdtSystemOrder === void 0 ? void 0 : _value$wdtSystemOrder.orders) || []).some(function (order) {
17632
18125
  var _order$srcTid;
17633
18126
  return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
@@ -17637,8 +18130,10 @@ var wdtReissue = function wdtReissue(props) {
17637
18130
  _useState2 = _slicedToArray(_useState, 2),
17638
18131
  isStrict = _useState2[0],
17639
18132
  setIsStrict = _useState2[1];
18133
+ var valueRef = useRef(null);
17640
18134
  useEffect(function () {
17641
18135
  var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
18136
+ valueRef.current = value;
17642
18137
  if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$1[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$1[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
17643
18138
  var _value$typeMap$type$s4, _typeMap$type3;
17644
18139
  getOrderFlag.current = true;
@@ -17683,7 +18178,7 @@ var wdtReissue = function wdtReissue(props) {
17683
18178
  while (1) switch (_context.prev = _context.next) {
17684
18179
  case 0:
17685
18180
  (_typeMap$type4 = typeMap$1[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
17686
- var _typeMap$type5, _typeMap$type6;
18181
+ var _typeMap$type5, _ref3, _typeMap$type6;
17687
18182
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
17688
18183
  var showOrderInfo = orders.map(function (_ref2) {
17689
18184
  var billNo = _ref2.billNo,
@@ -17695,7 +18190,7 @@ var wdtReissue = function wdtReissue(props) {
17695
18190
  billTag: billTag
17696
18191
  };
17697
18192
  });
17698
- onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type5 = typeMap$1[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]), {}, {
18193
+ onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$1[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
17699
18194
  showOrderInfo: showOrderInfo,
17700
18195
  orders: orders
17701
18196
  }))));
@@ -17738,10 +18233,10 @@ var wdtReissue = function wdtReissue(props) {
17738
18233
  mode: mode
17739
18234
  }))));
17740
18235
  };
17741
- var getGoodDetails = function getGoodDetails(_ref3) {
18236
+ var getGoodDetails = function getGoodDetails(_ref4) {
17742
18237
  var _typeMap$type13, _typeMap$type14, _order$goodDetails;
17743
- var mode = _ref3.mode,
17744
- sysOrderNo = _ref3.sysOrderNo;
18238
+ var mode = _ref4.mode,
18239
+ sysOrderNo = _ref4.sysOrderNo;
17745
18240
  var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type13 = typeMap$1[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.systemOrder];
17746
18241
  var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type14 = typeMap$1[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.systemOrderNo];
17747
18242
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
@@ -17755,25 +18250,19 @@ var wdtReissue = function wdtReissue(props) {
17755
18250
  };
17756
18251
  var changeGoodHandle = function changeGoodHandle(val) {
17757
18252
  var _typeMap$type15;
17758
- var newValue = _objectSpread2({}, value);
17759
- newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type15 = typeMap$1[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key)] = (val || []).map(function (item) {
17760
- var _typeMap$type16, _typeMap$type17;
17761
- item["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type16 = typeMap$1[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.formatDefaultField.money)] = 0;
17762
- item["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type17 = typeMap$1[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.formatDefaultField.share)] = 0;
17763
- return item;
17764
- });
18253
+ var newValue = _objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type15 = typeMap$1[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key, val || []));
17765
18254
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
17766
18255
  };
17767
18256
  var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
17768
- var _typeMap$type18, _value$typeMap$type$t3, _typeMap$type19, _value$typeMap$type$t4, _typeMap$type21;
18257
+ var _typeMap$type16, _value$typeMap$type$t3, _typeMap$type17, _value$typeMap$type$t4, _typeMap$type19;
17769
18258
  var newValue = _objectSpread2({}, value);
17770
- newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type18 = typeMap$1[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.systemOrderNo)] = val;
17771
- if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type19 = typeMap$1[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
18259
+ newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type16 = typeMap$1[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.systemOrderNo)] = val;
18260
+ if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type17 = typeMap$1[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
18261
+ var _typeMap$type18;
18262
+ newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type18 = typeMap$1[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.key)] = [];
18263
+ } else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t4 = value[(_typeMap$type19 = typeMap$1[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.typeName]) === null || _value$typeMap$type$t4 === void 0 ? void 0 : _value$typeMap$type$t4[0])) {
17772
18264
  var _typeMap$type20;
17773
- newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type20 = typeMap$1[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.key)] = [];
17774
- } else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t4 = value[(_typeMap$type21 = typeMap$1[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]) === null || _value$typeMap$type$t4 === void 0 ? void 0 : _value$typeMap$type$t4[0])) {
17775
- var _typeMap$type22;
17776
- newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type22 = typeMap$1[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = getGoodDetails({
18265
+ newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type20 = typeMap$1[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.key)] = getGoodDetails({
17777
18266
  mode: isStrict,
17778
18267
  sysOrderNo: val
17779
18268
  });
@@ -17781,25 +18270,25 @@ var wdtReissue = function wdtReissue(props) {
17781
18270
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
17782
18271
  };
17783
18272
  var selectedGoodsChange = useCallback(function (skuList) {
17784
- var _typeMap$type23, _typeMap$type24, _uniqBy, _typeMap$type25;
18273
+ var _typeMap$type21, _typeMap$type22, _uniqBy, _typeMap$type23;
17785
18274
  var newValue = _objectSpread2({}, value);
17786
18275
  // 原订单商品
17787
18276
  var originTradeGoodList = getGoodDetails({
17788
18277
  mode: isStrict
17789
18278
  }) || [];
17790
18279
  // 当前选中的所有商品【包含了原订单+商品库】
17791
- var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type23 = typeMap$1[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)]) || [];
17792
- newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type24 = typeMap$1[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
18280
+ var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type21 = typeMap$1[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.key)]) || [];
18281
+ newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type22 = typeMap$1[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
17793
18282
  return skuList.includes(item.uuid);
17794
18283
  });
17795
- console.log('商品发生变化', newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.key)]);
18284
+ console.log('商品发生变化', newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type23 = typeMap$1[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)]);
17796
18285
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
17797
- }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)], isStrict]);
18286
+ }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type24 = typeMap$1[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)], isStrict]);
17798
18287
  //显示选择商品按钮 原单换不显示选择商品
17799
18288
  var showChangeBtn = useMemo(function () {
17800
- var _typeMap$type27;
17801
- return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type27 = typeMap$1[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.systemOrderNo]);
17802
- }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type28 = typeMap$1[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.systemOrderNo]]);
18289
+ var _typeMap$type25;
18290
+ return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderNo]);
18291
+ }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrderNo]]);
17803
18292
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
17804
18293
  gutter: 8,
17805
18294
  wrap: true
@@ -17817,12 +18306,12 @@ var wdtReissue = function wdtReissue(props) {
17817
18306
  },
17818
18307
  disabled: disabled,
17819
18308
  allowClear: false,
17820
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type29 = typeMap$1[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderNo)],
18309
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type27 = typeMap$1[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.systemOrderNo)],
17821
18310
  onChange: function onChange(val) {
17822
18311
  return changeSystemOrderHandle(val);
17823
18312
  },
17824
18313
  placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
17825
- }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type30 = typeMap$1[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
18314
+ }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type28 = typeMap$1[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
17826
18315
  return /*#__PURE__*/React.createElement(Select.Option, {
17827
18316
  key: item.billNo,
17828
18317
  value: item.billNo,
@@ -17843,7 +18332,7 @@ var wdtReissue = function wdtReissue(props) {
17843
18332
  disabled: disabled,
17844
18333
  allowClear: false,
17845
18334
  options: reasonList,
17846
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type31 = typeMap$1[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.typeName)],
18335
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type29 = typeMap$1[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.typeName)],
17847
18336
  onChange: function onChange(val) {
17848
18337
  return changeTypeHandle(val);
17849
18338
  }
@@ -17855,7 +18344,7 @@ var wdtReissue = function wdtReissue(props) {
17855
18344
  canUpdateNumber: showChangeBtn,
17856
18345
  showChangeBtn: showChangeBtn,
17857
18346
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
17858
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type32 = typeMap$1[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.key)],
18347
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type30 = typeMap$1[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.key)],
17859
18348
  onChange: function onChange(val) {
17860
18349
  return changeGoodHandle(val);
17861
18350
  },
@@ -17871,7 +18360,7 @@ var wdtReissue = function wdtReissue(props) {
17871
18360
  })));
17872
18361
  };
17873
18362
 
17874
- var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
18363
+ var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type"];
17875
18364
  var typeMap$2 = {
17876
18365
  JST_REISSUE_GOODS: {
17877
18366
  compType: '补发',
@@ -17882,6 +18371,7 @@ var typeMap$2 = {
17882
18371
  systemOrderBillType: 'jstSystemOrderBillType',
17883
18372
  getOrderList: jstUtils.getJstOrderListSingleton,
17884
18373
  updateGoodsHandle: updateJstGoodsHandle,
18374
+ alwaysShowChooseErpGoodsBtn: true,
17885
18375
  orderTypeKey: 'orderType',
17886
18376
  oIdKey: 'oId',
17887
18377
  outerOiIdKey: '',
@@ -17896,11 +18386,11 @@ var typeMap$2 = {
17896
18386
  systemOrderBillType: 'jstSystemOrderBillType',
17897
18387
  getOrderList: jstUtils.getJstOrderListSingleton,
17898
18388
  updateGoodsHandle: updateJstGoodsHandle,
18389
+ alwaysShowChooseErpGoodsBtn: true,
17899
18390
  orderTypeKey: 'orderType',
17900
18391
  oIdKey: 'oId',
17901
18392
  outerOiIdKey: '',
17902
18393
  goodDetailsKey: 'items',
17903
- showErpGoodsBtn: false,
17904
18394
  eventNameMap: {
17905
18395
  // pubsub 事件
17906
18396
  exchangeCopyGood: 'jstExchangeCopyGood',
@@ -17911,14 +18401,14 @@ var typeMap$2 = {
17911
18401
  }
17912
18402
  };
17913
18403
  var PublicReissue = function PublicReissue(props) {
17914
- var _typeMap$type31, _typeMap$type34, _typeMap$type35, _typeMap$type36, _typeMap$type37, _value$typeMap$type$s6, _typeMap$type38, _typeMap$type39, _typeMap$type40, _typeMap$type41, _typeMap$type42, _typeMap$type43;
18404
+ var _typeMap$type31, _typeMap$type34, _typeMap$type35, _typeMap$type36, _typeMap$type37, _value$typeMap$type$s6, _typeMap$type38, _typeMap$type39, _typeMap$type40, _typeMap$type41, _typeMap$type42, _typeMap$type43, _typeMap$type44;
17915
18405
  var value = props.value,
17916
18406
  onChange = props.onChange,
17917
18407
  _props$reasonList = props.reasonList,
17918
18408
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
17919
18409
  disabled = props.disabled,
17920
18410
  type = props.type,
17921
- other = _objectWithoutProperties(props, _excluded$i);
18411
+ other = _objectWithoutProperties(props, _excluded$j);
17922
18412
  var getOrderFlag = useRef(false);
17923
18413
  var _useState = useState(false),
17924
18414
  _useState2 = _slicedToArray(_useState, 2),
@@ -17965,13 +18455,13 @@ var PublicReissue = function PublicReissue(props) {
17965
18455
  while (1) switch (_context.prev = _context.next) {
17966
18456
  case 0:
17967
18457
  (_typeMap$type4 = typeMap$2[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
17968
- var _typeMap$type5, _typeMap$type6, _typeMap$type10, _typeMap$type11;
18458
+ var _valueRef$current3, _typeMap$type5, _typeMap$type6, _typeMap$type10, _ref3, _typeMap$type11;
17969
18459
  var orders = data || [];
17970
18460
  var showOrderInfo = orders.map(function (orderItem) {
17971
18461
  return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
17972
18462
  });
17973
18463
  var typeObj = {};
17974
- var systemOrderNo = value === null || value === void 0 ? void 0 : value[(_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrderNo];
18464
+ var systemOrderNo = valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current3 = valueRef.current) === null || _valueRef$current3 === void 0 ? void 0 : _valueRef$current3[(_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrderNo];
17975
18465
  if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type6 = typeMap$2[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrderBillType) {
17976
18466
  var _typeMap$type8, _typeMap$type9;
17977
18467
  var targetOrder = orders.find(function (oItem) {
@@ -17980,7 +18470,7 @@ var PublicReissue = function PublicReissue(props) {
17980
18470
  });
17981
18471
  typeObj[(_typeMap$type8 = typeMap$2[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrderBillType] = targetOrder === null || targetOrder === void 0 ? void 0 : targetOrder[(_typeMap$type9 = typeMap$2[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.orderTypeKey];
17982
18472
  }
17983
- onChange(_objectSpread2(_objectSpread2(_objectSpread2({}, value), typeObj), {}, _defineProperty({}, (_typeMap$type10 = typeMap$2[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.systemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type11 = typeMap$2[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.systemOrder]), {}, {
18473
+ onChange(_objectSpread2(_objectSpread2(_objectSpread2({}, valueRef.current || {}), typeObj), {}, _defineProperty({}, (_typeMap$type10 = typeMap$2[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type11 = typeMap$2[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.systemOrder]) || {}), {}, {
17984
18474
  showOrderInfo: showOrderInfo,
17985
18475
  orders: orders
17986
18476
  }))));
@@ -18023,10 +18513,10 @@ var PublicReissue = function PublicReissue(props) {
18023
18513
  mode: mode
18024
18514
  }))));
18025
18515
  };
18026
- var getGoodDetails = function getGoodDetails(_ref3) {
18516
+ var getGoodDetails = function getGoodDetails(_ref4) {
18027
18517
  var _typeMap$type17, _typeMap$type18, _order$typeMap$type$g, _typeMap$type19;
18028
- var mode = _ref3.mode,
18029
- sysOrderNo = _ref3.sysOrderNo;
18518
+ var mode = _ref4.mode,
18519
+ sysOrderNo = _ref4.sysOrderNo;
18030
18520
  var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type17 = typeMap$2[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.systemOrder];
18031
18521
  var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type18 = typeMap$2[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.systemOrderNo];
18032
18522
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
@@ -18152,9 +18642,10 @@ var PublicReissue = function PublicReissue(props) {
18152
18642
  disabled: disabled,
18153
18643
  canUpdateNumber: showChangeBtn,
18154
18644
  showChangeBtn: showChangeBtn,
18155
- showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.showErpGoodsBtn,
18645
+ alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.alwaysShowChooseErpGoodsBtn,
18646
+ showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type43 = typeMap$2[type]) === null || _typeMap$type43 === void 0 ? void 0 : _typeMap$type43.showErpGoodsBtn,
18156
18647
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
18157
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type43 = typeMap$2[type]) === null || _typeMap$type43 === void 0 ? void 0 : _typeMap$type43.key)],
18648
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type44 = typeMap$2[type]) === null || _typeMap$type44 === void 0 ? void 0 : _typeMap$type44.key)],
18158
18649
  onChange: function onChange(val) {
18159
18650
  return changeGoodHandle(val);
18160
18651
  },
@@ -18170,8 +18661,8 @@ var PublicReissue = function PublicReissue(props) {
18170
18661
  })));
18171
18662
  };
18172
18663
 
18173
- var css_248z$a = ".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";
18174
- styleInject(css_248z$a);
18664
+ 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";
18665
+ styleInject(css_248z$b);
18175
18666
 
18176
18667
  var TabPane$1 = Tabs.TabPane;
18177
18668
  var Option$2 = Select.Option;
@@ -18644,14 +19135,14 @@ var Goods$1 = function Goods(props, ref) {
18644
19135
  userNick: userNick
18645
19136
  }));
18646
19137
  };
18647
- var index$2 = /*#__PURE__*/forwardRef(Goods$1);
19138
+ var index$3 = /*#__PURE__*/forwardRef(Goods$1);
18648
19139
 
18649
- var _excluded$j = ["onChange", "value", "failValue"];
19140
+ var _excluded$k = ["onChange", "value", "failValue"];
18650
19141
  function CommonStatus(props) {
18651
19142
  var onChange = props.onChange,
18652
19143
  value = props.value,
18653
19144
  failValue = props.failValue,
18654
- other = _objectWithoutProperties(props, _excluded$j);
19145
+ other = _objectWithoutProperties(props, _excluded$k);
18655
19146
  var changeHandle = function changeHandle(val) {
18656
19147
  onChange === null || onChange === void 0 ? void 0 : onChange({
18657
19148
  status: val,
@@ -18788,7 +19279,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
18788
19279
  })) : null) : null);
18789
19280
  };
18790
19281
 
18791
- var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
19282
+ var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
18792
19283
  var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18793
19284
  var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
18794
19285
  var _props$value = props.value,
@@ -18798,7 +19289,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18798
19289
  failValue = props.failValue,
18799
19290
  _props$type = props.type,
18800
19291
  type = _props$type === void 0 ? 1 : _props$type,
18801
- other = _objectWithoutProperties(props, _excluded$k);
19292
+ other = _objectWithoutProperties(props, _excluded$l);
18802
19293
  var _useState = useState(0),
18803
19294
  _useState2 = _slicedToArray(_useState, 2),
18804
19295
  changeIndex = _useState2[0],
@@ -18864,7 +19355,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18864
19355
  }, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null));
18865
19356
  };
18866
19357
 
18867
- var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
19358
+ var _excluded$m = ["value", "onChange", "disabled", "failValue", "type"];
18868
19359
  var MsgStatus = function MsgStatus(props) {
18869
19360
  var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
18870
19361
  var _props$value = props.value,
@@ -18874,7 +19365,7 @@ var MsgStatus = function MsgStatus(props) {
18874
19365
  failValue = props.failValue,
18875
19366
  _props$type = props.type,
18876
19367
  type = _props$type === void 0 ? 1 : _props$type,
18877
- other = _objectWithoutProperties(props, _excluded$l);
19368
+ other = _objectWithoutProperties(props, _excluded$m);
18878
19369
  var _useState = useState(0),
18879
19370
  _useState2 = _slicedToArray(_useState, 2),
18880
19371
  changeIndex = _useState2[0],
@@ -18943,7 +19434,7 @@ var CalculationInput = function CalculationInput(props) {
18943
19434
  }, config === null || config === void 0 ? void 0 : config.unit));
18944
19435
  };
18945
19436
 
18946
- var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"];
19437
+ var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"];
18947
19438
  var typeMap$3 = {
18948
19439
  BS_E3_REISSUE_GOODS: {
18949
19440
  key: 'bsE3ReissueGoods',
@@ -18961,8 +19452,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
18961
19452
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
18962
19453
  disabled = props.disabled,
18963
19454
  type = props.type,
18964
- other = _objectWithoutProperties(props, _excluded$m);
19455
+ other = _objectWithoutProperties(props, _excluded$n);
18965
19456
  var getOrderFlag = useRef(false);
19457
+ var valueRef = useRef(null);
18966
19458
  var _useState = useState(false),
18967
19459
  _useState2 = _slicedToArray(_useState, 2),
18968
19460
  isStrict = _useState2[0],
@@ -18970,6 +19462,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
18970
19462
  // TODO: 在修改场景下手动获取一次订单详情中数据
18971
19463
  useEffect(function () {
18972
19464
  var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
19465
+ valueRef.current = value;
18973
19466
  if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$3[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$3[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
18974
19467
  var _value$typeMap$type$s4, _typeMap$type3;
18975
19468
  getOrderFlag.current = true;
@@ -18998,7 +19491,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
18998
19491
  while (1) switch (_context.prev = _context.next) {
18999
19492
  case 0:
19000
19493
  (_typeMap$type4 = typeMap$3[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
19001
- var _typeMap$type5, _typeMap$type6;
19494
+ var _typeMap$type5, _ref3, _typeMap$type6;
19002
19495
  var orders = (data === null || data === void 0 ? void 0 : data.orderList) || [];
19003
19496
  var showOrderInfo = orders.map(function (_ref2) {
19004
19497
  var orderSn = _ref2.orderSn;
@@ -19006,7 +19499,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
19006
19499
  billNo: orderSn
19007
19500
  };
19008
19501
  });
19009
- onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type5 = typeMap$3[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type6 = typeMap$3[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]), {}, {
19502
+ onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$3[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$3[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
19010
19503
  showOrderInfo: showOrderInfo,
19011
19504
  orders: orders
19012
19505
  }))));
@@ -19049,10 +19542,10 @@ var bsE3Reissue = function bsE3Reissue(props) {
19049
19542
  mode: mode
19050
19543
  }))));
19051
19544
  };
19052
- var getGoodDetails = function getGoodDetails(_ref3) {
19545
+ var getGoodDetails = function getGoodDetails(_ref4) {
19053
19546
  var _typeMap$type12, _typeMap$type13, _order$orderDetailGet;
19054
- var mode = _ref3.mode,
19055
- sysOrderNo = _ref3.sysOrderNo;
19547
+ var mode = _ref4.mode,
19548
+ sysOrderNo = _ref4.sysOrderNo;
19056
19549
  var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type12 = typeMap$3[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.systemOrder];
19057
19550
  var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type13 = typeMap$3[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.systemOrderNo];
19058
19551
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
@@ -19177,7 +19670,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
19177
19670
  })));
19178
19671
  };
19179
19672
 
19180
- var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"],
19673
+ var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type"],
19181
19674
  _excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
19182
19675
  var typeMap$4 = {
19183
19676
  GY_REISSUE_GOODS: {
@@ -19199,25 +19692,26 @@ var typeMap$4 = {
19199
19692
  }
19200
19693
  };
19201
19694
  var GyReissue = function GyReissue(props) {
19202
- var _value$gySystemOrder, _typeMap$type26, _typeMap$type28, _typeMap$type29, _value$typeMap$type$s5, _typeMap$type30, _typeMap$type31, _typeMap$type32;
19695
+ var _typeMap$type28, _typeMap$type30, _typeMap$type31, _value$typeMap$type$s5, _typeMap$type32, _typeMap$type33, _typeMap$type34;
19203
19696
  var value = props.value,
19204
19697
  onChange = props.onChange,
19205
19698
  _props$reasonList = props.reasonList,
19206
19699
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
19207
19700
  disabled = props.disabled,
19208
19701
  type = props.type,
19209
- other = _objectWithoutProperties(props, _excluded$n);
19210
- var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$gySystemOrder = value.gySystemOrder) === null || _value$gySystemOrder === void 0 ? void 0 : _value$gySystemOrder.orders) || []).some(function (order) {
19211
- var _order$platformCode;
19212
- return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
19213
- });
19702
+ other = _objectWithoutProperties(props, _excluded$o);
19703
+ // const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
19704
+ // order?.platformCode?.includes(';'),
19705
+ // );
19214
19706
  var getOrderFlag = useRef(false);
19707
+ var valueRef = useRef(null);
19215
19708
  var _useState = useState(false),
19216
19709
  _useState2 = _slicedToArray(_useState, 2),
19217
19710
  isStrict = _useState2[0],
19218
19711
  setIsStrict = _useState2[1];
19219
19712
  useEffect(function () {
19220
19713
  var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
19714
+ valueRef.current = value;
19221
19715
  if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$4[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$4[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
19222
19716
  var _value$typeMap$type$s4, _typeMap$type3;
19223
19717
  getOrderFlag.current = true;
@@ -19232,7 +19726,7 @@ var GyReissue = function GyReissue(props) {
19232
19726
  while (1) switch (_context.prev = _context.next) {
19233
19727
  case 0:
19234
19728
  (_typeMap$type4 = typeMap$4[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
19235
- var _typeMap$type5, _typeMap$type6;
19729
+ var _typeMap$type5, _ref3, _typeMap$type6, _typeMap$type7, _ref4, _typeMap$type8;
19236
19730
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
19237
19731
  var showOrderInfo = orders.map(function (_ref2) {
19238
19732
  var billNo = _ref2.billNo,
@@ -19254,7 +19748,14 @@ var GyReissue = function GyReissue(props) {
19254
19748
  shopCode: shopCode
19255
19749
  });
19256
19750
  });
19257
- onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]), {}, {
19751
+ pushGyLog('getOrderList', {
19752
+ before: valueRef.current,
19753
+ after: _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
19754
+ showOrderInfo: showOrderInfo,
19755
+ orders: orders
19756
+ })))
19757
+ });
19758
+ onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type7 = typeMap$4[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref4 = valueRef.current || {}) === null || _ref4 === void 0 ? void 0 : _ref4[(_typeMap$type8 = typeMap$4[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrder]) || {}), {}, {
19258
19759
  showOrderInfo: showOrderInfo,
19259
19760
  orders: orders
19260
19761
  }))));
@@ -19270,39 +19771,41 @@ var GyReissue = function GyReissue(props) {
19270
19771
  };
19271
19772
  }();
19272
19773
  var changeTypeHandle = function changeTypeHandle(val) {
19273
- var _value$typeMap$type$t, _typeMap$type7, _typeMap$type8;
19774
+ var _ref5, _ref5$typeMap$type$ty, _typeMap$type9, _typeMap$type10;
19775
+ pushGyLog('beforeChangeType', valueRef.current || {});
19274
19776
  var typeName = val === null || val === void 0 ? void 0 : val[0];
19275
- if (typeName === (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t = value[(_typeMap$type7 = typeMap$4[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.typeName]) === null || _value$typeMap$type$t === void 0 ? void 0 : _value$typeMap$type$t[0])) return;
19777
+ if (typeName === ((_ref5 = valueRef.current || {}) === null || _ref5 === void 0 ? void 0 : (_ref5$typeMap$type$ty = _ref5[(_typeMap$type9 = typeMap$4[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.typeName]) === null || _ref5$typeMap$type$ty === void 0 ? void 0 : _ref5$typeMap$type$ty[0])) return;
19276
19778
  // const systemOrderNo = value?.[typeMap[type]?.systemOrderNo];
19277
- var newValue = _objectSpread2({}, value);
19278
- newValue[(_typeMap$type8 = typeMap$4[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.typeName] = val;
19779
+ var newValue = _objectSpread2({}, valueRef.current || {});
19780
+ newValue[(_typeMap$type10 = typeMap$4[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.typeName] = val;
19279
19781
  if (typeName === '1') {
19280
- var _typeMap$type9;
19281
- newValue[(_typeMap$type9 = typeMap$4[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.key] = getGoodDetails({
19782
+ var _typeMap$type11;
19783
+ newValue[(_typeMap$type11 = typeMap$4[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key] = getGoodDetails({
19282
19784
  mode: isStrict
19283
19785
  });
19284
19786
  } else if (typeName === '2') {
19285
- var _typeMap$type10;
19787
+ var _typeMap$type12;
19286
19788
  // 切换到非原单,清空列表
19287
- newValue[(_typeMap$type10 = typeMap$4[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.key] = [];
19789
+ newValue[(_typeMap$type12 = typeMap$4[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.key] = [];
19288
19790
  }
19791
+ pushGyLog('afterChangeType', newValue);
19289
19792
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19290
19793
  };
19291
19794
  var handleModeChange = function handleModeChange(mode) {
19292
- var _value$typeMap$type$t2, _typeMap$type11, _typeMap$type12;
19293
- var isOriginalOrder = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type11 = typeMap$4[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0]) === '1';
19795
+ var _ref6, _ref6$typeMap$type$ty, _typeMap$type13, _typeMap$type14;
19796
+ var isOriginalOrder = ((_ref6 = valueRef.current || {}) === null || _ref6 === void 0 ? void 0 : (_ref6$typeMap$type$ty = _ref6[(_typeMap$type13 = typeMap$4[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.typeName]) === null || _ref6$typeMap$type$ty === void 0 ? void 0 : _ref6$typeMap$type$ty[0]) === '1';
19294
19797
  setIsStrict(mode);
19295
19798
  if (!isOriginalOrder) return;
19296
- onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type12 = typeMap$4[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.key, getGoodDetails({
19799
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type14 = typeMap$4[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key, getGoodDetails({
19297
19800
  mode: mode
19298
19801
  }))));
19299
19802
  };
19300
- var getGoodDetails = function getGoodDetails(_ref3) {
19301
- var _typeMap$type13, _typeMap$type14, _order$details;
19302
- var mode = _ref3.mode,
19303
- sysOrderNo = _ref3.sysOrderNo;
19304
- var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type13 = typeMap$4[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.systemOrder];
19305
- var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type14 = typeMap$4[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.systemOrderNo];
19803
+ var getGoodDetails = function getGoodDetails(_ref7) {
19804
+ var _ref8, _typeMap$type15, _ref9, _typeMap$type16, _order$details;
19805
+ var mode = _ref7.mode,
19806
+ sysOrderNo = _ref7.sysOrderNo;
19807
+ var systemOrder = (_ref8 = valueRef.current || {}) === null || _ref8 === void 0 ? void 0 : _ref8[(_typeMap$type15 = typeMap$4[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.systemOrder];
19808
+ var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : (_ref9 = valueRef.current || {}) === null || _ref9 === void 0 ? void 0 : _ref9[(_typeMap$type16 = typeMap$4[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.systemOrderNo];
19306
19809
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
19307
19810
  return order.code === systemOrderNo;
19308
19811
  });
@@ -19313,52 +19816,58 @@ var GyReissue = function GyReissue(props) {
19313
19816
  }) : goodDetails;
19314
19817
  };
19315
19818
  var changeGoodHandle = function changeGoodHandle(val) {
19316
- var _typeMap$type15;
19317
- var newValue = _objectSpread2({}, value);
19318
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type15 = typeMap$4[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key)] = (val || []).map(function (item) {
19319
- var _typeMap$type16, _typeMap$type17;
19320
- item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type16 = typeMap$4[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.formatDefaultField.money)] = 0;
19321
- item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type17 = typeMap$4[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.formatDefaultField.share)] = 0;
19819
+ var _typeMap$type17;
19820
+ pushGyLog('beforeChangeGood', valueRef.current || {});
19821
+ var newValue = _objectSpread2({}, valueRef.current || {});
19822
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type17 = typeMap$4[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.key)] = (val || []).map(function (item) {
19823
+ var _typeMap$type18, _typeMap$type19;
19824
+ item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type18 = typeMap$4[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.formatDefaultField.money)] = 0;
19825
+ item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type19 = typeMap$4[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.formatDefaultField.share)] = 0;
19322
19826
  return item;
19323
19827
  });
19828
+ pushGyLog('afterChangeGood', newValue);
19324
19829
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19325
19830
  };
19326
19831
  var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
19327
- var _typeMap$type18, _value$typeMap$type$t3, _typeMap$type19, _value$typeMap$type$t4, _typeMap$type21;
19328
- var newValue = _objectSpread2({}, value);
19329
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type18 = typeMap$4[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.systemOrderNo)] = val;
19330
- if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type19 = typeMap$4[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
19331
- var _typeMap$type20;
19332
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.key)] = [];
19333
- } else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t4 = value[(_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]) === null || _value$typeMap$type$t4 === void 0 ? void 0 : _value$typeMap$type$t4[0])) {
19832
+ var _typeMap$type20, _ref10, _ref10$typeMap$type$t, _typeMap$type21, _ref11, _ref11$typeMap$type$t, _typeMap$type23;
19833
+ pushGyLog('beforeChangeSystemOrder', valueRef.current || {});
19834
+ var newValue = _objectSpread2({}, valueRef.current || {});
19835
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.systemOrderNo)] = val;
19836
+ if (['2'].includes((_ref10 = valueRef.current || {}) === null || _ref10 === void 0 ? void 0 : (_ref10$typeMap$type$t = _ref10[(_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]) === null || _ref10$typeMap$type$t === void 0 ? void 0 : _ref10$typeMap$type$t[0])) {
19334
19837
  var _typeMap$type22;
19335
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = getGoodDetails({
19838
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = [];
19839
+ } else if (['1'].includes((_ref11 = valueRef.current || {}) === null || _ref11 === void 0 ? void 0 : (_ref11$typeMap$type$t = _ref11[(_typeMap$type23 = typeMap$4[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.typeName]) === null || _ref11$typeMap$type$t === void 0 ? void 0 : _ref11$typeMap$type$t[0])) {
19840
+ var _typeMap$type24;
19841
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type24 = typeMap$4[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = getGoodDetails({
19336
19842
  mode: isStrict,
19337
19843
  sysOrderNo: val
19338
19844
  });
19339
19845
  }
19846
+ pushGyLog('afterChangeSystemOrder', newValue);
19340
19847
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19341
19848
  };
19342
19849
  var selectedGoodsChange = useCallback(function (skuList) {
19343
- var _typeMap$type23, _typeMap$type24, _uniqBy, _typeMap$type25;
19344
- var newValue = _objectSpread2({}, value);
19850
+ var _ref12, _typeMap$type25, _typeMap$type26, _uniqBy, _typeMap$type27;
19851
+ pushGyLog('beforeSelectedGoodsChange', valueRef.current || {});
19852
+ var newValue = _objectSpread2({}, valueRef.current || {});
19345
19853
  // 原订单商品
19346
19854
  var originTradeGoodList = getGoodDetails({
19347
19855
  mode: isStrict
19348
19856
  }) || [];
19349
19857
  // 当前选中的所有商品【包含了原订单+商品库】
19350
- var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type23 = typeMap$4[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)]) || [];
19351
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type24 = typeMap$4[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
19858
+ var currentSelectGoodList = ((_ref12 = valueRef.current || {}) === null || _ref12 === void 0 ? void 0 : _ref12["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type25 = typeMap$4[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.key)]) || [];
19859
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type26 = typeMap$4[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
19352
19860
  return skuList.includes(item.uuid);
19353
19861
  });
19354
- console.log('商品发生变化', newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type25 = typeMap$4[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.key)]);
19862
+ console.log('商品发生变化', newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type27 = typeMap$4[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)]);
19355
19863
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19356
- }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type26 = typeMap$4[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)], isStrict]);
19864
+ pushGyLog('afterSelectedGoodsChange', newValue);
19865
+ }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type28 = typeMap$4[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.key)], isStrict]);
19357
19866
  //系统单选择后展示选择商品按钮,系统单未选择的时候不展示
19358
19867
  var showChangeBtn = useMemo(function () {
19359
- var _typeMap$type27;
19360
- return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type27 = typeMap$4[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.systemOrderNo]);
19361
- }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type28 = typeMap$4[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.systemOrderNo]]);
19868
+ var _typeMap$type29;
19869
+ return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type29 = typeMap$4[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderNo]);
19870
+ }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type30 = typeMap$4[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrderNo]]);
19362
19871
  return /*#__PURE__*/React.createElement("div", {
19363
19872
  id: "TEST_GY",
19364
19873
  onClick: function onClick() {
@@ -19381,12 +19890,12 @@ var GyReissue = function GyReissue(props) {
19381
19890
  },
19382
19891
  disabled: disabled,
19383
19892
  allowClear: false,
19384
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type29 = typeMap$4[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderNo)],
19893
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type31 = typeMap$4[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.systemOrderNo)],
19385
19894
  onChange: function onChange(val) {
19386
19895
  return changeSystemOrderHandle(val);
19387
19896
  },
19388
19897
  placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
19389
- }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type30 = typeMap$4[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
19898
+ }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
19390
19899
  return /*#__PURE__*/React.createElement(Select.Option, {
19391
19900
  key: item.billNo,
19392
19901
  value: item.billNo,
@@ -19407,7 +19916,7 @@ var GyReissue = function GyReissue(props) {
19407
19916
  disabled: disabled,
19408
19917
  allowClear: false,
19409
19918
  options: reasonList,
19410
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type31 = typeMap$4[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.typeName)],
19919
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type33 = typeMap$4[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.typeName)],
19411
19920
  onChange: function onChange(val) {
19412
19921
  return changeTypeHandle(val);
19413
19922
  }
@@ -19419,12 +19928,11 @@ var GyReissue = function GyReissue(props) {
19419
19928
  canUpdateNumber: showChangeBtn,
19420
19929
  showChangeBtn: showChangeBtn,
19421
19930
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
19422
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.key)],
19931
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type34 = typeMap$4[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.key)],
19423
19932
  onChange: function onChange(val) {
19424
19933
  return changeGoodHandle(val);
19425
19934
  },
19426
19935
  onModeChange: handleModeChange,
19427
- showModeBtn: showModeBtn,
19428
19936
  isStrict: isStrict,
19429
19937
  tradeGoods: {
19430
19938
  originDataSource: getGoodDetails({
@@ -19435,7 +19943,7 @@ var GyReissue = function GyReissue(props) {
19435
19943
  })));
19436
19944
  };
19437
19945
 
19438
- var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type"],
19946
+ var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type"],
19439
19947
  _excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
19440
19948
  var typeMap$5 = {
19441
19949
  GY_RETURN_GOODS: {
@@ -19457,26 +19965,26 @@ var typeMap$5 = {
19457
19965
  }
19458
19966
  };
19459
19967
  var GyReturnGoods = function GyReturnGoods(props) {
19460
- var _value$gySystemOrder, _typeMap$type10, _typeMap$type28, _typeMap$type29, _value$typeMap$type$s5, _typeMap$type30, _typeMap$type31, _typeMap$type32;
19968
+ var _typeMap$type10, _typeMap$type28, _typeMap$type29, _value$typeMap$type$s5, _typeMap$type30, _typeMap$type31, _typeMap$type32;
19461
19969
  var value = props.value,
19462
19970
  onChange = props.onChange,
19463
19971
  _props$reasonList = props.reasonList,
19464
19972
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
19465
19973
  disabled = props.disabled,
19466
19974
  type = props.type,
19467
- other = _objectWithoutProperties(props, _excluded$o);
19975
+ other = _objectWithoutProperties(props, _excluded$p);
19468
19976
  var valueRef = useRef({});
19469
19977
  var getOrderFlag = useRef(false);
19470
19978
  var _useState = useState(false),
19471
19979
  _useState2 = _slicedToArray(_useState, 2),
19472
19980
  isStrict = _useState2[0],
19473
19981
  setIsStrict = _useState2[1];
19474
- var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$gySystemOrder = value.gySystemOrder) === null || _value$gySystemOrder === void 0 ? void 0 : _value$gySystemOrder.orders) || []).some(function (order) {
19475
- var _order$platformCode;
19476
- return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
19477
- });
19982
+ // const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
19983
+ // order?.platformCode?.includes(';'),
19984
+ // );
19478
19985
  useEffect(function () {
19479
19986
  var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
19987
+ valueRef.current = value;
19480
19988
  if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$5[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$5[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
19481
19989
  var _value$typeMap$type$s4, _typeMap$type3;
19482
19990
  getOrderFlag.current = true;
@@ -19527,7 +20035,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
19527
20035
  while (1) switch (_context.prev = _context.next) {
19528
20036
  case 0:
19529
20037
  (_typeMap$type4 = typeMap$5[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
19530
- var _typeMap$type5, _typeMap$type6;
20038
+ var _valueRef$current, _typeMap$type5, _typeMap$type$systemO, _ref3, _valueRef$current2, _typeMap$type6;
19531
20039
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
19532
20040
  var showOrderInfo = orders.map(function (_ref2) {
19533
20041
  var billNo = _ref2.billNo,
@@ -19549,7 +20057,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
19549
20057
  shopCode: shopCode
19550
20058
  });
19551
20059
  });
19552
- onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type5 = typeMap$5[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type6 = typeMap$5[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]), {}, {
20060
+ onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$5[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, (_typeMap$type$systemO = (_ref3 = (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$5[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) !== null && _typeMap$type$systemO !== void 0 ? _typeMap$type$systemO : {}), {}, {
19553
20061
  showOrderInfo: showOrderInfo,
19554
20062
  orders: orders
19555
20063
  }))));
@@ -19625,10 +20133,10 @@ var GyReturnGoods = function GyReturnGoods(props) {
19625
20133
  }
19626
20134
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
19627
20135
  };
19628
- var getGoodDetails = function getGoodDetails(_ref3) {
20136
+ var getGoodDetails = function getGoodDetails(_ref4) {
19629
20137
  var _typeMap$type23, _typeMap$type24, _order$details;
19630
- var mode = _ref3.mode,
19631
- sysOrderNo = _ref3.sysOrderNo;
20138
+ var mode = _ref4.mode,
20139
+ sysOrderNo = _ref4.sysOrderNo;
19632
20140
  var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type23 = typeMap$5[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.systemOrder];
19633
20141
  var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type24 = typeMap$5[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.systemOrderNo];
19634
20142
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
@@ -19714,7 +20222,6 @@ var GyReturnGoods = function GyReturnGoods(props) {
19714
20222
  return changeGoodHandle(val);
19715
20223
  },
19716
20224
  onModeChange: handleModeChange,
19717
- showModeBtn: showModeBtn,
19718
20225
  isStrict: isStrict,
19719
20226
  showErpGoodsBtn: false,
19720
20227
  tradeGoods: {
@@ -19726,4 +20233,4 @@ var GyReturnGoods = function GyReturnGoods(props) {
19726
20233
  })));
19727
20234
  };
19728
20235
 
19729
- 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, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, getColumns$5 as getJstColumns };
20236
+ 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, 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, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, getColumns$5 as getJstColumns, getColumns$3 as getWlnColumns };