@kmkf-fe-packages/basic-components 2.2.30 → 2.2.31-beta.10
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 +457 -34
- package/dist/index.js +455 -31
- package/dist/src/apaas/ApaasImage/index.d.ts +4 -0
- package/dist/src/apaas/SubForm/index.d.ts +1 -1
- package/dist/src/constants/systemOrderColumnsMap.d.ts +6 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -581,6 +581,16 @@ var ApaasDate = function ApaasDate(props) {
|
|
|
581
581
|
}, otherProps));
|
|
582
582
|
};
|
|
583
583
|
|
|
584
|
+
var noFallbackUrlList = ['https://kefu.kuaimai.com', 'https://kefuab.kuaimai.com/'];
|
|
585
|
+
function ApaasImage(props) {
|
|
586
|
+
return /*#__PURE__*/React__default['default'].createElement(antd.Image, _objectSpread2({
|
|
587
|
+
fallback: props.src && props.src.startsWith('http') && !noFallbackUrlList.some(function (url) {
|
|
588
|
+
var _props$src;
|
|
589
|
+
return (_props$src = props.src) === null || _props$src === void 0 ? void 0 : _props$src.startsWith(url);
|
|
590
|
+
}) ? "http://kmgdimages.ycy-inc.cn/?url=".concat(props.src) : undefined
|
|
591
|
+
}, props));
|
|
592
|
+
}
|
|
593
|
+
|
|
584
594
|
var _excluded$1 = ["isNumber", "replaceWarn", "precision"];
|
|
585
595
|
function ApaasInput(props) {
|
|
586
596
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -8123,6 +8133,11 @@ var systemOrderMap = {
|
|
|
8123
8133
|
no: 'jstSystemOrderNo',
|
|
8124
8134
|
ids: 'jstSystemSelectIds',
|
|
8125
8135
|
order: 'jstSystemShowOrder'
|
|
8136
|
+
},
|
|
8137
|
+
WDT_RETURN_BILL_NO: {
|
|
8138
|
+
no: 'wdtReturnBillNo',
|
|
8139
|
+
ids: 'wdtReturnBillSelectIds',
|
|
8140
|
+
order: 'wdtReturnBillShowOrder'
|
|
8126
8141
|
}
|
|
8127
8142
|
};
|
|
8128
8143
|
//直接将key component 添加到 transformWorkOrderData中的componentProcessors
|
|
@@ -8695,6 +8710,52 @@ var processWdtGoods = function processWdtGoods(templateColumns) {
|
|
|
8695
8710
|
};
|
|
8696
8711
|
};
|
|
8697
8712
|
};
|
|
8713
|
+
var processWdtAftersaleGoods = function processWdtAftersaleGoods(templateColumns) {
|
|
8714
|
+
return function (getValue) {
|
|
8715
|
+
return function (nex, config) {
|
|
8716
|
+
var _values = {
|
|
8717
|
+
wdtAftersaleGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_wdtAftersaleGoods")), []),
|
|
8718
|
+
shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
|
|
8719
|
+
};
|
|
8720
|
+
var selectIds = [];
|
|
8721
|
+
var orderNo = '';
|
|
8722
|
+
var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
8723
|
+
return col.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
8724
|
+
});
|
|
8725
|
+
if (tradeId) {
|
|
8726
|
+
orderNo = getValue("".concat(tradeId.uniqueKey, "_").concat(updateWorkTypeKeys[tradeId.workOrderComponentType]));
|
|
8727
|
+
}
|
|
8728
|
+
var wdtAftersaleSystemOrder = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
8729
|
+
return col.workOrderComponentType === 'WDT_RETURN_BILL_NO';
|
|
8730
|
+
});
|
|
8731
|
+
if (wdtAftersaleSystemOrder) {
|
|
8732
|
+
selectIds = jsonParseSecurity(getValue("".concat(wdtAftersaleSystemOrder.uniqueKey, "_").concat(systemOrderMap[wdtAftersaleSystemOrder.workOrderComponentType].ids)), []);
|
|
8733
|
+
}
|
|
8734
|
+
_values.selectIds = selectIds;
|
|
8735
|
+
_values.orderNo = orderNo;
|
|
8736
|
+
return _defineProperty({}, nex.uniqueKey, _values);
|
|
8737
|
+
};
|
|
8738
|
+
};
|
|
8739
|
+
};
|
|
8740
|
+
var processJstAftersaleGoods = function processJstAftersaleGoods(templateColumns) {
|
|
8741
|
+
return function (getValue) {
|
|
8742
|
+
return function (nex) {
|
|
8743
|
+
var _values = {
|
|
8744
|
+
jstAftersaleGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_jstAftersaleGoods")), []),
|
|
8745
|
+
shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
|
|
8746
|
+
};
|
|
8747
|
+
var orderNo = '';
|
|
8748
|
+
var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
8749
|
+
return col.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
8750
|
+
});
|
|
8751
|
+
if (tradeId) {
|
|
8752
|
+
orderNo = getValue("".concat(tradeId.uniqueKey, "_").concat(updateWorkTypeKeys[tradeId.workOrderComponentType]));
|
|
8753
|
+
}
|
|
8754
|
+
_values.orderNo = orderNo;
|
|
8755
|
+
return _defineProperty({}, nex.uniqueKey, _values);
|
|
8756
|
+
};
|
|
8757
|
+
};
|
|
8758
|
+
};
|
|
8698
8759
|
var processBsE3Goods = function processBsE3Goods(templateColumns) {
|
|
8699
8760
|
return function (getValue) {
|
|
8700
8761
|
return function (nex, config) {
|
|
@@ -8927,11 +8988,16 @@ var processErpSystemOrder = function processErpSystemOrder(getValue) {
|
|
|
8927
8988
|
no: 'jstSystemOrderNo',
|
|
8928
8989
|
ids: 'jstSystemSelectIds',
|
|
8929
8990
|
order: 'jstSystemShowOrder'
|
|
8991
|
+
},
|
|
8992
|
+
WDT_RETURN_BILL_NO: {
|
|
8993
|
+
no: 'wdtReturnBillNo',
|
|
8994
|
+
ids: 'wdtReturnBillSelectIds',
|
|
8995
|
+
order: 'wdtReturnBillShowOrder'
|
|
8930
8996
|
}
|
|
8931
8997
|
};
|
|
8932
8998
|
return _defineProperty({}, nex.uniqueKey, {
|
|
8933
8999
|
orderNo: getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].no)),
|
|
8934
|
-
orders: [],
|
|
9000
|
+
orders: nex.workOrderComponentType === 'WDT_RETURN_BILL_NO' ? jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].order)), []) : [],
|
|
8935
9001
|
selectIds: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].ids)), []),
|
|
8936
9002
|
showOrderInfo: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(systemOrderMap[nex.workOrderComponentType].order)), [])
|
|
8937
9003
|
});
|
|
@@ -9167,14 +9233,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
|
|
|
9167
9233
|
};
|
|
9168
9234
|
var processLabel = function processLabel(getValue) {
|
|
9169
9235
|
return function (nex, config) {
|
|
9170
|
-
var
|
|
9171
|
-
return
|
|
9236
|
+
var _ref74;
|
|
9237
|
+
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;
|
|
9172
9238
|
};
|
|
9173
9239
|
};
|
|
9174
9240
|
var processMemberLevel = function processMemberLevel(getValue) {
|
|
9175
9241
|
return function (nex, config) {
|
|
9176
|
-
var
|
|
9177
|
-
return
|
|
9242
|
+
var _ref75;
|
|
9243
|
+
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;
|
|
9178
9244
|
};
|
|
9179
9245
|
};
|
|
9180
9246
|
var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
|
|
@@ -9292,6 +9358,8 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
9292
9358
|
BS_POSTING: processBsPosting,
|
|
9293
9359
|
BS_GOODS: processBsGoods,
|
|
9294
9360
|
WDT_GOODS: processWdtGoods(templateColumns),
|
|
9361
|
+
WDT_AFTERSALE_GOODS: processWdtAftersaleGoods(templateColumns),
|
|
9362
|
+
JST_AFTERSALE_GOODS: processJstAftersaleGoods(templateColumns),
|
|
9295
9363
|
BS_E3_GOODS: processBsE3Goods(templateColumns),
|
|
9296
9364
|
GY_GOODS: processGyGoods(templateColumns),
|
|
9297
9365
|
KM_GOODS: processKmGoods(templateColumns),
|
|
@@ -9308,6 +9376,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
9308
9376
|
KM_SYSTEM_ORDER: processErpSystemOrder,
|
|
9309
9377
|
WLN_SYSTEM_ORDER: processErpSystemOrder,
|
|
9310
9378
|
WDT_SYSTEM_ORDER: processErpSystemOrder,
|
|
9379
|
+
WDT_RETURN_BILL_NO: processErpSystemOrder,
|
|
9311
9380
|
BS_E3_SYSTEM_ORDER: processErpSystemOrder,
|
|
9312
9381
|
JST_SYSTEM_ORDER: processErpSystemOrder,
|
|
9313
9382
|
GY_SYSTEM_ORDER: processErpSystemOrder,
|
|
@@ -9922,8 +9991,8 @@ var SubForm = function SubForm(props) {
|
|
|
9922
9991
|
tableHeader = props.tableHeader,
|
|
9923
9992
|
disabled = props.disabled,
|
|
9924
9993
|
platform = props.platform,
|
|
9925
|
-
|
|
9926
|
-
|
|
9994
|
+
maxCount = props.maxCount,
|
|
9995
|
+
manual = props.manual;
|
|
9927
9996
|
var ref = React.useRef(null);
|
|
9928
9997
|
var isRequest = React.useRef(false);
|
|
9929
9998
|
var _useState = React.useState(false),
|
|
@@ -13365,7 +13434,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
|
|
|
13365
13434
|
if (disabled) {
|
|
13366
13435
|
return;
|
|
13367
13436
|
}
|
|
13368
|
-
if (['SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
|
|
13437
|
+
if (['KYE', 'SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
|
|
13369
13438
|
return;
|
|
13370
13439
|
} else if (!(newCompany && trajectoryCode)) {
|
|
13371
13440
|
return;
|
|
@@ -13501,7 +13570,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
|
|
|
13501
13570
|
value: value === null || value === void 0 ? void 0 : value.trajectorySnapshot
|
|
13502
13571
|
});
|
|
13503
13572
|
};
|
|
13504
|
-
return /*#__PURE__*/React__default['default'].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__default['default'].createElement(LogisticsSnapshot, null) : null);
|
|
13573
|
+
return /*#__PURE__*/React__default['default'].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__default['default'].createElement(LogisticsSnapshot, null) : null);
|
|
13505
13574
|
};
|
|
13506
13575
|
|
|
13507
13576
|
var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
|
|
@@ -15873,6 +15942,7 @@ var getTableData$2 = function getTableData(_ref, formData) {
|
|
|
15873
15942
|
var current = _ref.current,
|
|
15874
15943
|
pageSize = _ref.pageSize;
|
|
15875
15944
|
var data = {
|
|
15945
|
+
goodShortName: formData.goodShortName || null,
|
|
15876
15946
|
goodNo: formData.goodNo || null,
|
|
15877
15947
|
goodName: formData.goodName || null,
|
|
15878
15948
|
skuCode: formData.skuCode || null,
|
|
@@ -18850,7 +18920,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18850
18920
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
18851
18921
|
width: 180,
|
|
18852
18922
|
align: 'center',
|
|
18853
|
-
ellipsis: true
|
|
18923
|
+
ellipsis: true,
|
|
18924
|
+
render: renderTextEllipsis
|
|
18854
18925
|
}, {
|
|
18855
18926
|
dataIndex: 'brandName',
|
|
18856
18927
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -18970,7 +19041,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
18970
19041
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
18971
19042
|
width: 180,
|
|
18972
19043
|
align: 'center',
|
|
18973
|
-
ellipsis: true
|
|
19044
|
+
ellipsis: true,
|
|
19045
|
+
render: renderTextEllipsis
|
|
18974
19046
|
}, {
|
|
18975
19047
|
dataIndex: 'brandName',
|
|
18976
19048
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -19094,7 +19166,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
19094
19166
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
19095
19167
|
width: 180,
|
|
19096
19168
|
align: 'center',
|
|
19097
|
-
ellipsis: true
|
|
19169
|
+
ellipsis: true,
|
|
19170
|
+
render: renderTextEllipsis
|
|
19098
19171
|
}, {
|
|
19099
19172
|
dataIndex: 'brandName',
|
|
19100
19173
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -19257,7 +19330,8 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
19257
19330
|
title: "\u5E73\u53F0\u89C4\u683CID",
|
|
19258
19331
|
width: 180,
|
|
19259
19332
|
align: 'center',
|
|
19260
|
-
ellipsis: true
|
|
19333
|
+
ellipsis: true,
|
|
19334
|
+
render: renderTextEllipsis
|
|
19261
19335
|
}, {
|
|
19262
19336
|
dataIndex: 'brandName',
|
|
19263
19337
|
title: "\u54C1\u724C\u540D\u79F0",
|
|
@@ -19344,6 +19418,141 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
19344
19418
|
}
|
|
19345
19419
|
}) : /*#__PURE__*/React__default['default'].createElement("span", null, typeMap[val]);
|
|
19346
19420
|
}
|
|
19421
|
+
}],
|
|
19422
|
+
// 旺店通售后商品信息
|
|
19423
|
+
WDT_AFTERSALE_GOODS: [{
|
|
19424
|
+
dataIndex: 'oid',
|
|
19425
|
+
title: "\u539F\u59CB\u5B50\u5355\u53F7",
|
|
19426
|
+
width: 200,
|
|
19427
|
+
align: 'center',
|
|
19428
|
+
ellipsis: true,
|
|
19429
|
+
render: renderTextEllipsis
|
|
19430
|
+
}, {
|
|
19431
|
+
dataIndex: 'goodsName',
|
|
19432
|
+
title: "\u8D27\u54C1\u540D\u79F0",
|
|
19433
|
+
width: 250,
|
|
19434
|
+
align: 'center',
|
|
19435
|
+
ellipsis: true,
|
|
19436
|
+
render: renderTextEllipsis
|
|
19437
|
+
}, {
|
|
19438
|
+
dataIndex: 'goodsNo',
|
|
19439
|
+
title: "\u8D27\u54C1\u7F16\u53F7",
|
|
19440
|
+
width: 150,
|
|
19441
|
+
align: 'center',
|
|
19442
|
+
ellipsis: true,
|
|
19443
|
+
render: renderTextEllipsis
|
|
19444
|
+
}, {
|
|
19445
|
+
dataIndex: 'specName',
|
|
19446
|
+
title: "\u89C4\u683C\u540D\u79F0",
|
|
19447
|
+
width: 150,
|
|
19448
|
+
align: 'center',
|
|
19449
|
+
ellipsis: true,
|
|
19450
|
+
render: renderTextEllipsis
|
|
19451
|
+
}, {
|
|
19452
|
+
dataIndex: 'specNo',
|
|
19453
|
+
title: "\u5546\u5BB6\u7F16\u7801",
|
|
19454
|
+
width: 200,
|
|
19455
|
+
align: 'center',
|
|
19456
|
+
ellipsis: true,
|
|
19457
|
+
render: renderTextEllipsis
|
|
19458
|
+
}, {
|
|
19459
|
+
dataIndex: 'specCode',
|
|
19460
|
+
title: "\u89C4\u683C\u7F16\u53F7",
|
|
19461
|
+
width: 150,
|
|
19462
|
+
align: 'center',
|
|
19463
|
+
ellipsis: true,
|
|
19464
|
+
render: renderTextEllipsis
|
|
19465
|
+
}, {
|
|
19466
|
+
dataIndex: 'barcode',
|
|
19467
|
+
title: "\u6761\u7801",
|
|
19468
|
+
width: 150,
|
|
19469
|
+
align: 'center',
|
|
19470
|
+
ellipsis: true,
|
|
19471
|
+
render: renderTextEllipsis
|
|
19472
|
+
}, {
|
|
19473
|
+
dataIndex: 'apiGoodsName',
|
|
19474
|
+
title: "\u5E73\u53F0\u8D27\u54C1\u540D\u79F0",
|
|
19475
|
+
width: 250,
|
|
19476
|
+
align: 'center',
|
|
19477
|
+
ellipsis: true,
|
|
19478
|
+
render: renderTextEllipsis
|
|
19479
|
+
}, {
|
|
19480
|
+
dataIndex: 'apiSpecName',
|
|
19481
|
+
title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
|
|
19482
|
+
width: 250,
|
|
19483
|
+
align: 'center',
|
|
19484
|
+
ellipsis: true,
|
|
19485
|
+
render: renderTextEllipsis
|
|
19486
|
+
}, {
|
|
19487
|
+
dataIndex: 'suiteName',
|
|
19488
|
+
title: "\u7EC4\u5408\u88C5\u540D\u79F0",
|
|
19489
|
+
width: 150,
|
|
19490
|
+
align: 'center',
|
|
19491
|
+
ellipsis: true,
|
|
19492
|
+
render: renderTextEllipsis
|
|
19493
|
+
}, {
|
|
19494
|
+
dataIndex: 'suiteNo',
|
|
19495
|
+
title: "\u7EC4\u5408\u88C5\u7F16\u53F7",
|
|
19496
|
+
width: 150,
|
|
19497
|
+
align: 'center',
|
|
19498
|
+
ellipsis: true,
|
|
19499
|
+
render: renderTextEllipsis
|
|
19500
|
+
}, {
|
|
19501
|
+
dataIndex: 'stockinNum',
|
|
19502
|
+
title: "\u5165\u5E93\u6570\u91CF",
|
|
19503
|
+
width: 150,
|
|
19504
|
+
align: 'center',
|
|
19505
|
+
ellipsis: true,
|
|
19506
|
+
render: renderTextEllipsis
|
|
19507
|
+
}, {
|
|
19508
|
+
dataIndex: 'refundNum',
|
|
19509
|
+
title: "\u9000\u6B3E\u6570\u91CF",
|
|
19510
|
+
width: 150,
|
|
19511
|
+
align: 'center',
|
|
19512
|
+
ellipsis: true,
|
|
19513
|
+
render: renderTextEllipsis
|
|
19514
|
+
}, {
|
|
19515
|
+
dataIndex: 'totalAmount',
|
|
19516
|
+
title: "\u9000\u8D27\u603B\u989D",
|
|
19517
|
+
width: 150,
|
|
19518
|
+
align: 'center',
|
|
19519
|
+
ellipsis: true,
|
|
19520
|
+
render: renderTextEllipsis
|
|
19521
|
+
}, {
|
|
19522
|
+
dataIndex: 'refundAmount',
|
|
19523
|
+
title: "\u5DF2\u9000\u6B3E\u91D1\u989D",
|
|
19524
|
+
width: 150,
|
|
19525
|
+
align: 'center',
|
|
19526
|
+
ellipsis: true,
|
|
19527
|
+
render: renderTextEllipsis
|
|
19528
|
+
}, {
|
|
19529
|
+
dataIndex: 'orderNum',
|
|
19530
|
+
title: "\u5B9E\u9645\u53D1\u51FA\u6570\u91CF",
|
|
19531
|
+
width: 150,
|
|
19532
|
+
align: 'center',
|
|
19533
|
+
ellipsis: true,
|
|
19534
|
+
render: renderTextEllipsis
|
|
19535
|
+
}, {
|
|
19536
|
+
dataIndex: 'price',
|
|
19537
|
+
title: "\u4EF7\u683C",
|
|
19538
|
+
width: 150,
|
|
19539
|
+
align: 'center',
|
|
19540
|
+
ellipsis: true,
|
|
19541
|
+
render: renderTextEllipsis
|
|
19542
|
+
}, {
|
|
19543
|
+
dataIndex: 'originalPrice',
|
|
19544
|
+
title: "\u539F\u4EF7",
|
|
19545
|
+
width: 150,
|
|
19546
|
+
align: 'center',
|
|
19547
|
+
ellipsis: true,
|
|
19548
|
+
render: renderTextEllipsis
|
|
19549
|
+
}, {
|
|
19550
|
+
dataIndex: 'giftType',
|
|
19551
|
+
title: "\u8D60\u54C1\u7C7B\u578B",
|
|
19552
|
+
width: 150,
|
|
19553
|
+
align: 'center',
|
|
19554
|
+
ellipsis: true,
|
|
19555
|
+
render: renderTextEllipsis
|
|
19347
19556
|
}]
|
|
19348
19557
|
};
|
|
19349
19558
|
};
|
|
@@ -19960,7 +20169,7 @@ var getColumns$5 = function getColumns() {
|
|
|
19960
20169
|
align: 'center',
|
|
19961
20170
|
width: 100,
|
|
19962
20171
|
render: function render(val) {
|
|
19963
|
-
return /*#__PURE__*/React__default['default'].createElement(
|
|
20172
|
+
return /*#__PURE__*/React__default['default'].createElement(ApaasImage, {
|
|
19964
20173
|
width: 30,
|
|
19965
20174
|
src: val
|
|
19966
20175
|
});
|
|
@@ -20026,7 +20235,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20026
20235
|
ellipsis: true,
|
|
20027
20236
|
align: 'center',
|
|
20028
20237
|
render: function render(val, record, index) {
|
|
20029
|
-
return (record.qty || 0) * (+record.salePrice || 0);
|
|
20238
|
+
return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
|
|
20030
20239
|
}
|
|
20031
20240
|
}, {
|
|
20032
20241
|
dataIndex: 'batchId',
|
|
@@ -20092,7 +20301,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20092
20301
|
align: 'center',
|
|
20093
20302
|
width: 100,
|
|
20094
20303
|
render: function render(val) {
|
|
20095
|
-
return /*#__PURE__*/React__default['default'].createElement(
|
|
20304
|
+
return /*#__PURE__*/React__default['default'].createElement(ApaasImage, {
|
|
20096
20305
|
width: 30,
|
|
20097
20306
|
src: val
|
|
20098
20307
|
});
|
|
@@ -20235,7 +20444,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20235
20444
|
title: '商品图片',
|
|
20236
20445
|
width: 100,
|
|
20237
20446
|
render: function render(val) {
|
|
20238
|
-
return /*#__PURE__*/React__default['default'].createElement(
|
|
20447
|
+
return /*#__PURE__*/React__default['default'].createElement(ApaasImage, {
|
|
20239
20448
|
width: 30,
|
|
20240
20449
|
src: val
|
|
20241
20450
|
});
|
|
@@ -20314,7 +20523,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20314
20523
|
dataIndex: 'saleAmount',
|
|
20315
20524
|
title: '总金额',
|
|
20316
20525
|
render: function render(val, record) {
|
|
20317
|
-
return (record.qty || 0) * (+record.salePrice || 0);
|
|
20526
|
+
return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
|
|
20318
20527
|
}
|
|
20319
20528
|
}, {
|
|
20320
20529
|
dataIndex: 'batchId',
|
|
@@ -20376,7 +20585,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20376
20585
|
title: '商品图片',
|
|
20377
20586
|
width: 100,
|
|
20378
20587
|
render: function render(val) {
|
|
20379
|
-
return /*#__PURE__*/React__default['default'].createElement(
|
|
20588
|
+
return /*#__PURE__*/React__default['default'].createElement(ApaasImage, {
|
|
20380
20589
|
width: 30,
|
|
20381
20590
|
src: val
|
|
20382
20591
|
});
|
|
@@ -20429,7 +20638,7 @@ var getColumns$5 = function getColumns() {
|
|
|
20429
20638
|
dataIndex: 'saleAmount',
|
|
20430
20639
|
title: '总金额',
|
|
20431
20640
|
render: function render(val, record) {
|
|
20432
|
-
return (record.qty || 0) * (+record.salePrice || 0);
|
|
20641
|
+
return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
|
|
20433
20642
|
}
|
|
20434
20643
|
}, {
|
|
20435
20644
|
dataIndex: 'isGift',
|
|
@@ -20464,7 +20673,169 @@ var getColumns$5 = function getColumns() {
|
|
|
20464
20673
|
}
|
|
20465
20674
|
}) : renderTextEllipsis(val);
|
|
20466
20675
|
}
|
|
20467
|
-
}].map(fillAttrs)
|
|
20676
|
+
}].map(fillAttrs),
|
|
20677
|
+
// jst售后商品信息
|
|
20678
|
+
JST_AFTERSALE_GOODS: [{
|
|
20679
|
+
dataIndex: 'asId',
|
|
20680
|
+
title: "\u805A\u6C34\u6F6D\u552E\u540E\u5355\u53F7",
|
|
20681
|
+
width: 200,
|
|
20682
|
+
align: 'center',
|
|
20683
|
+
ellipsis: true,
|
|
20684
|
+
render: renderTextEllipsis
|
|
20685
|
+
}, {
|
|
20686
|
+
dataIndex: 'asiId',
|
|
20687
|
+
title: "\u552E\u540E\u5B50\u5355\u53F7",
|
|
20688
|
+
width: 200,
|
|
20689
|
+
align: 'center',
|
|
20690
|
+
ellipsis: true,
|
|
20691
|
+
render: renderTextEllipsis
|
|
20692
|
+
}, {
|
|
20693
|
+
dataIndex: 'outerOiId',
|
|
20694
|
+
title: "\u5B50\u8BA2\u5355\u53F7",
|
|
20695
|
+
width: 200,
|
|
20696
|
+
align: 'center',
|
|
20697
|
+
ellipsis: true,
|
|
20698
|
+
render: renderTextEllipsis
|
|
20699
|
+
}, {
|
|
20700
|
+
dataIndex: 'pic',
|
|
20701
|
+
title: "\u56FE\u7247",
|
|
20702
|
+
width: 100,
|
|
20703
|
+
align: 'center',
|
|
20704
|
+
render: function render(val) {
|
|
20705
|
+
return /*#__PURE__*/React__default['default'].createElement(ApaasImage, {
|
|
20706
|
+
width: 30,
|
|
20707
|
+
src: val
|
|
20708
|
+
});
|
|
20709
|
+
},
|
|
20710
|
+
headerComponentType: 'pic'
|
|
20711
|
+
}, {
|
|
20712
|
+
dataIndex: 'name',
|
|
20713
|
+
title: "\u5546\u54C1\u540D\u79F0",
|
|
20714
|
+
width: 250,
|
|
20715
|
+
align: 'center',
|
|
20716
|
+
ellipsis: true,
|
|
20717
|
+
render: renderTextEllipsis
|
|
20718
|
+
}, {
|
|
20719
|
+
dataIndex: 'skuId',
|
|
20720
|
+
title: "\u5546\u54C1\u7F16\u7801",
|
|
20721
|
+
width: 200,
|
|
20722
|
+
align: 'center',
|
|
20723
|
+
ellipsis: true,
|
|
20724
|
+
render: renderTextEllipsis
|
|
20725
|
+
}, {
|
|
20726
|
+
dataIndex: 'propertiesValue',
|
|
20727
|
+
title: "\u89C4\u683C\u5C5E\u6027\u503C",
|
|
20728
|
+
width: 200,
|
|
20729
|
+
align: 'center',
|
|
20730
|
+
ellipsis: true,
|
|
20731
|
+
render: renderTextEllipsis
|
|
20732
|
+
}, {
|
|
20733
|
+
dataIndex: 'qty',
|
|
20734
|
+
title: "\u7533\u8BF7\u6570\u91CF",
|
|
20735
|
+
width: 150,
|
|
20736
|
+
align: 'center',
|
|
20737
|
+
ellipsis: true,
|
|
20738
|
+
render: renderTextEllipsis
|
|
20739
|
+
}, {
|
|
20740
|
+
dataIndex: 'rQty',
|
|
20741
|
+
title: "\u5B9E\u6536\u9000\u8D27\u6570\u91CF",
|
|
20742
|
+
width: 150,
|
|
20743
|
+
align: 'center',
|
|
20744
|
+
ellipsis: true,
|
|
20745
|
+
render: renderTextEllipsis
|
|
20746
|
+
}, {
|
|
20747
|
+
dataIndex: 'defectiveQty',
|
|
20748
|
+
title: "\u6B21\u54C1\u6570\u91CF",
|
|
20749
|
+
width: 150,
|
|
20750
|
+
align: 'center',
|
|
20751
|
+
ellipsis: true,
|
|
20752
|
+
render: renderTextEllipsis
|
|
20753
|
+
}, {
|
|
20754
|
+
dataIndex: 'amount',
|
|
20755
|
+
title: "\u7533\u8BF7\u91D1\u989D",
|
|
20756
|
+
width: 150,
|
|
20757
|
+
align: 'center',
|
|
20758
|
+
ellipsis: true,
|
|
20759
|
+
render: renderTextEllipsis
|
|
20760
|
+
}, {
|
|
20761
|
+
dataIndex: 'shopAmount',
|
|
20762
|
+
title: "\u7EBF\u4E0A\u660E\u7EC6\u91D1\u989D",
|
|
20763
|
+
width: 150,
|
|
20764
|
+
align: 'center',
|
|
20765
|
+
ellipsis: true,
|
|
20766
|
+
render: renderTextEllipsis
|
|
20767
|
+
}, {
|
|
20768
|
+
dataIndex: 'price',
|
|
20769
|
+
title: "\u5355\u4EF7",
|
|
20770
|
+
width: 150,
|
|
20771
|
+
align: 'center',
|
|
20772
|
+
ellipsis: true,
|
|
20773
|
+
render: renderTextEllipsis
|
|
20774
|
+
}, {
|
|
20775
|
+
dataIndex: 'combineSkuId',
|
|
20776
|
+
title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
|
|
20777
|
+
width: 250,
|
|
20778
|
+
align: 'center',
|
|
20779
|
+
ellipsis: true,
|
|
20780
|
+
render: renderTextEllipsis
|
|
20781
|
+
}, {
|
|
20782
|
+
dataIndex: 'shopSkuId',
|
|
20783
|
+
title: "\u5E97\u94FA\u5546\u54C1\u7F16\u7801",
|
|
20784
|
+
width: 200,
|
|
20785
|
+
align: 'center',
|
|
20786
|
+
ellipsis: true,
|
|
20787
|
+
render: renderTextEllipsis
|
|
20788
|
+
}, {
|
|
20789
|
+
dataIndex: 'iId',
|
|
20790
|
+
title: "\u6B3E\u5F0F\u7F16\u7801",
|
|
20791
|
+
width: 200,
|
|
20792
|
+
align: 'center',
|
|
20793
|
+
ellipsis: true,
|
|
20794
|
+
render: renderTextEllipsis
|
|
20795
|
+
}, {
|
|
20796
|
+
dataIndex: 'type',
|
|
20797
|
+
title: "\u552E\u540E\u7C7B\u578B",
|
|
20798
|
+
width: 150,
|
|
20799
|
+
align: 'center',
|
|
20800
|
+
ellipsis: true,
|
|
20801
|
+
render: renderTextEllipsis
|
|
20802
|
+
}, {
|
|
20803
|
+
dataIndex: 'skuType',
|
|
20804
|
+
title: "\u5546\u54C1\u7C7B\u578B",
|
|
20805
|
+
width: 150,
|
|
20806
|
+
align: 'center',
|
|
20807
|
+
ellipsis: true,
|
|
20808
|
+
render: renderTextEllipsis
|
|
20809
|
+
}, {
|
|
20810
|
+
dataIndex: 'isGift',
|
|
20811
|
+
title: '是否赠品',
|
|
20812
|
+
width: 100,
|
|
20813
|
+
render: function render(val) {
|
|
20814
|
+
return /*#__PURE__*/React__default['default'].createElement("span", null, typeof val !== 'boolean' ? '' : val ? '是' : '否');
|
|
20815
|
+
},
|
|
20816
|
+
headerMapping: {
|
|
20817
|
+
transformValue: function transformValue(val) {
|
|
20818
|
+
return typeof val !== 'boolean' ? '' : val ? '是' : '否';
|
|
20819
|
+
},
|
|
20820
|
+
renderExport: function renderExport(val) {
|
|
20821
|
+
return typeof val !== 'boolean' ? '' : val ? '是' : '否';
|
|
20822
|
+
}
|
|
20823
|
+
}
|
|
20824
|
+
}, {
|
|
20825
|
+
dataIndex: 'receiveDate',
|
|
20826
|
+
title: "\u5165\u4ED3\u65F6\u95F4",
|
|
20827
|
+
width: 200,
|
|
20828
|
+
align: 'center',
|
|
20829
|
+
ellipsis: true,
|
|
20830
|
+
render: renderTextEllipsis
|
|
20831
|
+
}, {
|
|
20832
|
+
dataIndex: 'remark',
|
|
20833
|
+
title: "\u660E\u7EC6\u5907\u6CE8",
|
|
20834
|
+
width: 200,
|
|
20835
|
+
align: 'center',
|
|
20836
|
+
ellipsis: true,
|
|
20837
|
+
render: renderTextEllipsis
|
|
20838
|
+
}]
|
|
20468
20839
|
};
|
|
20469
20840
|
};
|
|
20470
20841
|
|
|
@@ -21135,6 +21506,12 @@ var getColumns$7 = function getColumns(_ref) {
|
|
|
21135
21506
|
width: 150,
|
|
21136
21507
|
render: function render(val, record, index) {
|
|
21137
21508
|
return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
21509
|
+
dropdownStyle: {
|
|
21510
|
+
zIndex: 2000
|
|
21511
|
+
},
|
|
21512
|
+
getPopupContainer: function getPopupContainer() {
|
|
21513
|
+
return document.body;
|
|
21514
|
+
},
|
|
21138
21515
|
value: val,
|
|
21139
21516
|
onChange: function onChange(value) {
|
|
21140
21517
|
updateHandle(value, index, 'bfit');
|
|
@@ -21164,6 +21541,12 @@ var getColumns$7 = function getColumns(_ref) {
|
|
|
21164
21541
|
width: 150,
|
|
21165
21542
|
render: function render(val, record, index) {
|
|
21166
21543
|
return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
21544
|
+
dropdownStyle: {
|
|
21545
|
+
zIndex: 2000
|
|
21546
|
+
},
|
|
21547
|
+
getPopupContainer: function getPopupContainer() {
|
|
21548
|
+
return document.body;
|
|
21549
|
+
},
|
|
21167
21550
|
value: val,
|
|
21168
21551
|
onChange: function onChange(value) {
|
|
21169
21552
|
updateHandle(value, index, 'gift');
|
|
@@ -21823,6 +22206,7 @@ var systemOrderNoMap = {
|
|
|
21823
22206
|
GY_GOODS: 'code',
|
|
21824
22207
|
KM_GOODS: 'sid',
|
|
21825
22208
|
WDT_GOODS: 'tradeNo',
|
|
22209
|
+
WDT_AFTERSALE_GOODS: 'tid',
|
|
21826
22210
|
BS_E3_GOODS: 'orderSn',
|
|
21827
22211
|
JST_GOODS: 'oId',
|
|
21828
22212
|
WLN_GOODS: 'tradeNo',
|
|
@@ -21921,7 +22305,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
21921
22305
|
}
|
|
21922
22306
|
}, isShowSelect && /*#__PURE__*/React__default['default'].createElement(antd.Row, {
|
|
21923
22307
|
style: {
|
|
21924
|
-
marginBottom: '
|
|
22308
|
+
marginBottom: '12px'
|
|
21925
22309
|
}
|
|
21926
22310
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
21927
22311
|
span: 12
|
|
@@ -22026,6 +22410,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22026
22410
|
templateDetail = _props$templateDetail === void 0 ? {} : _props$templateDetail,
|
|
22027
22411
|
_props$hasSelectedSys = props.hasSelectedSystemOrder,
|
|
22028
22412
|
hasSelectedSystemOrder = _props$hasSelectedSys === void 0 ? false : _props$hasSelectedSys;
|
|
22413
|
+
var canDelete = ['JST_AFTERSALE_GOODS'].includes(type);
|
|
22029
22414
|
var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
|
|
22030
22415
|
// 监听聚水潭退货商品
|
|
22031
22416
|
var jstReturnGoods = antd.Form === null || antd.Form === void 0 ? void 0 : antd.Form.useWatch('3979edfd6d', form);
|
|
@@ -22105,6 +22490,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22105
22490
|
var columns = [];
|
|
22106
22491
|
switch (type) {
|
|
22107
22492
|
case 'WDT_GOODS':
|
|
22493
|
+
case 'WDT_AFTERSALE_GOODS':
|
|
22108
22494
|
case 'WDT_RETURN_GOODS':
|
|
22109
22495
|
case 'WDT_EXCHANGE_GOODS':
|
|
22110
22496
|
case 'BS_E3_GOODS':
|
|
@@ -22115,6 +22501,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22115
22501
|
case 'JST_REISSUE_GOODS':
|
|
22116
22502
|
case 'JST_EXCHANGE_GOODS':
|
|
22117
22503
|
case 'JST_RETURN_GOODS':
|
|
22504
|
+
case 'JST_AFTERSALE_GOODS':
|
|
22118
22505
|
case 'GY_REISSUE_GOODS':
|
|
22119
22506
|
case 'GY_RETURN_GOODS':
|
|
22120
22507
|
case 'KM_GOODS':
|
|
@@ -22207,7 +22594,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22207
22594
|
render: function render(val, record, index) {
|
|
22208
22595
|
return /*#__PURE__*/React__default['default'].createElement(HoverTableRowDeleteIcon, {
|
|
22209
22596
|
index: index,
|
|
22210
|
-
hoveredRowIndex: !disabled && record.canDelete ? hoveredRowIndex : null,
|
|
22597
|
+
hoveredRowIndex: !disabled && (record.canDelete || canDelete) ? hoveredRowIndex : null,
|
|
22211
22598
|
handleClick: function handleClick() {
|
|
22212
22599
|
return handleDelete(record, index);
|
|
22213
22600
|
}
|
|
@@ -22222,7 +22609,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
22222
22609
|
ellipsis: true,
|
|
22223
22610
|
width: 100,
|
|
22224
22611
|
render: function render(val, record, index) {
|
|
22225
|
-
return record.canDelete ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
22612
|
+
return record.canDelete || canDelete ? /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
22226
22613
|
type: "link",
|
|
22227
22614
|
onClick: function onClick() {
|
|
22228
22615
|
return handleDelete(record, index);
|
|
@@ -23381,7 +23768,8 @@ var columnsMap = {
|
|
|
23381
23768
|
BS_E3_SYSTEM_ORDER: kmkfUtils.BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
23382
23769
|
GY_SYSTEM_ORDER: kmkfUtils.GY_SYSTEM_ORDER_CONFIG.columns,
|
|
23383
23770
|
JST_SYSTEM_ORDER: kmkfUtils.JST_SYSTEM_ORDER_CONFIG.columns,
|
|
23384
|
-
JY_SYSTEM_ORDER: kmkfUtils.JY_SYSTEM_ORDER_CONFIG.columns
|
|
23771
|
+
JY_SYSTEM_ORDER: kmkfUtils.JY_SYSTEM_ORDER_CONFIG.columns,
|
|
23772
|
+
WDT_RETURN_BILL_NO: kmkfUtils.WDT_RETURN_BILL_NO_CONFIG.columns
|
|
23385
23773
|
};
|
|
23386
23774
|
var rowKeyMap = {
|
|
23387
23775
|
BS_SYSTEM_ORDER: 'billNo',
|
|
@@ -23391,7 +23779,8 @@ var rowKeyMap = {
|
|
|
23391
23779
|
BS_E3_SYSTEM_ORDER: 'orderSn',
|
|
23392
23780
|
GY_SYSTEM_ORDER: 'billNo',
|
|
23393
23781
|
JST_SYSTEM_ORDER: 'oId',
|
|
23394
|
-
JY_SYSTEM_ORDER: 'tradeNo'
|
|
23782
|
+
JY_SYSTEM_ORDER: 'tradeNo',
|
|
23783
|
+
WDT_RETURN_BILL_NO: 'refundNo'
|
|
23395
23784
|
};
|
|
23396
23785
|
var index$2 = (function (props) {
|
|
23397
23786
|
var value = props.value,
|
|
@@ -23405,6 +23794,7 @@ var index$2 = (function (props) {
|
|
|
23405
23794
|
React.useEffect(function () {
|
|
23406
23795
|
var _value$orders, _value$showOrderInfo;
|
|
23407
23796
|
valueRef.current = value;
|
|
23797
|
+
console.log('value77777777', value);
|
|
23408
23798
|
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) {
|
|
23409
23799
|
onceRef.current = true;
|
|
23410
23800
|
if (type === 'BS_SYSTEM_ORDER') {
|
|
@@ -24871,10 +25261,39 @@ var componentMap$2 = {
|
|
|
24871
25261
|
exchangeDeleteGood: 'jyExchangeDeleteGood'
|
|
24872
25262
|
},
|
|
24873
25263
|
getOrderList: jyUtils.getJyOrderListSingleton
|
|
25264
|
+
},
|
|
25265
|
+
WDT_AFTERSALE_GOODS: {
|
|
25266
|
+
type: 'wdtAftersale',
|
|
25267
|
+
key: 'wdtAftersaleGoods',
|
|
25268
|
+
name: '旺店通售后',
|
|
25269
|
+
orderNo: 'srcTids',
|
|
25270
|
+
goodDetailOrderNo: 'srcTids',
|
|
25271
|
+
showChangeBtn: false,
|
|
25272
|
+
eventNameMap: {
|
|
25273
|
+
// pubsub 事件
|
|
25274
|
+
type: 'wdtAftersaleType',
|
|
25275
|
+
updateGoodsHandle: kmkfUtils.updateWdtAftersaleGoodsHandle,
|
|
25276
|
+
reissueDeleteGood: 'wdtAftersaleReissueDeleteGood'
|
|
25277
|
+
},
|
|
25278
|
+
getOrderList: wdtUtils.getWdtOrderListSingleton
|
|
25279
|
+
},
|
|
25280
|
+
JST_AFTERSALE_GOODS: {
|
|
25281
|
+
type: 'jstAftersale',
|
|
25282
|
+
key: 'jstAftersaleGoods',
|
|
25283
|
+
name: 'jst售后',
|
|
25284
|
+
orderNo: 'asId',
|
|
25285
|
+
goodDetailOrderNo: 'asId',
|
|
25286
|
+
showChangeBtn: false,
|
|
25287
|
+
eventNameMap: {
|
|
25288
|
+
// pubsub 事件
|
|
25289
|
+
type: 'jstAftersaleType',
|
|
25290
|
+
deleteGood: 'jstAftersaleDeleteGood'
|
|
25291
|
+
},
|
|
25292
|
+
getOrderList: jstUtils.getJstOrderListSingleton
|
|
24874
25293
|
}
|
|
24875
25294
|
};
|
|
24876
25295
|
var CommonGoods = function CommonGoods(props) {
|
|
24877
|
-
var _componentMap$compTyp5, _withInfo$current3, _withInfo$current4;
|
|
25296
|
+
var _componentMap$compTyp5, _withInfo$current3, _withInfo$current4, _componentMap$compTyp7;
|
|
24878
25297
|
var value = props.value,
|
|
24879
25298
|
disabled = props.disabled,
|
|
24880
25299
|
onChange = props.onChange,
|
|
@@ -25031,6 +25450,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
25031
25450
|
var getGoodDetails = function getGoodDetails(_ref2) {
|
|
25032
25451
|
var mode = _ref2.mode;
|
|
25033
25452
|
var updateHandle = componentMap$2[compType].eventNameMap['updateGoodsHandle'];
|
|
25453
|
+
if (!updateHandle) return [];
|
|
25034
25454
|
var goodDetails = updateHandle((value === null || value === void 0 ? void 0 : value.orders) || [], {
|
|
25035
25455
|
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
25036
25456
|
});
|
|
@@ -25045,6 +25465,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
25045
25465
|
var mode = _ref3.mode;
|
|
25046
25466
|
var updateHandle = componentMap$2[compType].eventNameMap['updateGoodsHandle'];
|
|
25047
25467
|
console.log('value?.allOrders', value, (value === null || value === void 0 ? void 0 : value.allOrders) || []);
|
|
25468
|
+
if (!updateHandle) return [];
|
|
25048
25469
|
var goodDetails = updateHandle((value === null || value === void 0 ? void 0 : value.allOrders) || [], {
|
|
25049
25470
|
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
25050
25471
|
});
|
|
@@ -25105,6 +25526,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
25105
25526
|
isStrict: value === null || value === void 0 ? void 0 : value.isStrict,
|
|
25106
25527
|
systemOrders: value === null || value === void 0 ? void 0 : value.allOrders,
|
|
25107
25528
|
selectedSystemOrders: value === null || value === void 0 ? void 0 : value.orders,
|
|
25529
|
+
showChangeBtn: (_componentMap$compTyp7 = componentMap$2[compType]) === null || _componentMap$compTyp7 === void 0 ? void 0 : _componentMap$compTyp7.showChangeBtn,
|
|
25108
25530
|
tradeGoods: {
|
|
25109
25531
|
originDataSource: getAllTradeGoodsDetails({
|
|
25110
25532
|
mode: value === null || value === void 0 ? void 0 : value.isStrict
|
|
@@ -26798,7 +27220,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
26798
27220
|
onClick: function onClick() {
|
|
26799
27221
|
return setChangeIndex(index);
|
|
26800
27222
|
}
|
|
26801
|
-
}, kmkfUtils.msgTypeCh[key], item.ruleName);
|
|
27223
|
+
}, kmkfUtils.msgTypeCh[key] || key, item.ruleName);
|
|
26802
27224
|
}))) : null, type === 1 ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
26803
27225
|
showSearch: true,
|
|
26804
27226
|
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
|
|
@@ -27376,7 +27798,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
27376
27798
|
span: 12
|
|
27377
27799
|
},
|
|
27378
27800
|
sm: {
|
|
27379
|
-
span:
|
|
27801
|
+
span: 4
|
|
27380
27802
|
}
|
|
27381
27803
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
27382
27804
|
style: {
|
|
@@ -27679,7 +28101,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
27679
28101
|
span: 12
|
|
27680
28102
|
},
|
|
27681
28103
|
sm: {
|
|
27682
|
-
span:
|
|
28104
|
+
span: 4
|
|
27683
28105
|
}
|
|
27684
28106
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
|
|
27685
28107
|
style: {
|
|
@@ -28351,7 +28773,8 @@ var SYSTEM_ORDER_COLUMNS_MAP = {
|
|
|
28351
28773
|
BS_E3_SYSTEM_ORDER: kmkfUtils.BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
28352
28774
|
GY_SYSTEM_ORDER: kmkfUtils.GY_SYSTEM_ORDER_CONFIG.columns,
|
|
28353
28775
|
JST_SYSTEM_ORDER: kmkfUtils.JST_SYSTEM_ORDER_CONFIG.columns,
|
|
28354
|
-
JY_SYSTEM_ORDER: kmkfUtils.JY_SYSTEM_ORDER_CONFIG.columns
|
|
28776
|
+
JY_SYSTEM_ORDER: kmkfUtils.JY_SYSTEM_ORDER_CONFIG.columns,
|
|
28777
|
+
WDT_RETURN_BILL_NO: kmkfUtils.WDT_RETURN_BILL_NO_CONFIG.columns
|
|
28355
28778
|
};
|
|
28356
28779
|
|
|
28357
28780
|
exports.Address = ApaasAddress;
|
|
@@ -28361,6 +28784,7 @@ exports.ApaasCascader = ApaasCascader;
|
|
|
28361
28784
|
exports.ApaasCheckbox = ApaasCheckbox;
|
|
28362
28785
|
exports.ApaasDate = ApaasDate;
|
|
28363
28786
|
exports.ApaasHoc = withFormItem;
|
|
28787
|
+
exports.ApaasImage = ApaasImage;
|
|
28364
28788
|
exports.ApaasInput = ApaasInput;
|
|
28365
28789
|
exports.ApaasInputNumber = ApaasInputNumber;
|
|
28366
28790
|
exports.ApaasLogistics = ApaasLogistics;
|