@kmkf-fe-packages/basic-components 0.28.2-rc.9 → 0.28.3-beta.0
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 +496 -251
- package/dist/index.js +496 -249
- package/dist/src/bs/component/model/WdtGoodList.d.ts +40 -0
- package/dist/src/business/LogisticsInterception/index.d.ts +0 -2
- package/dist/src/index.d.ts +3 -0
- package/dist/src/jst/Goods/index.d.ts +1 -0
- package/dist/src/wdt/Reissue/index.d.ts +3 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, messag
|
|
|
3
3
|
import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } 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, request as request$1, ExpressData, uuid, LogisticsAddressData, WDT_ORDER_TYPE_MAP } from '@kmkf-fe-packages/kmkf-utils';
|
|
6
|
+
import { AddressData, BsAddressData, WdtAddressData, request as request$1, ExpressData, uuid, LogisticsAddressData, WdtSendData, WDT_ORDER_TYPE_MAP } from '@kmkf-fe-packages/kmkf-utils';
|
|
7
7
|
import zhCN from 'antd/lib/locale/zh_CN';
|
|
8
8
|
import { cloneDeep, difference, differenceWith } from 'lodash';
|
|
9
9
|
import { useDebounceEffect } from 'ahooks';
|
|
@@ -7563,10 +7563,11 @@ function ApaasPosting(props) {
|
|
|
7563
7563
|
});
|
|
7564
7564
|
}
|
|
7565
7565
|
|
|
7566
|
-
var _excluded$a = ["value", "onChange"];
|
|
7566
|
+
var _excluded$a = ["value", "onChange", "platformType"];
|
|
7567
7567
|
function ApaasLogistics(props) {
|
|
7568
7568
|
var value = props.value,
|
|
7569
7569
|
onChange = props.onChange,
|
|
7570
|
+
platformType = props.platformType,
|
|
7570
7571
|
other = _objectWithoutProperties(props, _excluded$a);
|
|
7571
7572
|
var _useState = useState([]),
|
|
7572
7573
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7579,7 +7580,7 @@ function ApaasLogistics(props) {
|
|
|
7579
7580
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7580
7581
|
while (1) switch (_context.prev = _context.next) {
|
|
7581
7582
|
case 0:
|
|
7582
|
-
express = ExpressData.getInstance();
|
|
7583
|
+
express = ExpressData.getInstance(platformType);
|
|
7583
7584
|
setOptions(express.expressData || []);
|
|
7584
7585
|
case 2:
|
|
7585
7586
|
case "end":
|
|
@@ -9698,9 +9699,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9698
9699
|
_props$disabled = props.disabled,
|
|
9699
9700
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
9700
9701
|
_props$isEditing = props.isEditing,
|
|
9701
|
-
isEditing = _props$isEditing === void 0 ? false : _props$isEditing
|
|
9702
|
-
_props$showState = props.showState,
|
|
9703
|
-
showState = _props$showState === void 0 ? false : _props$showState;
|
|
9702
|
+
isEditing = _props$isEditing === void 0 ? false : _props$isEditing;
|
|
9704
9703
|
var _useState = useState(''),
|
|
9705
9704
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9706
9705
|
initCompany = _useState2[0],
|
|
@@ -9835,8 +9834,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9835
9834
|
interceptReceiverMobile: undefined,
|
|
9836
9835
|
interceptLogisticsStatus: undefined,
|
|
9837
9836
|
interceptLogisticsStatusOther: undefined,
|
|
9838
|
-
interceptLogisticsSnapshot: undefined
|
|
9839
|
-
qySelfInterceptStatus: undefined
|
|
9837
|
+
interceptLogisticsSnapshot: undefined
|
|
9840
9838
|
});
|
|
9841
9839
|
}
|
|
9842
9840
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -9981,24 +9979,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9981
9979
|
onChange: function onChange(e) {
|
|
9982
9980
|
return changeHandle(e.target.value, 'interceptLogisticsStatusOther');
|
|
9983
9981
|
}
|
|
9984
|
-
})), /*#__PURE__*/React.createElement(Item, {
|
|
9985
|
-
label: '拦截状态',
|
|
9986
|
-
key: 'qySelfInterceptStatus',
|
|
9987
|
-
hidden: showState
|
|
9988
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
9989
|
-
value: value === null || value === void 0 ? void 0 : value.qySelfInterceptStatus,
|
|
9990
|
-
disabled: disabled || isEdit,
|
|
9991
|
-
placeholder: "\u62E6\u622A\u72B6\u6001",
|
|
9992
|
-
onChange: function onChange(val) {
|
|
9993
|
-
return changeHandle(val, 'qySelfInterceptStatus');
|
|
9994
|
-
},
|
|
9995
|
-
options: [{
|
|
9996
|
-
label: '拦截成功',
|
|
9997
|
-
value: '拦截成功'
|
|
9998
|
-
}, {
|
|
9999
|
-
label: '拦截失败',
|
|
10000
|
-
value: '拦截失败'
|
|
10001
|
-
}]
|
|
10002
9982
|
})));
|
|
10003
9983
|
};
|
|
10004
9984
|
|
|
@@ -10423,7 +10403,7 @@ var typeInitValueMap = {
|
|
|
10423
10403
|
}]
|
|
10424
10404
|
};
|
|
10425
10405
|
var jstGoods = function jstGoods(props) {
|
|
10426
|
-
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3, _value$changeIndex4, _value$changeIndex5, _value$changeIndex6, _value$changeIndex7;
|
|
10406
|
+
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3, _value$changeIndex4, _value$changeIndex5, _value$changeIndex6, _value$changeIndex7, _value$changeIndex8;
|
|
10427
10407
|
var _props$value = props.value,
|
|
10428
10408
|
value = _props$value === void 0 ? [] : _props$value,
|
|
10429
10409
|
onChange = props.onChange,
|
|
@@ -10431,11 +10411,14 @@ var jstGoods = function jstGoods(props) {
|
|
|
10431
10411
|
_props$type = props.type,
|
|
10432
10412
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
10433
10413
|
_props$showField = props.showField,
|
|
10434
|
-
showField = _props$showField === void 0 ? '' : _props$showField
|
|
10414
|
+
showField = _props$showField === void 0 ? '' : _props$showField,
|
|
10415
|
+
_props$platformType = props.platformType,
|
|
10416
|
+
platformType = _props$platformType === void 0 ? 'default' : _props$platformType;
|
|
10435
10417
|
var _useState = useState(0),
|
|
10436
10418
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10437
10419
|
changeIndex = _useState2[0],
|
|
10438
10420
|
setChangeIndex = _useState2[1]; //选中的包裹
|
|
10421
|
+
var wdtSendOptions = WdtSendData.getInstance().wdtSendData || [];
|
|
10439
10422
|
useEffect(function () {
|
|
10440
10423
|
//没有值塞个默认值
|
|
10441
10424
|
if (!(value === null || value === void 0 ? void 0 : value.length)) {
|
|
@@ -10462,6 +10445,18 @@ var jstGoods = function jstGoods(props) {
|
|
|
10462
10445
|
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, t.title), /*#__PURE__*/React.createElement("div", null, "\u7F16\u7801\uFF1A", t.skuId))));
|
|
10463
10446
|
}));
|
|
10464
10447
|
};
|
|
10448
|
+
var handleSelected = function handleSelected(val, type, option) {
|
|
10449
|
+
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
10450
|
+
changeOrderInfo[type] = val;
|
|
10451
|
+
changeOrderInfo['sendId'] = option.value;
|
|
10452
|
+
var newList = _toConsumableArray(value);
|
|
10453
|
+
newList[changeIndex] = changeOrderInfo;
|
|
10454
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newList);
|
|
10455
|
+
};
|
|
10456
|
+
var filterOption = function filterOption(input, option) {
|
|
10457
|
+
var _option$label;
|
|
10458
|
+
return ((_option$label = option === null || option === void 0 ? void 0 : option.label) !== null && _option$label !== void 0 ? _option$label : '').includes(input);
|
|
10459
|
+
};
|
|
10465
10460
|
var changeInputHandle = function changeInputHandle(val, type) {
|
|
10466
10461
|
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
10467
10462
|
changeOrderInfo[type] = val;
|
|
@@ -10500,10 +10495,12 @@ var jstGoods = function jstGoods(props) {
|
|
|
10500
10495
|
filterOption: function filterOption(input, option) {
|
|
10501
10496
|
return option.label.includes(input);
|
|
10502
10497
|
},
|
|
10498
|
+
dropdownMatchSelectWidth: false,
|
|
10503
10499
|
style: {
|
|
10504
10500
|
minWidth: '100px',
|
|
10505
10501
|
maxWidth: '180px'
|
|
10506
|
-
}
|
|
10502
|
+
},
|
|
10503
|
+
platformType: platformType
|
|
10507
10504
|
}) : null, !showField || showField === 'logisticsCode' ? /*#__PURE__*/React.createElement(Input, {
|
|
10508
10505
|
disabled: disabled,
|
|
10509
10506
|
placeholder: "\u7269\u6D41\u5355\u53F7",
|
|
@@ -10532,20 +10529,34 @@ var jstGoods = function jstGoods(props) {
|
|
|
10532
10529
|
return changeInputHandle(e.target.value, 'sendId');
|
|
10533
10530
|
},
|
|
10534
10531
|
value: (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5.sendId
|
|
10535
|
-
}), ['sendName', 'all'].includes(showField) && /*#__PURE__*/React.createElement(
|
|
10532
|
+
}), ['sendName', 'all'].includes(showField) && (platformType === 'wdt' ? /*#__PURE__*/React.createElement(Select, {
|
|
10533
|
+
style: {
|
|
10534
|
+
minWidth: '100px',
|
|
10535
|
+
maxWidth: '180px'
|
|
10536
|
+
},
|
|
10537
|
+
disabled: disabled,
|
|
10538
|
+
placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
10539
|
+
showSearch: true,
|
|
10540
|
+
options: wdtSendOptions,
|
|
10541
|
+
filterOption: filterOption,
|
|
10542
|
+
value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
|
|
10543
|
+
onChange: function onChange(value, option) {
|
|
10544
|
+
return handleSelected(value, 'sendName', option);
|
|
10545
|
+
}
|
|
10546
|
+
}) : /*#__PURE__*/React.createElement(Input, {
|
|
10536
10547
|
disabled: disabled,
|
|
10537
10548
|
placeholder: "\u8BF7\u8F93\u5165\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
10538
10549
|
onChange: function onChange(e) {
|
|
10539
10550
|
return changeInputHandle(e.target.value, 'sendName');
|
|
10540
10551
|
},
|
|
10541
|
-
value: (_value$
|
|
10542
|
-
})) : null, type === 4 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
|
|
10552
|
+
value: (_value$changeIndex7 = value[changeIndex]) === null || _value$changeIndex7 === void 0 ? void 0 : _value$changeIndex7.sendName
|
|
10553
|
+
}))) : null, type === 4 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
|
|
10543
10554
|
disabled: disabled,
|
|
10544
10555
|
placeholder: "\u8BF7\u8F93\u5165\u51FA\u5E93\u5355\u7F16\u53F7",
|
|
10545
10556
|
onChange: function onChange(e) {
|
|
10546
10557
|
return changeInputHandle(e.target.value, 'deliveryNo');
|
|
10547
10558
|
},
|
|
10548
|
-
value: (_value$
|
|
10559
|
+
value: (_value$changeIndex8 = value[changeIndex]) === null || _value$changeIndex8 === void 0 ? void 0 : _value$changeIndex8.sendName
|
|
10549
10560
|
})) : null) : null);
|
|
10550
10561
|
};
|
|
10551
10562
|
|
|
@@ -11112,6 +11123,12 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
11112
11123
|
var GoodsModal$2 = /*#__PURE__*/forwardRef(GoodsModal$1);
|
|
11113
11124
|
|
|
11114
11125
|
var RangePicker = DatePicker.RangePicker;
|
|
11126
|
+
var getWdtListProduct = function getWdtListProduct(data) {
|
|
11127
|
+
return extendRequest('/qy/gdfw/product/wdtListProduct', {
|
|
11128
|
+
method: 'post',
|
|
11129
|
+
data: data
|
|
11130
|
+
});
|
|
11131
|
+
};
|
|
11115
11132
|
var columns$1 = [{
|
|
11116
11133
|
dataIndex: 'index',
|
|
11117
11134
|
title: 'NO',
|
|
@@ -11186,226 +11203,174 @@ var expandedColumns = [{
|
|
|
11186
11203
|
title: '会员价',
|
|
11187
11204
|
width: 140
|
|
11188
11205
|
}];
|
|
11189
|
-
var
|
|
11190
|
-
var
|
|
11191
|
-
var
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
setVisible(true);
|
|
11197
|
-
setPageNo(1);
|
|
11198
|
-
setSelect([]);
|
|
11199
|
-
setSelectIds([]);
|
|
11200
|
-
form.setFieldsValue({
|
|
11201
|
-
dateTimePicker: [initStartTime, initEndTime],
|
|
11202
|
-
code: ''
|
|
11203
|
-
});
|
|
11204
|
-
// getShopList();
|
|
11205
|
-
}
|
|
11206
|
-
};
|
|
11207
|
-
});
|
|
11208
|
-
|
|
11209
|
-
var onSubmit = props.onSubmit,
|
|
11210
|
-
shopId = props.shopId,
|
|
11211
|
-
shopList = props.shopList,
|
|
11212
|
-
width = props.width,
|
|
11213
|
-
companyKey = props.companyKey;
|
|
11214
|
-
var _useState = useState(false),
|
|
11206
|
+
var getInitTime = function getInitTime() {
|
|
11207
|
+
var initStartTime = hooks().subtract(30, 'd').hours(0).minutes(0).seconds(0);
|
|
11208
|
+
var initEndTime = hooks().hours(23).minutes(59).seconds(59);
|
|
11209
|
+
return [initStartTime, initEndTime];
|
|
11210
|
+
};
|
|
11211
|
+
var GoodList = function GoodList(props, ref) {
|
|
11212
|
+
var _useState = useState([]),
|
|
11215
11213
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
var _useState3 = useState(
|
|
11214
|
+
selectList = _useState2[0],
|
|
11215
|
+
setSelect = _useState2[1];
|
|
11216
|
+
var _useState3 = useState(1),
|
|
11219
11217
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
var _useState5 = useState(
|
|
11223
|
-
_useState6 = _slicedToArray(_useState5,
|
|
11224
|
-
|
|
11225
|
-
|
|
11226
|
-
var _useState7 = useState(1),
|
|
11218
|
+
pageNo = _useState4[0],
|
|
11219
|
+
setPageNo = _useState4[1];
|
|
11220
|
+
var _useState5 = useState(10),
|
|
11221
|
+
_useState6 = _slicedToArray(_useState5, 1),
|
|
11222
|
+
pageSize = _useState6[0];
|
|
11223
|
+
var _useState7 = useState([]),
|
|
11227
11224
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
var _useState9 = useState(
|
|
11231
|
-
_useState10 = _slicedToArray(_useState9,
|
|
11232
|
-
|
|
11233
|
-
|
|
11225
|
+
goodList = _useState8[0],
|
|
11226
|
+
setGoodList = _useState8[1];
|
|
11227
|
+
var _useState9 = useState(false),
|
|
11228
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
11229
|
+
loading = _useState10[0],
|
|
11230
|
+
setLoading = _useState10[1];
|
|
11231
|
+
var _useState11 = useState(0),
|
|
11234
11232
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
var _useState13 = useState(
|
|
11233
|
+
total = _useState12[0],
|
|
11234
|
+
setTotal = _useState12[1];
|
|
11235
|
+
var _useState13 = useState(null),
|
|
11238
11236
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
11239
|
-
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11237
|
+
dates = _useState14[0],
|
|
11238
|
+
setDates = _useState14[1];
|
|
11239
|
+
useImperativeHandle(ref, function () {
|
|
11240
|
+
return {
|
|
11241
|
+
getSelectGoodList: function getSelectGoodList() {
|
|
11242
|
+
return selectList;
|
|
11243
|
+
}
|
|
11244
|
+
};
|
|
11245
|
+
});
|
|
11245
11246
|
var displaySelectList = useMemo(function () {
|
|
11246
11247
|
return selectList.map(function (item, i) {
|
|
11247
11248
|
item.index = i + 1;
|
|
11248
11249
|
return item;
|
|
11249
11250
|
});
|
|
11250
11251
|
}, [selectList]);
|
|
11251
|
-
useEffect(function () {
|
|
11252
|
-
if (visible) {
|
|
11253
|
-
queryItems();
|
|
11254
|
-
}
|
|
11255
|
-
}, [pageNo, visible]);
|
|
11256
11252
|
var _Form$useForm = Form.useForm(),
|
|
11257
11253
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
11258
11254
|
form = _Form$useForm2[0];
|
|
11259
|
-
//选择页码
|
|
11260
|
-
var pageChange = function pageChange(page) {
|
|
11261
|
-
setPageNo(page);
|
|
11262
|
-
};
|
|
11263
11255
|
/**
|
|
11264
11256
|
* 查询商品
|
|
11265
11257
|
*/
|
|
11266
11258
|
var queryItems = /*#__PURE__*/function () {
|
|
11267
11259
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
11268
|
-
var
|
|
11269
|
-
_formData$dateTimePic,
|
|
11270
|
-
_formData$dateTimePic2,
|
|
11271
|
-
_formData$dateTimePic3,
|
|
11272
|
-
_formData$dateTimePic4,
|
|
11273
|
-
_formData$dateTimePic5,
|
|
11274
|
-
_formData$dateTimePic6,
|
|
11275
|
-
formData,
|
|
11276
|
-
startTime,
|
|
11277
|
-
endTime,
|
|
11278
|
-
params,
|
|
11279
|
-
res,
|
|
11280
|
-
_res$data,
|
|
11281
|
-
_res$data$productList,
|
|
11282
|
-
productList,
|
|
11283
|
-
_res$data$total,
|
|
11284
|
-
_total,
|
|
11285
|
-
errorMsg,
|
|
11286
|
-
newProducts,
|
|
11287
|
-
_args = arguments;
|
|
11260
|
+
var _formData$dateTimePic, _formData$dateTimePic2, _formData$dateTimePic3, _formData$dateTimePic4, _formData$dateTimePic5, _formData$dateTimePic6, formData, _getInitTime, _getInitTime2, start, end, startTime, endTime, newTime, earliest, params;
|
|
11288
11261
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11289
11262
|
while (1) switch (_context.prev = _context.next) {
|
|
11290
11263
|
case 0:
|
|
11291
|
-
|
|
11292
|
-
_context.prev = 1;
|
|
11264
|
+
_context.prev = 0;
|
|
11293
11265
|
setLoading(true);
|
|
11294
11266
|
formData = form.getFieldsValue();
|
|
11295
|
-
|
|
11296
|
-
|
|
11267
|
+
_getInitTime = getInitTime(), _getInitTime2 = _slicedToArray(_getInitTime, 2), start = _getInitTime2[0], end = _getInitTime2[1];
|
|
11268
|
+
startTime = ((_formData$dateTimePic = formData.dateTimePicker) === null || _formData$dateTimePic === void 0 ? void 0 : (_formData$dateTimePic2 = _formData$dateTimePic[0]) === null || _formData$dateTimePic2 === void 0 ? void 0 : (_formData$dateTimePic3 = _formData$dateTimePic2.format) === null || _formData$dateTimePic3 === void 0 ? void 0 : _formData$dateTimePic3.call(_formData$dateTimePic2, 'YYYY-MM-DD HH:mm:ss')) || start.format('YYYY-MM-DD HH:mm:ss');
|
|
11269
|
+
endTime = ((_formData$dateTimePic4 = formData.dateTimePicker) === null || _formData$dateTimePic4 === void 0 ? void 0 : (_formData$dateTimePic5 = _formData$dateTimePic4[1]) === null || _formData$dateTimePic5 === void 0 ? void 0 : (_formData$dateTimePic6 = _formData$dateTimePic5.format) === null || _formData$dateTimePic6 === void 0 ? void 0 : _formData$dateTimePic6.call(_formData$dateTimePic5, 'YYYY-MM-DD HH:mm:ss')) || end.format('YYYY-MM-DD HH:mm:ss');
|
|
11270
|
+
endTime = hooks(endTime).hours(23).minutes(59).seconds(59).format('YYYY-MM-DD HH:mm:ss');
|
|
11271
|
+
// PS: 故意推前3分钟,不然极端情况下,接口会报错
|
|
11272
|
+
newTime = hooks().subtract(3, 'm'); // 只能选比现在早的时间
|
|
11273
|
+
if (hooks(endTime).diff(newTime, 'seconds') > 0) {
|
|
11274
|
+
endTime = newTime.format('YYYY-MM-DD HH:mm:ss');
|
|
11275
|
+
}
|
|
11276
|
+
// 30天内
|
|
11277
|
+
earliest = hooks(endTime).subtract(30, 'd');
|
|
11278
|
+
if (earliest.diff(hooks(startTime), 'seconds') > 0) {
|
|
11279
|
+
startTime = earliest.format('YYYY-MM-DD HH:mm:ss');
|
|
11280
|
+
}
|
|
11297
11281
|
params = {
|
|
11298
|
-
// shopCode: shopCode,
|
|
11299
11282
|
pageSize: pageSize,
|
|
11300
11283
|
pageNo: pageNo - 1,
|
|
11301
|
-
goodNo:
|
|
11284
|
+
goodNo: formData.goodNo || null,
|
|
11285
|
+
specNo: formData.specNo || null,
|
|
11302
11286
|
startTime: startTime,
|
|
11303
11287
|
endTime: endTime
|
|
11304
11288
|
};
|
|
11305
|
-
_context.next =
|
|
11306
|
-
return
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
|
|
11289
|
+
_context.next = 14;
|
|
11290
|
+
return getWdtListProduct(params).then(function (res) {
|
|
11291
|
+
if (res.success) {
|
|
11292
|
+
var _res$data = res.data,
|
|
11293
|
+
_res$data$productList = _res$data.productList,
|
|
11294
|
+
productList = _res$data$productList === void 0 ? [] : _res$data$productList,
|
|
11295
|
+
_res$data$total = _res$data.total,
|
|
11296
|
+
_total = _res$data$total === void 0 ? 0 : _res$data$total;
|
|
11297
|
+
var newProducts = productList.map(function (item, index) {
|
|
11298
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
11299
|
+
index: index + 1
|
|
11300
|
+
});
|
|
11317
11301
|
});
|
|
11318
|
-
|
|
11319
|
-
|
|
11320
|
-
|
|
11321
|
-
|
|
11302
|
+
setGoodList(newProducts);
|
|
11303
|
+
if (pageNo === 1) {
|
|
11304
|
+
setTotal(_total);
|
|
11305
|
+
}
|
|
11306
|
+
} else {
|
|
11307
|
+
var _res$data2;
|
|
11308
|
+
setGoodList([]);
|
|
11309
|
+
setTotal(0);
|
|
11310
|
+
message.error(((_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.errorMsg) || res.message);
|
|
11322
11311
|
}
|
|
11323
|
-
}
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
case 12:
|
|
11329
|
-
_context.prev = 12;
|
|
11312
|
+
}).catch(function (e) {
|
|
11313
|
+
console.log(e);
|
|
11314
|
+
});
|
|
11315
|
+
case 14:
|
|
11316
|
+
_context.prev = 14;
|
|
11330
11317
|
setLoading(false);
|
|
11331
|
-
return _context.finish(
|
|
11332
|
-
case
|
|
11318
|
+
return _context.finish(14);
|
|
11319
|
+
case 17:
|
|
11333
11320
|
case "end":
|
|
11334
11321
|
return _context.stop();
|
|
11335
11322
|
}
|
|
11336
|
-
}, _callee, null, [[
|
|
11323
|
+
}, _callee, null, [[0,, 14, 17]]);
|
|
11337
11324
|
}));
|
|
11338
11325
|
return function queryItems() {
|
|
11339
11326
|
return _ref.apply(this, arguments);
|
|
11340
11327
|
};
|
|
11341
11328
|
}();
|
|
11342
|
-
var
|
|
11343
|
-
|
|
11344
|
-
|
|
11345
|
-
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11329
|
+
var disabledDate = function disabledDate(current) {
|
|
11330
|
+
var today = hooks(hooks().format('YYYY-MM-DD'));
|
|
11331
|
+
var currentDay = hooks(current.format('YYYY-MM-DD'));
|
|
11332
|
+
if (currentDay.diff(today, 'days') > 0) {
|
|
11333
|
+
return true;
|
|
11334
|
+
}
|
|
11335
|
+
if (!dates) {
|
|
11336
|
+
return false;
|
|
11337
|
+
}
|
|
11338
|
+
var tooLate = dates[0] && current.diff(dates[0], 'days') > 30;
|
|
11339
|
+
var tooEarly = dates[1] && dates[1].diff(current, 'days') > 30;
|
|
11340
|
+
return !!tooEarly || !!tooLate;
|
|
11341
|
+
};
|
|
11342
|
+
var onOpenChange = function onOpenChange(open) {
|
|
11343
|
+
if (open) {
|
|
11344
|
+
setDates([null, null]);
|
|
11345
|
+
} else {
|
|
11346
|
+
setDates(null);
|
|
11347
|
+
}
|
|
11354
11348
|
};
|
|
11355
11349
|
var onReset = function onReset() {
|
|
11356
|
-
form.resetFields();
|
|
11357
11350
|
form.setFieldsValue({
|
|
11358
|
-
dateTimePicker:
|
|
11359
|
-
|
|
11351
|
+
dateTimePicker: getInitTime(),
|
|
11352
|
+
goodNo: '',
|
|
11353
|
+
specNo: ''
|
|
11360
11354
|
});
|
|
11361
11355
|
setPageNo(function (prev) {
|
|
11362
|
-
if (prev === 1
|
|
11356
|
+
if (prev === 1) {
|
|
11363
11357
|
queryItems();
|
|
11364
11358
|
}
|
|
11365
11359
|
return 1;
|
|
11366
11360
|
});
|
|
11367
11361
|
};
|
|
11368
|
-
|
|
11369
|
-
// const { success, data } = await request('/qy/diamond/getConfigInfo', {
|
|
11370
|
-
// method: 'get',
|
|
11371
|
-
// params: {
|
|
11372
|
-
// key: 'company-third-shop-info',
|
|
11373
|
-
// },
|
|
11374
|
-
// });
|
|
11375
|
-
// const obj: any = JSON.parse(data || '{}');
|
|
11376
|
-
// if (success) {
|
|
11377
|
-
// const list = (obj?.[companyKey] || []).map((item: any) => {
|
|
11378
|
-
// return {
|
|
11379
|
-
// label: item.shopName,
|
|
11380
|
-
// value: item.shopCode,
|
|
11381
|
-
// };
|
|
11382
|
-
// });
|
|
11383
|
-
// setShopList(list);
|
|
11384
|
-
// }
|
|
11385
|
-
// };
|
|
11386
|
-
var onValuesChange = function onValuesChange(changedValues) {
|
|
11387
|
-
if (changedValues === null || changedValues === void 0 ? void 0 : changedValues['shopId']) {
|
|
11388
|
-
queryItems(changedValues === null || changedValues === void 0 ? void 0 : changedValues.shopId);
|
|
11389
|
-
pubsub.publish('changeShopCode', {
|
|
11390
|
-
shopCode: changedValues.shopId
|
|
11391
|
-
});
|
|
11392
|
-
}
|
|
11393
|
-
};
|
|
11394
|
-
var handleDelete = function handleDelete(record, index) {
|
|
11362
|
+
var handleDelete = function handleDelete(record) {
|
|
11395
11363
|
var newSelectList = selectList.filter(function (item) {
|
|
11396
11364
|
return item.specId !== record.specId;
|
|
11397
11365
|
});
|
|
11398
11366
|
setSelect(_toConsumableArray(newSelectList));
|
|
11399
|
-
setSelectIds(_toConsumableArray(newSelectList.map(function (item) {
|
|
11400
|
-
return item.specId;
|
|
11401
|
-
})));
|
|
11402
11367
|
};
|
|
11403
11368
|
var displaySelectedColumns = [{
|
|
11404
11369
|
dataIndex: 'operation',
|
|
11405
11370
|
title: '',
|
|
11406
11371
|
ellipsis: true,
|
|
11407
11372
|
width: 50,
|
|
11408
|
-
render: function render(_, record
|
|
11373
|
+
render: function render(_, record) {
|
|
11409
11374
|
return /*#__PURE__*/React.createElement(DeleteOutlined, {
|
|
11410
11375
|
onClick: function onClick() {
|
|
11411
11376
|
return handleDelete(record);
|
|
@@ -11436,8 +11401,10 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11436
11401
|
}];
|
|
11437
11402
|
var expandedRowSelection = {
|
|
11438
11403
|
fixed: true,
|
|
11439
|
-
selectedRowKeys:
|
|
11440
|
-
|
|
11404
|
+
selectedRowKeys: selectList.map(function (item) {
|
|
11405
|
+
return item.specId;
|
|
11406
|
+
}),
|
|
11407
|
+
onSelect: function onSelect(record, selected) {
|
|
11441
11408
|
var tempList = [];
|
|
11442
11409
|
if (selected) {
|
|
11443
11410
|
tempList = [].concat(_toConsumableArray(selectList), [record]);
|
|
@@ -11447,9 +11414,6 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11447
11414
|
});
|
|
11448
11415
|
}
|
|
11449
11416
|
setSelect(_toConsumableArray(tempList));
|
|
11450
|
-
setSelectIds(_toConsumableArray(tempList.map(function (item) {
|
|
11451
|
-
return item.specId;
|
|
11452
|
-
})));
|
|
11453
11417
|
},
|
|
11454
11418
|
onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
|
|
11455
11419
|
var tempAllList = [];
|
|
@@ -11463,15 +11427,12 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11463
11427
|
});
|
|
11464
11428
|
}
|
|
11465
11429
|
setSelect(_toConsumableArray(tempAllList));
|
|
11466
|
-
setSelectIds(_toConsumableArray(tempAllList.map(function (item) {
|
|
11467
|
-
return item.specId;
|
|
11468
|
-
})));
|
|
11469
11430
|
}
|
|
11470
11431
|
};
|
|
11471
|
-
var expandedRowRender = function expandedRowRender(record
|
|
11432
|
+
var expandedRowRender = function expandedRowRender(record) {
|
|
11472
11433
|
return /*#__PURE__*/React.createElement(Table, {
|
|
11473
|
-
rowKey:
|
|
11474
|
-
size:
|
|
11434
|
+
rowKey: "specId",
|
|
11435
|
+
size: "small",
|
|
11475
11436
|
columns: expandedColumns,
|
|
11476
11437
|
dataSource: record.itemDetailList || [],
|
|
11477
11438
|
pagination: false,
|
|
@@ -11481,43 +11442,61 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11481
11442
|
}
|
|
11482
11443
|
});
|
|
11483
11444
|
};
|
|
11484
|
-
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
visible: visible,
|
|
11489
|
-
width: width || 850,
|
|
11490
|
-
onCancel: function onCancel() {
|
|
11491
|
-
_onCancel();
|
|
11492
|
-
},
|
|
11493
|
-
onOk: onOk,
|
|
11494
|
-
wrapClassName: "goodModal"
|
|
11495
|
-
}, /*#__PURE__*/React.createElement(Form, {
|
|
11445
|
+
React.useEffect(function () {
|
|
11446
|
+
queryItems();
|
|
11447
|
+
}, []);
|
|
11448
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Form, {
|
|
11496
11449
|
layout: "inline",
|
|
11497
11450
|
form: form,
|
|
11498
|
-
onFinish:
|
|
11499
|
-
onValuesChange: onValuesChange,
|
|
11451
|
+
onFinish: queryItems,
|
|
11500
11452
|
initialValues: {
|
|
11501
|
-
|
|
11453
|
+
goodNo: '',
|
|
11454
|
+
specNo: '',
|
|
11455
|
+
dateTimePicker: getInitTime()
|
|
11502
11456
|
}
|
|
11503
11457
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
11504
|
-
name: "dateTimePicker"
|
|
11458
|
+
name: "dateTimePicker",
|
|
11459
|
+
style: {
|
|
11460
|
+
marginBottom: '12px'
|
|
11461
|
+
}
|
|
11505
11462
|
}, /*#__PURE__*/React.createElement(RangePicker, {
|
|
11506
11463
|
style: {
|
|
11507
|
-
width: '
|
|
11464
|
+
width: '240px'
|
|
11508
11465
|
},
|
|
11509
11466
|
placeholder: ['开始日期', '结束日期'],
|
|
11510
|
-
showTime:
|
|
11511
|
-
|
|
11467
|
+
showTime: false,
|
|
11468
|
+
disabledDate: disabledDate,
|
|
11469
|
+
onCalendarChange: function onCalendarChange(val) {
|
|
11470
|
+
return setDates(val);
|
|
11471
|
+
},
|
|
11472
|
+
onOpenChange: onOpenChange
|
|
11512
11473
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
11513
|
-
name: "
|
|
11474
|
+
name: "goodNo",
|
|
11475
|
+
style: {
|
|
11476
|
+
marginBottom: '12px'
|
|
11477
|
+
}
|
|
11514
11478
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
11515
11479
|
placeholder: "\u5546\u54C1SPU\u7F16\u7801",
|
|
11516
11480
|
allowClear: true,
|
|
11517
11481
|
style: {
|
|
11518
11482
|
width: 150
|
|
11519
11483
|
}
|
|
11520
|
-
})), /*#__PURE__*/React.createElement(Form.Item,
|
|
11484
|
+
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
11485
|
+
name: "specNo",
|
|
11486
|
+
style: {
|
|
11487
|
+
marginBottom: '12px'
|
|
11488
|
+
}
|
|
11489
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
11490
|
+
placeholder: "\u5546\u54C1SKU\u7F16\u7801",
|
|
11491
|
+
allowClear: true,
|
|
11492
|
+
style: {
|
|
11493
|
+
width: 150
|
|
11494
|
+
}
|
|
11495
|
+
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
11496
|
+
style: {
|
|
11497
|
+
marginBottom: '12px'
|
|
11498
|
+
}
|
|
11499
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
11521
11500
|
type: "primary",
|
|
11522
11501
|
htmlType: "submit",
|
|
11523
11502
|
style: {
|
|
@@ -11527,10 +11506,10 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11527
11506
|
onClick: onReset
|
|
11528
11507
|
}, "\u91CD\u7F6E"))), /*#__PURE__*/React.createElement("div", {
|
|
11529
11508
|
style: {
|
|
11530
|
-
marginTop: '
|
|
11509
|
+
marginTop: '4px'
|
|
11531
11510
|
}
|
|
11532
11511
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
11533
|
-
rowKey:
|
|
11512
|
+
rowKey: "goodNo",
|
|
11534
11513
|
columns: columns$1,
|
|
11535
11514
|
dataSource: goodList,
|
|
11536
11515
|
loading: loading,
|
|
@@ -11547,14 +11526,14 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11547
11526
|
current: pageNo,
|
|
11548
11527
|
pageSize: pageSize,
|
|
11549
11528
|
pageSizeOptions: [],
|
|
11550
|
-
onChange:
|
|
11529
|
+
onChange: setPageNo
|
|
11551
11530
|
}
|
|
11552
11531
|
})), !!selectList.length && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, "\u5DF2\u7ECF\u9009\u62E9\u5546\u54C1\uFF08", selectList.length, "\uFF09"), /*#__PURE__*/React.createElement("div", {
|
|
11553
11532
|
style: {
|
|
11554
11533
|
marginTop: '16px'
|
|
11555
11534
|
}
|
|
11556
11535
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
11557
|
-
rowKey:
|
|
11536
|
+
rowKey: "specId",
|
|
11558
11537
|
columns: [].concat(displaySelectedColumns, expandedColumns),
|
|
11559
11538
|
dataSource: displaySelectList,
|
|
11560
11539
|
pagination: false,
|
|
@@ -11565,7 +11544,48 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11565
11544
|
style: {
|
|
11566
11545
|
width: '100%'
|
|
11567
11546
|
}
|
|
11568
|
-
}))))
|
|
11547
|
+
}))));
|
|
11548
|
+
};
|
|
11549
|
+
var WdtGoodList = /*#__PURE__*/forwardRef(GoodList);
|
|
11550
|
+
|
|
11551
|
+
var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
11552
|
+
useImperativeHandle(ref, function () {
|
|
11553
|
+
return {
|
|
11554
|
+
open: function open() {
|
|
11555
|
+
setVisible(true);
|
|
11556
|
+
}
|
|
11557
|
+
};
|
|
11558
|
+
});
|
|
11559
|
+
var onSubmit = props.onSubmit,
|
|
11560
|
+
width = props.width;
|
|
11561
|
+
var _useState = useState(false),
|
|
11562
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11563
|
+
visible = _useState2[0],
|
|
11564
|
+
setVisible = _useState2[1];
|
|
11565
|
+
var wdtGoodListRef = useRef(null);
|
|
11566
|
+
var _onCancel = function onCancel() {
|
|
11567
|
+
setVisible(false);
|
|
11568
|
+
};
|
|
11569
|
+
var onOk = function onOk() {
|
|
11570
|
+
var _wdtGoodListRef$curre;
|
|
11571
|
+
var selectedList = ((_wdtGoodListRef$curre = wdtGoodListRef.current) === null || _wdtGoodListRef$curre === void 0 ? void 0 : _wdtGoodListRef$curre.getSelectGoodList()) || [];
|
|
11572
|
+
onSubmit(selectedList);
|
|
11573
|
+
_onCancel();
|
|
11574
|
+
};
|
|
11575
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, visible && /*#__PURE__*/React.createElement(Modal, {
|
|
11576
|
+
title: '选择商品',
|
|
11577
|
+
okText: '确认',
|
|
11578
|
+
cancelText: '取消',
|
|
11579
|
+
visible: visible,
|
|
11580
|
+
width: width || 850,
|
|
11581
|
+
onCancel: function onCancel() {
|
|
11582
|
+
_onCancel();
|
|
11583
|
+
},
|
|
11584
|
+
onOk: onOk,
|
|
11585
|
+
wrapClassName: "goodModal"
|
|
11586
|
+
}, /*#__PURE__*/React.createElement(WdtGoodList, {
|
|
11587
|
+
ref: wdtGoodListRef
|
|
11588
|
+
})));
|
|
11569
11589
|
};
|
|
11570
11590
|
var WdtGoodsModal = /*#__PURE__*/forwardRef(GoodsModal$3);
|
|
11571
11591
|
|
|
@@ -12352,20 +12372,6 @@ var typeMap = {
|
|
|
12352
12372
|
money: 'money',
|
|
12353
12373
|
share: 'share'
|
|
12354
12374
|
}
|
|
12355
|
-
},
|
|
12356
|
-
WDT_REISSUE_GOODS: {
|
|
12357
|
-
key: 'wdtReissueGoods',
|
|
12358
|
-
name: '旺店通',
|
|
12359
|
-
typeName: 'wdtReissueType',
|
|
12360
|
-
reissueSelectList: 'wdtReissueSelectList',
|
|
12361
|
-
reissueSelectListReturn: 'wdtReissueSelectListReturn',
|
|
12362
|
-
reissueDeleteGood: 'wdtReissueDeleteGood',
|
|
12363
|
-
changeShopCode: 'wdtChangeShopCode',
|
|
12364
|
-
reissueType: 'wdtReissueType',
|
|
12365
|
-
formatDefaultField: {
|
|
12366
|
-
money: 'orderPrice',
|
|
12367
|
-
share: 'sharePrice'
|
|
12368
|
-
}
|
|
12369
12375
|
}
|
|
12370
12376
|
};
|
|
12371
12377
|
var BsReissue = function BsReissue(props) {
|
|
@@ -12619,7 +12625,7 @@ var index$1 = (function (props) {
|
|
|
12619
12625
|
getWdtOrderList(value.orderNo);
|
|
12620
12626
|
}
|
|
12621
12627
|
}
|
|
12622
|
-
}, [value, type]);
|
|
12628
|
+
}, [value === null || value === void 0 ? void 0 : value.orderNo, type]);
|
|
12623
12629
|
var columns = useMemo(function () {
|
|
12624
12630
|
var _columnsNameMap$type, _columnsNameMap$type2;
|
|
12625
12631
|
return [{
|
|
@@ -12968,6 +12974,245 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
12968
12974
|
}));
|
|
12969
12975
|
};
|
|
12970
12976
|
|
|
12977
|
+
var _excluded$g = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
12978
|
+
var typeMap$1 = {
|
|
12979
|
+
WDT_REISSUE_GOODS: {
|
|
12980
|
+
key: 'wdtReissueGoods',
|
|
12981
|
+
name: '旺店通',
|
|
12982
|
+
typeName: 'wdtReissueType',
|
|
12983
|
+
wdtSystemOrder: 'wdtSystemOrder',
|
|
12984
|
+
wdtSystemOrderNo: 'wdtSystemOrderNo',
|
|
12985
|
+
reissueSelectList: 'wdtReissueSelectList',
|
|
12986
|
+
reissueSelectListReturn: 'wdtReissueSelectListReturn',
|
|
12987
|
+
reissueDeleteGood: 'wdtReissueDeleteGood',
|
|
12988
|
+
changeShopCode: 'wdtChangeShopCode',
|
|
12989
|
+
reissueType: 'wdtReissueType',
|
|
12990
|
+
formatDefaultField: {
|
|
12991
|
+
money: 'orderPrice',
|
|
12992
|
+
share: 'sharePrice'
|
|
12993
|
+
}
|
|
12994
|
+
}
|
|
12995
|
+
};
|
|
12996
|
+
var wdtReissue = function wdtReissue(props) {
|
|
12997
|
+
var _typeMap$type7, _value$typeMap$type$t3, _typeMap$type11, _typeMap$type25, _typeMap$type26, _value$typeMap$type$w2, _typeMap$type27, _typeMap$type28, _typeMap$type29;
|
|
12998
|
+
var value = props.value,
|
|
12999
|
+
onChange = props.onChange,
|
|
13000
|
+
_props$reasonList = props.reasonList,
|
|
13001
|
+
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
13002
|
+
disabled = props.disabled,
|
|
13003
|
+
type = props.type,
|
|
13004
|
+
other = _objectWithoutProperties(props, _excluded$g);
|
|
13005
|
+
var valueRef = useRef({});
|
|
13006
|
+
useEffect(function () {
|
|
13007
|
+
var _typeMap$type, _typeMap$type4;
|
|
13008
|
+
valueRef.current = value;
|
|
13009
|
+
pubsub.subscribeOnce("".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type = typeMap$1[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.reissueDeleteGood), function (_, data) {
|
|
13010
|
+
if (disabled) return;
|
|
13011
|
+
if (value) {
|
|
13012
|
+
var _typeMap$type2, _typeMap$type3;
|
|
13013
|
+
var newValue = _objectSpread2({}, value);
|
|
13014
|
+
newValue["".concat((_typeMap$type2 = typeMap$1[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.key)] = newValue === null || newValue === void 0 ? void 0 : newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type3 = typeMap$1[type]) === null || _typeMap$type3 === void 0 ? void 0 : _typeMap$type3.key)].filter(function (item) {
|
|
13015
|
+
return item.sku !== data;
|
|
13016
|
+
});
|
|
13017
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13018
|
+
}
|
|
13019
|
+
});
|
|
13020
|
+
pubsub.subscribeOnce("".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type4 = typeMap$1[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.changeShopCode), function (type, data) {
|
|
13021
|
+
onChange(_objectSpread2(_objectSpread2({}, value), {}, {
|
|
13022
|
+
shopCode: data.shopCode
|
|
13023
|
+
}));
|
|
13024
|
+
});
|
|
13025
|
+
}, [value, disabled]);
|
|
13026
|
+
useEffect(function () {
|
|
13027
|
+
var _value$orders, _value$showOrderInfo;
|
|
13028
|
+
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)) {
|
|
13029
|
+
if (type === 'WDT_SYSTEM_ORDER') {
|
|
13030
|
+
getWdtOrderList(value.orderNo);
|
|
13031
|
+
}
|
|
13032
|
+
}
|
|
13033
|
+
return;
|
|
13034
|
+
}, [value]);
|
|
13035
|
+
useEffect(function () {
|
|
13036
|
+
var _typeMap$type5;
|
|
13037
|
+
var wdtSystemOrderNo = value === null || value === void 0 ? void 0 : value[(_typeMap$type5 = typeMap$1[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.wdtSystemOrderNo];
|
|
13038
|
+
if (wdtSystemOrderNo) {
|
|
13039
|
+
var _value$typeMap$type$t, _typeMap$type6;
|
|
13040
|
+
if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t = value[(_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.typeName]) === null || _value$typeMap$type$t === void 0 ? void 0 : _value$typeMap$type$t[0])) {
|
|
13041
|
+
getGoodItems(wdtSystemOrderNo);
|
|
13042
|
+
}
|
|
13043
|
+
}
|
|
13044
|
+
return;
|
|
13045
|
+
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type7 = typeMap$1[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.wdtSystemOrderNo]]);
|
|
13046
|
+
useEffect(function () {
|
|
13047
|
+
var _value$typeMap$type$t2, _typeMap$type8, _typeMap$type9;
|
|
13048
|
+
var typeName = value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type8 = typeMap$1[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0];
|
|
13049
|
+
var wdtSystemOrderNo = value === null || value === void 0 ? void 0 : value[(_typeMap$type9 = typeMap$1[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.wdtSystemOrderNo];
|
|
13050
|
+
if (['1'].includes(typeName)) {
|
|
13051
|
+
wdtSystemOrderNo && getGoodItems(wdtSystemOrderNo);
|
|
13052
|
+
} else if (['2'].includes(typeName)) {
|
|
13053
|
+
var _typeMap$type10;
|
|
13054
|
+
var newValue = _objectSpread2({}, value);
|
|
13055
|
+
newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type10 = typeMap$1[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.key)] = [];
|
|
13056
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13057
|
+
}
|
|
13058
|
+
return;
|
|
13059
|
+
}, [value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type11 = typeMap$1[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0]]);
|
|
13060
|
+
var getGoodItems = function getGoodItems(wdtSystemOrderNo) {
|
|
13061
|
+
var _value$typeMap$type$w, _typeMap$type12, _ref;
|
|
13062
|
+
var orders = value === null || value === void 0 ? void 0 : (_value$typeMap$type$w = value[(_typeMap$type12 = typeMap$1[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.wdtSystemOrder]) === null || _value$typeMap$type$w === void 0 ? void 0 : _value$typeMap$type$w.orders;
|
|
13063
|
+
var order = (_ref = orders || []) === null || _ref === void 0 ? void 0 : _ref.find(function (orderItem) {
|
|
13064
|
+
return orderItem.billNo === wdtSystemOrderNo;
|
|
13065
|
+
});
|
|
13066
|
+
if (order) {
|
|
13067
|
+
var _typeMap$type13, _order$goodDetails;
|
|
13068
|
+
var newValue = _objectSpread2({}, value);
|
|
13069
|
+
newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type13 = typeMap$1[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.key)] = order === null || order === void 0 ? void 0 : (_order$goodDetails = order.goodDetails) === null || _order$goodDetails === void 0 ? void 0 : _order$goodDetails.map(function (item) {
|
|
13070
|
+
var _typeMap$type14, _typeMap$type15;
|
|
13071
|
+
item["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type14 = typeMap$1[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.formatDefaultField.money)] = 0;
|
|
13072
|
+
item["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type15 = typeMap$1[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.formatDefaultField.share)] = 0;
|
|
13073
|
+
item.canUpdateNumber = true;
|
|
13074
|
+
return item;
|
|
13075
|
+
});
|
|
13076
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13077
|
+
}
|
|
13078
|
+
};
|
|
13079
|
+
var getWdtOrderList = /*#__PURE__*/function () {
|
|
13080
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
|
|
13081
|
+
var _yield$request, success, data, _typeMap$type16, _typeMap$type17, orders, showOrderInfo;
|
|
13082
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13083
|
+
while (1) switch (_context.prev = _context.next) {
|
|
13084
|
+
case 0:
|
|
13085
|
+
_context.next = 2;
|
|
13086
|
+
return extendRequest('/qy/gdfw/order/wdtOrderDetail', {
|
|
13087
|
+
method: 'post',
|
|
13088
|
+
data: {
|
|
13089
|
+
billNo: orderNo
|
|
13090
|
+
}
|
|
13091
|
+
});
|
|
13092
|
+
case 2:
|
|
13093
|
+
_yield$request = _context.sent;
|
|
13094
|
+
success = _yield$request.success;
|
|
13095
|
+
data = _yield$request.data;
|
|
13096
|
+
if (success) {
|
|
13097
|
+
orders = ((data === null || data === void 0 ? void 0 : data.trades) || []).map(function (item) {
|
|
13098
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
13099
|
+
billNo: item.tradeNo,
|
|
13100
|
+
billType: WDT_ORDER_TYPE_MAP[item.tradeType],
|
|
13101
|
+
billTag: item.tagName
|
|
13102
|
+
});
|
|
13103
|
+
});
|
|
13104
|
+
showOrderInfo = data === null || data === void 0 ? void 0 : data.trades.map(function (item) {
|
|
13105
|
+
return {
|
|
13106
|
+
billNo: item.tradeNo,
|
|
13107
|
+
billType: WDT_ORDER_TYPE_MAP[item.tradeType],
|
|
13108
|
+
billTag: item.tagName
|
|
13109
|
+
};
|
|
13110
|
+
});
|
|
13111
|
+
onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type16 = typeMap$1[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.wdtSystemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type17 = typeMap$1[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.wdtSystemOrder]), {}, {
|
|
13112
|
+
showOrderInfo: showOrderInfo,
|
|
13113
|
+
orders: orders
|
|
13114
|
+
}))));
|
|
13115
|
+
}
|
|
13116
|
+
case 6:
|
|
13117
|
+
case "end":
|
|
13118
|
+
return _context.stop();
|
|
13119
|
+
}
|
|
13120
|
+
}, _callee);
|
|
13121
|
+
}));
|
|
13122
|
+
return function getWdtOrderList(_x) {
|
|
13123
|
+
return _ref2.apply(this, arguments);
|
|
13124
|
+
};
|
|
13125
|
+
}();
|
|
13126
|
+
var changeTypeHandle = function changeTypeHandle(val) {
|
|
13127
|
+
var _typeMap$type18, _typeMap$type19;
|
|
13128
|
+
var newValue = _objectSpread2({}, value);
|
|
13129
|
+
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.typeName)] = val;
|
|
13130
|
+
newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type19 = typeMap$1[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.key)] = [];
|
|
13131
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13132
|
+
valueRef.current = newValue;
|
|
13133
|
+
// if (['2'].includes(val[0])) {
|
|
13134
|
+
// onChange?.(newValue);
|
|
13135
|
+
// valueRef.current = newValue;
|
|
13136
|
+
// }
|
|
13137
|
+
// pubsub.publish(`${typeMap?.[type]?.reissueType}`, {
|
|
13138
|
+
// val: val[0],
|
|
13139
|
+
// goodValue: newValue,
|
|
13140
|
+
// });
|
|
13141
|
+
};
|
|
13142
|
+
|
|
13143
|
+
var changeGoodHandle = function changeGoodHandle(val) {
|
|
13144
|
+
var _typeMap$type20;
|
|
13145
|
+
var newValue = _objectSpread2({}, value);
|
|
13146
|
+
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)] = (val || []).map(function (item) {
|
|
13147
|
+
var _typeMap$type21, _typeMap$type22;
|
|
13148
|
+
item["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type21 = typeMap$1[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.formatDefaultField.money)] = 0;
|
|
13149
|
+
item["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type22 = typeMap$1[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.formatDefaultField.share)] = 0;
|
|
13150
|
+
return item;
|
|
13151
|
+
});
|
|
13152
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13153
|
+
};
|
|
13154
|
+
var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
|
|
13155
|
+
var _typeMap$type23;
|
|
13156
|
+
var newValue = _objectSpread2({}, value);
|
|
13157
|
+
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.wdtSystemOrderNo)] = val;
|
|
13158
|
+
console.log('changeSystemOrderHandle', val, newValue);
|
|
13159
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13160
|
+
};
|
|
13161
|
+
//显示选择商品按钮 原单换不显示选择商品
|
|
13162
|
+
var showChangeBtn = useMemo(function () {
|
|
13163
|
+
var _typeMap$type24;
|
|
13164
|
+
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type24 = typeMap$1[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.wdtSystemOrderNo]);
|
|
13165
|
+
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.wdtSystemOrderNo]]);
|
|
13166
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
13167
|
+
gutter: 8
|
|
13168
|
+
}, /*#__PURE__*/React.createElement(Col, {
|
|
13169
|
+
className: "gutter-row",
|
|
13170
|
+
span: 6
|
|
13171
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
13172
|
+
style: {
|
|
13173
|
+
marginBottom: '8px'
|
|
13174
|
+
},
|
|
13175
|
+
disabled: disabled,
|
|
13176
|
+
allowClear: false,
|
|
13177
|
+
value: 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.wdtSystemOrderNo)],
|
|
13178
|
+
onChange: function onChange(val) {
|
|
13179
|
+
return changeSystemOrderHandle(val);
|
|
13180
|
+
}
|
|
13181
|
+
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$w2 = value[(_typeMap$type27 = typeMap$1[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.wdtSystemOrder]) === null || _value$typeMap$type$w2 === void 0 ? void 0 : _value$typeMap$type$w2.showOrderInfo) || []).map(function (item) {
|
|
13182
|
+
return /*#__PURE__*/React.createElement(Select.Option, {
|
|
13183
|
+
key: item.billNo,
|
|
13184
|
+
value: item.billNo,
|
|
13185
|
+
label: item.billNo
|
|
13186
|
+
}, item.billNo);
|
|
13187
|
+
}))), /*#__PURE__*/React.createElement(Col, {
|
|
13188
|
+
className: "gutter-row",
|
|
13189
|
+
span: 6
|
|
13190
|
+
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
13191
|
+
style: {
|
|
13192
|
+
marginBottom: '8px'
|
|
13193
|
+
},
|
|
13194
|
+
disabled: disabled,
|
|
13195
|
+
allowClear: false,
|
|
13196
|
+
options: reasonList,
|
|
13197
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type28 = typeMap$1[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.typeName)],
|
|
13198
|
+
onChange: function onChange(val) {
|
|
13199
|
+
return changeTypeHandle(val);
|
|
13200
|
+
}
|
|
13201
|
+
}))), /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
|
|
13202
|
+
key: 'reissueGoods'
|
|
13203
|
+
}, other), {}, {
|
|
13204
|
+
type: type,
|
|
13205
|
+
disabled: disabled,
|
|
13206
|
+
canUpdateNumber: showChangeBtn,
|
|
13207
|
+
showChangeBtn: showChangeBtn,
|
|
13208
|
+
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
13209
|
+
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.key)],
|
|
13210
|
+
onChange: function onChange(val) {
|
|
13211
|
+
return changeGoodHandle(val);
|
|
13212
|
+
}
|
|
13213
|
+
})));
|
|
13214
|
+
};
|
|
13215
|
+
|
|
12971
13216
|
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";
|
|
12972
13217
|
styleInject(css_248z$a);
|
|
12973
13218
|
|
|
@@ -13444,12 +13689,12 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
13444
13689
|
};
|
|
13445
13690
|
var index$2 = /*#__PURE__*/forwardRef(Goods$1);
|
|
13446
13691
|
|
|
13447
|
-
var _excluded$
|
|
13692
|
+
var _excluded$h = ["onChange", "value", "failValue"];
|
|
13448
13693
|
function CommonStatus(props) {
|
|
13449
13694
|
var onChange = props.onChange,
|
|
13450
13695
|
value = props.value,
|
|
13451
13696
|
failValue = props.failValue,
|
|
13452
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
13697
|
+
other = _objectWithoutProperties(props, _excluded$h);
|
|
13453
13698
|
var changeHandle = function changeHandle(val) {
|
|
13454
13699
|
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
13455
13700
|
status: val,
|
|
@@ -13568,7 +13813,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
13568
13813
|
})) : null) : null);
|
|
13569
13814
|
};
|
|
13570
13815
|
|
|
13571
|
-
var _excluded$
|
|
13816
|
+
var _excluded$i = ["value", "onChange", "disabled", "failValue", "type"];
|
|
13572
13817
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
13573
13818
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
13574
13819
|
var _props$value = props.value,
|
|
@@ -13578,7 +13823,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
13578
13823
|
failValue = props.failValue,
|
|
13579
13824
|
_props$type = props.type,
|
|
13580
13825
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
13581
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
13826
|
+
other = _objectWithoutProperties(props, _excluded$i);
|
|
13582
13827
|
var _useState = useState(0),
|
|
13583
13828
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13584
13829
|
changeIndex = _useState2[0],
|
|
@@ -13644,7 +13889,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
13644
13889
|
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null) : null);
|
|
13645
13890
|
};
|
|
13646
13891
|
|
|
13647
|
-
var _excluded$
|
|
13892
|
+
var _excluded$j = ["value", "onChange", "disabled", "failValue", "type"];
|
|
13648
13893
|
var msgTypeCh = {
|
|
13649
13894
|
ding: '钉钉',
|
|
13650
13895
|
wechat: '微信',
|
|
@@ -13660,7 +13905,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
13660
13905
|
failValue = props.failValue,
|
|
13661
13906
|
_props$type = props.type,
|
|
13662
13907
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
13663
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
13908
|
+
other = _objectWithoutProperties(props, _excluded$j);
|
|
13664
13909
|
var _useState = useState(0),
|
|
13665
13910
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13666
13911
|
changeIndex = _useState2[0],
|
|
@@ -13729,4 +13974,4 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
13729
13974
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
13730
13975
|
};
|
|
13731
13976
|
|
|
13732
|
-
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, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, Supplier, TBGoodId, TBGoodSerial, TradeId, WlnGoods };
|
|
13977
|
+
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, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods };
|