@kmkf-fe-packages/basic-components 1.0.3-alpha.0 → 1.0.4-rc.2
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 +514 -228
- package/dist/index.js +514 -226
- package/dist/src/bs/component/model/WdtGoodList.d.ts +40 -0
- package/dist/src/business/LogisticsInterception/index.d.ts +1 -0
- 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", "type"];
|
|
7567
7567
|
function ApaasLogistics(props) {
|
|
7568
7568
|
var value = props.value,
|
|
7569
7569
|
onChange = props.onChange,
|
|
7570
|
+
type = props.type,
|
|
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(type === 'WDT_LOGISTICS' ? 'wdt' : 'default');
|
|
7583
7584
|
setOptions(express.expressData || []);
|
|
7584
7585
|
case 2:
|
|
7585
7586
|
case "end":
|
|
@@ -9833,7 +9834,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9833
9834
|
interceptReceiverMobile: undefined,
|
|
9834
9835
|
interceptLogisticsStatus: undefined,
|
|
9835
9836
|
interceptLogisticsStatusOther: undefined,
|
|
9836
|
-
interceptLogisticsSnapshot: undefined
|
|
9837
|
+
interceptLogisticsSnapshot: undefined,
|
|
9838
|
+
qySelfInterceptLogisticsStatus: undefined
|
|
9837
9839
|
});
|
|
9838
9840
|
}
|
|
9839
9841
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
@@ -9978,6 +9980,26 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
9978
9980
|
onChange: function onChange(e) {
|
|
9979
9981
|
return changeHandle(e.target.value, 'interceptLogisticsStatusOther');
|
|
9980
9982
|
}
|
|
9983
|
+
})), /*#__PURE__*/React.createElement(Item, {
|
|
9984
|
+
label: '拦截状态',
|
|
9985
|
+
key: 'qySelfInterceptLogisticsStatus'
|
|
9986
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
9987
|
+
value: value === null || value === void 0 ? void 0 : value.qySelfInterceptLogisticsStatus,
|
|
9988
|
+
disabled: true,
|
|
9989
|
+
style: {
|
|
9990
|
+
width: '200px'
|
|
9991
|
+
},
|
|
9992
|
+
placeholder: "\u62E6\u622A\u72B6\u6001",
|
|
9993
|
+
onChange: function onChange(val) {
|
|
9994
|
+
return changeHandle(val, 'qySelfInterceptLogisticsStatus');
|
|
9995
|
+
},
|
|
9996
|
+
options: [{
|
|
9997
|
+
label: '拦截成功',
|
|
9998
|
+
value: '拦截成功'
|
|
9999
|
+
}, {
|
|
10000
|
+
label: '拦截失败',
|
|
10001
|
+
value: '拦截失败'
|
|
10002
|
+
}]
|
|
9981
10003
|
})));
|
|
9982
10004
|
};
|
|
9983
10005
|
|
|
@@ -10402,7 +10424,7 @@ var typeInitValueMap = {
|
|
|
10402
10424
|
}]
|
|
10403
10425
|
};
|
|
10404
10426
|
var jstGoods = function jstGoods(props) {
|
|
10405
|
-
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3, _value$changeIndex4, _value$changeIndex5, _value$changeIndex6, _value$changeIndex7;
|
|
10427
|
+
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3, _value$changeIndex4, _value$changeIndex5, _value$changeIndex6, _value$changeIndex7, _value$changeIndex8;
|
|
10406
10428
|
var _props$value = props.value,
|
|
10407
10429
|
value = _props$value === void 0 ? [] : _props$value,
|
|
10408
10430
|
onChange = props.onChange,
|
|
@@ -10410,11 +10432,14 @@ var jstGoods = function jstGoods(props) {
|
|
|
10410
10432
|
_props$type = props.type,
|
|
10411
10433
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
10412
10434
|
_props$showField = props.showField,
|
|
10413
|
-
showField = _props$showField === void 0 ? '' : _props$showField
|
|
10435
|
+
showField = _props$showField === void 0 ? '' : _props$showField,
|
|
10436
|
+
_props$componentType = props.componentType,
|
|
10437
|
+
componentType = _props$componentType === void 0 ? '' : _props$componentType;
|
|
10414
10438
|
var _useState = useState(0),
|
|
10415
10439
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10416
10440
|
changeIndex = _useState2[0],
|
|
10417
10441
|
setChangeIndex = _useState2[1]; //选中的包裹
|
|
10442
|
+
var wdtSendOptions = WdtSendData.getInstance().wdtSendData || [];
|
|
10418
10443
|
useEffect(function () {
|
|
10419
10444
|
//没有值塞个默认值
|
|
10420
10445
|
if (!(value === null || value === void 0 ? void 0 : value.length)) {
|
|
@@ -10441,6 +10466,18 @@ var jstGoods = function jstGoods(props) {
|
|
|
10441
10466
|
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, t.title), /*#__PURE__*/React.createElement("div", null, "\u7F16\u7801\uFF1A", t.skuId))));
|
|
10442
10467
|
}));
|
|
10443
10468
|
};
|
|
10469
|
+
var handleSelected = function handleSelected(val, type, option) {
|
|
10470
|
+
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
10471
|
+
changeOrderInfo[type] = val;
|
|
10472
|
+
changeOrderInfo['sendId'] = option.warehouseNo;
|
|
10473
|
+
var newList = _toConsumableArray(value);
|
|
10474
|
+
newList[changeIndex] = changeOrderInfo;
|
|
10475
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newList);
|
|
10476
|
+
};
|
|
10477
|
+
var filterOption = function filterOption(input, option) {
|
|
10478
|
+
var _option$label;
|
|
10479
|
+
return ((_option$label = option === null || option === void 0 ? void 0 : option.label) !== null && _option$label !== void 0 ? _option$label : '').includes(input);
|
|
10480
|
+
};
|
|
10444
10481
|
var changeInputHandle = function changeInputHandle(val, type) {
|
|
10445
10482
|
var changeOrderInfo = _objectSpread2({}, value[changeIndex]);
|
|
10446
10483
|
changeOrderInfo[type] = val;
|
|
@@ -10482,7 +10519,8 @@ var jstGoods = function jstGoods(props) {
|
|
|
10482
10519
|
style: {
|
|
10483
10520
|
minWidth: '100px',
|
|
10484
10521
|
maxWidth: '180px'
|
|
10485
|
-
}
|
|
10522
|
+
},
|
|
10523
|
+
type: componentType
|
|
10486
10524
|
}) : null, !showField || showField === 'logisticsCode' ? /*#__PURE__*/React.createElement(Input, {
|
|
10487
10525
|
disabled: disabled,
|
|
10488
10526
|
placeholder: "\u7269\u6D41\u5355\u53F7",
|
|
@@ -10511,20 +10549,34 @@ var jstGoods = function jstGoods(props) {
|
|
|
10511
10549
|
return changeInputHandle(e.target.value, 'sendId');
|
|
10512
10550
|
},
|
|
10513
10551
|
value: (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5.sendId
|
|
10514
|
-
}), ['sendName', 'all'].includes(showField) && /*#__PURE__*/React.createElement(
|
|
10552
|
+
}), ['sendName', 'all'].includes(showField) && (componentType === 'WDT_SEND_GOOD' ? /*#__PURE__*/React.createElement(Select, {
|
|
10553
|
+
style: {
|
|
10554
|
+
minWidth: '100px',
|
|
10555
|
+
maxWidth: '180px'
|
|
10556
|
+
},
|
|
10557
|
+
disabled: disabled,
|
|
10558
|
+
placeholder: "\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
10559
|
+
showSearch: true,
|
|
10560
|
+
options: wdtSendOptions,
|
|
10561
|
+
filterOption: filterOption,
|
|
10562
|
+
value: (_value$changeIndex6 = value[changeIndex]) === null || _value$changeIndex6 === void 0 ? void 0 : _value$changeIndex6.sendName,
|
|
10563
|
+
onChange: function onChange(value, option) {
|
|
10564
|
+
return handleSelected(value, 'sendName', option);
|
|
10565
|
+
}
|
|
10566
|
+
}) : /*#__PURE__*/React.createElement(Input, {
|
|
10515
10567
|
disabled: disabled,
|
|
10516
10568
|
placeholder: "\u8BF7\u8F93\u5165\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
10517
10569
|
onChange: function onChange(e) {
|
|
10518
10570
|
return changeInputHandle(e.target.value, 'sendName');
|
|
10519
10571
|
},
|
|
10520
|
-
value: (_value$
|
|
10521
|
-
})) : null, type === 4 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
|
|
10572
|
+
value: (_value$changeIndex7 = value[changeIndex]) === null || _value$changeIndex7 === void 0 ? void 0 : _value$changeIndex7.sendName
|
|
10573
|
+
}))) : null, type === 4 ? /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Input, {
|
|
10522
10574
|
disabled: disabled,
|
|
10523
10575
|
placeholder: "\u8BF7\u8F93\u5165\u51FA\u5E93\u5355\u7F16\u53F7",
|
|
10524
10576
|
onChange: function onChange(e) {
|
|
10525
10577
|
return changeInputHandle(e.target.value, 'deliveryNo');
|
|
10526
10578
|
},
|
|
10527
|
-
value: (_value$
|
|
10579
|
+
value: (_value$changeIndex8 = value[changeIndex]) === null || _value$changeIndex8 === void 0 ? void 0 : _value$changeIndex8.sendName
|
|
10528
10580
|
})) : null) : null);
|
|
10529
10581
|
};
|
|
10530
10582
|
|
|
@@ -11091,6 +11143,12 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
11091
11143
|
var GoodsModal$2 = /*#__PURE__*/forwardRef(GoodsModal$1);
|
|
11092
11144
|
|
|
11093
11145
|
var RangePicker = DatePicker.RangePicker;
|
|
11146
|
+
var getWdtListProduct = function getWdtListProduct(data) {
|
|
11147
|
+
return extendRequest('/qy/gdfw/product/wdtListProduct', {
|
|
11148
|
+
method: 'post',
|
|
11149
|
+
data: data
|
|
11150
|
+
});
|
|
11151
|
+
};
|
|
11094
11152
|
var columns$1 = [{
|
|
11095
11153
|
dataIndex: 'index',
|
|
11096
11154
|
title: 'NO',
|
|
@@ -11165,226 +11223,174 @@ var expandedColumns = [{
|
|
|
11165
11223
|
title: '会员价',
|
|
11166
11224
|
width: 140
|
|
11167
11225
|
}];
|
|
11168
|
-
var
|
|
11169
|
-
var
|
|
11170
|
-
var
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
setVisible(true);
|
|
11176
|
-
setPageNo(1);
|
|
11177
|
-
setSelect([]);
|
|
11178
|
-
setSelectIds([]);
|
|
11179
|
-
form.setFieldsValue({
|
|
11180
|
-
dateTimePicker: [initStartTime, initEndTime],
|
|
11181
|
-
code: ''
|
|
11182
|
-
});
|
|
11183
|
-
// getShopList();
|
|
11184
|
-
}
|
|
11185
|
-
};
|
|
11186
|
-
});
|
|
11187
|
-
|
|
11188
|
-
var onSubmit = props.onSubmit,
|
|
11189
|
-
shopId = props.shopId,
|
|
11190
|
-
shopList = props.shopList,
|
|
11191
|
-
width = props.width,
|
|
11192
|
-
companyKey = props.companyKey;
|
|
11193
|
-
var _useState = useState(false),
|
|
11226
|
+
var getInitTime = function getInitTime() {
|
|
11227
|
+
var initStartTime = hooks().subtract(30, 'd').hours(0).minutes(0).seconds(0);
|
|
11228
|
+
var initEndTime = hooks().hours(23).minutes(59).seconds(59);
|
|
11229
|
+
return [initStartTime, initEndTime];
|
|
11230
|
+
};
|
|
11231
|
+
var GoodList = function GoodList(props, ref) {
|
|
11232
|
+
var _useState = useState([]),
|
|
11194
11233
|
_useState2 = _slicedToArray(_useState, 2),
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
var _useState3 = useState(
|
|
11234
|
+
selectList = _useState2[0],
|
|
11235
|
+
setSelect = _useState2[1];
|
|
11236
|
+
var _useState3 = useState(1),
|
|
11198
11237
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
var _useState5 = useState(
|
|
11202
|
-
_useState6 = _slicedToArray(_useState5,
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
var _useState7 = useState(1),
|
|
11238
|
+
pageNo = _useState4[0],
|
|
11239
|
+
setPageNo = _useState4[1];
|
|
11240
|
+
var _useState5 = useState(10),
|
|
11241
|
+
_useState6 = _slicedToArray(_useState5, 1),
|
|
11242
|
+
pageSize = _useState6[0];
|
|
11243
|
+
var _useState7 = useState([]),
|
|
11206
11244
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
var _useState9 = useState(
|
|
11210
|
-
_useState10 = _slicedToArray(_useState9,
|
|
11211
|
-
|
|
11212
|
-
|
|
11245
|
+
goodList = _useState8[0],
|
|
11246
|
+
setGoodList = _useState8[1];
|
|
11247
|
+
var _useState9 = useState(false),
|
|
11248
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
11249
|
+
loading = _useState10[0],
|
|
11250
|
+
setLoading = _useState10[1];
|
|
11251
|
+
var _useState11 = useState(0),
|
|
11213
11252
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
var _useState13 = useState(
|
|
11253
|
+
total = _useState12[0],
|
|
11254
|
+
setTotal = _useState12[1];
|
|
11255
|
+
var _useState13 = useState(null),
|
|
11217
11256
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
|
|
11257
|
+
dates = _useState14[0],
|
|
11258
|
+
setDates = _useState14[1];
|
|
11259
|
+
useImperativeHandle(ref, function () {
|
|
11260
|
+
return {
|
|
11261
|
+
getSelectGoodList: function getSelectGoodList() {
|
|
11262
|
+
return selectList;
|
|
11263
|
+
}
|
|
11264
|
+
};
|
|
11265
|
+
});
|
|
11224
11266
|
var displaySelectList = useMemo(function () {
|
|
11225
11267
|
return selectList.map(function (item, i) {
|
|
11226
11268
|
item.index = i + 1;
|
|
11227
11269
|
return item;
|
|
11228
11270
|
});
|
|
11229
11271
|
}, [selectList]);
|
|
11230
|
-
useEffect(function () {
|
|
11231
|
-
if (visible) {
|
|
11232
|
-
queryItems();
|
|
11233
|
-
}
|
|
11234
|
-
}, [pageNo, visible]);
|
|
11235
11272
|
var _Form$useForm = Form.useForm(),
|
|
11236
11273
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
11237
11274
|
form = _Form$useForm2[0];
|
|
11238
|
-
//选择页码
|
|
11239
|
-
var pageChange = function pageChange(page) {
|
|
11240
|
-
setPageNo(page);
|
|
11241
|
-
};
|
|
11242
11275
|
/**
|
|
11243
11276
|
* 查询商品
|
|
11244
11277
|
*/
|
|
11245
11278
|
var queryItems = /*#__PURE__*/function () {
|
|
11246
11279
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
11247
|
-
var
|
|
11248
|
-
_formData$dateTimePic,
|
|
11249
|
-
_formData$dateTimePic2,
|
|
11250
|
-
_formData$dateTimePic3,
|
|
11251
|
-
_formData$dateTimePic4,
|
|
11252
|
-
_formData$dateTimePic5,
|
|
11253
|
-
_formData$dateTimePic6,
|
|
11254
|
-
formData,
|
|
11255
|
-
startTime,
|
|
11256
|
-
endTime,
|
|
11257
|
-
params,
|
|
11258
|
-
res,
|
|
11259
|
-
_res$data,
|
|
11260
|
-
_res$data$productList,
|
|
11261
|
-
productList,
|
|
11262
|
-
_res$data$total,
|
|
11263
|
-
_total,
|
|
11264
|
-
errorMsg,
|
|
11265
|
-
newProducts,
|
|
11266
|
-
_args = arguments;
|
|
11280
|
+
var _formData$dateTimePic, _formData$dateTimePic2, _formData$dateTimePic3, _formData$dateTimePic4, _formData$dateTimePic5, _formData$dateTimePic6, formData, _getInitTime, _getInitTime2, start, end, startTime, endTime, newTime, earliest, params;
|
|
11267
11281
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11268
11282
|
while (1) switch (_context.prev = _context.next) {
|
|
11269
11283
|
case 0:
|
|
11270
|
-
|
|
11271
|
-
_context.prev = 1;
|
|
11284
|
+
_context.prev = 0;
|
|
11272
11285
|
setLoading(true);
|
|
11273
11286
|
formData = form.getFieldsValue();
|
|
11274
|
-
|
|
11275
|
-
|
|
11287
|
+
_getInitTime = getInitTime(), _getInitTime2 = _slicedToArray(_getInitTime, 2), start = _getInitTime2[0], end = _getInitTime2[1];
|
|
11288
|
+
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');
|
|
11289
|
+
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');
|
|
11290
|
+
endTime = hooks(endTime).hours(23).minutes(59).seconds(59).format('YYYY-MM-DD HH:mm:ss');
|
|
11291
|
+
// PS: 故意推前3分钟,不然极端情况下,接口会报错
|
|
11292
|
+
newTime = hooks().subtract(3, 'm'); // 只能选比现在早的时间
|
|
11293
|
+
if (hooks(endTime).diff(newTime, 'seconds') > 0) {
|
|
11294
|
+
endTime = newTime.format('YYYY-MM-DD HH:mm:ss');
|
|
11295
|
+
}
|
|
11296
|
+
// 30天内
|
|
11297
|
+
earliest = hooks(endTime).subtract(30, 'd');
|
|
11298
|
+
if (earliest.diff(hooks(startTime), 'seconds') > 0) {
|
|
11299
|
+
startTime = earliest.format('YYYY-MM-DD HH:mm:ss');
|
|
11300
|
+
}
|
|
11276
11301
|
params = {
|
|
11277
|
-
// shopCode: shopCode,
|
|
11278
11302
|
pageSize: pageSize,
|
|
11279
11303
|
pageNo: pageNo - 1,
|
|
11280
|
-
goodNo:
|
|
11304
|
+
goodNo: formData.goodNo || null,
|
|
11305
|
+
specNo: formData.specNo || null,
|
|
11281
11306
|
startTime: startTime,
|
|
11282
11307
|
endTime: endTime
|
|
11283
11308
|
};
|
|
11284
|
-
_context.next =
|
|
11285
|
-
return
|
|
11286
|
-
|
|
11287
|
-
|
|
11288
|
-
|
|
11289
|
-
|
|
11290
|
-
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11309
|
+
_context.next = 14;
|
|
11310
|
+
return getWdtListProduct(params).then(function (res) {
|
|
11311
|
+
if (res.success) {
|
|
11312
|
+
var _res$data = res.data,
|
|
11313
|
+
_res$data$productList = _res$data.productList,
|
|
11314
|
+
productList = _res$data$productList === void 0 ? [] : _res$data$productList,
|
|
11315
|
+
_res$data$total = _res$data.total,
|
|
11316
|
+
_total = _res$data$total === void 0 ? 0 : _res$data$total;
|
|
11317
|
+
var newProducts = productList.map(function (item, index) {
|
|
11318
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
11319
|
+
index: index + 1
|
|
11320
|
+
});
|
|
11296
11321
|
});
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11322
|
+
setGoodList(newProducts);
|
|
11323
|
+
if (pageNo === 1) {
|
|
11324
|
+
setTotal(_total);
|
|
11325
|
+
}
|
|
11326
|
+
} else {
|
|
11327
|
+
var _res$data2;
|
|
11328
|
+
setGoodList([]);
|
|
11329
|
+
setTotal(0);
|
|
11330
|
+
message.error(((_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.errorMsg) || res.message);
|
|
11301
11331
|
}
|
|
11302
|
-
}
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
case 12:
|
|
11308
|
-
_context.prev = 12;
|
|
11332
|
+
}).catch(function (e) {
|
|
11333
|
+
console.log(e);
|
|
11334
|
+
});
|
|
11335
|
+
case 14:
|
|
11336
|
+
_context.prev = 14;
|
|
11309
11337
|
setLoading(false);
|
|
11310
|
-
return _context.finish(
|
|
11311
|
-
case
|
|
11338
|
+
return _context.finish(14);
|
|
11339
|
+
case 17:
|
|
11312
11340
|
case "end":
|
|
11313
11341
|
return _context.stop();
|
|
11314
11342
|
}
|
|
11315
|
-
}, _callee, null, [[
|
|
11343
|
+
}, _callee, null, [[0,, 14, 17]]);
|
|
11316
11344
|
}));
|
|
11317
11345
|
return function queryItems() {
|
|
11318
11346
|
return _ref.apply(this, arguments);
|
|
11319
11347
|
};
|
|
11320
11348
|
}();
|
|
11321
|
-
var
|
|
11322
|
-
|
|
11323
|
-
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11349
|
+
var disabledDate = function disabledDate(current) {
|
|
11350
|
+
var today = hooks(hooks().format('YYYY-MM-DD'));
|
|
11351
|
+
var currentDay = hooks(current.format('YYYY-MM-DD'));
|
|
11352
|
+
if (currentDay.diff(today, 'days') > 0) {
|
|
11353
|
+
return true;
|
|
11354
|
+
}
|
|
11355
|
+
if (!dates) {
|
|
11356
|
+
return false;
|
|
11357
|
+
}
|
|
11358
|
+
var tooLate = dates[0] && current.diff(dates[0], 'days') > 30;
|
|
11359
|
+
var tooEarly = dates[1] && dates[1].diff(current, 'days') > 30;
|
|
11360
|
+
return !!tooEarly || !!tooLate;
|
|
11361
|
+
};
|
|
11362
|
+
var onOpenChange = function onOpenChange(open) {
|
|
11363
|
+
if (open) {
|
|
11364
|
+
setDates([null, null]);
|
|
11365
|
+
} else {
|
|
11366
|
+
setDates(null);
|
|
11367
|
+
}
|
|
11333
11368
|
};
|
|
11334
11369
|
var onReset = function onReset() {
|
|
11335
|
-
form.resetFields();
|
|
11336
11370
|
form.setFieldsValue({
|
|
11337
|
-
dateTimePicker:
|
|
11338
|
-
|
|
11371
|
+
dateTimePicker: getInitTime(),
|
|
11372
|
+
goodNo: '',
|
|
11373
|
+
specNo: ''
|
|
11339
11374
|
});
|
|
11340
11375
|
setPageNo(function (prev) {
|
|
11341
|
-
if (prev === 1
|
|
11376
|
+
if (prev === 1) {
|
|
11342
11377
|
queryItems();
|
|
11343
11378
|
}
|
|
11344
11379
|
return 1;
|
|
11345
11380
|
});
|
|
11346
11381
|
};
|
|
11347
|
-
|
|
11348
|
-
// const { success, data } = await request('/qy/diamond/getConfigInfo', {
|
|
11349
|
-
// method: 'get',
|
|
11350
|
-
// params: {
|
|
11351
|
-
// key: 'company-third-shop-info',
|
|
11352
|
-
// },
|
|
11353
|
-
// });
|
|
11354
|
-
// const obj: any = JSON.parse(data || '{}');
|
|
11355
|
-
// if (success) {
|
|
11356
|
-
// const list = (obj?.[companyKey] || []).map((item: any) => {
|
|
11357
|
-
// return {
|
|
11358
|
-
// label: item.shopName,
|
|
11359
|
-
// value: item.shopCode,
|
|
11360
|
-
// };
|
|
11361
|
-
// });
|
|
11362
|
-
// setShopList(list);
|
|
11363
|
-
// }
|
|
11364
|
-
// };
|
|
11365
|
-
var onValuesChange = function onValuesChange(changedValues) {
|
|
11366
|
-
if (changedValues === null || changedValues === void 0 ? void 0 : changedValues['shopId']) {
|
|
11367
|
-
queryItems(changedValues === null || changedValues === void 0 ? void 0 : changedValues.shopId);
|
|
11368
|
-
pubsub.publish('changeShopCode', {
|
|
11369
|
-
shopCode: changedValues.shopId
|
|
11370
|
-
});
|
|
11371
|
-
}
|
|
11372
|
-
};
|
|
11373
|
-
var handleDelete = function handleDelete(record, index) {
|
|
11382
|
+
var handleDelete = function handleDelete(record) {
|
|
11374
11383
|
var newSelectList = selectList.filter(function (item) {
|
|
11375
11384
|
return item.specId !== record.specId;
|
|
11376
11385
|
});
|
|
11377
11386
|
setSelect(_toConsumableArray(newSelectList));
|
|
11378
|
-
setSelectIds(_toConsumableArray(newSelectList.map(function (item) {
|
|
11379
|
-
return item.specId;
|
|
11380
|
-
})));
|
|
11381
11387
|
};
|
|
11382
11388
|
var displaySelectedColumns = [{
|
|
11383
11389
|
dataIndex: 'operation',
|
|
11384
11390
|
title: '',
|
|
11385
11391
|
ellipsis: true,
|
|
11386
11392
|
width: 50,
|
|
11387
|
-
render: function render(_, record
|
|
11393
|
+
render: function render(_, record) {
|
|
11388
11394
|
return /*#__PURE__*/React.createElement(DeleteOutlined, {
|
|
11389
11395
|
onClick: function onClick() {
|
|
11390
11396
|
return handleDelete(record);
|
|
@@ -11415,8 +11421,10 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11415
11421
|
}];
|
|
11416
11422
|
var expandedRowSelection = {
|
|
11417
11423
|
fixed: true,
|
|
11418
|
-
selectedRowKeys:
|
|
11419
|
-
|
|
11424
|
+
selectedRowKeys: selectList.map(function (item) {
|
|
11425
|
+
return item.specId;
|
|
11426
|
+
}),
|
|
11427
|
+
onSelect: function onSelect(record, selected) {
|
|
11420
11428
|
var tempList = [];
|
|
11421
11429
|
if (selected) {
|
|
11422
11430
|
tempList = [].concat(_toConsumableArray(selectList), [record]);
|
|
@@ -11426,9 +11434,6 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11426
11434
|
});
|
|
11427
11435
|
}
|
|
11428
11436
|
setSelect(_toConsumableArray(tempList));
|
|
11429
|
-
setSelectIds(_toConsumableArray(tempList.map(function (item) {
|
|
11430
|
-
return item.specId;
|
|
11431
|
-
})));
|
|
11432
11437
|
},
|
|
11433
11438
|
onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
|
|
11434
11439
|
var tempAllList = [];
|
|
@@ -11442,15 +11447,12 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11442
11447
|
});
|
|
11443
11448
|
}
|
|
11444
11449
|
setSelect(_toConsumableArray(tempAllList));
|
|
11445
|
-
setSelectIds(_toConsumableArray(tempAllList.map(function (item) {
|
|
11446
|
-
return item.specId;
|
|
11447
|
-
})));
|
|
11448
11450
|
}
|
|
11449
11451
|
};
|
|
11450
|
-
var expandedRowRender = function expandedRowRender(record
|
|
11452
|
+
var expandedRowRender = function expandedRowRender(record) {
|
|
11451
11453
|
return /*#__PURE__*/React.createElement(Table, {
|
|
11452
|
-
rowKey:
|
|
11453
|
-
size:
|
|
11454
|
+
rowKey: "specId",
|
|
11455
|
+
size: "small",
|
|
11454
11456
|
columns: expandedColumns,
|
|
11455
11457
|
dataSource: record.itemDetailList || [],
|
|
11456
11458
|
pagination: false,
|
|
@@ -11460,43 +11462,61 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11460
11462
|
}
|
|
11461
11463
|
});
|
|
11462
11464
|
};
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
visible: visible,
|
|
11468
|
-
width: width || 850,
|
|
11469
|
-
onCancel: function onCancel() {
|
|
11470
|
-
_onCancel();
|
|
11471
|
-
},
|
|
11472
|
-
onOk: onOk,
|
|
11473
|
-
wrapClassName: "goodModal"
|
|
11474
|
-
}, /*#__PURE__*/React.createElement(Form, {
|
|
11465
|
+
React.useEffect(function () {
|
|
11466
|
+
queryItems();
|
|
11467
|
+
}, []);
|
|
11468
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Form, {
|
|
11475
11469
|
layout: "inline",
|
|
11476
11470
|
form: form,
|
|
11477
|
-
onFinish:
|
|
11478
|
-
onValuesChange: onValuesChange,
|
|
11471
|
+
onFinish: queryItems,
|
|
11479
11472
|
initialValues: {
|
|
11480
|
-
|
|
11473
|
+
goodNo: '',
|
|
11474
|
+
specNo: '',
|
|
11475
|
+
dateTimePicker: getInitTime()
|
|
11481
11476
|
}
|
|
11482
11477
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
11483
|
-
name: "dateTimePicker"
|
|
11478
|
+
name: "dateTimePicker",
|
|
11479
|
+
style: {
|
|
11480
|
+
marginBottom: '12px'
|
|
11481
|
+
}
|
|
11484
11482
|
}, /*#__PURE__*/React.createElement(RangePicker, {
|
|
11485
11483
|
style: {
|
|
11486
|
-
width: '
|
|
11484
|
+
width: '240px'
|
|
11487
11485
|
},
|
|
11488
11486
|
placeholder: ['开始日期', '结束日期'],
|
|
11489
|
-
showTime:
|
|
11490
|
-
|
|
11487
|
+
showTime: false,
|
|
11488
|
+
disabledDate: disabledDate,
|
|
11489
|
+
onCalendarChange: function onCalendarChange(val) {
|
|
11490
|
+
return setDates(val);
|
|
11491
|
+
},
|
|
11492
|
+
onOpenChange: onOpenChange
|
|
11491
11493
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
11492
|
-
name: "
|
|
11494
|
+
name: "goodNo",
|
|
11495
|
+
style: {
|
|
11496
|
+
marginBottom: '12px'
|
|
11497
|
+
}
|
|
11493
11498
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
11494
11499
|
placeholder: "\u5546\u54C1SPU\u7F16\u7801",
|
|
11495
11500
|
allowClear: true,
|
|
11496
11501
|
style: {
|
|
11497
11502
|
width: 150
|
|
11498
11503
|
}
|
|
11499
|
-
})), /*#__PURE__*/React.createElement(Form.Item,
|
|
11504
|
+
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
11505
|
+
name: "specNo",
|
|
11506
|
+
style: {
|
|
11507
|
+
marginBottom: '12px'
|
|
11508
|
+
}
|
|
11509
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
11510
|
+
placeholder: "\u5546\u54C1SKU\u7F16\u7801",
|
|
11511
|
+
allowClear: true,
|
|
11512
|
+
style: {
|
|
11513
|
+
width: 150
|
|
11514
|
+
}
|
|
11515
|
+
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
11516
|
+
style: {
|
|
11517
|
+
marginBottom: '12px'
|
|
11518
|
+
}
|
|
11519
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
11500
11520
|
type: "primary",
|
|
11501
11521
|
htmlType: "submit",
|
|
11502
11522
|
style: {
|
|
@@ -11506,10 +11526,10 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11506
11526
|
onClick: onReset
|
|
11507
11527
|
}, "\u91CD\u7F6E"))), /*#__PURE__*/React.createElement("div", {
|
|
11508
11528
|
style: {
|
|
11509
|
-
marginTop: '
|
|
11529
|
+
marginTop: '4px'
|
|
11510
11530
|
}
|
|
11511
11531
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
11512
|
-
rowKey:
|
|
11532
|
+
rowKey: "goodNo",
|
|
11513
11533
|
columns: columns$1,
|
|
11514
11534
|
dataSource: goodList,
|
|
11515
11535
|
loading: loading,
|
|
@@ -11526,14 +11546,14 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11526
11546
|
current: pageNo,
|
|
11527
11547
|
pageSize: pageSize,
|
|
11528
11548
|
pageSizeOptions: [],
|
|
11529
|
-
onChange:
|
|
11549
|
+
onChange: setPageNo
|
|
11530
11550
|
}
|
|
11531
11551
|
})), !!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", {
|
|
11532
11552
|
style: {
|
|
11533
11553
|
marginTop: '16px'
|
|
11534
11554
|
}
|
|
11535
11555
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
11536
|
-
rowKey:
|
|
11556
|
+
rowKey: "specId",
|
|
11537
11557
|
columns: [].concat(displaySelectedColumns, expandedColumns),
|
|
11538
11558
|
dataSource: displaySelectList,
|
|
11539
11559
|
pagination: false,
|
|
@@ -11544,7 +11564,48 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
11544
11564
|
style: {
|
|
11545
11565
|
width: '100%'
|
|
11546
11566
|
}
|
|
11547
|
-
}))))
|
|
11567
|
+
}))));
|
|
11568
|
+
};
|
|
11569
|
+
var WdtGoodList = /*#__PURE__*/forwardRef(GoodList);
|
|
11570
|
+
|
|
11571
|
+
var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
11572
|
+
useImperativeHandle(ref, function () {
|
|
11573
|
+
return {
|
|
11574
|
+
open: function open() {
|
|
11575
|
+
setVisible(true);
|
|
11576
|
+
}
|
|
11577
|
+
};
|
|
11578
|
+
});
|
|
11579
|
+
var onSubmit = props.onSubmit,
|
|
11580
|
+
width = props.width;
|
|
11581
|
+
var _useState = useState(false),
|
|
11582
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
11583
|
+
visible = _useState2[0],
|
|
11584
|
+
setVisible = _useState2[1];
|
|
11585
|
+
var wdtGoodListRef = useRef(null);
|
|
11586
|
+
var _onCancel = function onCancel() {
|
|
11587
|
+
setVisible(false);
|
|
11588
|
+
};
|
|
11589
|
+
var onOk = function onOk() {
|
|
11590
|
+
var _wdtGoodListRef$curre;
|
|
11591
|
+
var selectedList = ((_wdtGoodListRef$curre = wdtGoodListRef.current) === null || _wdtGoodListRef$curre === void 0 ? void 0 : _wdtGoodListRef$curre.getSelectGoodList()) || [];
|
|
11592
|
+
onSubmit(selectedList);
|
|
11593
|
+
_onCancel();
|
|
11594
|
+
};
|
|
11595
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, visible && /*#__PURE__*/React.createElement(Modal, {
|
|
11596
|
+
title: '选择商品',
|
|
11597
|
+
okText: '确认',
|
|
11598
|
+
cancelText: '取消',
|
|
11599
|
+
visible: visible,
|
|
11600
|
+
width: width || 850,
|
|
11601
|
+
onCancel: function onCancel() {
|
|
11602
|
+
_onCancel();
|
|
11603
|
+
},
|
|
11604
|
+
onOk: onOk,
|
|
11605
|
+
wrapClassName: "goodModal"
|
|
11606
|
+
}, /*#__PURE__*/React.createElement(WdtGoodList, {
|
|
11607
|
+
ref: wdtGoodListRef
|
|
11608
|
+
})));
|
|
11548
11609
|
};
|
|
11549
11610
|
var WdtGoodsModal = /*#__PURE__*/forwardRef(GoodsModal$3);
|
|
11550
11611
|
|
|
@@ -12331,20 +12392,6 @@ var typeMap = {
|
|
|
12331
12392
|
money: 'money',
|
|
12332
12393
|
share: 'share'
|
|
12333
12394
|
}
|
|
12334
|
-
},
|
|
12335
|
-
WDT_REISSUE_GOODS: {
|
|
12336
|
-
key: 'wdtReissueGoods',
|
|
12337
|
-
name: '旺店通',
|
|
12338
|
-
typeName: 'wdtReissueType',
|
|
12339
|
-
reissueSelectList: 'wdtReissueSelectList',
|
|
12340
|
-
reissueSelectListReturn: 'wdtReissueSelectListReturn',
|
|
12341
|
-
reissueDeleteGood: 'wdtReissueDeleteGood',
|
|
12342
|
-
changeShopCode: 'wdtChangeShopCode',
|
|
12343
|
-
reissueType: 'wdtReissueType',
|
|
12344
|
-
formatDefaultField: {
|
|
12345
|
-
money: 'orderPrice',
|
|
12346
|
-
share: 'sharePrice'
|
|
12347
|
-
}
|
|
12348
12395
|
}
|
|
12349
12396
|
};
|
|
12350
12397
|
var BsReissue = function BsReissue(props) {
|
|
@@ -12947,6 +12994,245 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
12947
12994
|
}));
|
|
12948
12995
|
};
|
|
12949
12996
|
|
|
12997
|
+
var _excluded$g = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
12998
|
+
var typeMap$1 = {
|
|
12999
|
+
WDT_REISSUE_GOODS: {
|
|
13000
|
+
key: 'wdtReissueGoods',
|
|
13001
|
+
name: '旺店通',
|
|
13002
|
+
typeName: 'wdtReissueType',
|
|
13003
|
+
wdtSystemOrder: 'wdtSystemOrder',
|
|
13004
|
+
wdtSystemOrderNo: 'wdtSystemOrderNo',
|
|
13005
|
+
reissueSelectList: 'wdtReissueSelectList',
|
|
13006
|
+
reissueSelectListReturn: 'wdtReissueSelectListReturn',
|
|
13007
|
+
reissueDeleteGood: 'wdtReissueDeleteGood',
|
|
13008
|
+
changeShopCode: 'wdtChangeShopCode',
|
|
13009
|
+
reissueType: 'wdtReissueType',
|
|
13010
|
+
formatDefaultField: {
|
|
13011
|
+
money: 'orderPrice',
|
|
13012
|
+
share: 'sharePrice'
|
|
13013
|
+
}
|
|
13014
|
+
}
|
|
13015
|
+
};
|
|
13016
|
+
var wdtReissue = function wdtReissue(props) {
|
|
13017
|
+
var _typeMap$type7, _value$typeMap$type$t3, _typeMap$type11, _typeMap$type25, _typeMap$type26, _value$typeMap$type$w2, _typeMap$type27, _typeMap$type28, _typeMap$type29;
|
|
13018
|
+
var value = props.value,
|
|
13019
|
+
onChange = props.onChange,
|
|
13020
|
+
_props$reasonList = props.reasonList,
|
|
13021
|
+
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
13022
|
+
disabled = props.disabled,
|
|
13023
|
+
type = props.type,
|
|
13024
|
+
other = _objectWithoutProperties(props, _excluded$g);
|
|
13025
|
+
var valueRef = useRef({});
|
|
13026
|
+
useEffect(function () {
|
|
13027
|
+
var _typeMap$type, _typeMap$type4;
|
|
13028
|
+
valueRef.current = value;
|
|
13029
|
+
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) {
|
|
13030
|
+
if (disabled) return;
|
|
13031
|
+
if (value) {
|
|
13032
|
+
var _typeMap$type2, _typeMap$type3;
|
|
13033
|
+
var newValue = _objectSpread2({}, value);
|
|
13034
|
+
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) {
|
|
13035
|
+
return item.sku !== data;
|
|
13036
|
+
});
|
|
13037
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13038
|
+
}
|
|
13039
|
+
});
|
|
13040
|
+
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) {
|
|
13041
|
+
onChange(_objectSpread2(_objectSpread2({}, value), {}, {
|
|
13042
|
+
shopCode: data.shopCode
|
|
13043
|
+
}));
|
|
13044
|
+
});
|
|
13045
|
+
}, [value, disabled]);
|
|
13046
|
+
useEffect(function () {
|
|
13047
|
+
var _value$orders, _value$showOrderInfo;
|
|
13048
|
+
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)) {
|
|
13049
|
+
if (type === 'WDT_SYSTEM_ORDER') {
|
|
13050
|
+
getWdtOrderList(value.orderNo);
|
|
13051
|
+
}
|
|
13052
|
+
}
|
|
13053
|
+
return;
|
|
13054
|
+
}, [value]);
|
|
13055
|
+
useEffect(function () {
|
|
13056
|
+
var _typeMap$type5;
|
|
13057
|
+
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];
|
|
13058
|
+
if (wdtSystemOrderNo) {
|
|
13059
|
+
var _value$typeMap$type$t, _typeMap$type6;
|
|
13060
|
+
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])) {
|
|
13061
|
+
getGoodItems(wdtSystemOrderNo);
|
|
13062
|
+
}
|
|
13063
|
+
}
|
|
13064
|
+
return;
|
|
13065
|
+
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type7 = typeMap$1[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.wdtSystemOrderNo]]);
|
|
13066
|
+
useEffect(function () {
|
|
13067
|
+
var _value$typeMap$type$t2, _typeMap$type8, _typeMap$type9;
|
|
13068
|
+
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];
|
|
13069
|
+
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];
|
|
13070
|
+
if (['1'].includes(typeName)) {
|
|
13071
|
+
wdtSystemOrderNo && getGoodItems(wdtSystemOrderNo);
|
|
13072
|
+
} else if (['2'].includes(typeName)) {
|
|
13073
|
+
var _typeMap$type10;
|
|
13074
|
+
var newValue = _objectSpread2({}, value);
|
|
13075
|
+
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)] = [];
|
|
13076
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13077
|
+
}
|
|
13078
|
+
return;
|
|
13079
|
+
}, [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]]);
|
|
13080
|
+
var getGoodItems = function getGoodItems(wdtSystemOrderNo) {
|
|
13081
|
+
var _value$typeMap$type$w, _typeMap$type12, _ref;
|
|
13082
|
+
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;
|
|
13083
|
+
var order = (_ref = orders || []) === null || _ref === void 0 ? void 0 : _ref.find(function (orderItem) {
|
|
13084
|
+
return orderItem.billNo === wdtSystemOrderNo;
|
|
13085
|
+
});
|
|
13086
|
+
if (order) {
|
|
13087
|
+
var _typeMap$type13, _order$goodDetails;
|
|
13088
|
+
var newValue = _objectSpread2({}, value);
|
|
13089
|
+
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) {
|
|
13090
|
+
var _typeMap$type14, _typeMap$type15;
|
|
13091
|
+
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;
|
|
13092
|
+
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;
|
|
13093
|
+
item.canUpdateNumber = true;
|
|
13094
|
+
return item;
|
|
13095
|
+
});
|
|
13096
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13097
|
+
}
|
|
13098
|
+
};
|
|
13099
|
+
var getWdtOrderList = /*#__PURE__*/function () {
|
|
13100
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
|
|
13101
|
+
var _yield$request, success, data, _typeMap$type16, _typeMap$type17, orders, showOrderInfo;
|
|
13102
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13103
|
+
while (1) switch (_context.prev = _context.next) {
|
|
13104
|
+
case 0:
|
|
13105
|
+
_context.next = 2;
|
|
13106
|
+
return extendRequest('/qy/gdfw/order/wdtOrderDetail', {
|
|
13107
|
+
method: 'post',
|
|
13108
|
+
data: {
|
|
13109
|
+
billNo: orderNo
|
|
13110
|
+
}
|
|
13111
|
+
});
|
|
13112
|
+
case 2:
|
|
13113
|
+
_yield$request = _context.sent;
|
|
13114
|
+
success = _yield$request.success;
|
|
13115
|
+
data = _yield$request.data;
|
|
13116
|
+
if (success) {
|
|
13117
|
+
orders = ((data === null || data === void 0 ? void 0 : data.trades) || []).map(function (item) {
|
|
13118
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
13119
|
+
billNo: item.tradeNo,
|
|
13120
|
+
billType: WDT_ORDER_TYPE_MAP[item.tradeType],
|
|
13121
|
+
billTag: item.tagName
|
|
13122
|
+
});
|
|
13123
|
+
});
|
|
13124
|
+
showOrderInfo = data === null || data === void 0 ? void 0 : data.trades.map(function (item) {
|
|
13125
|
+
return {
|
|
13126
|
+
billNo: item.tradeNo,
|
|
13127
|
+
billType: WDT_ORDER_TYPE_MAP[item.tradeType],
|
|
13128
|
+
billTag: item.tagName
|
|
13129
|
+
};
|
|
13130
|
+
});
|
|
13131
|
+
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]), {}, {
|
|
13132
|
+
showOrderInfo: showOrderInfo,
|
|
13133
|
+
orders: orders
|
|
13134
|
+
}))));
|
|
13135
|
+
}
|
|
13136
|
+
case 6:
|
|
13137
|
+
case "end":
|
|
13138
|
+
return _context.stop();
|
|
13139
|
+
}
|
|
13140
|
+
}, _callee);
|
|
13141
|
+
}));
|
|
13142
|
+
return function getWdtOrderList(_x) {
|
|
13143
|
+
return _ref2.apply(this, arguments);
|
|
13144
|
+
};
|
|
13145
|
+
}();
|
|
13146
|
+
var changeTypeHandle = function changeTypeHandle(val) {
|
|
13147
|
+
var _typeMap$type18, _typeMap$type19;
|
|
13148
|
+
var newValue = _objectSpread2({}, value);
|
|
13149
|
+
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;
|
|
13150
|
+
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)] = [];
|
|
13151
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13152
|
+
valueRef.current = newValue;
|
|
13153
|
+
// if (['2'].includes(val[0])) {
|
|
13154
|
+
// onChange?.(newValue);
|
|
13155
|
+
// valueRef.current = newValue;
|
|
13156
|
+
// }
|
|
13157
|
+
// pubsub.publish(`${typeMap?.[type]?.reissueType}`, {
|
|
13158
|
+
// val: val[0],
|
|
13159
|
+
// goodValue: newValue,
|
|
13160
|
+
// });
|
|
13161
|
+
};
|
|
13162
|
+
|
|
13163
|
+
var changeGoodHandle = function changeGoodHandle(val) {
|
|
13164
|
+
var _typeMap$type20;
|
|
13165
|
+
var newValue = _objectSpread2({}, value);
|
|
13166
|
+
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) {
|
|
13167
|
+
var _typeMap$type21, _typeMap$type22;
|
|
13168
|
+
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;
|
|
13169
|
+
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;
|
|
13170
|
+
return item;
|
|
13171
|
+
});
|
|
13172
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13173
|
+
};
|
|
13174
|
+
var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
|
|
13175
|
+
var _typeMap$type23;
|
|
13176
|
+
var newValue = _objectSpread2({}, value);
|
|
13177
|
+
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;
|
|
13178
|
+
console.log('changeSystemOrderHandle', val, newValue);
|
|
13179
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
13180
|
+
};
|
|
13181
|
+
//显示选择商品按钮 原单换不显示选择商品
|
|
13182
|
+
var showChangeBtn = useMemo(function () {
|
|
13183
|
+
var _typeMap$type24;
|
|
13184
|
+
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type24 = typeMap$1[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.wdtSystemOrderNo]);
|
|
13185
|
+
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.wdtSystemOrderNo]]);
|
|
13186
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
13187
|
+
gutter: 8
|
|
13188
|
+
}, /*#__PURE__*/React.createElement(Col, {
|
|
13189
|
+
className: "gutter-row",
|
|
13190
|
+
span: 6
|
|
13191
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
13192
|
+
style: {
|
|
13193
|
+
marginBottom: '8px'
|
|
13194
|
+
},
|
|
13195
|
+
disabled: disabled,
|
|
13196
|
+
allowClear: false,
|
|
13197
|
+
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)],
|
|
13198
|
+
onChange: function onChange(val) {
|
|
13199
|
+
return changeSystemOrderHandle(val);
|
|
13200
|
+
}
|
|
13201
|
+
}, ((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) {
|
|
13202
|
+
return /*#__PURE__*/React.createElement(Select.Option, {
|
|
13203
|
+
key: item.billNo,
|
|
13204
|
+
value: item.billNo,
|
|
13205
|
+
label: item.billNo
|
|
13206
|
+
}, item.billNo);
|
|
13207
|
+
}))), /*#__PURE__*/React.createElement(Col, {
|
|
13208
|
+
className: "gutter-row",
|
|
13209
|
+
span: 6
|
|
13210
|
+
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
13211
|
+
style: {
|
|
13212
|
+
marginBottom: '8px'
|
|
13213
|
+
},
|
|
13214
|
+
disabled: disabled,
|
|
13215
|
+
allowClear: false,
|
|
13216
|
+
options: reasonList,
|
|
13217
|
+
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)],
|
|
13218
|
+
onChange: function onChange(val) {
|
|
13219
|
+
return changeTypeHandle(val);
|
|
13220
|
+
}
|
|
13221
|
+
}))), /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
|
|
13222
|
+
key: 'reissueGoods'
|
|
13223
|
+
}, other), {}, {
|
|
13224
|
+
type: type,
|
|
13225
|
+
disabled: disabled,
|
|
13226
|
+
canUpdateNumber: showChangeBtn,
|
|
13227
|
+
showChangeBtn: showChangeBtn,
|
|
13228
|
+
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
13229
|
+
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)],
|
|
13230
|
+
onChange: function onChange(val) {
|
|
13231
|
+
return changeGoodHandle(val);
|
|
13232
|
+
}
|
|
13233
|
+
})));
|
|
13234
|
+
};
|
|
13235
|
+
|
|
12950
13236
|
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";
|
|
12951
13237
|
styleInject(css_248z$a);
|
|
12952
13238
|
|
|
@@ -13423,12 +13709,12 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
13423
13709
|
};
|
|
13424
13710
|
var index$2 = /*#__PURE__*/forwardRef(Goods$1);
|
|
13425
13711
|
|
|
13426
|
-
var _excluded$
|
|
13712
|
+
var _excluded$h = ["onChange", "value", "failValue"];
|
|
13427
13713
|
function CommonStatus(props) {
|
|
13428
13714
|
var onChange = props.onChange,
|
|
13429
13715
|
value = props.value,
|
|
13430
13716
|
failValue = props.failValue,
|
|
13431
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
13717
|
+
other = _objectWithoutProperties(props, _excluded$h);
|
|
13432
13718
|
var changeHandle = function changeHandle(val) {
|
|
13433
13719
|
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
13434
13720
|
status: val,
|
|
@@ -13547,7 +13833,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
13547
13833
|
})) : null) : null);
|
|
13548
13834
|
};
|
|
13549
13835
|
|
|
13550
|
-
var _excluded$
|
|
13836
|
+
var _excluded$i = ["value", "onChange", "disabled", "failValue", "type"];
|
|
13551
13837
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
13552
13838
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
13553
13839
|
var _props$value = props.value,
|
|
@@ -13557,7 +13843,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
13557
13843
|
failValue = props.failValue,
|
|
13558
13844
|
_props$type = props.type,
|
|
13559
13845
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
13560
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
13846
|
+
other = _objectWithoutProperties(props, _excluded$i);
|
|
13561
13847
|
var _useState = useState(0),
|
|
13562
13848
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13563
13849
|
changeIndex = _useState2[0],
|
|
@@ -13623,7 +13909,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
13623
13909
|
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null) : null);
|
|
13624
13910
|
};
|
|
13625
13911
|
|
|
13626
|
-
var _excluded$
|
|
13912
|
+
var _excluded$j = ["value", "onChange", "disabled", "failValue", "type"];
|
|
13627
13913
|
var msgTypeCh = {
|
|
13628
13914
|
ding: '钉钉',
|
|
13629
13915
|
wechat: '微信',
|
|
@@ -13639,7 +13925,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
13639
13925
|
failValue = props.failValue,
|
|
13640
13926
|
_props$type = props.type,
|
|
13641
13927
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
13642
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
13928
|
+
other = _objectWithoutProperties(props, _excluded$j);
|
|
13643
13929
|
var _useState = useState(0),
|
|
13644
13930
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13645
13931
|
changeIndex = _useState2[0],
|
|
@@ -13708,4 +13994,4 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
13708
13994
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
13709
13995
|
};
|
|
13710
13996
|
|
|
13711
|
-
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 };
|
|
13997
|
+
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 };
|