@kmkf-fe-packages/basic-components 2.2.44-beta.3 → 2.2.44-beta.30
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 +333 -255
- package/dist/index.js +332 -254
- package/dist/src/bs/component/GoodItem/index.d.ts +4 -1
- package/dist/src/bs/component/model/Columns/Erp/jky.d.ts +5 -19
- package/dist/src/bs/component/model/JkyGoodsModal/GoodsList.d.ts +1 -1
- package/dist/src/common/CommonGoods/index.d.ts +4 -1
- package/dist/src/common/Reissue/index.d.ts +4 -1
- package/dist/src/constants/systemOrderColumnsMap.d.ts +13 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7774,7 +7774,9 @@ var Province = function Province(props) {
|
|
|
7774
7774
|
gy: kmkfUtils.GyAddressData.getInstance(),
|
|
7775
7775
|
km: kmkfUtils.AddressData.getInstance(),
|
|
7776
7776
|
jst: kmkfUtils.JstAddressData.getInstance()
|
|
7777
|
+
// jky: JkyAddressData.getInstance(),
|
|
7777
7778
|
};
|
|
7779
|
+
|
|
7778
7780
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
7779
7781
|
options: ((_mapping$type = mapping[type]) === null || _mapping$type === void 0 ? void 0 : _mapping$type.addressOptions) || [],
|
|
7780
7782
|
style: {
|
|
@@ -8010,13 +8012,14 @@ function ApaasPosting(props) {
|
|
|
8010
8012
|
});
|
|
8011
8013
|
}
|
|
8012
8014
|
|
|
8013
|
-
var _excluded$b = ["value", "onChange", "platformType", "type"];
|
|
8015
|
+
var _excluded$b = ["value", "onChange", "platformType", "type", "placement"];
|
|
8014
8016
|
function ApaasLogistics(props) {
|
|
8015
8017
|
var value = props.value,
|
|
8016
8018
|
onChange = props.onChange,
|
|
8017
8019
|
platformType = props.platformType,
|
|
8018
8020
|
_props$type = props.type,
|
|
8019
8021
|
type = _props$type === void 0 ? 'select' : _props$type,
|
|
8022
|
+
placement = props.placement,
|
|
8020
8023
|
other = _objectWithoutProperties(props, _excluded$b);
|
|
8021
8024
|
var _useState = React.useState([]),
|
|
8022
8025
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8054,12 +8057,13 @@ function ApaasLogistics(props) {
|
|
|
8054
8057
|
return type === 'input' ? /*#__PURE__*/React__default['default'].createElement(antd.Input, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
8055
8058
|
value: value,
|
|
8056
8059
|
onChange: handleInputChange
|
|
8057
|
-
})) : /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(
|
|
8060
|
+
})) : /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2({
|
|
8058
8061
|
value: value,
|
|
8059
8062
|
onChange: onChange,
|
|
8060
8063
|
options: option,
|
|
8061
|
-
virtual: true
|
|
8062
|
-
|
|
8064
|
+
virtual: true,
|
|
8065
|
+
placement: placement
|
|
8066
|
+
}, other));
|
|
8063
8067
|
}
|
|
8064
8068
|
|
|
8065
8069
|
var _excluded$c = ["label", "name", "extra", "required", "rules", "initialValue"];
|
|
@@ -8620,7 +8624,8 @@ var processSceneStatus = function processSceneStatus(getValue) {
|
|
|
8620
8624
|
WAREHOUSING_STATUS: 'inStockStatusItemList',
|
|
8621
8625
|
BS_E3_WAREHOUSING_STATUS: 'bsE3InStockStatusItemList',
|
|
8622
8626
|
MSG_STATUS: 'msgStatusValues',
|
|
8623
|
-
WDT_WAREHOUSING_STATUS: 'wdtInStockStatusItemList'
|
|
8627
|
+
WDT_WAREHOUSING_STATUS: 'wdtInStockStatusItemList',
|
|
8628
|
+
JKY_WAREHOUSING_STATUS: 'jkyInStockStatusItemList'
|
|
8624
8629
|
};
|
|
8625
8630
|
return _defineProperty({}, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(STATUS_LIST_MAP[nex.workOrderComponentType])), []));
|
|
8626
8631
|
};
|
|
@@ -9375,6 +9380,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
9375
9380
|
BS_E3_WAREHOUSING_STATUS: processSceneStatus,
|
|
9376
9381
|
MSG_STATUS: processSceneStatus,
|
|
9377
9382
|
WDT_WAREHOUSING_STATUS: processSceneStatus,
|
|
9383
|
+
JKY_WAREHOUSING_STATUS: processSceneStatus,
|
|
9378
9384
|
BS_LOGISTICS: processErpLogistics,
|
|
9379
9385
|
WLN_LOGISTICS: processErpLogistics,
|
|
9380
9386
|
WDT_LOGISTICS: processErpLogistics,
|
|
@@ -10004,12 +10010,21 @@ var EditSplitRenderMap = {
|
|
|
10004
10010
|
updateHandle = _ref17.updateHandle,
|
|
10005
10011
|
disabled = _ref17.disabled;
|
|
10006
10012
|
return /*#__PURE__*/React__default['default'].createElement(ApaasLogistics, {
|
|
10013
|
+
getPopupContainer: function getPopupContainer() {
|
|
10014
|
+
return document.getElementById('subform');
|
|
10015
|
+
},
|
|
10007
10016
|
value: val,
|
|
10008
10017
|
allowClear: true,
|
|
10018
|
+
showSearch: true,
|
|
10009
10019
|
onChange: function onChange(e) {
|
|
10010
10020
|
return updateHandle(e, index, t.key);
|
|
10011
10021
|
},
|
|
10012
|
-
disabled: t.isEdit || disabled
|
|
10022
|
+
disabled: t.isEdit || disabled,
|
|
10023
|
+
filterOption: function filterOption(input, option) {
|
|
10024
|
+
return option.label.includes(input);
|
|
10025
|
+
},
|
|
10026
|
+
placement: "topLeft",
|
|
10027
|
+
listHeight: 120
|
|
10013
10028
|
});
|
|
10014
10029
|
},
|
|
10015
10030
|
//退货物流-物流公司
|
|
@@ -10020,12 +10035,21 @@ var EditSplitRenderMap = {
|
|
|
10020
10035
|
updateHandle = _ref18.updateHandle,
|
|
10021
10036
|
disabled = _ref18.disabled;
|
|
10022
10037
|
return /*#__PURE__*/React__default['default'].createElement(ApaasLogistics, {
|
|
10038
|
+
getPopupContainer: function getPopupContainer() {
|
|
10039
|
+
return document.getElementById('subform');
|
|
10040
|
+
},
|
|
10023
10041
|
value: val,
|
|
10024
10042
|
allowClear: true,
|
|
10043
|
+
showSearch: true,
|
|
10025
10044
|
onChange: function onChange(e) {
|
|
10026
10045
|
return updateHandle(e, index, t.key);
|
|
10027
10046
|
},
|
|
10028
|
-
disabled: t.isEdit || disabled
|
|
10047
|
+
disabled: t.isEdit || disabled,
|
|
10048
|
+
filterOption: function filterOption(input, option) {
|
|
10049
|
+
return option.label.includes(input);
|
|
10050
|
+
},
|
|
10051
|
+
placement: "topLeft",
|
|
10052
|
+
listHeight: 120
|
|
10029
10053
|
});
|
|
10030
10054
|
}
|
|
10031
10055
|
};
|
|
@@ -10494,7 +10518,11 @@ var SubForm = function SubForm(props) {
|
|
|
10494
10518
|
});
|
|
10495
10519
|
}, [inputValue]);
|
|
10496
10520
|
var handleOpenChange = function handleOpenChange(newOpen) {
|
|
10497
|
-
|
|
10521
|
+
if (!['jbCFrJV4m7_trajectoryCompany', '0qFEv9GEyd_returnLogisticsCompany'].includes(selectKey)) {
|
|
10522
|
+
setOpen(newOpen);
|
|
10523
|
+
} else {
|
|
10524
|
+
setOpen(false);
|
|
10525
|
+
}
|
|
10498
10526
|
};
|
|
10499
10527
|
var onChangeInput = React.useCallback(lodash.debounce(function (val) {
|
|
10500
10528
|
setInputValue(val);
|
|
@@ -10582,6 +10610,9 @@ var SubForm = function SubForm(props) {
|
|
|
10582
10610
|
visible: open,
|
|
10583
10611
|
onVisibleChange: handleOpenChange
|
|
10584
10612
|
}, ['0qFEv9GEyd_returnLogisticsCompany', 'jbCFrJV4m7_trajectoryCompany'].includes(selectKey) ? /*#__PURE__*/React__default['default'].createElement(ApaasLogistics, {
|
|
10613
|
+
getPopupContainer: function getPopupContainer() {
|
|
10614
|
+
return document.getElementById('subform');
|
|
10615
|
+
},
|
|
10585
10616
|
value: undefined,
|
|
10586
10617
|
onChange: function onChange(val) {
|
|
10587
10618
|
onChangeInput(val);
|
|
@@ -10594,7 +10625,9 @@ var SubForm = function SubForm(props) {
|
|
|
10594
10625
|
},
|
|
10595
10626
|
filterOption: function filterOption(input, option) {
|
|
10596
10627
|
return option.label.includes(input);
|
|
10597
|
-
}
|
|
10628
|
+
},
|
|
10629
|
+
placement: "topLeft",
|
|
10630
|
+
listHeight: 120
|
|
10598
10631
|
}) : /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
10599
10632
|
placeholder: "\u8F93\u5165\u5173\u952E\u8BCD\u67E5\u8BE2",
|
|
10600
10633
|
allowClear: true,
|
|
@@ -12113,7 +12146,7 @@ var ChooseBaby = function ChooseBaby(props) {
|
|
|
12113
12146
|
}));
|
|
12114
12147
|
};
|
|
12115
12148
|
|
|
12116
|
-
var css_248z$7 = "#goods-wrap.goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-pic,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n#goods-wrap .good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n#goods-wrap .good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n#goods-wrap .good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n#goods-wrap .good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n#goods-wrap .good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n#goods-wrap .good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n#goods-wrap .good-item.rich-item .good-attrs div {\n display: flex;\n}\n#goods-wrap .good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n";
|
|
12149
|
+
var css_248z$7 = "#goods-wrap.goodsBox.single-row {\n max-height: 800px;\n overflow-y: auto;\n padding-top: 4px;\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-pic,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr,\n#goods-wrap.goodsBox.single-row .good-item.rich-item.with-attr.with-pic {\n flex-basis: 100%;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs {\n flex-grow: 1;\n flex-shrink: 1;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .good-item-attr {\n flex-grow: 1;\n flex-shrink: 1;\n max-width: 80px;\n width: 20px;\n flex-basis: 20px;\n}\n#goods-wrap.goodsBox.single-row .good-item.rich-item .good-attrs .ant-input {\n flex-shrink: 1;\n flex-grow: 1;\n width: 20px;\n flex-basis: 40px;\n}\n#goods-wrap .good-item.rich-item {\n position: relative;\n border: 1px solid #ccc;\n display: flex;\n flex-basis: 80px;\n flex-wrap: nowrap;\n margin: 0 10px 10px 0;\n padding: 4px;\n}\n#goods-wrap .good-item.rich-item.with-pic {\n flex-basis: 90px;\n}\n#goods-wrap .good-item.rich-item.with-attr {\n flex-basis: 150px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic {\n flex-basis: 238px;\n}\n#goods-wrap .good-item.rich-item.with-attr.with-pic .goods-imgBox {\n margin-right: 8px;\n}\n#goods-wrap .good-item.rich-item .good-item-attr {\n margin-right: 6px;\n width: 52px;\n flex-basis: 52px;\n}\n#goods-wrap .good-item.rich-item .good-img {\n position: relative;\n width: 80px;\n height: 80px;\n border-radius: 4px;\n border: 1px solid #f2f3f5;\n margin: 0 10px 0 0;\n text-align: center;\n background-color: #f2f3f5;\n}\n#goods-wrap .good-item.rich-item .good-attrs {\n display: flex;\n flex-direction: column;\n font-size: 12px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input {\n font-size: 12px;\n width: 80px;\n height: 20px;\n padding-left: 5px;\n padding-right: 5px;\n}\n#goods-wrap .good-item.rich-item .good-attrs .ant-input.id-textarea {\n width: 80px;\n resize: none;\n height: 45px;\n}\n#goods-wrap .good-item.rich-item .good-attrs div {\n display: flex;\n}\n#goods-wrap .good-item.rich-item .good-attrs div:not(:first-child) {\n margin-top: 4px;\n}\n.goods-uploaded-state {\n display: flex;\n}\n.goods-uploaded-state .clear-all {\n float: right;\n color: #1966ff;\n cursor: pointer;\n margin-left: 12px;\n}\n";
|
|
12117
12150
|
styleInject(css_248z$7);
|
|
12118
12151
|
|
|
12119
12152
|
var GoodItem = function GoodItem(props) {
|
|
@@ -12442,13 +12475,22 @@ var GoodItem = function GoodItem(props) {
|
|
|
12442
12475
|
var hasAttr = React.useMemo(function () {
|
|
12443
12476
|
return hasPic ? headerList.length > 1 : headerList.length > 0;
|
|
12444
12477
|
}, [hasPic, headerList]);
|
|
12478
|
+
var clearAll = function clearAll() {
|
|
12479
|
+
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
12480
|
+
shopId: shopId,
|
|
12481
|
+
imgList: []
|
|
12482
|
+
});
|
|
12483
|
+
};
|
|
12445
12484
|
return /*#__PURE__*/React__default['default'].createElement("div", null, imgList.length === 0 ? /*#__PURE__*/React__default['default'].createElement("p", {
|
|
12446
12485
|
className: "goods-title"
|
|
12447
12486
|
}, "\u6700\u591A\u6DFB\u52A0", maxLength, "\u4E2A\u5B9D\u8D1D") : /*#__PURE__*/React__default['default'].createElement("p", {
|
|
12448
12487
|
className: "goods-uploaded-state"
|
|
12449
12488
|
}, "\u5DF2\u6DFB\u52A0", /*#__PURE__*/React__default['default'].createElement("span", {
|
|
12450
12489
|
className: "goods-uploaded-count"
|
|
12451
|
-
}, imgList.length), "/", maxLength,
|
|
12490
|
+
}, imgList.length), "/", maxLength, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
12491
|
+
className: 'clear-all',
|
|
12492
|
+
onClick: clearAll
|
|
12493
|
+
}, "\u6E05\u7A7A")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
12452
12494
|
ref: boxRef,
|
|
12453
12495
|
id: "goods-wrap",
|
|
12454
12496
|
className: "goodsBox goodsBox-item-horizontal--box".concat(isSingleRow ? ' single-row' : '')
|
|
@@ -15102,12 +15144,7 @@ var kmColumns = [{
|
|
|
15102
15144
|
ellipsis: true,
|
|
15103
15145
|
width: 150,
|
|
15104
15146
|
render: function render(type) {
|
|
15105
|
-
return renderTextEllipsis(
|
|
15106
|
-
0: '普通',
|
|
15107
|
-
1: 'sku套件',
|
|
15108
|
-
2: '纯套件',
|
|
15109
|
-
3: '包材商品'
|
|
15110
|
-
}[type] || type);
|
|
15147
|
+
return renderTextEllipsis((kmkfUtils.kmSkuTypeMap === null || kmkfUtils.kmSkuTypeMap === void 0 ? void 0 : kmkfUtils.kmSkuTypeMap[type]) || type);
|
|
15111
15148
|
}
|
|
15112
15149
|
}, {
|
|
15113
15150
|
dataIndex: 'specName',
|
|
@@ -15340,34 +15377,75 @@ var jyColumns = [{
|
|
|
15340
15377
|
}
|
|
15341
15378
|
}];
|
|
15342
15379
|
|
|
15380
|
+
var getYesOrNo$2 = function getYesOrNo(val) {
|
|
15381
|
+
if (!lodash.isBoolean(val)) return null;
|
|
15382
|
+
return val ? '是' : '否';
|
|
15383
|
+
};
|
|
15343
15384
|
var jkyColumns = [{
|
|
15344
|
-
dataIndex: '
|
|
15345
|
-
title: "\u8D27\u54C1\
|
|
15385
|
+
dataIndex: 'goodName',
|
|
15386
|
+
title: "\u8D27\u54C1\u540D\u79F0",
|
|
15346
15387
|
align: 'center',
|
|
15347
15388
|
ellipsis: true,
|
|
15348
15389
|
width: 150,
|
|
15349
15390
|
render: renderTextEllipsis
|
|
15350
15391
|
}, {
|
|
15351
|
-
dataIndex: '
|
|
15352
|
-
title: "\u8D27\u54C1\
|
|
15392
|
+
dataIndex: 'goodNo',
|
|
15393
|
+
title: "\u8D27\u54C1\u7F16\u53F7",
|
|
15353
15394
|
align: 'center',
|
|
15354
15395
|
ellipsis: true,
|
|
15355
15396
|
width: 150,
|
|
15356
15397
|
render: renderTextEllipsis
|
|
15357
15398
|
}, {
|
|
15358
|
-
dataIndex: '
|
|
15399
|
+
dataIndex: 'goodId',
|
|
15359
15400
|
title: "\u8D27\u54C1ID",
|
|
15360
15401
|
align: 'center',
|
|
15361
15402
|
ellipsis: true,
|
|
15362
15403
|
width: 150,
|
|
15363
15404
|
render: renderTextEllipsis
|
|
15364
15405
|
}, {
|
|
15365
|
-
dataIndex: '
|
|
15406
|
+
dataIndex: 'goodPicUrl',
|
|
15407
|
+
title: "\u8D27\u54C1\u4E3B\u56FE",
|
|
15408
|
+
align: 'center',
|
|
15409
|
+
ellipsis: true,
|
|
15410
|
+
width: 150,
|
|
15411
|
+
render: function render(picUrl) {
|
|
15412
|
+
return /*#__PURE__*/React__default['default'].createElement("img", {
|
|
15413
|
+
style: {
|
|
15414
|
+
width: '30px',
|
|
15415
|
+
height: '30px',
|
|
15416
|
+
objectFit: 'contain'
|
|
15417
|
+
},
|
|
15418
|
+
src: picUrl
|
|
15419
|
+
});
|
|
15420
|
+
}
|
|
15421
|
+
}, {
|
|
15422
|
+
dataIndex: 'goodShortName',
|
|
15423
|
+
title: "\u8D27\u54C1\u522B\u540D",
|
|
15424
|
+
align: 'center',
|
|
15425
|
+
ellipsis: true,
|
|
15426
|
+
width: 150,
|
|
15427
|
+
render: renderTextEllipsis
|
|
15428
|
+
}, {
|
|
15429
|
+
dataIndex: 'specBarcode',
|
|
15366
15430
|
title: "\u8D27\u54C1\u6761\u7801",
|
|
15367
15431
|
align: 'center',
|
|
15368
15432
|
ellipsis: true,
|
|
15369
15433
|
width: 150,
|
|
15370
15434
|
render: renderTextEllipsis
|
|
15435
|
+
}, {
|
|
15436
|
+
dataIndex: 'categoryName',
|
|
15437
|
+
title: "\u8D27\u54C1\u7C7B\u522B",
|
|
15438
|
+
align: 'center',
|
|
15439
|
+
ellipsis: true,
|
|
15440
|
+
width: 150,
|
|
15441
|
+
render: renderTextEllipsis
|
|
15442
|
+
}, {
|
|
15443
|
+
dataIndex: 'brandName',
|
|
15444
|
+
title: "\u54C1\u724C",
|
|
15445
|
+
align: 'center',
|
|
15446
|
+
ellipsis: true,
|
|
15447
|
+
width: 200,
|
|
15448
|
+
render: renderTextEllipsis
|
|
15371
15449
|
}, {
|
|
15372
15450
|
dataIndex: 'specName',
|
|
15373
15451
|
title: "\u89C4\u683C\u540D\u79F0",
|
|
@@ -15383,7 +15461,14 @@ var jkyColumns = [{
|
|
|
15383
15461
|
width: 150,
|
|
15384
15462
|
render: renderTextEllipsis
|
|
15385
15463
|
}, {
|
|
15386
|
-
dataIndex: '
|
|
15464
|
+
dataIndex: 'specNo',
|
|
15465
|
+
title: "\u89C4\u683C\u7F16\u7801",
|
|
15466
|
+
align: 'center',
|
|
15467
|
+
ellipsis: true,
|
|
15468
|
+
width: 150,
|
|
15469
|
+
render: renderTextEllipsis
|
|
15470
|
+
}, {
|
|
15471
|
+
dataIndex: 'specImgUrl',
|
|
15387
15472
|
title: "\u89C4\u683C\u56FE\u7247",
|
|
15388
15473
|
align: 'center',
|
|
15389
15474
|
ellipsis: true,
|
|
@@ -15399,162 +15484,78 @@ var jkyColumns = [{
|
|
|
15399
15484
|
});
|
|
15400
15485
|
}
|
|
15401
15486
|
}, {
|
|
15402
|
-
dataIndex: '
|
|
15403
|
-
title: "\
|
|
15404
|
-
width: 100,
|
|
15405
|
-
render: function render(val) {
|
|
15406
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, val);
|
|
15407
|
-
}
|
|
15408
|
-
}, {
|
|
15409
|
-
dataIndex: 'actualSendCount',
|
|
15410
|
-
title: "\u5B9E\u53D1\u6570\u91CF",
|
|
15411
|
-
width: 150,
|
|
15412
|
-
render: renderTextEllipsis
|
|
15413
|
-
}, {
|
|
15414
|
-
dataIndex: 'sellPrice',
|
|
15415
|
-
title: "\u5355\u4EF7",
|
|
15416
|
-
width: 150,
|
|
15417
|
-
render: function render(val) {
|
|
15418
|
-
return val || val === 0 ? Number(val).toFixed(2) : '';
|
|
15419
|
-
}
|
|
15420
|
-
}, {
|
|
15421
|
-
dataIndex: 'sellTotal',
|
|
15422
|
-
title: "\u91D1\u989D",
|
|
15423
|
-
width: 150
|
|
15424
|
-
}, {
|
|
15425
|
-
dataIndex: 'discountTotal',
|
|
15426
|
-
title: "\u62B5\u6263\u91D1\u989D",
|
|
15427
|
-
width: 150
|
|
15428
|
-
}, {
|
|
15429
|
-
dataIndex: 'shareFavourableFee',
|
|
15430
|
-
title: "\u5206\u644A\u91D1\u989D",
|
|
15431
|
-
width: 150
|
|
15432
|
-
}, {
|
|
15433
|
-
dataIndex: 'shareFavourableAfterFee',
|
|
15434
|
-
title: "\u5206\u644A\u540E\u91D1\u989D",
|
|
15435
|
-
width: 150
|
|
15436
|
-
}, {
|
|
15437
|
-
dataIndex: 'customerPrice',
|
|
15438
|
-
title: "\u7EC8\u7AEF\u9500\u552E\u5355\u4EF7",
|
|
15439
|
-
width: 150
|
|
15440
|
-
}, {
|
|
15441
|
-
dataIndex: 'customerTotal',
|
|
15442
|
-
title: "\u7EC8\u7AEF\u9500\u552E\u91D1\u989D",
|
|
15443
|
-
width: 150
|
|
15444
|
-
}, {
|
|
15445
|
-
dataIndex: 'divideSellTotal',
|
|
15446
|
-
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
15447
|
-
width: 150
|
|
15448
|
-
}, {
|
|
15449
|
-
dataIndex: 'isGift',
|
|
15450
|
-
title: "\u662F\u5426\u8D60\u54C1",
|
|
15451
|
-
width: 150,
|
|
15452
|
-
render: function render(val) {
|
|
15453
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, val === '1' ? '是' : '否');
|
|
15454
|
-
}
|
|
15455
|
-
}, {
|
|
15456
|
-
dataIndex: 'isFit',
|
|
15457
|
-
title: "\u662F\u5426\u7EC4\u5408\u88C5",
|
|
15458
|
-
width: 150,
|
|
15459
|
-
render: function render(val) {
|
|
15460
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, val === '1' ? '是' : '否');
|
|
15461
|
-
}
|
|
15462
|
-
}, {
|
|
15463
|
-
dataIndex: 'isPresell',
|
|
15464
|
-
title: "\u662F\u5426\u9884\u552E\u8D27\u54C1",
|
|
15465
|
-
width: 150,
|
|
15466
|
-
render: function render(val) {
|
|
15467
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, val === '1' ? '是' : '否');
|
|
15468
|
-
}
|
|
15469
|
-
}, {
|
|
15470
|
-
dataIndex: 'brandName',
|
|
15471
|
-
title: "\u54C1\u724C",
|
|
15487
|
+
dataIndex: 'colorName',
|
|
15488
|
+
title: "\u989C\u8272\u540D\u79F0",
|
|
15472
15489
|
align: 'center',
|
|
15473
15490
|
ellipsis: true,
|
|
15474
|
-
width:
|
|
15491
|
+
width: 150,
|
|
15475
15492
|
render: renderTextEllipsis
|
|
15476
15493
|
}, {
|
|
15477
|
-
dataIndex: '
|
|
15478
|
-
title: "\
|
|
15494
|
+
dataIndex: 'colorCode',
|
|
15495
|
+
title: "\u989C\u8272\u4EE3\u7801",
|
|
15479
15496
|
align: 'center',
|
|
15480
15497
|
ellipsis: true,
|
|
15481
15498
|
width: 150,
|
|
15482
15499
|
render: renderTextEllipsis
|
|
15483
15500
|
}, {
|
|
15484
|
-
dataIndex: '
|
|
15485
|
-
title: "\
|
|
15501
|
+
dataIndex: 'sizeName',
|
|
15502
|
+
title: "\u5C3A\u7801\u540D\u79F0",
|
|
15486
15503
|
align: 'center',
|
|
15487
15504
|
ellipsis: true,
|
|
15488
|
-
width:
|
|
15505
|
+
width: 150,
|
|
15489
15506
|
render: renderTextEllipsis
|
|
15490
15507
|
}, {
|
|
15491
|
-
dataIndex: '
|
|
15492
|
-
title: "\
|
|
15508
|
+
dataIndex: 'sizeCode',
|
|
15509
|
+
title: "\u5C3A\u7801\u4EE3\u7801",
|
|
15493
15510
|
align: 'center',
|
|
15494
15511
|
ellipsis: true,
|
|
15495
|
-
width:
|
|
15512
|
+
width: 150,
|
|
15496
15513
|
render: renderTextEllipsis
|
|
15497
15514
|
}, {
|
|
15498
|
-
dataIndex: '
|
|
15499
|
-
title: "\
|
|
15515
|
+
dataIndex: 'marketPrice',
|
|
15516
|
+
title: "\u5E02\u573A\u4EF7",
|
|
15500
15517
|
align: 'center',
|
|
15501
15518
|
ellipsis: true,
|
|
15502
|
-
width:
|
|
15503
|
-
render: renderTextEllipsis
|
|
15504
|
-
}, {
|
|
15505
|
-
dataIndex: 'tradeGoodsName',
|
|
15506
|
-
title: "\u4EA4\u6613\u8D27\u54C1\u540D\u79F0",
|
|
15507
|
-
ellipsis: true,
|
|
15508
|
-
width: 250,
|
|
15509
|
-
render: renderTextEllipsis
|
|
15510
|
-
}, {
|
|
15511
|
-
dataIndex: 'tradeGoodsSpec',
|
|
15512
|
-
title: "\u4EA4\u6613\u89C4\u683C\u540D\u79F0",
|
|
15513
|
-
ellipsis: true,
|
|
15514
|
-
width: 250,
|
|
15515
|
-
render: renderTextEllipsis
|
|
15516
|
-
}, {
|
|
15517
|
-
dataIndex: 'sourceSubtradeNo',
|
|
15518
|
-
title: "\u7F51\u5E97\u5B50\u8BA2\u5355\u53F7",
|
|
15519
|
-
ellipsis: true,
|
|
15520
|
-
width: 250,
|
|
15521
|
-
render: renderTextEllipsis
|
|
15522
|
-
}, {
|
|
15523
|
-
dataIndex: 'platGoodsId',
|
|
15524
|
-
title: "\u5E73\u53F0\u5546\u54C1ID",
|
|
15525
|
-
ellipsis: true,
|
|
15526
|
-
width: 250,
|
|
15519
|
+
width: 150,
|
|
15527
15520
|
render: renderTextEllipsis
|
|
15528
15521
|
}, {
|
|
15529
|
-
dataIndex: '
|
|
15530
|
-
title: "\
|
|
15522
|
+
dataIndex: 'retailPrice',
|
|
15523
|
+
title: "\u96F6\u552E\u4EF7",
|
|
15524
|
+
align: 'center',
|
|
15531
15525
|
ellipsis: true,
|
|
15532
|
-
width:
|
|
15526
|
+
width: 150,
|
|
15533
15527
|
render: renderTextEllipsis
|
|
15534
15528
|
}, {
|
|
15535
|
-
dataIndex: '
|
|
15536
|
-
title: "\
|
|
15529
|
+
dataIndex: 'memberPrice',
|
|
15530
|
+
title: "\u4F1A\u5458\u4EF7",
|
|
15531
|
+
align: 'center',
|
|
15537
15532
|
ellipsis: true,
|
|
15538
|
-
width:
|
|
15533
|
+
width: 150,
|
|
15539
15534
|
render: renderTextEllipsis
|
|
15540
15535
|
}, {
|
|
15541
|
-
dataIndex: '
|
|
15542
|
-
title: "\
|
|
15536
|
+
dataIndex: 'costPrice',
|
|
15537
|
+
title: "\u6210\u672C\u4EF7",
|
|
15538
|
+
align: 'center',
|
|
15543
15539
|
ellipsis: true,
|
|
15544
|
-
width:
|
|
15540
|
+
width: 150,
|
|
15545
15541
|
render: renderTextEllipsis
|
|
15546
15542
|
}, {
|
|
15547
|
-
dataIndex: '
|
|
15548
|
-
title: "\
|
|
15543
|
+
dataIndex: 'isVirtual',
|
|
15544
|
+
title: "\u662F\u5426\u865A\u62DF\u5546\u54C1",
|
|
15545
|
+
align: 'center',
|
|
15549
15546
|
ellipsis: true,
|
|
15550
|
-
width:
|
|
15551
|
-
render:
|
|
15547
|
+
width: 150,
|
|
15548
|
+
render: function render(val) {
|
|
15549
|
+
return renderTextEllipsis(getYesOrNo$2(val));
|
|
15550
|
+
}
|
|
15552
15551
|
}, {
|
|
15553
|
-
dataIndex: '
|
|
15554
|
-
title: "\
|
|
15552
|
+
dataIndex: 'skuType',
|
|
15553
|
+
title: "\u662F\u5426\u7EC4\u5408\u88C5",
|
|
15555
15554
|
ellipsis: true,
|
|
15556
|
-
width:
|
|
15557
|
-
render:
|
|
15555
|
+
width: 150,
|
|
15556
|
+
render: function render(val) {
|
|
15557
|
+
return renderTextEllipsis(getYesOrNo$2(val === 'combine'));
|
|
15558
|
+
}
|
|
15558
15559
|
}];
|
|
15559
15560
|
|
|
15560
15561
|
var getColumnsMap = function getColumnsMap() {
|
|
@@ -18797,13 +18798,15 @@ var JyGoodsModal$1 = /*#__PURE__*/React.forwardRef(JyGoodsModal);
|
|
|
18797
18798
|
var getTableData$6 = function getTableData(_ref, formData) {
|
|
18798
18799
|
var current = _ref.current,
|
|
18799
18800
|
pageSize = _ref.pageSize;
|
|
18801
|
+
var conditionList = transformFormData(formData);
|
|
18800
18802
|
return extendRequest('/qy/gdfw/product/product/page', {
|
|
18801
18803
|
method: 'post',
|
|
18802
|
-
data:
|
|
18804
|
+
data: {
|
|
18803
18805
|
pageSize: pageSize,
|
|
18804
18806
|
pageNo: current,
|
|
18805
|
-
platform: '
|
|
18806
|
-
|
|
18807
|
+
platform: 'JKY_ERP',
|
|
18808
|
+
conditionList: conditionList
|
|
18809
|
+
}
|
|
18807
18810
|
}).then(function (res) {
|
|
18808
18811
|
var _res$data = res.data,
|
|
18809
18812
|
_res$data$productSkuL = _res$data.productSkuList,
|
|
@@ -18826,13 +18829,15 @@ var searchFormData$5 = [{
|
|
|
18826
18829
|
}, {
|
|
18827
18830
|
label: '规格编码',
|
|
18828
18831
|
name: 'skuCode',
|
|
18829
|
-
dataIndex: 'specNo'
|
|
18832
|
+
dataIndex: 'specNo',
|
|
18833
|
+
type: 'optionalInput'
|
|
18830
18834
|
}, {
|
|
18831
|
-
label: '
|
|
18835
|
+
label: '货品名称',
|
|
18832
18836
|
name: 'goodName'
|
|
18833
18837
|
}, {
|
|
18834
|
-
label: '
|
|
18835
|
-
name: 'goodNo'
|
|
18838
|
+
label: '货品编码',
|
|
18839
|
+
name: 'goodNo',
|
|
18840
|
+
type: 'optionalInput'
|
|
18836
18841
|
}];
|
|
18837
18842
|
var GoodList$6 = function GoodList(props, ref) {
|
|
18838
18843
|
var _useState = React.useState([]),
|
|
@@ -20350,7 +20355,7 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
20350
20355
|
};
|
|
20351
20356
|
};
|
|
20352
20357
|
|
|
20353
|
-
var getYesOrNo$
|
|
20358
|
+
var getYesOrNo$3 = function getYesOrNo(val) {
|
|
20354
20359
|
if (kmkfUtils.isNull(val)) return null;
|
|
20355
20360
|
return val ? '是' : '否';
|
|
20356
20361
|
};
|
|
@@ -20501,7 +20506,7 @@ var getColumns$3 = function getColumns(_ref) {
|
|
|
20501
20506
|
label: '否',
|
|
20502
20507
|
value: false
|
|
20503
20508
|
}]
|
|
20504
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$
|
|
20509
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$3(val));
|
|
20505
20510
|
},
|
|
20506
20511
|
width: 100
|
|
20507
20512
|
}]
|
|
@@ -20513,7 +20518,7 @@ var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
|
|
|
20513
20518
|
if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
|
|
20514
20519
|
return false;
|
|
20515
20520
|
};
|
|
20516
|
-
var getYesOrNo$
|
|
20521
|
+
var getYesOrNo$4 = function getYesOrNo(val) {
|
|
20517
20522
|
if (kmkfUtils.isNull(val)) return null;
|
|
20518
20523
|
return val ? '是' : '否';
|
|
20519
20524
|
};
|
|
@@ -20628,7 +20633,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
20628
20633
|
title: "\u662F\u5426\u53D6\u6D88",
|
|
20629
20634
|
width: 150,
|
|
20630
20635
|
render: function render(val) {
|
|
20631
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$
|
|
20636
|
+
return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$4(val));
|
|
20632
20637
|
}
|
|
20633
20638
|
}, {
|
|
20634
20639
|
dataIndex: 'isGift',
|
|
@@ -20647,7 +20652,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
20647
20652
|
label: '否',
|
|
20648
20653
|
value: 0
|
|
20649
20654
|
}]
|
|
20650
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$
|
|
20655
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$4(val));
|
|
20651
20656
|
}
|
|
20652
20657
|
}, {
|
|
20653
20658
|
dataIndex: 'skuNote',
|
|
@@ -20773,7 +20778,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
20773
20778
|
label: '否',
|
|
20774
20779
|
value: 0
|
|
20775
20780
|
}]
|
|
20776
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$
|
|
20781
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$4(val));
|
|
20777
20782
|
}
|
|
20778
20783
|
}].map(function (item) {
|
|
20779
20784
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -20902,7 +20907,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
20902
20907
|
label: '否',
|
|
20903
20908
|
value: 0
|
|
20904
20909
|
}]
|
|
20905
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$
|
|
20910
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$4(val));
|
|
20906
20911
|
}
|
|
20907
20912
|
}].map(function (item) {
|
|
20908
20913
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -22440,7 +22445,7 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22440
22445
|
updateHandle = _ref.updateHandle,
|
|
22441
22446
|
updateDataHandle = _ref.updateDataHandle;
|
|
22442
22447
|
return {
|
|
22443
|
-
|
|
22448
|
+
//吉客云商品信息
|
|
22444
22449
|
JKY_GOODS: [{
|
|
22445
22450
|
dataIndex: 'goodsNo',
|
|
22446
22451
|
title: "\u8D27\u54C1\u7F16\u53F7",
|
|
@@ -22586,12 +22591,12 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22586
22591
|
},
|
|
22587
22592
|
options: [{
|
|
22588
22593
|
label: '是',
|
|
22589
|
-
value:
|
|
22594
|
+
value: 1
|
|
22590
22595
|
}, {
|
|
22591
22596
|
label: '否',
|
|
22592
|
-
value:
|
|
22597
|
+
value: 0
|
|
22593
22598
|
}]
|
|
22594
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val ===
|
|
22599
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val === 1 ? '是' : '否');
|
|
22595
22600
|
}
|
|
22596
22601
|
}, {
|
|
22597
22602
|
dataIndex: 'isFit',
|
|
@@ -22611,12 +22616,12 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22611
22616
|
},
|
|
22612
22617
|
options: [{
|
|
22613
22618
|
label: '是',
|
|
22614
|
-
value:
|
|
22619
|
+
value: 1
|
|
22615
22620
|
}, {
|
|
22616
22621
|
label: '否',
|
|
22617
|
-
value:
|
|
22622
|
+
value: 0
|
|
22618
22623
|
}]
|
|
22619
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val ===
|
|
22624
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val === 1 ? '是' : '否');
|
|
22620
22625
|
}
|
|
22621
22626
|
}, {
|
|
22622
22627
|
dataIndex: 'isPresell',
|
|
@@ -22738,7 +22743,7 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22738
22743
|
ellipsis: true
|
|
22739
22744
|
});
|
|
22740
22745
|
}),
|
|
22741
|
-
//
|
|
22746
|
+
// 吉客云补发商品信息
|
|
22742
22747
|
JKY_REISSUE_GOODS: [{
|
|
22743
22748
|
dataIndex: 'goodsNo',
|
|
22744
22749
|
title: "\u8D27\u54C1\u7F16\u53F7",
|
|
@@ -22809,7 +22814,7 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22809
22814
|
}
|
|
22810
22815
|
},
|
|
22811
22816
|
render: function render(val, record, index) {
|
|
22812
|
-
return
|
|
22817
|
+
return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
|
|
22813
22818
|
style: {
|
|
22814
22819
|
width: 70
|
|
22815
22820
|
},
|
|
@@ -22829,7 +22834,7 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22829
22834
|
title: "\u5355\u4EF7",
|
|
22830
22835
|
width: 150,
|
|
22831
22836
|
render: function render(val, record, index) {
|
|
22832
|
-
return
|
|
22837
|
+
return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
|
|
22833
22838
|
style: {
|
|
22834
22839
|
width: 130
|
|
22835
22840
|
},
|
|
@@ -22849,56 +22854,59 @@ var getColumns$9 = function getColumns(_ref) {
|
|
|
22849
22854
|
title: "\u603B\u91D1\u989D",
|
|
22850
22855
|
width: 150,
|
|
22851
22856
|
render: function render(val, record, index) {
|
|
22852
|
-
|
|
22857
|
+
if ((typeof record.sellCount === 'number' || record.sellCount) && (typeof record.sellPrice === 'number' || record.sellPrice)) {
|
|
22858
|
+
return record.sellCount * record.sellPrice;
|
|
22859
|
+
}
|
|
22860
|
+
return '';
|
|
22853
22861
|
}
|
|
22854
22862
|
}, {
|
|
22855
22863
|
dataIndex: 'reason',
|
|
22856
22864
|
title: "\u9000\u6362\u539F\u56E0",
|
|
22857
22865
|
width: 250,
|
|
22858
22866
|
render: function render(val, record, index) {
|
|
22859
|
-
return /*#__PURE__*/React__default['default'].createElement(ApaasInput, {
|
|
22867
|
+
return !disabled ? /*#__PURE__*/React__default['default'].createElement(ApaasInput, {
|
|
22860
22868
|
onChange: function onChange(value) {
|
|
22861
22869
|
updateHandle(value, index, 'reason');
|
|
22862
22870
|
}
|
|
22863
|
-
});
|
|
22871
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
|
|
22864
22872
|
}
|
|
22865
22873
|
}, {
|
|
22866
22874
|
dataIndex: 'isGift',
|
|
22867
22875
|
title: "\u662F\u5426\u8D60\u54C1",
|
|
22868
22876
|
width: 150,
|
|
22869
22877
|
render: function render(val, record, index) {
|
|
22870
|
-
return
|
|
22878
|
+
return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
22871
22879
|
value: val,
|
|
22872
22880
|
onChange: function onChange(value) {
|
|
22873
22881
|
updateHandle(value, index, 'isGift');
|
|
22874
22882
|
},
|
|
22875
22883
|
options: [{
|
|
22876
22884
|
label: '是',
|
|
22877
|
-
value:
|
|
22885
|
+
value: 1
|
|
22878
22886
|
}, {
|
|
22879
22887
|
label: '否',
|
|
22880
|
-
value:
|
|
22888
|
+
value: 0
|
|
22881
22889
|
}]
|
|
22882
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val ===
|
|
22890
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val === 1 ? '是' : '否');
|
|
22883
22891
|
}
|
|
22884
22892
|
}, {
|
|
22885
22893
|
dataIndex: 'isFit',
|
|
22886
22894
|
title: "\u662F\u5426\u7EC4\u5408\u88C5",
|
|
22887
22895
|
width: 150,
|
|
22888
22896
|
render: function render(val, record, index) {
|
|
22889
|
-
return
|
|
22897
|
+
return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
|
|
22890
22898
|
value: val,
|
|
22891
22899
|
onChange: function onChange(value) {
|
|
22892
22900
|
updateHandle(value, index, 'isFit');
|
|
22893
22901
|
},
|
|
22894
22902
|
options: [{
|
|
22895
22903
|
label: '是',
|
|
22896
|
-
value:
|
|
22904
|
+
value: 1
|
|
22897
22905
|
}, {
|
|
22898
22906
|
label: '否',
|
|
22899
|
-
value:
|
|
22907
|
+
value: 0
|
|
22900
22908
|
}]
|
|
22901
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val ===
|
|
22909
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val === 1 ? '是' : '否');
|
|
22902
22910
|
}
|
|
22903
22911
|
}, {
|
|
22904
22912
|
dataIndex: 'brandName',
|
|
@@ -23282,6 +23290,13 @@ var processGoods$1 = function processGoods(_ref) {
|
|
|
23282
23290
|
canUpdateNumber: canUpdateNumber,
|
|
23283
23291
|
source: source
|
|
23284
23292
|
});
|
|
23293
|
+
} else if (isErpType.isJky(type)) {
|
|
23294
|
+
newList = processJkyGoods({
|
|
23295
|
+
list: list,
|
|
23296
|
+
type: type,
|
|
23297
|
+
canUpdateNumber: canUpdateNumber,
|
|
23298
|
+
source: source
|
|
23299
|
+
});
|
|
23285
23300
|
} else {
|
|
23286
23301
|
newList = processDefaultGoods({
|
|
23287
23302
|
list: list,
|
|
@@ -23330,11 +23345,45 @@ var processJyGoods = function processJyGoods(_ref2) {
|
|
|
23330
23345
|
});
|
|
23331
23346
|
});
|
|
23332
23347
|
};
|
|
23333
|
-
|
|
23334
|
-
var processWdtGoods$1 = function processWdtGoods(_ref3) {
|
|
23348
|
+
var processJkyGoods = function processJkyGoods(_ref3) {
|
|
23335
23349
|
var list = _ref3.list,
|
|
23336
|
-
type = _ref3.type,
|
|
23337
23350
|
canUpdateNumber = _ref3.canUpdateNumber;
|
|
23351
|
+
return list.map(function (item) {
|
|
23352
|
+
var goodName = item.goodName,
|
|
23353
|
+
goodNo = item.goodNo,
|
|
23354
|
+
goodId = item.goodId,
|
|
23355
|
+
specBarcode = item.specBarcode,
|
|
23356
|
+
retailPrice = item.retailPrice,
|
|
23357
|
+
isGift = item.isGift,
|
|
23358
|
+
skuType = item.skuType,
|
|
23359
|
+
specImgUrl = item.specImgUrl,
|
|
23360
|
+
categoryName = item.categoryName;
|
|
23361
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
23362
|
+
cateName: categoryName,
|
|
23363
|
+
goodsName: goodName,
|
|
23364
|
+
goodsNo: goodNo,
|
|
23365
|
+
goodsId: goodId,
|
|
23366
|
+
barcode: specBarcode,
|
|
23367
|
+
skuImgUrl: specImgUrl,
|
|
23368
|
+
combinationName: goodName,
|
|
23369
|
+
combinationCode: goodNo,
|
|
23370
|
+
isGift: isGift ? '1' : '0',
|
|
23371
|
+
isFit: skuType === 'combine' ? '1' : '0',
|
|
23372
|
+
uuid: kmkfUtils.uuid(),
|
|
23373
|
+
canDelete: true,
|
|
23374
|
+
sellCount: 1,
|
|
23375
|
+
sellPrice: retailPrice,
|
|
23376
|
+
sellTotal: (retailPrice * 1).toFixed(2),
|
|
23377
|
+
canEdit: true,
|
|
23378
|
+
canUpdateNumber: canUpdateNumber
|
|
23379
|
+
});
|
|
23380
|
+
});
|
|
23381
|
+
};
|
|
23382
|
+
// 处理不同类型的商品数据
|
|
23383
|
+
var processWdtGoods$1 = function processWdtGoods(_ref4) {
|
|
23384
|
+
var list = _ref4.list,
|
|
23385
|
+
type = _ref4.type,
|
|
23386
|
+
canUpdateNumber = _ref4.canUpdateNumber;
|
|
23338
23387
|
return list.map(function (item) {
|
|
23339
23388
|
var processedItem = _objectSpread2(_objectSpread2({}, item), {}, {
|
|
23340
23389
|
uuid: kmkfUtils.uuid(),
|
|
@@ -23352,9 +23401,9 @@ var processWdtGoods$1 = function processWdtGoods(_ref3) {
|
|
|
23352
23401
|
return processedItem;
|
|
23353
23402
|
});
|
|
23354
23403
|
};
|
|
23355
|
-
var processBsE3Goods$1 = function processBsE3Goods(
|
|
23356
|
-
var list =
|
|
23357
|
-
canUpdateNumber =
|
|
23404
|
+
var processBsE3Goods$1 = function processBsE3Goods(_ref5) {
|
|
23405
|
+
var list = _ref5.list,
|
|
23406
|
+
canUpdateNumber = _ref5.canUpdateNumber;
|
|
23358
23407
|
return list.map(function (item) {
|
|
23359
23408
|
var specNo = item.specNo,
|
|
23360
23409
|
specId = item.specId,
|
|
@@ -23389,9 +23438,9 @@ var processBsE3Goods$1 = function processBsE3Goods(_ref4) {
|
|
|
23389
23438
|
});
|
|
23390
23439
|
});
|
|
23391
23440
|
};
|
|
23392
|
-
var processGyGoods$1 = function processGyGoods(
|
|
23393
|
-
var list =
|
|
23394
|
-
source =
|
|
23441
|
+
var processGyGoods$1 = function processGyGoods(_ref6) {
|
|
23442
|
+
var list = _ref6.list,
|
|
23443
|
+
source = _ref6.source;
|
|
23395
23444
|
var isFormWorkOrder = source === 'workOrder';
|
|
23396
23445
|
return list.map(function (item) {
|
|
23397
23446
|
var goodName = item.goodName,
|
|
@@ -23418,8 +23467,8 @@ var processGyGoods$1 = function processGyGoods(_ref5) {
|
|
|
23418
23467
|
});
|
|
23419
23468
|
});
|
|
23420
23469
|
};
|
|
23421
|
-
var processJstGoods$1 = function processJstGoods(
|
|
23422
|
-
var list =
|
|
23470
|
+
var processJstGoods$1 = function processJstGoods(_ref7) {
|
|
23471
|
+
var list = _ref7.list;
|
|
23423
23472
|
return list.map(function (item) {
|
|
23424
23473
|
return {
|
|
23425
23474
|
name: item.goodName,
|
|
@@ -23437,9 +23486,9 @@ var processJstGoods$1 = function processJstGoods(_ref6) {
|
|
|
23437
23486
|
};
|
|
23438
23487
|
});
|
|
23439
23488
|
};
|
|
23440
|
-
var processKmGoods$1 = function processKmGoods(
|
|
23441
|
-
var list =
|
|
23442
|
-
type =
|
|
23489
|
+
var processKmGoods$1 = function processKmGoods(_ref8) {
|
|
23490
|
+
var list = _ref8.list,
|
|
23491
|
+
type = _ref8.type;
|
|
23443
23492
|
var initParamsMap = {
|
|
23444
23493
|
KM_GOODS: {
|
|
23445
23494
|
num: 1
|
|
@@ -23458,20 +23507,22 @@ var processKmGoods$1 = function processKmGoods(_ref7) {
|
|
|
23458
23507
|
sysOuterId: item.goodNo,
|
|
23459
23508
|
outerId: item.goodNo,
|
|
23460
23509
|
skuSysId: item.specId,
|
|
23510
|
+
sysSkuId: item.specId,
|
|
23461
23511
|
itemSysId: item.goodId,
|
|
23512
|
+
sysItemId: item.goodId,
|
|
23462
23513
|
sysPicPath: item.goodPicUrl,
|
|
23463
23514
|
payment: null,
|
|
23464
23515
|
price: item.retailPrice,
|
|
23465
|
-
type: null,
|
|
23516
|
+
type: (kmkfUtils.kmSkuTypeMap === null || kmkfUtils.kmSkuTypeMap === void 0 ? void 0 : kmkfUtils.kmSkuTypeMap[item === null || item === void 0 ? void 0 : item.skuType]) || '',
|
|
23466
23517
|
uuid: kmkfUtils.uuid(),
|
|
23467
23518
|
canDelete: true,
|
|
23468
23519
|
canEdit: true
|
|
23469
23520
|
}, initParamsMap[type] || {});
|
|
23470
23521
|
});
|
|
23471
23522
|
};
|
|
23472
|
-
var processDefaultGoods = function processDefaultGoods(
|
|
23473
|
-
var list =
|
|
23474
|
-
canUpdateNumber =
|
|
23523
|
+
var processDefaultGoods = function processDefaultGoods(_ref9) {
|
|
23524
|
+
var list = _ref9.list,
|
|
23525
|
+
canUpdateNumber = _ref9.canUpdateNumber;
|
|
23475
23526
|
return list.map(function (item) {
|
|
23476
23527
|
var goodsId = item.goodsId,
|
|
23477
23528
|
name = item.name,
|
|
@@ -23577,7 +23628,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
23577
23628
|
systemItemIds = dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (item) {
|
|
23578
23629
|
return item === null || item === void 0 ? void 0 : item.sysItemId;
|
|
23579
23630
|
}).map(function (item) {
|
|
23580
|
-
return (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
23631
|
+
return !(item === null || item === void 0 ? void 0 : item.sysSkuId) || (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' || (item === null || item === void 0 ? void 0 : item.sysSkuId) == (item === null || item === void 0 ? void 0 : item.sysItemId) ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
23581
23632
|
});
|
|
23582
23633
|
_context.next = 3;
|
|
23583
23634
|
return kmkfUtils.servers.KM.getSupplierSingleton(systemItemIds);
|
|
@@ -23586,7 +23637,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
23586
23637
|
dataSource === null || dataSource === void 0 ? void 0 : (_dataSource$filter = dataSource.filter(function (item) {
|
|
23587
23638
|
return item === null || item === void 0 ? void 0 : item.sysItemId;
|
|
23588
23639
|
})) === null || _dataSource$filter === void 0 ? void 0 : _dataSource$filter.forEach(function (item) {
|
|
23589
|
-
var key = (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
23640
|
+
var key = !(item === null || item === void 0 ? void 0 : item.sysSkuId) || (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' || (item === null || item === void 0 ? void 0 : item.sysSkuId) == (item === null || item === void 0 ? void 0 : item.sysItemId) ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
23590
23641
|
var supplierInfo = supplierMap.get(key);
|
|
23591
23642
|
item.supplierCode = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierCode;
|
|
23592
23643
|
item.supplierName = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierName;
|
|
@@ -23744,6 +23795,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
23744
23795
|
}
|
|
23745
23796
|
}), /*#__PURE__*/React__default['default'].createElement("span", null, "\u5DF2\u9009\u62E9(", currentTradeOriginGoods === null || currentTradeOriginGoods === void 0 ? void 0 : currentTradeOriginGoods.length, "/", filterDataSource === null || filterDataSource === void 0 ? void 0 : filterDataSource.length, ")")));
|
|
23746
23797
|
};
|
|
23798
|
+
SelectTradeGoods.displayName = 'SelectTradeGoods';
|
|
23747
23799
|
var getButtonText = function getButtonText() {
|
|
23748
23800
|
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
23749
23801
|
if (['KM_GOODS', 'KM_REISSUE_GOODS'].includes(type)) {
|
|
@@ -23825,7 +23877,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
23825
23877
|
var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
|
|
23826
23878
|
// 判断是否为是否展示系统单筛选项
|
|
23827
23879
|
var isShowSelect = type && ['WDT_GOODS', 'BS_E3_GOODS', 'GY_GOODS', 'JST_GOODS', 'WLN_GOODS', 'KM_GOODS', 'JY_GOODS', 'JY_REISSUE_GOODS', 'JKY_GOODS', 'JKY_REISSUE_GOODS', 'GY_REISSUE_GOODS', 'KM_REISSUE_GOODS', 'BS_E3_REISSUE_GOODS', 'WDT_REISSUE_GOODS', 'JST_REISSUE_GOODS'].includes(type) || false;
|
|
23828
|
-
var isReissueType = type && ['GY_REISSUE_GOODS', 'KM_REISSUE_GOODS', 'BS_E3_REISSUE_GOODS', 'WDT_REISSUE_GOODS', 'JST_REISSUE_GOODS', 'JY_REISSUE_GOODS'].includes(type) || false;
|
|
23880
|
+
var isReissueType = type && ['GY_REISSUE_GOODS', 'KM_REISSUE_GOODS', 'BS_E3_REISSUE_GOODS', 'WDT_REISSUE_GOODS', 'JST_REISSUE_GOODS', 'JY_REISSUE_GOODS', 'JKY_REISSUE_GOODS'].includes(type) || false;
|
|
23829
23881
|
var refModal = React.useRef();
|
|
23830
23882
|
console.debug('表格数据', value);
|
|
23831
23883
|
var handleDelete = function handleDelete(record, index) {
|
|
@@ -25130,24 +25182,28 @@ var getJkyOrderListSingleton = function getJkyOrderListSingleton(orderNo) {
|
|
|
25130
25182
|
singletonMap$7.delete(orderNo);
|
|
25131
25183
|
reject(err);
|
|
25132
25184
|
};
|
|
25133
|
-
extendRequest('/qy/gdfw/
|
|
25185
|
+
extendRequest('/qy/gdfw/jky/erp/trade/fullInfo', {
|
|
25134
25186
|
method: 'post',
|
|
25135
25187
|
data: {
|
|
25136
|
-
|
|
25188
|
+
sourceTradeNos: orderNo
|
|
25137
25189
|
}
|
|
25138
25190
|
}).then(function (res) {
|
|
25139
25191
|
if (res === null || res === void 0 ? void 0 : res.success) {
|
|
25140
|
-
var _res$data, _res$
|
|
25141
|
-
if (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 :
|
|
25142
|
-
var _filterJkyOrders
|
|
25143
|
-
res.data.trades = (_filterJkyOrders = kmkfUtils.filterJkyOrders(res === null || res === void 0 ? void 0 :
|
|
25192
|
+
var _res$data, _res$data2;
|
|
25193
|
+
if (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) {
|
|
25194
|
+
var _filterJkyOrders;
|
|
25195
|
+
res.data.trades = (_filterJkyOrders = kmkfUtils.filterJkyOrders(res === null || res === void 0 ? void 0 : res.data, orderNo)) === null || _filterJkyOrders === void 0 ? void 0 : _filterJkyOrders.map(function (item) {
|
|
25144
25196
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
25197
|
+
goodsDetail: (item.goodsDetail || []).map(function (goodsItem) {
|
|
25198
|
+
return _objectSpread2({}, goodsItem);
|
|
25199
|
+
}),
|
|
25200
|
+
tradeFrom: kmkfUtils.JKY_ORDER_FROM_MAP[item.tradeFrom],
|
|
25145
25201
|
tradeType: kmkfUtils.JKY_ORDER_TYPE_MAP[item.tradeType],
|
|
25146
25202
|
tradeStatus: kmkfUtils.JKY_ORDER_STATUS_MAP[item.tradeStatus]
|
|
25147
25203
|
});
|
|
25148
25204
|
});
|
|
25149
25205
|
}
|
|
25150
|
-
resolve(((_res$
|
|
25206
|
+
resolve(((_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.trades) || []);
|
|
25151
25207
|
// 延迟10秒清除,保证订单的时效性
|
|
25152
25208
|
setTimeout(function () {
|
|
25153
25209
|
singletonMap$7.delete(orderNo);
|
|
@@ -26848,7 +26904,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
26848
26904
|
value === null || value === void 0 ? void 0 : (_value$kmGoods = value.kmGoods) === null || _value$kmGoods === void 0 ? void 0 : (_value$kmGoods$filter = _value$kmGoods.filter(function (item) {
|
|
26849
26905
|
return item === null || item === void 0 ? void 0 : item.sysItemId;
|
|
26850
26906
|
})) === null || _value$kmGoods$filter === void 0 ? void 0 : _value$kmGoods$filter.forEach(function (item) {
|
|
26851
|
-
var key = item.sysSkuId == '-1' ? item.sysItemId : "".concat(item.sysItemId, "-").concat(item.sysSkuId);
|
|
26907
|
+
var key = !(item === null || item === void 0 ? void 0 : item.sysSkuId) || (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' || (item === null || item === void 0 ? void 0 : item.sysSkuId) == (item === null || item === void 0 ? void 0 : item.sysItemId) ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
26852
26908
|
map[key] = item;
|
|
26853
26909
|
});
|
|
26854
26910
|
}
|
|
@@ -26889,7 +26945,8 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
26889
26945
|
hasChange = false;
|
|
26890
26946
|
currentValue = valueRef.current;
|
|
26891
26947
|
kmGoods = currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$kmGoods = currentValue.kmGoods) === null || _currentValue$kmGoods === void 0 ? void 0 : _currentValue$kmGoods.map(function (item) {
|
|
26892
|
-
var
|
|
26948
|
+
var key = !(item === null || item === void 0 ? void 0 : item.sysSkuId) || (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' || (item === null || item === void 0 ? void 0 : item.sysSkuId) == (item === null || item === void 0 ? void 0 : item.sysItemId) ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
26949
|
+
var supplierInfo = supplierMap.get(key);
|
|
26893
26950
|
var newSupplierCode = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierCode;
|
|
26894
26951
|
var newSupplierName = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierName;
|
|
26895
26952
|
// 如果供应商信息有变化,标记需要更新
|
|
@@ -27173,7 +27230,6 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
27173
27230
|
orderNo: value === null || value === void 0 ? void 0 : value.orderNo,
|
|
27174
27231
|
type: compType
|
|
27175
27232
|
});
|
|
27176
|
-
console.log('getDataSourceAsync', list);
|
|
27177
27233
|
onChange(_objectSpread2(_objectSpread2({}, valueRef.current), {}, {
|
|
27178
27234
|
allOrders: list || []
|
|
27179
27235
|
}));
|
|
@@ -27209,6 +27265,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
27209
27265
|
}
|
|
27210
27266
|
}));
|
|
27211
27267
|
};
|
|
27268
|
+
CommonGoods.displayName = 'CommonGoods';
|
|
27212
27269
|
|
|
27213
27270
|
var componentMap$3 = {
|
|
27214
27271
|
WDT_RETURN_GOODS: {
|
|
@@ -27860,10 +27917,26 @@ var typeMap$2 = {
|
|
|
27860
27917
|
outerOiIdKey: '',
|
|
27861
27918
|
goodDetailsKey: 'subOrderDetails',
|
|
27862
27919
|
isShowSelectTradeGoods: true
|
|
27920
|
+
},
|
|
27921
|
+
JKY_REISSUE_GOODS: {
|
|
27922
|
+
compType: '补发',
|
|
27923
|
+
key: 'jkyReissueGoods',
|
|
27924
|
+
typeName: 'jkyReissueType',
|
|
27925
|
+
systemOrder: 'jkySystemOrder',
|
|
27926
|
+
systemOrderNo: 'jkySystemOrderNo',
|
|
27927
|
+
getOrderList: jkyUtils.getJkyOrderListSingleton,
|
|
27928
|
+
updateGoodsHandle: kmkfUtils.updateJkyGoodsHandle,
|
|
27929
|
+
alwaysShowChooseErpGoodsBtn: true,
|
|
27930
|
+
orderTypeKey: 'orderType',
|
|
27931
|
+
oIdKey: 'tradeNo',
|
|
27932
|
+
outerOiIdKey: '',
|
|
27933
|
+
goodDetailsKey: 'goodsDetail',
|
|
27934
|
+
isShowSelectTradeGoods: true,
|
|
27935
|
+
showModeBtn: true
|
|
27863
27936
|
}
|
|
27864
27937
|
};
|
|
27865
27938
|
var PublicReissue = function PublicReissue(props) {
|
|
27866
|
-
var _typeMap$
|
|
27939
|
+
var _typeMap$type35, _typeMap$type41, _typeMap$type42, _typeMap$type43, _typeMap$type44, _value$typeMap$type$s8, _typeMap$type45, _typeMap$type46, _typeMap$type47, _typeMap$type48, _typeMap$type49, _typeMap$type50, _typeMap$type51, _typeMap$type52, _value$typeMap$type$s9, _typeMap$type53, _typeMap$type54, _typeMap$type55, _typeMap$type56;
|
|
27867
27940
|
var value = props.value,
|
|
27868
27941
|
onChange = props.onChange,
|
|
27869
27942
|
_props$reasonList = props.reasonList,
|
|
@@ -27986,7 +28059,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
27986
28059
|
value === null || value === void 0 ? void 0 : (_value$kmReissueGoods = value.kmReissueGoods) === null || _value$kmReissueGoods === void 0 ? void 0 : (_value$kmReissueGoods2 = _value$kmReissueGoods.filter(function (item) {
|
|
27987
28060
|
return item === null || item === void 0 ? void 0 : item.sysItemId;
|
|
27988
28061
|
})) === null || _value$kmReissueGoods2 === void 0 ? void 0 : _value$kmReissueGoods2.forEach(function (item) {
|
|
27989
|
-
var key = item.sysSkuId == '-1' ? item.sysItemId : "".concat(item.sysItemId, "-").concat(item.sysSkuId);
|
|
28062
|
+
var key = !(item === null || item === void 0 ? void 0 : item.sysSkuId) || (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' || (item === null || item === void 0 ? void 0 : item.sysSkuId) == (item === null || item === void 0 ? void 0 : item.sysItemId) ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
27990
28063
|
map[key] = item;
|
|
27991
28064
|
});
|
|
27992
28065
|
}
|
|
@@ -28027,7 +28100,8 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28027
28100
|
hasChange = false;
|
|
28028
28101
|
currentValue = valueRef.current;
|
|
28029
28102
|
kmReissueGoods = currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$kmReiss = currentValue.kmReissueGoods) === null || _currentValue$kmReiss === void 0 ? void 0 : _currentValue$kmReiss.map(function (item) {
|
|
28030
|
-
var
|
|
28103
|
+
var key = !(item === null || item === void 0 ? void 0 : item.sysSkuId) || (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' || (item === null || item === void 0 ? void 0 : item.sysSkuId) == (item === null || item === void 0 ? void 0 : item.sysItemId) ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
28104
|
+
var supplierInfo = supplierMap.get(key);
|
|
28031
28105
|
var newSupplierCode = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierCode;
|
|
28032
28106
|
var newSupplierName = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierName;
|
|
28033
28107
|
// 如果供应商信息有变化,标记需要更新
|
|
@@ -28063,7 +28137,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28063
28137
|
}
|
|
28064
28138
|
}, [sysItemIdMap]);
|
|
28065
28139
|
var getGoodDetails = function getGoodDetails(_ref5) {
|
|
28066
|
-
var _typeMap$type18, _typeMap$type19, _value$typeMap$type$s6, _typeMap$type20, _typeMap$type21, _typeMap$type22, _typeMap$type23
|
|
28140
|
+
var _typeMap$type18, _typeMap$type19, _value$typeMap$type$s6, _typeMap$type20, _typeMap$type21, _typeMap$type22, _typeMap$type23;
|
|
28067
28141
|
var mode = _ref5.mode,
|
|
28068
28142
|
sysOrderNo = _ref5.sysOrderNo,
|
|
28069
28143
|
_ref5$isAllOrders = _ref5.isAllOrders,
|
|
@@ -28085,14 +28159,17 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28085
28159
|
orderRest = {
|
|
28086
28160
|
canEdit: true
|
|
28087
28161
|
};
|
|
28162
|
+
} else if (['JKY_REISSUE_GOODS'].includes(type)) {
|
|
28163
|
+
orderRest = {
|
|
28164
|
+
canEdit: true
|
|
28165
|
+
};
|
|
28088
28166
|
}
|
|
28089
28167
|
var orders = isAllOrders ? (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type20 = typeMap$2[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.orders) || [] : order ? [order] : [];
|
|
28090
28168
|
var hasGoodDetails = orders === null || orders === void 0 ? void 0 : orders.some(function (order) {
|
|
28091
28169
|
var _order$typeMap$type$g;
|
|
28092
28170
|
return order === null || order === void 0 ? void 0 : (_order$typeMap$type$g = order[typeMap$2[type].goodDetailsKey]) === null || _order$typeMap$type$g === void 0 ? void 0 : _order$typeMap$type$g.length;
|
|
28093
28171
|
});
|
|
28094
|
-
|
|
28095
|
-
var goodDetails = hasGoodDetails ? (!isAllOrders || ((_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.isSelectTradeGoodsMerge)) && typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.updateGoodsHandle(orders, orderRest)) : (_typeMap$type24 = typeMap$2[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.updateGoodsHandle(orders, orderRest) : [];
|
|
28172
|
+
var goodDetails = hasGoodDetails ? (!isAllOrders || ((_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.isSelectTradeGoodsMerge)) && typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.updateGoodsHandle(orders, orderRest)) : (_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.updateGoodsHandle(orders, orderRest) : [];
|
|
28096
28173
|
var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
|
|
28097
28174
|
var list = mode && !isAllOrders ? goodDetails.filter(function (goodItem) {
|
|
28098
28175
|
return !orderNo || goodItem[typeMap$2[type].outerOiIdKey] === orderNo;
|
|
@@ -28100,30 +28177,30 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28100
28177
|
return list;
|
|
28101
28178
|
};
|
|
28102
28179
|
var changeGoodHandle = function changeGoodHandle(val) {
|
|
28103
|
-
var _typeMap$
|
|
28180
|
+
var _typeMap$type24;
|
|
28104
28181
|
var newValue = _objectSpread2({}, value);
|
|
28105
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28182
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type24 = typeMap$2[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = val || [];
|
|
28106
28183
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
28107
28184
|
};
|
|
28108
28185
|
var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
|
|
28109
|
-
var _typeMap$
|
|
28186
|
+
var _typeMap$type25, _typeMap$type26, _value$typeMap$type$t2, _typeMap$type31, _value$typeMap$type$t3, _typeMap$type33;
|
|
28110
28187
|
var newValue = _objectSpread2({}, value);
|
|
28111
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28112
|
-
if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28113
|
-
var _value$typeMap$type$s7, _typeMap$
|
|
28114
|
-
var orders = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$
|
|
28188
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type25 = typeMap$2[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderNo)] = val;
|
|
28189
|
+
if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type26 = typeMap$2[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrderBillType) {
|
|
28190
|
+
var _value$typeMap$type$s7, _typeMap$type27, _typeMap$type29, _typeMap$type30;
|
|
28191
|
+
var orders = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$type27 = typeMap$2[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.systemOrder]) === null || _value$typeMap$type$s7 === void 0 ? void 0 : _value$typeMap$type$s7.orders) || [];
|
|
28115
28192
|
var targetOrder = val && orders.find(function (oItem) {
|
|
28116
|
-
var _typeMap$
|
|
28117
|
-
return oItem[(_typeMap$
|
|
28193
|
+
var _typeMap$type28;
|
|
28194
|
+
return oItem[(_typeMap$type28 = typeMap$2[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.oIdKey] === val;
|
|
28118
28195
|
});
|
|
28119
|
-
newValue[(_typeMap$
|
|
28120
|
-
}
|
|
28121
|
-
if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$
|
|
28122
|
-
var _typeMap$
|
|
28123
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28124
|
-
} else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$
|
|
28125
|
-
var _typeMap$
|
|
28126
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28196
|
+
newValue[(_typeMap$type29 = typeMap$2[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderBillType] = targetOrder === null || targetOrder === void 0 ? void 0 : targetOrder[(_typeMap$type30 = typeMap$2[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.orderTypeKey];
|
|
28197
|
+
}
|
|
28198
|
+
if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type31 = typeMap$2[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0])) {
|
|
28199
|
+
var _typeMap$type32;
|
|
28200
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type32 = typeMap$2[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.key)] = [];
|
|
28201
|
+
} else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type33 = typeMap$2[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
|
|
28202
|
+
var _typeMap$type34;
|
|
28203
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type34 = typeMap$2[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.key)] = getGoodDetails({
|
|
28127
28204
|
mode: isStrict,
|
|
28128
28205
|
sysOrderNo: val
|
|
28129
28206
|
});
|
|
@@ -28131,27 +28208,27 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28131
28208
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue, 'systemOrder');
|
|
28132
28209
|
};
|
|
28133
28210
|
//显示选择商品按钮
|
|
28134
|
-
var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
28211
|
+
var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type35 = typeMap$2[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.systemOrderNo]);
|
|
28135
28212
|
var selectedGoodsChange = React.useCallback(function (skuList) {
|
|
28136
|
-
var _typeMap$
|
|
28213
|
+
var _typeMap$type36, _typeMap$type37, _typeMap$type38, _uniqBy, _typeMap$type39;
|
|
28137
28214
|
var newValue = _objectSpread2({}, value);
|
|
28138
28215
|
// 原订单商品
|
|
28139
28216
|
var originTradeGoodList = getGoodDetails({
|
|
28140
28217
|
mode: isStrict,
|
|
28141
|
-
isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28218
|
+
isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type36 = typeMap$2[type]) === null || _typeMap$type36 === void 0 ? void 0 : _typeMap$type36.isShowSelectTradeGoods
|
|
28142
28219
|
}) || [];
|
|
28143
28220
|
// 当前选中的所有商品【包含了原订单+商品库】
|
|
28144
|
-
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28145
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28146
|
-
var _typeMap$
|
|
28147
|
-
return skuList.includes(item[(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28221
|
+
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type37 = typeMap$2[type]) === null || _typeMap$type37 === void 0 ? void 0 : _typeMap$type37.key)]) || [];
|
|
28222
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type38 = typeMap$2[type]) === null || _typeMap$type38 === void 0 ? void 0 : _typeMap$type38.key)] = (_uniqBy = lodash.uniqBy(originTradeGoodList.concat(currentSelectGoodList), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type39 = typeMap$2[type]) === null || _typeMap$type39 === void 0 ? void 0 : _typeMap$type39.uniqueKey) || 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
|
|
28223
|
+
var _typeMap$type40;
|
|
28224
|
+
return skuList.includes(item[(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.uniqueKey) || 'uuid']);
|
|
28148
28225
|
});
|
|
28149
28226
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
28150
|
-
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28227
|
+
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type41 = typeMap$2[type]) === null || _typeMap$type41 === void 0 ? void 0 : _typeMap$type41.key)], isStrict]);
|
|
28151
28228
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Row, {
|
|
28152
28229
|
gutter: 8,
|
|
28153
28230
|
wrap: true,
|
|
28154
|
-
id: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28231
|
+
id: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.key) || "".concat(Date.now())
|
|
28155
28232
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
28156
28233
|
className: "gutter-row",
|
|
28157
28234
|
xs: {
|
|
@@ -28167,12 +28244,12 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28167
28244
|
},
|
|
28168
28245
|
disabled: disabled,
|
|
28169
28246
|
allowClear: false,
|
|
28170
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28247
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type43 = typeMap$2[type]) === null || _typeMap$type43 === void 0 ? void 0 : _typeMap$type43.systemOrderNo)],
|
|
28171
28248
|
onChange: function onChange(val) {
|
|
28172
28249
|
return changeSystemOrderHandle(val);
|
|
28173
28250
|
},
|
|
28174
|
-
placeholder: "\u9009\u62E9".concat((typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28175
|
-
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s8 = value[(_typeMap$
|
|
28251
|
+
placeholder: "\u9009\u62E9".concat((typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type44 = typeMap$2[type]) === null || _typeMap$type44 === void 0 ? void 0 : _typeMap$type44.compType) || '', "\u7CFB\u7EDF\u5355")
|
|
28252
|
+
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s8 = value[(_typeMap$type45 = typeMap$2[type]) === null || _typeMap$type45 === void 0 ? void 0 : _typeMap$type45.systemOrder]) === null || _value$typeMap$type$s8 === void 0 ? void 0 : _value$typeMap$type$s8.showOrderInfo) || []).map(function (item) {
|
|
28176
28253
|
return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
|
|
28177
28254
|
key: item[typeMap$2[type].oIdKey],
|
|
28178
28255
|
value: item[typeMap$2[type].oIdKey],
|
|
@@ -28194,11 +28271,11 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28194
28271
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
28195
28272
|
allowClear: false,
|
|
28196
28273
|
options: reasonList,
|
|
28197
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28274
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type46 = typeMap$2[type]) === null || _typeMap$type46 === void 0 ? void 0 : _typeMap$type46.typeName)],
|
|
28198
28275
|
onChange: function onChange(val) {
|
|
28199
28276
|
return changeTypeHandle(val);
|
|
28200
28277
|
}
|
|
28201
|
-
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28278
|
+
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type47 = typeMap$2[type]) === null || _typeMap$type47 === void 0 ? void 0 : _typeMap$type47.systemOrderBillType) && !isSettingConfig && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
|
|
28202
28279
|
className: "gutter-row",
|
|
28203
28280
|
xs: {
|
|
28204
28281
|
span: 11
|
|
@@ -28207,7 +28284,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28207
28284
|
span: 6
|
|
28208
28285
|
}
|
|
28209
28286
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
28210
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28287
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type48 = typeMap$2[type]) === null || _typeMap$type48 === void 0 ? void 0 : _typeMap$type48.systemOrderBillType)],
|
|
28211
28288
|
disabled: disabled,
|
|
28212
28289
|
readOnly: true
|
|
28213
28290
|
}))), /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
|
|
@@ -28218,15 +28295,15 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28218
28295
|
canUpdateNumber: showChangeBtn,
|
|
28219
28296
|
hasSelectedSystemOrder: showChangeBtn,
|
|
28220
28297
|
// showChangeBtn={showChangeBtn || typeMap?.[type]?.isShowSelectTradeGoods}
|
|
28221
|
-
alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28298
|
+
alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type49 = typeMap$2[type]) === null || _typeMap$type49 === void 0 ? void 0 : _typeMap$type49.alwaysShowChooseErpGoodsBtn,
|
|
28222
28299
|
// showErpGoodsBtn={typeMap?.[type]?.showErpGoodsBtn}
|
|
28223
28300
|
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
28224
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
28301
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type50 = typeMap$2[type]) === null || _typeMap$type50 === void 0 ? void 0 : _typeMap$type50.key)],
|
|
28225
28302
|
onChange: function onChange(val) {
|
|
28226
28303
|
return changeGoodHandle(val);
|
|
28227
28304
|
},
|
|
28228
28305
|
onModeChange: handleModeChange,
|
|
28229
|
-
showModeBtn:
|
|
28306
|
+
showModeBtn: !!(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type51 = typeMap$2[type]) === null || _typeMap$type51 === void 0 ? void 0 : _typeMap$type51.showModeBtn),
|
|
28230
28307
|
isStrict: isStrict,
|
|
28231
28308
|
isShowSelectTradeGoods: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type52 = typeMap$2[type]) === null || _typeMap$type52 === void 0 ? void 0 : _typeMap$type52.isShowSelectTradeGoods,
|
|
28232
28309
|
systemOrders: value === null || value === void 0 ? void 0 : (_value$typeMap$type$s9 = value[(_typeMap$type53 = typeMap$2[type]) === null || _typeMap$type53 === void 0 ? void 0 : _typeMap$type53.systemOrder]) === null || _value$typeMap$type$s9 === void 0 ? void 0 : _value$typeMap$type$s9.orders,
|
|
@@ -28241,6 +28318,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28241
28318
|
}
|
|
28242
28319
|
})));
|
|
28243
28320
|
};
|
|
28321
|
+
PublicReissue.displayName = 'PublicReissue';
|
|
28244
28322
|
|
|
28245
28323
|
var css_248z$g = ".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";
|
|
28246
28324
|
styleInject(css_248z$g);
|