@kmkf-fe-packages/basic-components 2.2.30 → 2.2.31-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/README.md +1 -1
- package/dist/index.esm.js +433 -28
- package/dist/index.js +432 -27
- package/dist/src/apaas/SubForm/index.d.ts +1 -1
- package/dist/src/constants/systemOrderColumnsMap.d.ts +6 -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, CloseOutlined, PlusSquareOutlined, MinusCircleFilled, PlusCircleFilled, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, UpOutlined, DownOutlined, PlusOutlined, VideoCameraTwoTone } from '@ant-design/icons';
|
|
4
4
|
import request, { extend as extend$1 } from 'umi-request';
|
|
5
5
|
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
6
|
-
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, isNull, imgResize, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, hasAddNullComponent, SUBMIT_TIME_ID, UPGRADE_TIME_ID, FINAL_TIME_ID, CUSTOM_TIME_ID, useStatus, finalFormData, transformList, dataSourceTrans, DATA_SPLIT_COMPONENT_FIELDS_MAP, findLabelBySelectValue, BS_E3_BOOLEAN_STATUS_MAP, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterJyOrders, JY_ORDER_TYPE_MAP, JY_ORDER_STATUS_MAP, filterKmOrders, getSystemShowHead, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, updateOrderSubFormGoodsHandle, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, updateJyGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, skxReturnSystemOrderBackValues, formatTrade, updateSkxGoodsHandle, formatReturnTrade, updateSkxReturnGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
|
|
6
|
+
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, isNull, imgResize, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, hasAddNullComponent, SUBMIT_TIME_ID, UPGRADE_TIME_ID, FINAL_TIME_ID, CUSTOM_TIME_ID, useStatus, finalFormData, transformList, dataSourceTrans, DATA_SPLIT_COMPONENT_FIELDS_MAP, findLabelBySelectValue, BS_E3_BOOLEAN_STATUS_MAP, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterJyOrders, JY_ORDER_TYPE_MAP, JY_ORDER_STATUS_MAP, filterKmOrders, getSystemShowHead, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, updateOrderSubFormGoodsHandle, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, updateJyGoodsHandle, updateWdtAftersaleGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, skxReturnSystemOrderBackValues, formatTrade, updateSkxGoodsHandle, formatReturnTrade, updateSkxReturnGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
|
|
7
7
|
import every from 'lodash/every';
|
|
8
8
|
import maxBy from 'lodash/maxBy';
|
|
9
9
|
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, uniqBy, cloneDeep, difference, differenceWith, isBoolean, isEqual, takeRight, reject as reject$1, intersection, isEmpty } from 'lodash';
|
|
@@ -8108,6 +8108,11 @@ var systemOrderMap = {
|
|
|
8108
8108
|
no: 'jstSystemOrderNo',
|
|
8109
8109
|
ids: 'jstSystemSelectIds',
|
|
8110
8110
|
order: 'jstSystemShowOrder'
|
|
8111
|
+
},
|
|
8112
|
+
WDT_RETURN_BILL_NO: {
|
|
8113
|
+
no: 'wdtReturnBillNo',
|
|
8114
|
+
ids: 'wdtReturnBillSelectIds',
|
|
8115
|
+
order: 'wdtReturnBillShowOrder'
|
|
8111
8116
|
}
|
|
8112
8117
|
};
|
|
8113
8118
|
//直接将key component 添加到 transformWorkOrderData中的componentProcessors
|
|
@@ -8680,6 +8685,52 @@ var processWdtGoods = function processWdtGoods(templateColumns) {
|
|
|
8680
8685
|
};
|
|
8681
8686
|
};
|
|
8682
8687
|
};
|
|
8688
|
+
var processWdtAftersaleGoods = function processWdtAftersaleGoods(templateColumns) {
|
|
8689
|
+
return function (getValue) {
|
|
8690
|
+
return function (nex, config) {
|
|
8691
|
+
var _values = {
|
|
8692
|
+
wdtAftersaleGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_wdtAftersaleGoods")), []),
|
|
8693
|
+
shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
|
|
8694
|
+
};
|
|
8695
|
+
var selectIds = [];
|
|
8696
|
+
var orderNo = '';
|
|
8697
|
+
var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
8698
|
+
return col.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
8699
|
+
});
|
|
8700
|
+
if (tradeId) {
|
|
8701
|
+
orderNo = getValue("".concat(tradeId.uniqueKey, "_").concat(updateWorkTypeKeys[tradeId.workOrderComponentType]));
|
|
8702
|
+
}
|
|
8703
|
+
var wdtAftersaleSystemOrder = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
8704
|
+
return col.workOrderComponentType === 'WDT_RETURN_BILL_NO';
|
|
8705
|
+
});
|
|
8706
|
+
if (wdtAftersaleSystemOrder) {
|
|
8707
|
+
selectIds = jsonParseSecurity(getValue("".concat(wdtAftersaleSystemOrder.uniqueKey, "_").concat(systemOrderMap[wdtAftersaleSystemOrder.workOrderComponentType].ids)), []);
|
|
8708
|
+
}
|
|
8709
|
+
_values.selectIds = selectIds;
|
|
8710
|
+
_values.orderNo = orderNo;
|
|
8711
|
+
return _defineProperty({}, nex.uniqueKey, _values);
|
|
8712
|
+
};
|
|
8713
|
+
};
|
|
8714
|
+
};
|
|
8715
|
+
var processJstAftersaleGoods = function processJstAftersaleGoods(templateColumns) {
|
|
8716
|
+
return function (getValue) {
|
|
8717
|
+
return function (nex) {
|
|
8718
|
+
var _values = {
|
|
8719
|
+
jstAftersaleGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_jstAftersaleGoods")), []),
|
|
8720
|
+
shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
|
|
8721
|
+
};
|
|
8722
|
+
var orderNo = '';
|
|
8723
|
+
var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
8724
|
+
return col.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
8725
|
+
});
|
|
8726
|
+
if (tradeId) {
|
|
8727
|
+
orderNo = getValue("".concat(tradeId.uniqueKey, "_").concat(updateWorkTypeKeys[tradeId.workOrderComponentType]));
|
|
8728
|
+
}
|
|
8729
|
+
_values.orderNo = orderNo;
|
|
8730
|
+
return _defineProperty({}, nex.uniqueKey, _values);
|
|
8731
|
+
};
|
|
8732
|
+
};
|
|
8733
|
+
};
|
|
8683
8734
|
var processBsE3Goods = function processBsE3Goods(templateColumns) {
|
|
8684
8735
|
return function (getValue) {
|
|
8685
8736
|
return function (nex, config) {
|
|
@@ -8912,11 +8963,16 @@ var processErpSystemOrder = function processErpSystemOrder(getValue) {
|
|
|
8912
8963
|
no: 'jstSystemOrderNo',
|
|
8913
8964
|
ids: 'jstSystemSelectIds',
|
|
8914
8965
|
order: 'jstSystemShowOrder'
|
|
8966
|
+
},
|
|
8967
|
+
WDT_RETURN_BILL_NO: {
|
|
8968
|
+
no: 'wdtReturnBillNo',
|
|
8969
|
+
ids: 'wdtReturnBillSelectIds',
|
|
8970
|
+
order: 'wdtReturnBillShowOrder'
|
|
8915
8971
|
}
|
|
8916
8972
|
};
|
|
8917
8973
|
return _defineProperty({}, nex.uniqueKey, {
|
|
8918
8974
|
orderNo: getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].no)),
|
|
8919
|
-
orders: [],
|
|
8975
|
+
orders: nex.workOrderComponentType === 'WDT_RETURN_BILL_NO' ? jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].order)), []) : [],
|
|
8920
8976
|
selectIds: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].ids)), []),
|
|
8921
8977
|
showOrderInfo: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].order)), [])
|
|
8922
8978
|
});
|
|
@@ -9152,14 +9208,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
|
|
|
9152
9208
|
};
|
|
9153
9209
|
var processLabel = function processLabel(getValue) {
|
|
9154
9210
|
return function (nex, config) {
|
|
9155
|
-
var
|
|
9156
|
-
return
|
|
9211
|
+
var _ref74;
|
|
9212
|
+
return _ref74 = {}, _defineProperty(_ref74, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref74, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref74;
|
|
9157
9213
|
};
|
|
9158
9214
|
};
|
|
9159
9215
|
var processMemberLevel = function processMemberLevel(getValue) {
|
|
9160
9216
|
return function (nex, config) {
|
|
9161
|
-
var
|
|
9162
|
-
return
|
|
9217
|
+
var _ref75;
|
|
9218
|
+
return _ref75 = {}, _defineProperty(_ref75, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref75, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref75;
|
|
9163
9219
|
};
|
|
9164
9220
|
};
|
|
9165
9221
|
var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
|
|
@@ -9277,6 +9333,8 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
9277
9333
|
BS_POSTING: processBsPosting,
|
|
9278
9334
|
BS_GOODS: processBsGoods,
|
|
9279
9335
|
WDT_GOODS: processWdtGoods(templateColumns),
|
|
9336
|
+
WDT_AFTERSALE_GOODS: processWdtAftersaleGoods(templateColumns),
|
|
9337
|
+
JST_AFTERSALE_GOODS: processJstAftersaleGoods(templateColumns),
|
|
9280
9338
|
BS_E3_GOODS: processBsE3Goods(templateColumns),
|
|
9281
9339
|
GY_GOODS: processGyGoods(templateColumns),
|
|
9282
9340
|
KM_GOODS: processKmGoods(templateColumns),
|
|
@@ -9293,6 +9351,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
9293
9351
|
KM_SYSTEM_ORDER: processErpSystemOrder,
|
|
9294
9352
|
WLN_SYSTEM_ORDER: processErpSystemOrder,
|
|
9295
9353
|
WDT_SYSTEM_ORDER: processErpSystemOrder,
|
|
9354
|
+
WDT_RETURN_BILL_NO: processErpSystemOrder,
|
|
9296
9355
|
BS_E3_SYSTEM_ORDER: processErpSystemOrder,
|
|
9297
9356
|
JST_SYSTEM_ORDER: processErpSystemOrder,
|
|
9298
9357
|
GY_SYSTEM_ORDER: processErpSystemOrder,
|
|
@@ -9907,8 +9966,8 @@ var SubForm = function SubForm(props) {
|
|
|
9907
9966
|
tableHeader = props.tableHeader,
|
|
9908
9967
|
disabled = props.disabled,
|
|
9909
9968
|
platform = props.platform,
|
|
9910
|
-
|
|
9911
|
-
|
|
9969
|
+
maxCount = props.maxCount,
|
|
9970
|
+
manual = props.manual;
|
|
9912
9971
|
var ref = useRef(null);
|
|
9913
9972
|
var isRequest = useRef(false);
|
|
9914
9973
|
var _useState = useState(false),
|
|
@@ -13350,7 +13409,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
|
|
|
13350
13409
|
if (disabled) {
|
|
13351
13410
|
return;
|
|
13352
13411
|
}
|
|
13353
|
-
if (['SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
|
|
13412
|
+
if (['KYE', 'SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
|
|
13354
13413
|
return;
|
|
13355
13414
|
} else if (!(newCompany && trajectoryCode)) {
|
|
13356
13415
|
return;
|
|
@@ -13486,7 +13545,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
|
|
|
13486
13545
|
value: value === null || value === void 0 ? void 0 : value.trajectorySnapshot
|
|
13487
13546
|
});
|
|
13488
13547
|
};
|
|
13489
|
-
return /*#__PURE__*/React.createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React.createElement(LogisticsSnapshot, null) : null);
|
|
13548
|
+
return /*#__PURE__*/React.createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO', 'KYE'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React.createElement(LogisticsSnapshot, null) : null);
|
|
13490
13549
|
};
|
|
13491
13550
|
|
|
13492
13551
|
var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
|
|
@@ -15858,6 +15917,7 @@ var getTableData$2 = function getTableData(_ref, formData) {
|
|
|
15858
15917
|
var current = _ref.current,
|
|
15859
15918
|
pageSize = _ref.pageSize;
|
|
15860
15919
|
var data = {
|
|
15920
|
+
goodShortName: formData.goodShortName || null,
|
|
15861
15921
|
goodNo: formData.goodNo || null,
|
|
15862
15922
|
goodName: formData.goodName || null,
|
|
15863
15923
|
skuCode: formData.skuCode || null,
|
|
@@ -18835,7 +18895,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18835
18895
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
18836
18896
|
width: 180,
|
|
18837
18897
|
align: 'center',
|
|
18838
|
-
ellipsis: true
|
|
18898
|
+
ellipsis: true,
|
|
18899
|
+
render: renderTextEllipsis
|
|
18839
18900
|
}, {
|
|
18840
18901
|
dataIndex: 'brandName',
|
|
18841
18902
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -18955,7 +19016,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18955
19016
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
18956
19017
|
width: 180,
|
|
18957
19018
|
align: 'center',
|
|
18958
|
-
ellipsis: true
|
|
19019
|
+
ellipsis: true,
|
|
19020
|
+
render: renderTextEllipsis
|
|
18959
19021
|
}, {
|
|
18960
19022
|
dataIndex: 'brandName',
|
|
18961
19023
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -19079,7 +19141,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
19079
19141
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
19080
19142
|
width: 180,
|
|
19081
19143
|
align: 'center',
|
|
19082
|
-
ellipsis: true
|
|
19144
|
+
ellipsis: true,
|
|
19145
|
+
render: renderTextEllipsis
|
|
19083
19146
|
}, {
|
|
19084
19147
|
dataIndex: 'brandName',
|
|
19085
19148
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -19242,7 +19305,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
19242
19305
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
19243
19306
|
width: 180,
|
|
19244
19307
|
align: 'center',
|
|
19245
|
-
ellipsis: true
|
|
19308
|
+
ellipsis: true,
|
|
19309
|
+
render: renderTextEllipsis
|
|
19246
19310
|
}, {
|
|
19247
19311
|
dataIndex: 'brandName',
|
|
19248
19312
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -19329,6 +19393,141 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
19329
19393
|
}
|
|
19330
19394
|
}) : /*#__PURE__*/React.createElement("span", null, typeMap[val]);
|
|
19331
19395
|
}
|
|
19396
|
+
}],
|
|
19397
|
+
// 旺店通售后商品信息
|
|
19398
|
+
WDT_AFTERSALE_GOODS: [{
|
|
19399
|
+
dataIndex: 'oid',
|
|
19400
|
+
title: "\u539F\u59CB\u5B50\u5355\u53F7",
|
|
19401
|
+
width: 200,
|
|
19402
|
+
align: 'center',
|
|
19403
|
+
ellipsis: true,
|
|
19404
|
+
render: renderTextEllipsis
|
|
19405
|
+
}, {
|
|
19406
|
+
dataIndex: 'goodsName',
|
|
19407
|
+
title: "\u8D27\u54C1\u540D\u79F0",
|
|
19408
|
+
width: 250,
|
|
19409
|
+
align: 'center',
|
|
19410
|
+
ellipsis: true,
|
|
19411
|
+
render: renderTextEllipsis
|
|
19412
|
+
}, {
|
|
19413
|
+
dataIndex: 'goodsNo',
|
|
19414
|
+
title: "\u8D27\u54C1\u7F16\u53F7",
|
|
19415
|
+
width: 150,
|
|
19416
|
+
align: 'center',
|
|
19417
|
+
ellipsis: true,
|
|
19418
|
+
render: renderTextEllipsis
|
|
19419
|
+
}, {
|
|
19420
|
+
dataIndex: 'specName',
|
|
19421
|
+
title: "\u89C4\u683C\u540D\u79F0",
|
|
19422
|
+
width: 150,
|
|
19423
|
+
align: 'center',
|
|
19424
|
+
ellipsis: true,
|
|
19425
|
+
render: renderTextEllipsis
|
|
19426
|
+
}, {
|
|
19427
|
+
dataIndex: 'specNo',
|
|
19428
|
+
title: "\u5546\u5BB6\u7F16\u7801",
|
|
19429
|
+
width: 200,
|
|
19430
|
+
align: 'center',
|
|
19431
|
+
ellipsis: true,
|
|
19432
|
+
render: renderTextEllipsis
|
|
19433
|
+
}, {
|
|
19434
|
+
dataIndex: 'specCode',
|
|
19435
|
+
title: "\u89C4\u683C\u7F16\u53F7",
|
|
19436
|
+
width: 150,
|
|
19437
|
+
align: 'center',
|
|
19438
|
+
ellipsis: true,
|
|
19439
|
+
render: renderTextEllipsis
|
|
19440
|
+
}, {
|
|
19441
|
+
dataIndex: 'barcode',
|
|
19442
|
+
title: "\u6761\u7801",
|
|
19443
|
+
width: 150,
|
|
19444
|
+
align: 'center',
|
|
19445
|
+
ellipsis: true,
|
|
19446
|
+
render: renderTextEllipsis
|
|
19447
|
+
}, {
|
|
19448
|
+
dataIndex: 'apiGoodsName',
|
|
19449
|
+
title: "\u5E73\u53F0\u8D27\u54C1\u540D\u79F0",
|
|
19450
|
+
width: 250,
|
|
19451
|
+
align: 'center',
|
|
19452
|
+
ellipsis: true,
|
|
19453
|
+
render: renderTextEllipsis
|
|
19454
|
+
}, {
|
|
19455
|
+
dataIndex: 'apiSpecName',
|
|
19456
|
+
title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
|
|
19457
|
+
width: 250,
|
|
19458
|
+
align: 'center',
|
|
19459
|
+
ellipsis: true,
|
|
19460
|
+
render: renderTextEllipsis
|
|
19461
|
+
}, {
|
|
19462
|
+
dataIndex: 'suiteName',
|
|
19463
|
+
title: "\u7EC4\u5408\u88C5\u540D\u79F0",
|
|
19464
|
+
width: 150,
|
|
19465
|
+
align: 'center',
|
|
19466
|
+
ellipsis: true,
|
|
19467
|
+
render: renderTextEllipsis
|
|
19468
|
+
}, {
|
|
19469
|
+
dataIndex: 'suiteNo',
|
|
19470
|
+
title: "\u7EC4\u5408\u88C5\u7F16\u53F7",
|
|
19471
|
+
width: 150,
|
|
19472
|
+
align: 'center',
|
|
19473
|
+
ellipsis: true,
|
|
19474
|
+
render: renderTextEllipsis
|
|
19475
|
+
}, {
|
|
19476
|
+
dataIndex: 'stockinNum',
|
|
19477
|
+
title: "\u5165\u5E93\u6570\u91CF",
|
|
19478
|
+
width: 150,
|
|
19479
|
+
align: 'center',
|
|
19480
|
+
ellipsis: true,
|
|
19481
|
+
render: renderTextEllipsis
|
|
19482
|
+
}, {
|
|
19483
|
+
dataIndex: 'refundNum',
|
|
19484
|
+
title: "\u9000\u6B3E\u6570\u91CF",
|
|
19485
|
+
width: 150,
|
|
19486
|
+
align: 'center',
|
|
19487
|
+
ellipsis: true,
|
|
19488
|
+
render: renderTextEllipsis
|
|
19489
|
+
}, {
|
|
19490
|
+
dataIndex: 'totalAmount',
|
|
19491
|
+
title: "\u9000\u8D27\u603B\u989D",
|
|
19492
|
+
width: 150,
|
|
19493
|
+
align: 'center',
|
|
19494
|
+
ellipsis: true,
|
|
19495
|
+
render: renderTextEllipsis
|
|
19496
|
+
}, {
|
|
19497
|
+
dataIndex: 'refundAmount',
|
|
19498
|
+
title: "\u5DF2\u9000\u6B3E\u91D1\u989D",
|
|
19499
|
+
width: 150,
|
|
19500
|
+
align: 'center',
|
|
19501
|
+
ellipsis: true,
|
|
19502
|
+
render: renderTextEllipsis
|
|
19503
|
+
}, {
|
|
19504
|
+
dataIndex: 'orderNum',
|
|
19505
|
+
title: "\u5B9E\u9645\u53D1\u51FA\u6570\u91CF",
|
|
19506
|
+
width: 150,
|
|
19507
|
+
align: 'center',
|
|
19508
|
+
ellipsis: true,
|
|
19509
|
+
render: renderTextEllipsis
|
|
19510
|
+
}, {
|
|
19511
|
+
dataIndex: 'price',
|
|
19512
|
+
title: "\u4EF7\u683C",
|
|
19513
|
+
width: 150,
|
|
19514
|
+
align: 'center',
|
|
19515
|
+
ellipsis: true,
|
|
19516
|
+
render: renderTextEllipsis
|
|
19517
|
+
}, {
|
|
19518
|
+
dataIndex: 'originalPrice',
|
|
19519
|
+
title: "\u539F\u4EF7",
|
|
19520
|
+
width: 150,
|
|
19521
|
+
align: 'center',
|
|
19522
|
+
ellipsis: true,
|
|
19523
|
+
render: renderTextEllipsis
|
|
19524
|
+
}, {
|
|
19525
|
+
dataIndex: 'giftType',
|
|
19526
|
+
title: "\u8D60\u54C1\u7C7B\u578B",
|
|
19527
|
+
width: 150,
|
|
19528
|
+
align: 'center',
|
|
19529
|
+
ellipsis: true,
|
|
19530
|
+
render: renderTextEllipsis
|
|
19332
19531
|
}]
|
|
19333
19532
|
};
|
|
19334
19533
|
};
|
|
@@ -20011,7 +20210,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20011
20210
|
ellipsis: true,
|
|
20012
20211
|
align: 'center',
|
|
20013
20212
|
render: function render(val, record, index) {
|
|
20014
|
-
return (record.qty || 0) * (+record.salePrice || 0);
|
|
20213
|
+
return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
|
|
20015
20214
|
}
|
|
20016
20215
|
}, {
|
|
20017
20216
|
dataIndex: 'batchId',
|
|
@@ -20299,7 +20498,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20299
20498
|
dataIndex: 'saleAmount',
|
|
20300
20499
|
title: '总金额',
|
|
20301
20500
|
render: function render(val, record) {
|
|
20302
|
-
return (record.qty || 0) * (+record.salePrice || 0);
|
|
20501
|
+
return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
|
|
20303
20502
|
}
|
|
20304
20503
|
}, {
|
|
20305
20504
|
dataIndex: 'batchId',
|
|
@@ -20414,7 +20613,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20414
20613
|
dataIndex: 'saleAmount',
|
|
20415
20614
|
title: '总金额',
|
|
20416
20615
|
render: function render(val, record) {
|
|
20417
|
-
return (record.qty || 0) * (+record.salePrice || 0);
|
|
20616
|
+
return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
|
|
20418
20617
|
}
|
|
20419
20618
|
}, {
|
|
20420
20619
|
dataIndex: 'isGift',
|
|
@@ -20449,7 +20648,161 @@ var getColumns$5 = function getColumns() {
|
|
|
20449
20648
|
}
|
|
20450
20649
|
}) : renderTextEllipsis(val);
|
|
20451
20650
|
}
|
|
20452
|
-
}].map(fillAttrs)
|
|
20651
|
+
}].map(fillAttrs),
|
|
20652
|
+
// jst售后商品信息
|
|
20653
|
+
JST_AFTERSALE_GOODS: [{
|
|
20654
|
+
dataIndex: 'asId',
|
|
20655
|
+
title: "\u805A\u6C34\u6F6D\u552E\u540E\u5355\u53F7",
|
|
20656
|
+
width: 200,
|
|
20657
|
+
align: 'center',
|
|
20658
|
+
ellipsis: true,
|
|
20659
|
+
render: renderTextEllipsis
|
|
20660
|
+
}, {
|
|
20661
|
+
dataIndex: 'asiId',
|
|
20662
|
+
title: "\u552E\u540E\u5B50\u5355\u53F7",
|
|
20663
|
+
width: 200,
|
|
20664
|
+
align: 'center',
|
|
20665
|
+
ellipsis: true,
|
|
20666
|
+
render: renderTextEllipsis
|
|
20667
|
+
}, {
|
|
20668
|
+
dataIndex: 'outerOiId',
|
|
20669
|
+
title: "\u5B50\u8BA2\u5355\u53F7",
|
|
20670
|
+
width: 200,
|
|
20671
|
+
align: 'center',
|
|
20672
|
+
ellipsis: true,
|
|
20673
|
+
render: renderTextEllipsis
|
|
20674
|
+
}, {
|
|
20675
|
+
dataIndex: 'pic',
|
|
20676
|
+
title: "\u56FE\u7247",
|
|
20677
|
+
width: 100,
|
|
20678
|
+
align: 'center',
|
|
20679
|
+
render: function render(val) {
|
|
20680
|
+
return /*#__PURE__*/React.createElement(Image, {
|
|
20681
|
+
width: 30,
|
|
20682
|
+
src: val
|
|
20683
|
+
});
|
|
20684
|
+
},
|
|
20685
|
+
headerComponentType: 'pic'
|
|
20686
|
+
}, {
|
|
20687
|
+
dataIndex: 'name',
|
|
20688
|
+
title: "\u5546\u54C1\u540D\u79F0",
|
|
20689
|
+
width: 250,
|
|
20690
|
+
align: 'center',
|
|
20691
|
+
ellipsis: true,
|
|
20692
|
+
render: renderTextEllipsis
|
|
20693
|
+
}, {
|
|
20694
|
+
dataIndex: 'skuId',
|
|
20695
|
+
title: "\u5546\u54C1\u7F16\u7801",
|
|
20696
|
+
width: 200,
|
|
20697
|
+
align: 'center',
|
|
20698
|
+
ellipsis: true,
|
|
20699
|
+
render: renderTextEllipsis
|
|
20700
|
+
}, {
|
|
20701
|
+
dataIndex: 'propertiesValue',
|
|
20702
|
+
title: "\u89C4\u683C\u5C5E\u6027\u503C",
|
|
20703
|
+
width: 150,
|
|
20704
|
+
align: 'center',
|
|
20705
|
+
ellipsis: true,
|
|
20706
|
+
render: renderTextEllipsis
|
|
20707
|
+
}, {
|
|
20708
|
+
dataIndex: 'qty',
|
|
20709
|
+
title: "\u7533\u8BF7\u6570\u91CF",
|
|
20710
|
+
width: 150,
|
|
20711
|
+
align: 'center',
|
|
20712
|
+
ellipsis: true,
|
|
20713
|
+
render: renderTextEllipsis
|
|
20714
|
+
}, {
|
|
20715
|
+
dataIndex: 'rQty',
|
|
20716
|
+
title: "\u5B9E\u6536\u9000\u8D27\u6570\u91CF",
|
|
20717
|
+
width: 150,
|
|
20718
|
+
align: 'center',
|
|
20719
|
+
ellipsis: true,
|
|
20720
|
+
render: renderTextEllipsis
|
|
20721
|
+
}, {
|
|
20722
|
+
dataIndex: 'defectiveQty',
|
|
20723
|
+
title: "\u6B21\u54C1\u6570\u91CF",
|
|
20724
|
+
width: 150,
|
|
20725
|
+
align: 'center',
|
|
20726
|
+
ellipsis: true,
|
|
20727
|
+
render: renderTextEllipsis
|
|
20728
|
+
}, {
|
|
20729
|
+
dataIndex: 'amount',
|
|
20730
|
+
title: "\u7533\u8BF7\u91D1\u989D",
|
|
20731
|
+
width: 150,
|
|
20732
|
+
align: 'center',
|
|
20733
|
+
ellipsis: true,
|
|
20734
|
+
render: renderTextEllipsis
|
|
20735
|
+
}, {
|
|
20736
|
+
dataIndex: 'shopAmount',
|
|
20737
|
+
title: "\u7EBF\u4E0A\u660E\u7EC6\u91D1\u989D",
|
|
20738
|
+
width: 150,
|
|
20739
|
+
align: 'center',
|
|
20740
|
+
ellipsis: true,
|
|
20741
|
+
render: renderTextEllipsis
|
|
20742
|
+
}, {
|
|
20743
|
+
dataIndex: 'price',
|
|
20744
|
+
title: "\u5355\u4EF7",
|
|
20745
|
+
width: 150,
|
|
20746
|
+
align: 'center',
|
|
20747
|
+
ellipsis: true,
|
|
20748
|
+
render: renderTextEllipsis
|
|
20749
|
+
}, {
|
|
20750
|
+
dataIndex: 'combineSkuId',
|
|
20751
|
+
title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
|
|
20752
|
+
width: 200,
|
|
20753
|
+
align: 'center',
|
|
20754
|
+
ellipsis: true,
|
|
20755
|
+
render: renderTextEllipsis
|
|
20756
|
+
}, {
|
|
20757
|
+
dataIndex: 'shopSkuId',
|
|
20758
|
+
title: "\u5E97\u94FA\u5546\u54C1\u7F16\u7801",
|
|
20759
|
+
width: 200,
|
|
20760
|
+
align: 'center',
|
|
20761
|
+
ellipsis: true,
|
|
20762
|
+
render: renderTextEllipsis
|
|
20763
|
+
}, {
|
|
20764
|
+
dataIndex: 'iId',
|
|
20765
|
+
title: "\u6B3E\u5F0F\u7F16\u7801",
|
|
20766
|
+
width: 200,
|
|
20767
|
+
align: 'center',
|
|
20768
|
+
ellipsis: true,
|
|
20769
|
+
render: renderTextEllipsis
|
|
20770
|
+
}, {
|
|
20771
|
+
dataIndex: 'type',
|
|
20772
|
+
title: "\u552E\u540E\u7C7B\u578B",
|
|
20773
|
+
width: 150,
|
|
20774
|
+
align: 'center',
|
|
20775
|
+
ellipsis: true,
|
|
20776
|
+
render: renderTextEllipsis
|
|
20777
|
+
}, {
|
|
20778
|
+
dataIndex: 'skuType',
|
|
20779
|
+
title: "\u5546\u54C1\u7C7B\u578B",
|
|
20780
|
+
width: 150,
|
|
20781
|
+
align: 'center',
|
|
20782
|
+
ellipsis: true,
|
|
20783
|
+
render: renderTextEllipsis
|
|
20784
|
+
}, {
|
|
20785
|
+
dataIndex: 'isGift',
|
|
20786
|
+
title: '是否赠品',
|
|
20787
|
+
width: 100,
|
|
20788
|
+
render: function render(val) {
|
|
20789
|
+
return /*#__PURE__*/React.createElement("span", null, typeof val !== 'boolean' ? '' : val ? '是' : '否');
|
|
20790
|
+
}
|
|
20791
|
+
}, {
|
|
20792
|
+
dataIndex: 'receiveDate',
|
|
20793
|
+
title: "\u5165\u4ED3\u65F6\u95F4",
|
|
20794
|
+
width: 200,
|
|
20795
|
+
align: 'center',
|
|
20796
|
+
ellipsis: true,
|
|
20797
|
+
render: renderTextEllipsis
|
|
20798
|
+
}, {
|
|
20799
|
+
dataIndex: 'remark',
|
|
20800
|
+
title: "\u660E\u7EC6\u5907\u6CE8",
|
|
20801
|
+
width: 200,
|
|
20802
|
+
align: 'center',
|
|
20803
|
+
ellipsis: true,
|
|
20804
|
+
render: renderTextEllipsis
|
|
20805
|
+
}]
|
|
20453
20806
|
};
|
|
20454
20807
|
};
|
|
20455
20808
|
|
|
@@ -21120,6 +21473,12 @@ var getColumns$7 = function getColumns(_ref) {
|
|
|
21120
21473
|
width: 150,
|
|
21121
21474
|
render: function render(val, record, index) {
|
|
21122
21475
|
return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
|
|
21476
|
+
dropdownStyle: {
|
|
21477
|
+
zIndex: 2000
|
|
21478
|
+
},
|
|
21479
|
+
getPopupContainer: function getPopupContainer() {
|
|
21480
|
+
return document.body;
|
|
21481
|
+
},
|
|
21123
21482
|
value: val,
|
|
21124
21483
|
onChange: function onChange(value) {
|
|
21125
21484
|
updateHandle(value, index, 'bfit');
|
|
@@ -21149,6 +21508,12 @@ var getColumns$7 = function getColumns(_ref) {
|
|
|
21149
21508
|
width: 150,
|
|
21150
21509
|
render: function render(val, record, index) {
|
|
21151
21510
|
return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
|
|
21511
|
+
dropdownStyle: {
|
|
21512
|
+
zIndex: 2000
|
|
21513
|
+
},
|
|
21514
|
+
getPopupContainer: function getPopupContainer() {
|
|
21515
|
+
return document.body;
|
|
21516
|
+
},
|
|
21152
21517
|
value: val,
|
|
21153
21518
|
onChange: function onChange(value) {
|
|
21154
21519
|
updateHandle(value, index, 'gift');
|
|
@@ -21808,6 +22173,7 @@ var systemOrderNoMap = {
|
|
|
21808
22173
|
GY_GOODS: 'code',
|
|
21809
22174
|
KM_GOODS: 'sid',
|
|
21810
22175
|
WDT_GOODS: 'tradeNo',
|
|
22176
|
+
WDT_AFTERSALE_GOODS: 'tid',
|
|
21811
22177
|
BS_E3_GOODS: 'orderSn',
|
|
21812
22178
|
JST_GOODS: 'oId',
|
|
21813
22179
|
WLN_GOODS: 'tradeNo',
|
|
@@ -21906,7 +22272,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
21906
22272
|
}
|
|
21907
22273
|
}, isShowSelect && /*#__PURE__*/React.createElement(Row, {
|
|
21908
22274
|
style: {
|
|
21909
|
-
marginBottom: '
|
|
22275
|
+
marginBottom: '12px'
|
|
21910
22276
|
}
|
|
21911
22277
|
}, /*#__PURE__*/React.createElement(Col, {
|
|
21912
22278
|
span: 12
|
|
@@ -22011,6 +22377,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22011
22377
|
templateDetail = _props$templateDetail === void 0 ? {} : _props$templateDetail,
|
|
22012
22378
|
_props$hasSelectedSys = props.hasSelectedSystemOrder,
|
|
22013
22379
|
hasSelectedSystemOrder = _props$hasSelectedSys === void 0 ? false : _props$hasSelectedSys;
|
|
22380
|
+
var canDelete = ['JST_AFTERSALE_GOODS'].includes(type);
|
|
22014
22381
|
var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
|
|
22015
22382
|
// 监听聚水潭退货商品
|
|
22016
22383
|
var jstReturnGoods = Form === null || Form === void 0 ? void 0 : Form.useWatch('3979edfd6d', form);
|
|
@@ -22090,6 +22457,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22090
22457
|
var columns = [];
|
|
22091
22458
|
switch (type) {
|
|
22092
22459
|
case 'WDT_GOODS':
|
|
22460
|
+
case 'WDT_AFTERSALE_GOODS':
|
|
22093
22461
|
case 'WDT_RETURN_GOODS':
|
|
22094
22462
|
case 'WDT_EXCHANGE_GOODS':
|
|
22095
22463
|
case 'BS_E3_GOODS':
|
|
@@ -22100,6 +22468,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22100
22468
|
case 'JST_REISSUE_GOODS':
|
|
22101
22469
|
case 'JST_EXCHANGE_GOODS':
|
|
22102
22470
|
case 'JST_RETURN_GOODS':
|
|
22471
|
+
case 'JST_AFTERSALE_GOODS':
|
|
22103
22472
|
case 'GY_REISSUE_GOODS':
|
|
22104
22473
|
case 'GY_RETURN_GOODS':
|
|
22105
22474
|
case 'KM_GOODS':
|
|
@@ -22192,7 +22561,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22192
22561
|
render: function render(val, record, index) {
|
|
22193
22562
|
return /*#__PURE__*/React.createElement(HoverTableRowDeleteIcon, {
|
|
22194
22563
|
index: index,
|
|
22195
|
-
hoveredRowIndex: !disabled && record.canDelete ? hoveredRowIndex : null,
|
|
22564
|
+
hoveredRowIndex: !disabled && (record.canDelete || canDelete) ? hoveredRowIndex : null,
|
|
22196
22565
|
handleClick: function handleClick() {
|
|
22197
22566
|
return handleDelete(record, index);
|
|
22198
22567
|
}
|
|
@@ -22207,7 +22576,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22207
22576
|
ellipsis: true,
|
|
22208
22577
|
width: 100,
|
|
22209
22578
|
render: function render(val, record, index) {
|
|
22210
|
-
return record.canDelete ? /*#__PURE__*/React.createElement(Button, {
|
|
22579
|
+
return record.canDelete || canDelete ? /*#__PURE__*/React.createElement(Button, {
|
|
22211
22580
|
type: "link",
|
|
22212
22581
|
onClick: function onClick() {
|
|
22213
22582
|
return handleDelete(record, index);
|
|
@@ -23366,7 +23735,8 @@ var columnsMap = {
|
|
|
23366
23735
|
BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
23367
23736
|
GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG.columns,
|
|
23368
23737
|
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns,
|
|
23369
|
-
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG.columns
|
|
23738
|
+
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG.columns,
|
|
23739
|
+
WDT_RETURN_BILL_NO: WDT_RETURN_BILL_NO_CONFIG.columns
|
|
23370
23740
|
};
|
|
23371
23741
|
var rowKeyMap = {
|
|
23372
23742
|
BS_SYSTEM_ORDER: 'billNo',
|
|
@@ -23376,7 +23746,8 @@ var rowKeyMap = {
|
|
|
23376
23746
|
BS_E3_SYSTEM_ORDER: 'orderSn',
|
|
23377
23747
|
GY_SYSTEM_ORDER: 'billNo',
|
|
23378
23748
|
JST_SYSTEM_ORDER: 'oId',
|
|
23379
|
-
JY_SYSTEM_ORDER: 'tradeNo'
|
|
23749
|
+
JY_SYSTEM_ORDER: 'tradeNo',
|
|
23750
|
+
WDT_RETURN_BILL_NO: 'refundNo'
|
|
23380
23751
|
};
|
|
23381
23752
|
var index$2 = (function (props) {
|
|
23382
23753
|
var value = props.value,
|
|
@@ -23390,6 +23761,7 @@ var index$2 = (function (props) {
|
|
|
23390
23761
|
useEffect(function () {
|
|
23391
23762
|
var _value$orders, _value$showOrderInfo;
|
|
23392
23763
|
valueRef.current = value;
|
|
23764
|
+
console.log('value77777777', value);
|
|
23393
23765
|
if (!(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo) && (value === null || value === void 0 ? void 0 : (_value$showOrderInfo = value.showOrderInfo) === null || _value$showOrderInfo === void 0 ? void 0 : _value$showOrderInfo.length) && !onceRef.current) {
|
|
23394
23766
|
onceRef.current = true;
|
|
23395
23767
|
if (type === 'BS_SYSTEM_ORDER') {
|
|
@@ -24856,10 +25228,39 @@ var componentMap$2 = {
|
|
|
24856
25228
|
exchangeDeleteGood: 'jyExchangeDeleteGood'
|
|
24857
25229
|
},
|
|
24858
25230
|
getOrderList: jyUtils.getJyOrderListSingleton
|
|
25231
|
+
},
|
|
25232
|
+
WDT_AFTERSALE_GOODS: {
|
|
25233
|
+
type: 'wdtAftersale',
|
|
25234
|
+
key: 'wdtAftersaleGoods',
|
|
25235
|
+
name: '旺店通售后',
|
|
25236
|
+
orderNo: 'srcTids',
|
|
25237
|
+
goodDetailOrderNo: 'srcTids',
|
|
25238
|
+
showChangeBtn: false,
|
|
25239
|
+
eventNameMap: {
|
|
25240
|
+
// pubsub 事件
|
|
25241
|
+
type: 'wdtAftersaleType',
|
|
25242
|
+
updateGoodsHandle: updateWdtAftersaleGoodsHandle,
|
|
25243
|
+
reissueDeleteGood: 'wdtAftersaleReissueDeleteGood'
|
|
25244
|
+
},
|
|
25245
|
+
getOrderList: wdtUtils.getWdtOrderListSingleton
|
|
25246
|
+
},
|
|
25247
|
+
JST_AFTERSALE_GOODS: {
|
|
25248
|
+
type: 'jstAftersale',
|
|
25249
|
+
key: 'jstAftersaleGoods',
|
|
25250
|
+
name: 'jst售后',
|
|
25251
|
+
orderNo: 'asId',
|
|
25252
|
+
goodDetailOrderNo: 'asId',
|
|
25253
|
+
showChangeBtn: false,
|
|
25254
|
+
eventNameMap: {
|
|
25255
|
+
// pubsub 事件
|
|
25256
|
+
type: 'jstAftersaleType',
|
|
25257
|
+
deleteGood: 'jstAftersaleDeleteGood'
|
|
25258
|
+
},
|
|
25259
|
+
getOrderList: jstUtils.getJstOrderListSingleton
|
|
24859
25260
|
}
|
|
24860
25261
|
};
|
|
24861
25262
|
var CommonGoods = function CommonGoods(props) {
|
|
24862
|
-
var _componentMap$compTyp5, _withInfo$current3, _withInfo$current4;
|
|
25263
|
+
var _componentMap$compTyp5, _withInfo$current3, _withInfo$current4, _componentMap$compTyp7;
|
|
24863
25264
|
var value = props.value,
|
|
24864
25265
|
disabled = props.disabled,
|
|
24865
25266
|
onChange = props.onChange,
|
|
@@ -25016,6 +25417,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
25016
25417
|
var getGoodDetails = function getGoodDetails(_ref2) {
|
|
25017
25418
|
var mode = _ref2.mode;
|
|
25018
25419
|
var updateHandle = componentMap$2[compType].eventNameMap['updateGoodsHandle'];
|
|
25420
|
+
if (!updateHandle) return [];
|
|
25019
25421
|
var goodDetails = updateHandle((value === null || value === void 0 ? void 0 : value.orders) || [], {
|
|
25020
25422
|
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
25021
25423
|
});
|
|
@@ -25030,6 +25432,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
25030
25432
|
var mode = _ref3.mode;
|
|
25031
25433
|
var updateHandle = componentMap$2[compType].eventNameMap['updateGoodsHandle'];
|
|
25032
25434
|
console.log('value?.allOrders', value, (value === null || value === void 0 ? void 0 : value.allOrders) || []);
|
|
25435
|
+
if (!updateHandle) return [];
|
|
25033
25436
|
var goodDetails = updateHandle((value === null || value === void 0 ? void 0 : value.allOrders) || [], {
|
|
25034
25437
|
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
25035
25438
|
});
|
|
@@ -25090,6 +25493,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
25090
25493
|
isStrict: value === null || value === void 0 ? void 0 : value.isStrict,
|
|
25091
25494
|
systemOrders: value === null || value === void 0 ? void 0 : value.allOrders,
|
|
25092
25495
|
selectedSystemOrders: value === null || value === void 0 ? void 0 : value.orders,
|
|
25496
|
+
showChangeBtn: (_componentMap$compTyp7 = componentMap$2[compType]) === null || _componentMap$compTyp7 === void 0 ? void 0 : _componentMap$compTyp7.showChangeBtn,
|
|
25093
25497
|
tradeGoods: {
|
|
25094
25498
|
originDataSource: getAllTradeGoodsDetails({
|
|
25095
25499
|
mode: value === null || value === void 0 ? void 0 : value.isStrict
|
|
@@ -26783,7 +27187,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
26783
27187
|
onClick: function onClick() {
|
|
26784
27188
|
return setChangeIndex(index);
|
|
26785
27189
|
}
|
|
26786
|
-
}, msgTypeCh[key], item.ruleName);
|
|
27190
|
+
}, msgTypeCh[key] || key, item.ruleName);
|
|
26787
27191
|
}))) : null, type === 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
26788
27192
|
showSearch: true,
|
|
26789
27193
|
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
|
|
@@ -27361,7 +27765,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
27361
27765
|
span: 12
|
|
27362
27766
|
},
|
|
27363
27767
|
sm: {
|
|
27364
|
-
span:
|
|
27768
|
+
span: 4
|
|
27365
27769
|
}
|
|
27366
27770
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
27367
27771
|
style: {
|
|
@@ -27664,7 +28068,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
27664
28068
|
span: 12
|
|
27665
28069
|
},
|
|
27666
28070
|
sm: {
|
|
27667
|
-
span:
|
|
28071
|
+
span: 4
|
|
27668
28072
|
}
|
|
27669
28073
|
}, /*#__PURE__*/React.createElement(Cascader, {
|
|
27670
28074
|
style: {
|
|
@@ -28336,7 +28740,8 @@ var SYSTEM_ORDER_COLUMNS_MAP = {
|
|
|
28336
28740
|
BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
28337
28741
|
GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG.columns,
|
|
28338
28742
|
JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns,
|
|
28339
|
-
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG.columns
|
|
28743
|
+
JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG.columns,
|
|
28744
|
+
WDT_RETURN_BILL_NO: WDT_RETURN_BILL_NO_CONFIG.columns
|
|
28340
28745
|
};
|
|
28341
28746
|
|
|
28342
28747
|
export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, ApaasUploadAsync$1 as ApaasUploadAsync, ApaasUploadFile, index as ApaasUploadProAsync, AsyncSelect, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$2 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, CopyTextIcon, ExpressLogistics, Goods, index$3 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, KmVideo, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, OrderSubForm, utils as OrderSubFormUtils, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, SYSTEM_ORDER_COLUMNS_MAP, ShopNameSelect as ShopName, SkxGoods, IdInputSelect as SkxIdInputSelect, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, erpColumnsMap, erpFormValidator, index$1 as erpModalColumnsMap, getColumns$4 as getGyColumns, getColumns$5 as getJstColumns, getColumns$7 as getJyColumns, getColumns$6 as getKmColumns, getColumns$8 as getSkxColumns, getColumns$2 as getWdtColumns, getColumns$3 as getWlnColumns, orderSubFormConstants, renderMap };
|