@kmkf-fe-packages/basic-components 2.2.22 → 2.2.24

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.js CHANGED
@@ -8814,7 +8814,7 @@ var processSkxGoods = function processSkxGoods(getValue) {
8814
8814
  var processBsReissueGoods = function processBsReissueGoods(getValue) {
8815
8815
  return function (nex, config) {
8816
8816
  return _defineProperty({}, nex.uniqueKey, {
8817
- bsReissueType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueType")), []),
8817
+ bsReissueType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueType")), !kmkfUtils.isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : []),
8818
8818
  bsReissueGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueGoods")), []),
8819
8819
  shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
8820
8820
  });
@@ -8822,7 +8822,7 @@ var processBsReissueGoods = function processBsReissueGoods(getValue) {
8822
8822
  };
8823
8823
  var processBsExchangeGoods = function processBsExchangeGoods(getValue) {
8824
8824
  return function (nex, config) {
8825
- var bsExchangeType = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeType")), []);
8825
+ var bsExchangeType = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeType")), !kmkfUtils.isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : []);
8826
8826
  var bsExchangeReturnGoods = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeReturnGoods")), []);
8827
8827
  var bsExchangeSwapOutGoods = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeSwapOutGoods")), []);
8828
8828
  //补发组装数据
@@ -8887,7 +8887,7 @@ var processBsReturnGoods = function processBsReturnGoods(getValue) {
8887
8887
  shopCodeKey: 'shopCode'
8888
8888
  }
8889
8889
  };
8890
- return _defineProperty({}, "".concat(nex.uniqueKey), (_$concat = {}, _defineProperty(_$concat, returnGoodsMap[compType].returnTypeKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnTypeKey)), [])), _defineProperty(_$concat, returnGoodsMap[compType].returnGoodsKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnGoodsKey)), [])), _defineProperty(_$concat, returnGoodsMap[compType].shopCodeKey, getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].shopCodeKey))), _$concat));
8890
+ return _defineProperty({}, "".concat(nex.uniqueKey), (_$concat = {}, _defineProperty(_$concat, returnGoodsMap[compType].returnTypeKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnTypeKey)), !kmkfUtils.isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : [])), _defineProperty(_$concat, returnGoodsMap[compType].returnGoodsKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnGoodsKey)), [])), _defineProperty(_$concat, returnGoodsMap[compType].shopCodeKey, getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].shopCodeKey))), _$concat));
8891
8891
  };
8892
8892
  };
8893
8893
  var processErpSystemOrder = function processErpSystemOrder(getValue) {
@@ -10431,8 +10431,10 @@ function CopyTextIcon(_ref) {
10431
10431
  justifyContent: 'center'
10432
10432
  }
10433
10433
  }, /*#__PURE__*/React__default['default'].createElement("span", {
10434
+ className: "ellipsis-text-3",
10434
10435
  style: {
10435
10436
  marginRight: 8,
10437
+ flex: 1,
10436
10438
  overflow: 'hidden',
10437
10439
  textOverflow: 'ellipsis',
10438
10440
  whiteSpace: 'nowrap'
@@ -13992,6 +13994,18 @@ var ItemList = function ItemList(props) {
13992
13994
  }, "\u6682\u4E0D\u652F\u6301\u6DFB\u52A0")) : null);
13993
13995
  };
13994
13996
 
13997
+ var renderTextEllipsis = function renderTextEllipsis(value) {
13998
+ return /*#__PURE__*/React__default['default'].createElement("span", {
13999
+ className: "ellipsis-text-3"
14000
+ }, value);
14001
+ };
14002
+
14003
+ var css_248z$b = ".GoodModalColumns .ellipsis-text-3 {\n display: -webkit-box;\n overflow: hidden;\n white-space: normal !important;\n text-overflow: ellipsis;\n word-break: break-all;\n overflow-wrap: anywhere;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n line-clamp: 3;\n}\n";
14004
+ styleInject(css_248z$b);
14005
+
14006
+ var css_248z$c = ".search-form .ant-form-item {\n margin-right: 0px !important;\n margin-bottom: 12px !important;\n padding-right: 10px !important;\n}\n@media (max-width: 600px) {\n .search-form {\n display: flex;\n flex-wrap: wrap;\n }\n .search-form .ant-form-item {\n box-sizing: border-box;\n width: 33.33% !important;\n }\n .search-form .ant-input-affix-wrapper,\n .search-form .ant-select,\n .search-form .ant-select-selector {\n width: 100% !important;\n }\n .search-form .search-form-actions .ant-form-item-control-input-content {\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-between;\n }\n .search-form .search-form-actions .ant-form-item-control-input-content .ant-btn {\n width: calc((100% - 8px) / 2) !important;\n padding: 0 !important;\n }\n}\n";
14007
+ styleInject(css_248z$c);
14008
+
13995
14009
  var _excluded$d = ["shopId"];
13996
14010
  var columns = [{
13997
14011
  dataIndex: 'index',
@@ -14006,44 +14020,39 @@ var columns = [{
14006
14020
  }, {
14007
14021
  dataIndex: 'skuName',
14008
14022
  title: '商品sku名称',
14009
- with: 200,
14010
- ellipsis: true
14023
+ width: 300,
14024
+ ellipsis: true,
14025
+ render: renderTextEllipsis
14011
14026
  }, {
14012
14027
  dataIndex: 'skuCode',
14013
14028
  title: '商品sku编码',
14014
- with: 200,
14015
- ellipsis: true
14029
+ width: 200,
14030
+ ellipsis: true,
14031
+ render: renderTextEllipsis
14016
14032
  }, {
14017
14033
  dataIndex: 'name',
14018
14034
  title: '商品名称',
14019
- with: 200,
14020
- ellipsis: true
14035
+ width: 200,
14036
+ ellipsis: true,
14037
+ render: renderTextEllipsis
14021
14038
  }, {
14022
14039
  dataIndex: 'goodsId',
14023
14040
  title: '商品id',
14024
- with: 200,
14025
- ellipsis: true
14041
+ width: 200,
14042
+ ellipsis: true,
14043
+ render: renderTextEllipsis
14026
14044
  }, {
14027
14045
  dataIndex: 'code',
14028
14046
  title: '商品编码',
14029
- with: 200,
14030
- render: function render(val) {
14031
- return /*#__PURE__*/React__default['default'].createElement("div", {
14032
- style: {
14033
- width: '100px'
14034
- }
14035
- }, val);
14036
- }
14047
+ width: 200,
14048
+ ellipsis: true,
14049
+ render: renderTextEllipsis
14037
14050
  }, {
14038
14051
  dataIndex: 'marketPrice',
14039
14052
  title: '市场价',
14040
- render: function render(val) {
14041
- return /*#__PURE__*/React__default['default'].createElement("div", {
14042
- style: {
14043
- width: '70px'
14044
- }
14045
- }, val);
14046
- }
14053
+ width: 70,
14054
+ ellipsis: true,
14055
+ render: renderTextEllipsis
14047
14056
  }];
14048
14057
  var GoodsModal$1 = function GoodsModal(props, ref) {
14049
14058
  React.useImperativeHandle(ref, function () {
@@ -14312,27 +14321,27 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14312
14321
  }, {
14313
14322
  dataIndex: 'skuName',
14314
14323
  title: '商品sku名称',
14315
- with: 200,
14324
+ width: 300,
14316
14325
  ellipsis: true
14317
14326
  }, {
14318
14327
  dataIndex: 'skuCode',
14319
14328
  title: '商品sku编码',
14320
- with: 200,
14329
+ width: 200,
14321
14330
  ellipsis: true
14322
14331
  }, {
14323
14332
  dataIndex: 'name',
14324
14333
  title: '商品名称',
14325
- with: 200,
14334
+ width: 200,
14326
14335
  ellipsis: true
14327
14336
  }, {
14328
14337
  dataIndex: 'goodsId',
14329
14338
  title: '商品id',
14330
- with: 200,
14339
+ width: 200,
14331
14340
  ellipsis: true
14332
14341
  }, {
14333
14342
  dataIndex: 'code',
14334
14343
  title: '商品编码',
14335
- with: 200,
14344
+ width: 200,
14336
14345
  render: function render(val) {
14337
14346
  return /*#__PURE__*/React__default['default'].createElement("div", {
14338
14347
  style: {
@@ -14361,9 +14370,10 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14361
14370
  rowKey: 'skuCode',
14362
14371
  dataSource: selectList,
14363
14372
  scroll: {
14364
- x: true,
14373
+ x: '100%',
14365
14374
  y: 250
14366
14375
  },
14376
+ size: "small",
14367
14377
  pagination: {
14368
14378
  size: 'small',
14369
14379
  total: selectIds.length,
@@ -14387,6 +14397,7 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14387
14397
  top: 20
14388
14398
  }
14389
14399
  }, /*#__PURE__*/React__default['default'].createElement(antd.Form, {
14400
+ className: "search-form",
14390
14401
  layout: "inline",
14391
14402
  form: form,
14392
14403
  onFinish: onFinish,
@@ -14435,7 +14446,12 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14435
14446
  style: {
14436
14447
  width: 150
14437
14448
  }
14438
- })), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, null, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
14449
+ })), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
14450
+ className: "search-form-actions"
14451
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
14452
+ style: {
14453
+ marginRight: '8px'
14454
+ },
14439
14455
  type: "primary",
14440
14456
  htmlType: "submit"
14441
14457
  }, "\u67E5\u8BE2"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
@@ -14443,14 +14459,17 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14443
14459
  }, "\u91CD\u7F6E"))), /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
14444
14460
  spinning: loading
14445
14461
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, {
14462
+ className: "GoodModalColumns",
14446
14463
  rowSelection: rowSelection,
14447
14464
  columns: columns,
14448
14465
  rowKey: 'skuCode',
14449
14466
  dataSource: goodList,
14467
+ tableLayout: "fixed",
14450
14468
  scroll: {
14451
- x: true,
14469
+ x: 'max-content',
14452
14470
  y: 250
14453
14471
  },
14472
+ size: "small",
14454
14473
  pagination: {
14455
14474
  size: 'small',
14456
14475
  total: total,
@@ -14477,27 +14496,32 @@ var gyColumns = [{
14477
14496
  dataIndex: 'specName',
14478
14497
  title: 'SKU名称',
14479
14498
  width: 250,
14480
- ellipsis: true
14499
+ ellipsis: true,
14500
+ render: renderTextEllipsis
14481
14501
  }, {
14482
14502
  dataIndex: 'specNo',
14483
14503
  title: 'SKU编码',
14484
14504
  width: 150,
14485
- ellipsis: true
14505
+ ellipsis: true,
14506
+ render: renderTextEllipsis
14486
14507
  }, {
14487
14508
  dataIndex: 'goodName',
14488
14509
  title: '商品名称',
14489
14510
  width: 250,
14490
- ellipsis: true
14511
+ ellipsis: true,
14512
+ render: renderTextEllipsis
14491
14513
  }, {
14492
14514
  dataIndex: 'goodShortName',
14493
14515
  title: "\u5546\u54C1\u7B80\u79F0",
14494
14516
  ellipsis: true,
14495
- width: 150
14517
+ width: 150,
14518
+ render: renderTextEllipsis
14496
14519
  }, {
14497
14520
  dataIndex: 'goodNo',
14498
14521
  title: '商品编码',
14499
14522
  width: 150,
14500
- ellipsis: true
14523
+ ellipsis: true,
14524
+ render: renderTextEllipsis
14501
14525
  }, {
14502
14526
  dataIndex: 'goodPicUrl',
14503
14527
  title: '商品图片',
@@ -14505,8 +14529,8 @@ var gyColumns = [{
14505
14529
  render: function render(picUrl) {
14506
14530
  return /*#__PURE__*/React__default['default'].createElement("img", {
14507
14531
  style: {
14508
- width: '40px',
14509
- height: '40px',
14532
+ width: '30px',
14533
+ height: '30px',
14510
14534
  objectFit: 'contain'
14511
14535
  },
14512
14536
  src: picUrl
@@ -14516,39 +14540,46 @@ var gyColumns = [{
14516
14540
  dataIndex: 'brandName',
14517
14541
  title: '品牌名称',
14518
14542
  width: 200,
14519
- ellipsis: true
14543
+ ellipsis: true,
14544
+ render: renderTextEllipsis
14520
14545
  }, {
14521
14546
  dataIndex: 'retailPrice',
14522
14547
  title: "\u6807\u51C6\u552E\u4EF7",
14523
14548
  ellipsis: true,
14524
- width: 100
14549
+ width: 100,
14550
+ render: renderTextEllipsis
14525
14551
  }, {
14526
14552
  dataIndex: 'costPrice',
14527
14553
  title: "\u6210\u672C\u4EF7",
14528
14554
  ellipsis: true,
14529
- width: 100
14555
+ width: 100,
14556
+ render: renderTextEllipsis
14530
14557
  }];
14531
14558
 
14532
14559
  var jstColumns = [{
14533
14560
  dataIndex: 'goodName',
14534
14561
  title: '商品名称',
14535
14562
  width: 250,
14536
- ellipsis: true
14563
+ ellipsis: true,
14564
+ render: renderTextEllipsis
14537
14565
  }, {
14538
14566
  dataIndex: 'goodNo',
14539
14567
  title: '商品编码',
14540
14568
  width: 200,
14541
- ellipsis: true
14569
+ ellipsis: true,
14570
+ render: renderTextEllipsis
14542
14571
  }, {
14543
14572
  dataIndex: 'styleCode',
14544
14573
  title: '款式编码',
14545
14574
  width: 200,
14546
- ellipsis: true
14575
+ ellipsis: true,
14576
+ render: renderTextEllipsis
14547
14577
  }, {
14548
14578
  dataIndex: 'propertiesValue',
14549
14579
  title: '规格值',
14550
14580
  width: 200,
14551
- ellipsis: true
14581
+ ellipsis: true,
14582
+ render: renderTextEllipsis
14552
14583
  }, {
14553
14584
  dataIndex: 'goodPicUrl',
14554
14585
  title: '商品图片',
@@ -14556,8 +14587,8 @@ var jstColumns = [{
14556
14587
  render: function render(picUrl) {
14557
14588
  return /*#__PURE__*/React__default['default'].createElement("img", {
14558
14589
  style: {
14559
- width: '40px',
14560
- height: '40px',
14590
+ width: '30px',
14591
+ height: '30px',
14561
14592
  objectFit: 'contain'
14562
14593
  },
14563
14594
  src: picUrl
@@ -14567,19 +14598,21 @@ var jstColumns = [{
14567
14598
  dataIndex: 'goodShortName',
14568
14599
  title: "\u5546\u54C1\u7B80\u79F0",
14569
14600
  ellipsis: true,
14570
- width: 250
14601
+ width: 250,
14602
+ render: renderTextEllipsis
14571
14603
  }, {
14572
14604
  dataIndex: 'brandName',
14573
14605
  title: '品牌名称',
14574
14606
  width: 200,
14575
- ellipsis: true
14607
+ ellipsis: true,
14608
+ render: renderTextEllipsis
14576
14609
  }, {
14577
14610
  dataIndex: 'retailPrice',
14578
14611
  title: "\u9500\u552E\u4EF7\u683C",
14579
14612
  ellipsis: true,
14580
14613
  width: 100,
14581
14614
  render: function render(price) {
14582
- return price || price === 0 ? Number(price).toFixed(2) : '';
14615
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14583
14616
  }
14584
14617
  }, {
14585
14618
  dataIndex: 'marketPrice',
@@ -14587,7 +14620,7 @@ var jstColumns = [{
14587
14620
  ellipsis: true,
14588
14621
  width: 100,
14589
14622
  render: function render(price) {
14590
- return price || price === 0 ? Number(price).toFixed(2) : '';
14623
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14591
14624
  }
14592
14625
  }, {
14593
14626
  dataIndex: 'costPrice',
@@ -14595,7 +14628,7 @@ var jstColumns = [{
14595
14628
  ellipsis: true,
14596
14629
  width: 100,
14597
14630
  render: function render(price) {
14598
- return price || price === 0 ? Number(price).toFixed(2) : '';
14631
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14599
14632
  }
14600
14633
  }, {
14601
14634
  dataIndex: 'skuType',
@@ -14604,10 +14637,10 @@ var jstColumns = [{
14604
14637
  width: 100,
14605
14638
  render: function render() {
14606
14639
  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'normal';
14607
- return {
14640
+ return renderTextEllipsis({
14608
14641
  combine: '组合装商品',
14609
14642
  normal: '普通商品'
14610
- }[type] || type;
14643
+ }[type] || type);
14611
14644
  }
14612
14645
  }];
14613
14646
 
@@ -14615,17 +14648,20 @@ var wdtColumns = [{
14615
14648
  dataIndex: 'specName',
14616
14649
  title: 'SKU名称',
14617
14650
  width: 250,
14618
- ellipsis: true
14651
+ ellipsis: true,
14652
+ render: renderTextEllipsis
14619
14653
  }, {
14620
14654
  dataIndex: 'specNo',
14621
14655
  title: 'SKU编码',
14622
14656
  width: 200,
14623
- ellipsis: true
14657
+ ellipsis: true,
14658
+ render: renderTextEllipsis
14624
14659
  }, {
14625
14660
  dataIndex: 'specId',
14626
14661
  title: 'SKUID',
14627
14662
  width: 200,
14628
- ellipsis: true
14663
+ ellipsis: true,
14664
+ render: renderTextEllipsis
14629
14665
  }, {
14630
14666
  dataIndex: 'specImgUrl',
14631
14667
  title: '商品图片',
@@ -14633,8 +14669,8 @@ var wdtColumns = [{
14633
14669
  render: function render(picUrl) {
14634
14670
  return /*#__PURE__*/React__default['default'].createElement("img", {
14635
14671
  style: {
14636
- width: '40px',
14637
- height: '40px',
14672
+ width: '30px',
14673
+ height: '30px',
14638
14674
  objectFit: 'contain'
14639
14675
  },
14640
14676
  src: picUrl
@@ -14644,42 +14680,46 @@ var wdtColumns = [{
14644
14680
  dataIndex: 'goodName',
14645
14681
  title: '商品名称',
14646
14682
  width: 250,
14647
- ellipsis: true
14683
+ ellipsis: true,
14684
+ render: renderTextEllipsis
14648
14685
  }, {
14649
14686
  dataIndex: 'goodNo',
14650
14687
  title: '商品编码',
14651
14688
  width: 200,
14652
- ellipsis: true
14689
+ ellipsis: true,
14690
+ render: renderTextEllipsis
14653
14691
  }, {
14654
14692
  dataIndex: 'goodId',
14655
14693
  title: '商品ID',
14656
14694
  width: 200,
14657
- ellipsis: true
14695
+ ellipsis: true,
14696
+ render: renderTextEllipsis
14658
14697
  }, {
14659
14698
  dataIndex: 'brandName',
14660
14699
  title: '品牌名称',
14661
14700
  width: 200,
14662
- ellipsis: true
14701
+ ellipsis: true,
14702
+ render: renderTextEllipsis
14663
14703
  }, {
14664
14704
  dataIndex: 'marketPrice',
14665
14705
  title: '市场价',
14666
14706
  width: 140,
14667
14707
  render: function render(price) {
14668
- return Number(price).toFixed(2);
14708
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14669
14709
  }
14670
14710
  }, {
14671
14711
  dataIndex: 'retailPrice',
14672
14712
  title: '零售价',
14673
14713
  width: 140,
14674
14714
  render: function render(price) {
14675
- return Number(price).toFixed(2);
14715
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14676
14716
  }
14677
14717
  }, {
14678
14718
  dataIndex: 'memberPrice',
14679
14719
  title: '会员价',
14680
14720
  width: 140,
14681
14721
  render: function render(price) {
14682
- return Number(price).toFixed(2);
14722
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14683
14723
  }
14684
14724
  }];
14685
14725
 
@@ -14687,22 +14727,26 @@ var bse3Columns = [{
14687
14727
  dataIndex: 'specNo',
14688
14728
  title: "SKU",
14689
14729
  ellipsis: true,
14690
- width: 200
14730
+ width: 200,
14731
+ render: renderTextEllipsis
14691
14732
  }, {
14692
14733
  dataIndex: 'specId',
14693
14734
  title: "SKU ID",
14694
14735
  ellipsis: true,
14695
- width: 80
14736
+ width: 80,
14737
+ render: renderTextEllipsis
14696
14738
  }, {
14697
14739
  dataIndex: 'goodName',
14698
14740
  title: "\u5546\u54C1\u540D\u79F0",
14699
14741
  ellipsis: true,
14700
- width: 250
14742
+ width: 250,
14743
+ render: renderTextEllipsis
14701
14744
  }, {
14702
14745
  dataIndex: 'goodShortName',
14703
14746
  title: "\u5546\u54C1\u7B80\u79F0",
14704
14747
  ellipsis: true,
14705
- width: 250
14748
+ width: 250,
14749
+ render: renderTextEllipsis
14706
14750
  },
14707
14751
  // {
14708
14752
  // dataIndex: 'goodPicUrl',
@@ -14726,47 +14770,56 @@ var bse3Columns = [{
14726
14770
  dataIndex: 'goodNo',
14727
14771
  title: "\u8D27\u53F7",
14728
14772
  ellipsis: true,
14729
- width: 150
14773
+ width: 150,
14774
+ render: renderTextEllipsis
14730
14775
  }, {
14731
14776
  dataIndex: 'goodId',
14732
14777
  title: "\u8D27\u53F7ID",
14733
14778
  ellipsis: true,
14734
- width: 100
14779
+ width: 100,
14780
+ render: renderTextEllipsis
14735
14781
  }, {
14736
14782
  dataIndex: 'colorName',
14737
14783
  title: "\u989C\u8272\u540D\u79F0",
14738
14784
  ellipsis: true,
14739
- width: 100
14785
+ width: 100,
14786
+ render: renderTextEllipsis
14740
14787
  }, {
14741
14788
  dataIndex: 'colorCode',
14742
14789
  title: "\u989C\u8272\u4EE3\u7801",
14743
14790
  ellipsis: true,
14744
- width: 100
14791
+ width: 100,
14792
+ render: renderTextEllipsis
14745
14793
  }, {
14746
14794
  dataIndex: 'sizeName',
14747
14795
  title: "\u5C3A\u7801\u540D\u79F0",
14748
14796
  ellipsis: true,
14749
- width: 100
14797
+ width: 100,
14798
+ render: renderTextEllipsis
14750
14799
  }, {
14751
14800
  dataIndex: 'sizeCode',
14752
14801
  title: "\u5C3A\u7801\u4EE3\u7801",
14753
14802
  ellipsis: true,
14754
- width: 100
14803
+ width: 100,
14804
+ render: renderTextEllipsis
14755
14805
  }, {
14756
14806
  dataIndex: 'brandName',
14757
14807
  title: "\u54C1\u724C\u540D\u79F0",
14758
14808
  ellipsis: true,
14759
- width: 100
14809
+ width: 100,
14810
+ render: renderTextEllipsis
14760
14811
  }, {
14761
14812
  dataIndex: 'marketPrice',
14762
14813
  title: "\u5E02\u573A\u4EF7",
14763
14814
  ellipsis: true,
14764
- width: 100
14815
+ width: 100,
14816
+ render: renderTextEllipsis
14765
14817
  }, {
14766
14818
  dataIndex: 'retailPrice',
14767
14819
  title: "\u552E\u4EF7",
14768
14820
  ellipsis: true,
14769
- width: 100
14821
+ width: 100,
14822
+ render: renderTextEllipsis
14770
14823
  }];
14771
14824
 
14772
14825
  var getYesOrNo = function getYesOrNo(val) {
@@ -14777,24 +14830,27 @@ var kmColumns = [{
14777
14830
  dataIndex: 'goodName',
14778
14831
  title: '商品名称',
14779
14832
  width: 250,
14780
- ellipsis: true
14833
+ ellipsis: true,
14834
+ render: renderTextEllipsis
14781
14835
  }, {
14782
14836
  dataIndex: 'goodNo',
14783
14837
  title: '商品编码',
14784
14838
  width: 150,
14785
- ellipsis: true
14839
+ ellipsis: true,
14840
+ render: renderTextEllipsis
14786
14841
  }, {
14787
14842
  dataIndex: 'goodId',
14788
14843
  title: '商品ID',
14789
14844
  width: 200,
14790
- ellipsis: true
14845
+ ellipsis: true,
14846
+ render: renderTextEllipsis
14791
14847
  }, {
14792
14848
  dataIndex: 'goodPicUrl',
14793
14849
  title: "\u5546\u54C1\u56FE\u7247",
14794
14850
  width: 150,
14795
14851
  render: function render(val) {
14796
14852
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
14797
- width: 60,
14853
+ width: 30,
14798
14854
  src: val
14799
14855
  });
14800
14856
  }
@@ -14802,52 +14858,62 @@ var kmColumns = [{
14802
14858
  dataIndex: 'goodShortName',
14803
14859
  title: '商品简称',
14804
14860
  width: 200,
14805
- ellipsis: true
14861
+ ellipsis: true,
14862
+ render: renderTextEllipsis
14806
14863
  }, {
14807
14864
  dataIndex: 'goodBarcode',
14808
14865
  title: '商品条码',
14809
14866
  width: 200,
14810
- ellipsis: true
14867
+ ellipsis: true,
14868
+ render: renderTextEllipsis
14811
14869
  }, {
14812
14870
  dataIndex: 'brandName',
14813
14871
  title: "\u54C1\u724C\u540D\u79F0",
14814
14872
  ellipsis: true,
14815
- width: 150
14873
+ width: 150,
14874
+ render: renderTextEllipsis
14816
14875
  }, {
14817
14876
  dataIndex: 'skuType',
14818
14877
  title: "\u5546\u54C1\u7C7B\u578B",
14819
14878
  ellipsis: true,
14820
- width: 150
14879
+ width: 150,
14880
+ render: renderTextEllipsis
14821
14881
  }, {
14822
14882
  dataIndex: 'specName',
14823
14883
  title: "SKU\u540D\u79F0",
14824
14884
  ellipsis: true,
14825
- width: 150
14885
+ width: 150,
14886
+ render: renderTextEllipsis
14826
14887
  }, {
14827
14888
  dataIndex: 'specNo',
14828
14889
  title: "SKU\u7F16\u7801",
14829
14890
  ellipsis: true,
14830
- width: 150
14891
+ width: 150,
14892
+ render: renderTextEllipsis
14831
14893
  }, {
14832
14894
  dataIndex: 'specId',
14833
14895
  title: "SKU ID",
14834
14896
  ellipsis: true,
14835
- width: 150
14897
+ width: 150,
14898
+ render: renderTextEllipsis
14836
14899
  }, {
14837
14900
  dataIndex: 'propertiesValue',
14838
14901
  title: "\u89C4\u683C\u503C",
14839
14902
  ellipsis: true,
14840
- width: 150
14903
+ width: 150,
14904
+ render: renderTextEllipsis
14841
14905
  }, {
14842
14906
  dataIndex: 'skuShortTitle',
14843
14907
  title: "\u89C4\u683C\u7B80\u79F0",
14844
14908
  ellipsis: true,
14845
- width: 150
14909
+ width: 150,
14910
+ render: renderTextEllipsis
14846
14911
  }, {
14847
14912
  dataIndex: 'specBarcode',
14848
14913
  title: "\u89C4\u683C\u6761\u7801",
14849
14914
  ellipsis: true,
14850
- width: 150
14915
+ width: 150,
14916
+ render: renderTextEllipsis
14851
14917
  }, {
14852
14918
  dataIndex: 'specImgUrl',
14853
14919
  title: "SKU \u56FE\u7247",
@@ -14855,7 +14921,7 @@ var kmColumns = [{
14855
14921
  width: 150,
14856
14922
  render: function render(val) {
14857
14923
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
14858
- width: 60,
14924
+ width: 30,
14859
14925
  src: val
14860
14926
  });
14861
14927
  }
@@ -14865,7 +14931,7 @@ var kmColumns = [{
14865
14931
  ellipsis: true,
14866
14932
  width: 150,
14867
14933
  render: function render(val) {
14868
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo(val));
14934
+ return renderTextEllipsis(getYesOrNo(val));
14869
14935
  }
14870
14936
  }, {
14871
14937
  dataIndex: 'isVirtual',
@@ -14873,7 +14939,7 @@ var kmColumns = [{
14873
14939
  ellipsis: true,
14874
14940
  width: 150,
14875
14941
  render: function render(val) {
14876
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo(val));
14942
+ return renderTextEllipsis(getYesOrNo(val));
14877
14943
  }
14878
14944
  }, {
14879
14945
  dataIndex: 'isSkuItem',
@@ -14881,23 +14947,26 @@ var kmColumns = [{
14881
14947
  ellipsis: true,
14882
14948
  width: 150,
14883
14949
  render: function render(val) {
14884
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo(val));
14950
+ return renderTextEllipsis(getYesOrNo(val));
14885
14951
  }
14886
14952
  }, {
14887
14953
  dataIndex: 'marketPrice',
14888
14954
  title: "\u5E02\u573A\u4EF7",
14889
14955
  ellipsis: true,
14890
- width: 150
14956
+ width: 150,
14957
+ render: renderTextEllipsis
14891
14958
  }, {
14892
14959
  dataIndex: 'retailPrice',
14893
14960
  title: "\u96F6\u552E\u4EF7",
14894
14961
  ellipsis: true,
14895
- width: 150
14962
+ width: 150,
14963
+ render: renderTextEllipsis
14896
14964
  }, {
14897
14965
  dataIndex: 'costPrice',
14898
14966
  title: "\u6210\u672C\u4EF7",
14899
14967
  ellipsis: true,
14900
- width: 150
14968
+ width: 150,
14969
+ render: renderTextEllipsis
14901
14970
  }];
14902
14971
 
14903
14972
  var getYesOrNo$1 = function getYesOrNo(val) {
@@ -14908,17 +14977,20 @@ var jyColumns = [{
14908
14977
  dataIndex: 'goodName',
14909
14978
  title: '商品名称',
14910
14979
  width: 250,
14911
- ellipsis: true
14980
+ ellipsis: true,
14981
+ render: renderTextEllipsis
14912
14982
  }, {
14913
14983
  dataIndex: 'goodNo',
14914
14984
  title: '商品编码',
14915
14985
  width: 150,
14916
- ellipsis: true
14986
+ ellipsis: true,
14987
+ render: renderTextEllipsis
14917
14988
  }, {
14918
14989
  dataIndex: 'goodId',
14919
14990
  title: '商品ID',
14920
14991
  width: 150,
14921
- ellipsis: true
14992
+ ellipsis: true,
14993
+ render: renderTextEllipsis
14922
14994
  }, {
14923
14995
  dataIndex: 'imageUrl',
14924
14996
  title: '商品图片',
@@ -14926,8 +14998,8 @@ var jyColumns = [{
14926
14998
  render: function render(picUrl) {
14927
14999
  return picUrl ? /*#__PURE__*/React__default['default'].createElement("img", {
14928
15000
  style: {
14929
- width: '40px',
14930
- height: '40px',
15001
+ width: '30px',
15002
+ height: '30px',
14931
15003
  objectFit: 'contain'
14932
15004
  },
14933
15005
  src: picUrl
@@ -14937,37 +15009,44 @@ var jyColumns = [{
14937
15009
  dataIndex: 'goodShortName',
14938
15010
  title: "\u5546\u54C1\u7B80\u79F0",
14939
15011
  ellipsis: true,
14940
- width: 150
15012
+ width: 150,
15013
+ render: renderTextEllipsis
14941
15014
  }, {
14942
15015
  dataIndex: 'categoryName',
14943
15016
  title: "\u5546\u54C1\u7EC4",
14944
15017
  ellipsis: true,
14945
- width: 150
15018
+ width: 150,
15019
+ render: renderTextEllipsis
14946
15020
  }, {
14947
15021
  dataIndex: 'brandName',
14948
15022
  title: '品牌名称',
14949
15023
  width: 200,
14950
- ellipsis: true
15024
+ ellipsis: true,
15025
+ render: renderTextEllipsis
14951
15026
  }, {
14952
15027
  dataIndex: 'specName',
14953
15028
  title: '规格名称',
14954
15029
  width: 250,
14955
- ellipsis: true
15030
+ ellipsis: true,
15031
+ render: renderTextEllipsis
14956
15032
  }, {
14957
15033
  dataIndex: 'specNo',
14958
15034
  title: '规格编码',
14959
15035
  width: 150,
14960
- ellipsis: true
15036
+ ellipsis: true,
15037
+ render: renderTextEllipsis
14961
15038
  }, {
14962
15039
  dataIndex: 'specId',
14963
15040
  title: '规格ID',
14964
15041
  width: 250,
14965
- ellipsis: true
15042
+ ellipsis: true,
15043
+ render: renderTextEllipsis
14966
15044
  }, {
14967
15045
  dataIndex: 'specBarcode',
14968
15046
  title: '规格条码',
14969
15047
  width: 150,
14970
- ellipsis: true
15048
+ ellipsis: true,
15049
+ render: renderTextEllipsis
14971
15050
  }, {
14972
15051
  dataIndex: 'specImgUrl',
14973
15052
  title: '规格图片',
@@ -14975,8 +15054,8 @@ var jyColumns = [{
14975
15054
  render: function render(picUrl) {
14976
15055
  return picUrl ? /*#__PURE__*/React__default['default'].createElement("img", {
14977
15056
  style: {
14978
- width: '40px',
14979
- height: '40px',
15057
+ width: '30px',
15058
+ height: '30px',
14980
15059
  objectFit: 'contain'
14981
15060
  },
14982
15061
  src: picUrl
@@ -14986,34 +15065,39 @@ var jyColumns = [{
14986
15065
  dataIndex: 'colorName',
14987
15066
  title: "\u989C\u8272",
14988
15067
  ellipsis: true,
14989
- width: 100
15068
+ width: 100,
15069
+ render: renderTextEllipsis
14990
15070
  }, {
14991
15071
  dataIndex: 'sizeName',
14992
15072
  title: "\u5C3A\u7801",
14993
15073
  ellipsis: true,
14994
- width: 100
15074
+ width: 100,
15075
+ render: renderTextEllipsis
14995
15076
  }, {
14996
15077
  dataIndex: 'marketPrice',
14997
15078
  title: "\u5E02\u573A\u4EF7",
14998
15079
  ellipsis: true,
14999
- width: 100
15080
+ width: 100,
15081
+ render: renderTextEllipsis
15000
15082
  }, {
15001
15083
  dataIndex: 'retailPrice',
15002
15084
  title: "\u96F6\u552E\u4EF7",
15003
15085
  ellipsis: true,
15004
- width: 100
15086
+ width: 100,
15087
+ render: renderTextEllipsis
15005
15088
  }, {
15006
15089
  dataIndex: 'costPrice',
15007
15090
  title: "\u6210\u672C\u4EF7",
15008
15091
  ellipsis: true,
15009
- width: 100
15092
+ width: 100,
15093
+ render: renderTextEllipsis
15010
15094
  }, {
15011
15095
  dataIndex: 'isGift',
15012
15096
  title: "\u662F\u5426\u8D60\u54C1",
15013
15097
  ellipsis: true,
15014
15098
  width: 150,
15015
15099
  render: function render(val) {
15016
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$1(val));
15100
+ return renderTextEllipsis(getYesOrNo$1(val));
15017
15101
  }
15018
15102
  }, {
15019
15103
  dataIndex: 'skuType',
@@ -15021,7 +15105,7 @@ var jyColumns = [{
15021
15105
  ellipsis: true,
15022
15106
  width: 150,
15023
15107
  render: function render(val) {
15024
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$1(val === 'combine'));
15108
+ return renderTextEllipsis(getYesOrNo$1(val === 'combine'));
15025
15109
  }
15026
15110
  }];
15027
15111
 
@@ -15166,7 +15250,8 @@ function SearchForm(_ref) {
15166
15250
  }();
15167
15251
  return /*#__PURE__*/React__default['default'].createElement(antd.Form, {
15168
15252
  layout: "inline",
15169
- form: form
15253
+ form: form,
15254
+ className: "search-form"
15170
15255
  }, searchFormData.map(function (item) {
15171
15256
  var label = item.label,
15172
15257
  name = item.name,
@@ -15206,7 +15291,8 @@ function SearchForm(_ref) {
15206
15291
  }), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
15207
15292
  style: {
15208
15293
  marginBottom: '12px'
15209
- }
15294
+ },
15295
+ className: "search-form-actions"
15210
15296
  }, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
15211
15297
  type: "primary",
15212
15298
  style: {
@@ -15450,7 +15536,8 @@ var GoodList = function GoodList(props, ref) {
15450
15536
  style: {
15451
15537
  marginTop: '4px'
15452
15538
  }
15453
- }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
15539
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({
15540
+ className: "GoodModalColumns",
15454
15541
  rowSelection: rowSelection,
15455
15542
  rowKey: "specNo",
15456
15543
  columns: columns,
@@ -15458,7 +15545,9 @@ var GoodList = function GoodList(props, ref) {
15458
15545
  x: '100%',
15459
15546
  y: 250
15460
15547
  }
15461
- }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15548
+ }, tableProps), {}, {
15549
+ size: "small"
15550
+ }))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15462
15551
  getPopupContainer: function getPopupContainer(triggerNode) {
15463
15552
  return triggerNode.parentElement;
15464
15553
  },
@@ -15702,13 +15791,15 @@ var GoodList$1 = function GoodList(props, ref) {
15702
15791
  marginTop: '4px'
15703
15792
  }
15704
15793
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
15794
+ className: "GoodModalColumns",
15705
15795
  rowSelection: rowSelection,
15706
15796
  rowKey: "goodNo",
15707
15797
  columns: columns,
15708
15798
  scroll: {
15709
15799
  x: '100%',
15710
15800
  y: 250
15711
- }
15801
+ },
15802
+ size: "small"
15712
15803
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15713
15804
  getPopupContainer: function getPopupContainer(triggerNode) {
15714
15805
  return triggerNode.parentElement;
@@ -15942,13 +16033,15 @@ var GoodList$2 = function GoodList(props, ref) {
15942
16033
  marginTop: '4px'
15943
16034
  }
15944
16035
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16036
+ className: "GoodModalColumns",
15945
16037
  rowSelection: rowSelection,
15946
16038
  rowKey: "specNo",
15947
16039
  columns: columns,
15948
16040
  scroll: {
15949
16041
  x: '100%',
15950
16042
  y: 250
15951
- }
16043
+ },
16044
+ size: "small"
15952
16045
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15953
16046
  getPopupContainer: function getPopupContainer(triggerNode) {
15954
16047
  return triggerNode.parentElement;
@@ -16186,13 +16279,15 @@ var GoodList$3 = function GoodList(props, ref) {
16186
16279
  marginTop: '4px'
16187
16280
  }
16188
16281
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16282
+ className: "GoodModalColumns",
16189
16283
  rowSelection: rowSelection,
16190
16284
  rowKey: rowCheckKey,
16191
16285
  columns: columns,
16192
16286
  scroll: {
16193
16287
  x: '100%',
16194
16288
  y: 250
16195
- }
16289
+ },
16290
+ size: "small"
16196
16291
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16197
16292
  getPopupContainer: function getPopupContainer(triggerNode) {
16198
16293
  return triggerNode.parentElement;
@@ -16427,7 +16522,8 @@ var GoodList$4 = function GoodList(props, ref) {
16427
16522
  style: {
16428
16523
  marginTop: '4px'
16429
16524
  }
16430
- }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16525
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({
16526
+ className: "GoodModalColumns",
16431
16527
  rowSelection: rowSelection,
16432
16528
  rowKey: "id",
16433
16529
  columns: columns,
@@ -16435,7 +16531,9 @@ var GoodList$4 = function GoodList(props, ref) {
16435
16531
  x: '100%',
16436
16532
  y: 250
16437
16533
  }
16438
- }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16534
+ }, tableProps), {}, {
16535
+ size: "small"
16536
+ }))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16439
16537
  getPopupContainer: function getPopupContainer(triggerNode) {
16440
16538
  return triggerNode.parentElement;
16441
16539
  },
@@ -16647,8 +16745,8 @@ function multiSelect() {
16647
16745
  };
16648
16746
  }
16649
16747
 
16650
- var css_248z$b = ".high-performance-table .lock-left {\n background: #FFF !important;\n}\n.high-performance-table .art-empty-wrapper {\n margin-top: 24px;\n}\n.high-performance-table .cell-content {\n height: 48px;\n display: flex;\n align-items: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 8px 12px;\n}\n";
16651
- styleInject(css_248z$b);
16748
+ var css_248z$d = ".high-performance-table .lock-left {\n background: #FFF !important;\n}\n.high-performance-table .art-empty-wrapper {\n margin-top: 24px;\n}\n.high-performance-table .cell-content {\n height: 48px;\n display: flex;\n align-items: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 8px 12px;\n}\n";
16749
+ styleInject(css_248z$d);
16652
16750
 
16653
16751
  var _excluded$e = ["children"];
16654
16752
  var Cell = function Cell(_ref) {
@@ -16749,8 +16847,8 @@ var HighPerformanceTable = function HighPerformanceTable(_ref2) {
16749
16847
  })));
16750
16848
  };
16751
16849
 
16752
- var css_248z$c = ".search-header-wrap .is-open {\n height: auto;\n}\n.search-header-wrap .not-open {\n max-height: 71px;\n overflow-y: auto;\n}\n#table-resizable .header {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n background-color: #fff;\n}\n#table-resizable .header .operate {\n height: 32px;\n padding: 8px 0;\n cursor: pointer;\n}\n#table-resizable .header .operate .anticon {\n font-size: 16px;\n}\n#table-resizable .header .operate .anticon:hover {\n color: #1b5bf3;\n transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n#table-resizable .header .title {\n font-weight: bold;\n}\n#table-resizable .actions-layout {\n display: flex;\n justify-content: space-between;\n}\n#table-resizable .react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n#table-resizable th[colspan] {\n padding: 0px !important;\n overflow: hidden;\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 20px;\n white-space: nowrap;\n text-overflow: ellipsis;\n background: #e5e6eb;\n}\n#table-resizable .react-resizable-handle {\n position: absolute;\n right: -5px;\n bottom: 0;\n z-index: 1;\n width: 10px;\n height: 100%;\n cursor: col-resize;\n}\n#table-resizable .fz-12 {\n padding-right: 8px;\n font-size: 12px;\n}\n#table-resizable .tableFooter {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 64px;\n padding: 0 36px 0 24px;\n background-color: #fff;\n}\n#table-resizable .tableFooter .total {\n /* 文字色/86909C */\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 22px;\n letter-spacing: 0px;\n}\n#table-resizable .ant-table-tbody > tr > td {\n padding: 4px 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#table-resizable .ant-form-item {\n margin-bottom: 4px;\n margin-right: 0;\n}\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-last::after,\n#table-resizable .ant-table-thead > tr > th,\n#table-resizable .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table .ant-table-container::before,\n#table-resizable .ant-table .ant-table-container::after,\n#table-resizable .ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container::after,\n#table-resizable .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(\n .ant-table-row-expand-icon-cell\n ):not([colspan])::before,\n#table-resizable .ant-table-cell-fix-left-last::after {\n box-shadow: none;\n transform: none;\n transition: none;\n}\n#table-resizable .ant-checkbox-checked .ant-checkbox-inner::after {\n transition: none;\n}\n#table-resizable .ant-checkbox-checked::after {\n animation: none;\n}\n#table-resizable .rowSelectClass {\n background-color: #eee;\n}\n#table-resizable .rowSelectClass .ant-table-cell-fix-left {\n background-color: #eee;\n}\n";
16753
- styleInject(css_248z$c);
16850
+ var css_248z$e = ".search-header-wrap .is-open {\n height: auto;\n}\n.search-header-wrap .not-open {\n max-height: 71px;\n overflow-y: auto;\n}\n#table-resizable .header {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n background-color: #fff;\n}\n#table-resizable .header .operate {\n height: 32px;\n padding: 8px 0;\n cursor: pointer;\n}\n#table-resizable .header .operate .anticon {\n font-size: 16px;\n}\n#table-resizable .header .operate .anticon:hover {\n color: #1b5bf3;\n transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n#table-resizable .header .title {\n font-weight: bold;\n}\n#table-resizable .actions-layout {\n display: flex;\n justify-content: space-between;\n}\n#table-resizable .react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n#table-resizable th[colspan] {\n padding: 0px !important;\n overflow: hidden;\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 20px;\n white-space: nowrap;\n text-overflow: ellipsis;\n background: #e5e6eb;\n}\n#table-resizable .react-resizable-handle {\n position: absolute;\n right: -5px;\n bottom: 0;\n z-index: 1;\n width: 10px;\n height: 100%;\n cursor: col-resize;\n}\n#table-resizable .fz-12 {\n padding-right: 8px;\n font-size: 12px;\n}\n#table-resizable .tableFooter {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 64px;\n padding: 0 36px 0 24px;\n background-color: #fff;\n}\n#table-resizable .tableFooter .total {\n /* 文字色/86909C */\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 22px;\n letter-spacing: 0px;\n}\n#table-resizable .ant-table-tbody > tr > td {\n padding: 4px 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#table-resizable .ant-form-item {\n margin-bottom: 4px;\n margin-right: 0;\n}\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-last::after,\n#table-resizable .ant-table-thead > tr > th,\n#table-resizable .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table .ant-table-container::before,\n#table-resizable .ant-table .ant-table-container::after,\n#table-resizable .ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container::after,\n#table-resizable .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(\n .ant-table-row-expand-icon-cell\n ):not([colspan])::before,\n#table-resizable .ant-table-cell-fix-left-last::after {\n box-shadow: none;\n transform: none;\n transition: none;\n}\n#table-resizable .ant-checkbox-checked .ant-checkbox-inner::after {\n transition: none;\n}\n#table-resizable .ant-checkbox-checked::after {\n animation: none;\n}\n#table-resizable .rowSelectClass {\n background-color: #eee;\n}\n#table-resizable .rowSelectClass .ant-table-cell-fix-left {\n background-color: #eee;\n}\n";
16851
+ styleInject(css_248z$e);
16754
16852
 
16755
16853
  var TrimInput = function TrimInput(props) {
16756
16854
  var handleBlur = function handleBlur(e) {
@@ -18089,13 +18187,15 @@ var GoodList$5 = function GoodList(props, ref) {
18089
18187
  marginTop: '4px'
18090
18188
  }
18091
18189
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
18190
+ className: "GoodModalColumns",
18092
18191
  rowSelection: rowSelection,
18093
18192
  rowKey: "id",
18094
18193
  columns: columns,
18095
18194
  scroll: {
18096
18195
  x: '100%',
18097
18196
  y: 250
18098
- }
18197
+ },
18198
+ size: "small"
18099
18199
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
18100
18200
  getPopupContainer: function getPopupContainer(triggerNode) {
18101
18201
  return triggerNode.parentElement;
@@ -18166,57 +18266,68 @@ var getColumns = function getColumns(_ref) {
18166
18266
  BS_E3_REISSUE_GOODS: [{
18167
18267
  dataIndex: 'sku',
18168
18268
  title: "SKU",
18169
- width: 150
18269
+ width: 150,
18270
+ render: renderTextEllipsis
18170
18271
  }, {
18171
18272
  dataIndex: 'skuId',
18172
18273
  title: "SKU ID",
18173
- width: 150
18274
+ width: 150,
18275
+ render: renderTextEllipsis
18174
18276
  }, {
18175
18277
  dataIndex: 'goodsName',
18176
18278
  title: "\u5546\u54C1\u540D\u79F0",
18177
- width: 150
18279
+ width: 150,
18280
+ render: renderTextEllipsis
18178
18281
  }, {
18179
18282
  dataIndex: 'goodsShortName',
18180
18283
  title: "\u5546\u54C1\u7B80\u79F0",
18181
- width: 150
18284
+ width: 150,
18285
+ render: renderTextEllipsis
18182
18286
  }, {
18183
18287
  dataIndex: 'picPath',
18184
18288
  title: "\u5546\u54C1\u56FE\u7247",
18185
18289
  width: 150,
18186
18290
  render: function render(val) {
18187
18291
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18188
- width: 60,
18292
+ width: 30,
18189
18293
  src: val
18190
18294
  });
18191
18295
  }
18192
18296
  }, {
18193
18297
  dataIndex: 'goodsSn',
18194
18298
  title: "\u8D27\u53F7",
18195
- width: 150
18299
+ width: 150,
18300
+ render: renderTextEllipsis
18196
18301
  }, {
18197
18302
  dataIndex: 'goodsId',
18198
18303
  title: "\u8D27\u53F7ID",
18199
- width: 150
18304
+ width: 150,
18305
+ render: renderTextEllipsis
18200
18306
  }, {
18201
18307
  dataIndex: 'colorName',
18202
18308
  title: "\u989C\u8272\u540D\u79F0",
18203
- width: 150
18309
+ width: 150,
18310
+ render: renderTextEllipsis
18204
18311
  }, {
18205
18312
  dataIndex: 'colorCode',
18206
18313
  title: "\u989C\u8272\u4EE3\u7801",
18207
- width: 150
18314
+ width: 150,
18315
+ render: renderTextEllipsis
18208
18316
  }, {
18209
18317
  dataIndex: 'sizeName',
18210
18318
  title: "\u5C3A\u7801\u540D\u79F0",
18211
- width: 150
18319
+ width: 150,
18320
+ render: renderTextEllipsis
18212
18321
  }, {
18213
18322
  dataIndex: 'sizeCode',
18214
18323
  title: "\u5C3A\u7801\u4EE3\u7801",
18215
- width: 150
18324
+ width: 150,
18325
+ render: renderTextEllipsis
18216
18326
  }, {
18217
18327
  dataIndex: 'brandName',
18218
18328
  title: "\u54C1\u724C\u540D\u79F0",
18219
- width: 150
18329
+ width: 150,
18330
+ render: renderTextEllipsis
18220
18331
  }, {
18221
18332
  dataIndex: 'goodsNumber',
18222
18333
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18243,25 +18354,29 @@ var getColumns = function getColumns(_ref) {
18243
18354
  title: "SKU",
18244
18355
  align: 'center',
18245
18356
  ellipsis: true,
18246
- width: 150
18357
+ width: 150,
18358
+ render: renderTextEllipsis
18247
18359
  }, {
18248
18360
  dataIndex: 'skuId',
18249
18361
  title: "SKU ID",
18250
18362
  align: 'center',
18251
18363
  ellipsis: true,
18252
- width: 150
18364
+ width: 150,
18365
+ render: renderTextEllipsis
18253
18366
  }, {
18254
18367
  dataIndex: 'goodsName',
18255
18368
  title: "\u5546\u54C1\u540D\u79F0",
18256
18369
  align: 'center',
18257
18370
  ellipsis: true,
18258
- width: 150
18371
+ width: 150,
18372
+ render: renderTextEllipsis
18259
18373
  }, {
18260
18374
  dataIndex: 'goodsShortName',
18261
18375
  title: "\u5546\u54C1\u7B80\u79F0",
18262
18376
  align: 'center',
18263
18377
  ellipsis: true,
18264
- width: 100
18378
+ width: 100,
18379
+ render: renderTextEllipsis
18265
18380
  }, {
18266
18381
  dataIndex: 'picPath',
18267
18382
  title: "\u5546\u54C1\u56FE\u7247",
@@ -18270,7 +18385,7 @@ var getColumns = function getColumns(_ref) {
18270
18385
  width: 100,
18271
18386
  render: function render(val) {
18272
18387
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18273
- width: 60,
18388
+ width: 30,
18274
18389
  src: val
18275
18390
  });
18276
18391
  }
@@ -18279,43 +18394,50 @@ var getColumns = function getColumns(_ref) {
18279
18394
  title: "\u8D27\u53F7",
18280
18395
  align: 'center',
18281
18396
  ellipsis: true,
18282
- width: 150
18397
+ width: 150,
18398
+ render: renderTextEllipsis
18283
18399
  }, {
18284
18400
  dataIndex: 'goodsId',
18285
18401
  title: "\u8D27\u53F7ID",
18286
18402
  align: 'center',
18287
18403
  ellipsis: true,
18288
- width: 150
18404
+ width: 150,
18405
+ render: renderTextEllipsis
18289
18406
  }, {
18290
18407
  dataIndex: 'colorName',
18291
18408
  title: "\u989C\u8272\u540D\u79F0",
18292
18409
  align: 'center',
18293
18410
  ellipsis: true,
18294
- width: 100
18411
+ width: 100,
18412
+ render: renderTextEllipsis
18295
18413
  }, {
18296
18414
  dataIndex: 'colorCode',
18297
18415
  title: "\u989C\u8272\u4EE3\u7801",
18298
18416
  align: 'center',
18299
18417
  ellipsis: true,
18300
- width: 150
18418
+ width: 150,
18419
+ render: renderTextEllipsis
18301
18420
  }, {
18302
18421
  dataIndex: 'sizeName',
18303
18422
  title: "\u5C3A\u7801\u540D\u79F0",
18304
18423
  align: 'center',
18305
18424
  ellipsis: true,
18306
- width: 100
18425
+ width: 100,
18426
+ render: renderTextEllipsis
18307
18427
  }, {
18308
18428
  dataIndex: 'sizeCode',
18309
18429
  title: "\u5C3A\u7801\u4EE3\u7801",
18310
18430
  align: 'center',
18311
18431
  ellipsis: true,
18312
- width: 100
18432
+ width: 100,
18433
+ render: renderTextEllipsis
18313
18434
  }, {
18314
18435
  dataIndex: 'brandName',
18315
18436
  title: "\u54C1\u724C\u540D\u79F0",
18316
18437
  align: 'center',
18317
18438
  ellipsis: true,
18318
- width: 150
18439
+ width: 150,
18440
+ render: renderTextEllipsis
18319
18441
  }, {
18320
18442
  dataIndex: 'goodsNumber',
18321
18443
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18396,7 +18518,8 @@ var getColumns = function getColumns(_ref) {
18396
18518
  title: "\u5957\u9910SKU",
18397
18519
  align: 'center',
18398
18520
  ellipsis: true,
18399
- width: 150
18521
+ width: 150,
18522
+ render: renderTextEllipsis
18400
18523
  }, {
18401
18524
  dataIndex: 'tcGoodsNumber',
18402
18525
  title: "\u5957\u9910\u5957\u6570",
@@ -18456,19 +18579,22 @@ var getColumns$1 = function getColumns(_ref) {
18456
18579
  title: "".concat(text, "sku\u540D\u79F0"),
18457
18580
  align: 'center',
18458
18581
  ellipsis: true,
18459
- width: 250
18582
+ width: 250,
18583
+ render: renderTextEllipsis
18460
18584
  }, {
18461
18585
  dataIndex: 'sku',
18462
18586
  title: "".concat(text, "sku\u7F16\u7801"),
18463
18587
  align: 'center',
18464
18588
  ellipsis: true,
18465
- width: 100
18589
+ width: 100,
18590
+ render: renderTextEllipsis
18466
18591
  }, {
18467
18592
  dataIndex: 'name',
18468
18593
  title: "".concat(text, "\u540D\u79F0"),
18469
18594
  align: 'center',
18470
18595
  ellipsis: true,
18471
- width: 250
18596
+ width: 250,
18597
+ render: renderTextEllipsis
18472
18598
  }, {
18473
18599
  dataIndex: 'pic',
18474
18600
  title: "\u56FE\u7247",
@@ -18477,7 +18603,7 @@ var getColumns$1 = function getColumns(_ref) {
18477
18603
  width: 100,
18478
18604
  render: function render(val) {
18479
18605
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18480
- width: 60,
18606
+ width: 30,
18481
18607
  src: val
18482
18608
  });
18483
18609
  }
@@ -18486,7 +18612,8 @@ var getColumns$1 = function getColumns(_ref) {
18486
18612
  title: "".concat(text, "\u7F16\u7801"),
18487
18613
  align: 'center',
18488
18614
  ellipsis: true,
18489
- width: 100
18615
+ width: 100,
18616
+ render: renderTextEllipsis
18490
18617
  }, {
18491
18618
  dataIndex: 'money',
18492
18619
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -18514,10 +18641,10 @@ var getColumns$1 = function getColumns(_ref) {
18514
18641
  }
18515
18642
  }, {
18516
18643
  dataIndex: 'share',
18517
- title: "\u5206\u644A\u4EF7",
18644
+ title: "\u5747\u644A\u5355\u4EF7",
18518
18645
  align: 'center',
18519
18646
  ellipsis: true,
18520
- width: 70
18647
+ width: 120
18521
18648
  }, {
18522
18649
  dataIndex: 'type',
18523
18650
  title: "\u8D60\u54C1\u7C7B\u578B",
@@ -18529,13 +18656,15 @@ var getColumns$1 = function getColumns(_ref) {
18529
18656
  title: "\u6279\u6B21\u53F7",
18530
18657
  align: 'center',
18531
18658
  ellipsis: true,
18532
- width: 100
18659
+ width: 100,
18660
+ render: renderTextEllipsis
18533
18661
  }, {
18534
18662
  dataIndex: 'expireDate',
18535
18663
  title: "\u6709\u6548\u671F",
18536
18664
  align: 'center',
18537
18665
  ellipsis: true,
18538
- width: 100
18666
+ width: 100,
18667
+ render: renderTextEllipsis
18539
18668
  }]
18540
18669
  };
18541
18670
  };
@@ -18550,7 +18679,7 @@ var renderGiftType = function renderGiftType(val) {
18550
18679
  6: '天猫优仓赠品',
18551
18680
  7: '淘宝CRM会员送赠'
18552
18681
  };
18553
- return /*#__PURE__*/React__default['default'].createElement("span", null, giftTypeMap[val]);
18682
+ return renderTextEllipsis(giftTypeMap[val]);
18554
18683
  };
18555
18684
  var renderFieldMap = {
18556
18685
  num: function num(_ref) {
@@ -18605,15 +18734,17 @@ var getColumns$2 = function getColumns(_ref) {
18605
18734
  WDT_REISSUE_GOODS: [{
18606
18735
  dataIndex: 'goodId',
18607
18736
  title: "\u5546\u54C1ID",
18608
- width: 120,
18737
+ width: 250,
18609
18738
  align: 'center',
18610
- ellipsis: true
18739
+ ellipsis: true,
18740
+ render: renderTextEllipsis
18611
18741
  }, {
18612
18742
  dataIndex: 'goodNo',
18613
18743
  title: "\u5546\u54C1\u7F16\u7801",
18614
18744
  align: 'center',
18615
18745
  ellipsis: true,
18616
- width: 180
18746
+ width: 180,
18747
+ render: renderTextEllipsis
18617
18748
  }, {
18618
18749
  dataIndex: 'goodName',
18619
18750
  title: "\u5546\u54C1\u540D\u79F0",
@@ -18628,24 +18759,30 @@ var getColumns$2 = function getColumns(_ref) {
18628
18759
  dataIndex: 'apiGoodsName',
18629
18760
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18630
18761
  width: 200,
18631
- align: 'center'
18762
+ align: 'center',
18763
+ ellipsis: true,
18764
+ render: renderTextEllipsis
18632
18765
  }, {
18633
18766
  dataIndex: 'platformGoodsId',
18634
18767
  title: "\u5E73\u53F0\u5546\u54C1ID",
18635
18768
  width: 180,
18636
- align: 'center'
18769
+ align: 'center',
18770
+ ellipsis: true,
18771
+ render: renderTextEllipsis
18637
18772
  }, {
18638
18773
  dataIndex: 'specId',
18639
18774
  title: "SKUID",
18640
18775
  align: 'center',
18641
18776
  ellipsis: true,
18642
- width: 150
18777
+ width: 150,
18778
+ render: renderTextEllipsis
18643
18779
  }, {
18644
18780
  dataIndex: 'specNo',
18645
18781
  title: "\u5546\u54C1SKU\u7F16\u7801",
18646
18782
  align: 'center',
18647
18783
  ellipsis: true,
18648
- width: 180
18784
+ width: 180,
18785
+ render: renderTextEllipsis
18649
18786
  }, {
18650
18787
  dataIndex: 'specName',
18651
18788
  title: "\u5546\u54C1SKU\u540D\u79F0",
@@ -18660,12 +18797,22 @@ var getColumns$2 = function getColumns(_ref) {
18660
18797
  dataIndex: 'apiSpecName',
18661
18798
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18662
18799
  width: 200,
18663
- align: 'center'
18800
+ align: 'center',
18801
+ ellipsis: true,
18802
+ render: renderTextEllipsis
18664
18803
  }, {
18665
18804
  dataIndex: 'platformSpecId',
18666
18805
  title: "\u5E73\u53F0\u89C4\u683CID",
18667
18806
  width: 180,
18668
- align: 'center'
18807
+ align: 'center',
18808
+ ellipsis: true
18809
+ }, {
18810
+ dataIndex: 'brandName',
18811
+ title: "\u54C1\u724C\u540D\u79F0",
18812
+ width: 180,
18813
+ align: 'center',
18814
+ ellipsis: true,
18815
+ render: renderTextEllipsis
18669
18816
  }, {
18670
18817
  dataIndex: 'orderPrice',
18671
18818
  title: "\u6210\u4EA4\u603B\u91D1\u989D",
@@ -18693,13 +18840,15 @@ var getColumns$2 = function getColumns(_ref) {
18693
18840
  title: "\u5546\u54C1ID",
18694
18841
  align: 'center',
18695
18842
  ellipsis: true,
18696
- width: 70
18843
+ width: 250,
18844
+ render: renderTextEllipsis
18697
18845
  }, {
18698
18846
  dataIndex: 'goodNo',
18699
18847
  title: "\u5546\u54C1\u7F16\u7801",
18700
18848
  align: 'center',
18701
18849
  ellipsis: true,
18702
- width: 180
18850
+ width: 180,
18851
+ render: renderTextEllipsis
18703
18852
  }, {
18704
18853
  dataIndex: 'goodName',
18705
18854
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18714,24 +18863,30 @@ var getColumns$2 = function getColumns(_ref) {
18714
18863
  dataIndex: 'apiGoodsName',
18715
18864
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18716
18865
  width: 200,
18717
- align: 'center'
18866
+ align: 'center',
18867
+ ellipsis: true,
18868
+ render: renderTextEllipsis
18718
18869
  }, {
18719
18870
  dataIndex: 'platformGoodsId',
18720
18871
  title: "\u5E73\u53F0\u5546\u54C1ID",
18721
18872
  width: 180,
18722
- align: 'center'
18873
+ align: 'center',
18874
+ ellipsis: true,
18875
+ render: renderTextEllipsis
18723
18876
  }, {
18724
18877
  dataIndex: 'specId',
18725
18878
  title: "".concat(text, "SKUID"),
18726
18879
  align: 'center',
18727
18880
  ellipsis: true,
18728
- width: 100
18881
+ width: 150,
18882
+ render: renderTextEllipsis
18729
18883
  }, {
18730
18884
  dataIndex: 'specNo',
18731
18885
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18732
18886
  align: 'center',
18733
18887
  ellipsis: true,
18734
- width: 180
18888
+ width: 180,
18889
+ render: renderTextEllipsis
18735
18890
  }, {
18736
18891
  dataIndex: 'specName',
18737
18892
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18746,12 +18901,22 @@ var getColumns$2 = function getColumns(_ref) {
18746
18901
  dataIndex: 'apiSpecName',
18747
18902
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18748
18903
  width: 200,
18749
- align: 'center'
18904
+ align: 'center',
18905
+ ellipsis: true,
18906
+ render: renderTextEllipsis
18750
18907
  }, {
18751
18908
  dataIndex: 'platformSpecId',
18752
18909
  title: "\u5E73\u53F0\u89C4\u683CID",
18753
18910
  width: 180,
18754
- align: 'center'
18911
+ align: 'center',
18912
+ ellipsis: true
18913
+ }, {
18914
+ dataIndex: 'brandName',
18915
+ title: "\u54C1\u724C\u540D\u79F0",
18916
+ width: 180,
18917
+ align: 'center',
18918
+ ellipsis: true,
18919
+ render: renderTextEllipsis
18755
18920
  }, {
18756
18921
  dataIndex: 'orderPrice',
18757
18922
  title: "\u6210\u4EA4\u603B\u91D1\u989D",
@@ -18791,8 +18956,7 @@ var getColumns$2 = function getColumns(_ref) {
18791
18956
  title: "\u8D60\u54C1\u65B9\u5F0F",
18792
18957
  align: 'center',
18793
18958
  ellipsis: true,
18794
- width: 100,
18795
- render: renderGiftType
18959
+ width: 100
18796
18960
  }],
18797
18961
  //旺店通退货商品信息
18798
18962
  WDT_RETURN_GOODS: [{
@@ -18800,13 +18964,15 @@ var getColumns$2 = function getColumns(_ref) {
18800
18964
  title: "\u5546\u54C1ID",
18801
18965
  align: 'center',
18802
18966
  ellipsis: true,
18803
- width: 70
18967
+ width: 250,
18968
+ render: renderTextEllipsis
18804
18969
  }, {
18805
18970
  dataIndex: 'goodNo',
18806
18971
  title: "\u5546\u54C1\u7F16\u7801",
18807
18972
  align: 'center',
18808
18973
  ellipsis: true,
18809
- width: 180
18974
+ width: 180,
18975
+ render: renderTextEllipsis
18810
18976
  }, {
18811
18977
  dataIndex: 'goodName',
18812
18978
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18821,24 +18987,30 @@ var getColumns$2 = function getColumns(_ref) {
18821
18987
  dataIndex: 'apiGoodsName',
18822
18988
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18823
18989
  width: 200,
18824
- align: 'center'
18990
+ align: 'center',
18991
+ ellipsis: true,
18992
+ render: renderTextEllipsis
18825
18993
  }, {
18826
18994
  dataIndex: 'platformGoodsId',
18827
18995
  title: "\u5E73\u53F0\u5546\u54C1ID",
18828
18996
  width: 180,
18829
- align: 'center'
18997
+ align: 'center',
18998
+ ellipsis: true,
18999
+ render: renderTextEllipsis
18830
19000
  }, {
18831
19001
  dataIndex: 'specId',
18832
19002
  title: "".concat(text, "SKUID"),
18833
19003
  align: 'center',
18834
19004
  ellipsis: true,
18835
- width: 100
19005
+ width: 100,
19006
+ render: renderTextEllipsis
18836
19007
  }, {
18837
19008
  dataIndex: 'specNo',
18838
19009
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18839
19010
  align: 'center',
18840
19011
  ellipsis: true,
18841
- width: 180
19012
+ width: 180,
19013
+ render: renderTextEllipsis
18842
19014
  }, {
18843
19015
  dataIndex: 'specName',
18844
19016
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18853,12 +19025,22 @@ var getColumns$2 = function getColumns(_ref) {
18853
19025
  dataIndex: 'apiSpecName',
18854
19026
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18855
19027
  width: 200,
18856
- align: 'center'
19028
+ align: 'center',
19029
+ ellipsis: true,
19030
+ render: renderTextEllipsis
18857
19031
  }, {
18858
19032
  dataIndex: 'platformSpecId',
18859
19033
  title: "\u5E73\u53F0\u89C4\u683CID",
18860
19034
  width: 180,
18861
- align: 'center'
19035
+ align: 'center',
19036
+ ellipsis: true
19037
+ }, {
19038
+ dataIndex: 'brandName',
19039
+ title: "\u54C1\u724C\u540D\u79F0",
19040
+ width: 180,
19041
+ align: 'center',
19042
+ ellipsis: true,
19043
+ render: renderTextEllipsis
18862
19044
  }, {
18863
19045
  dataIndex: 'num',
18864
19046
  title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
@@ -18945,13 +19127,15 @@ var getColumns$2 = function getColumns(_ref) {
18945
19127
  title: "\u5546\u54C1ID",
18946
19128
  align: 'center',
18947
19129
  ellipsis: true,
18948
- width: 70
19130
+ width: 250,
19131
+ render: renderTextEllipsis
18949
19132
  }, {
18950
19133
  dataIndex: 'goodNo',
18951
19134
  title: "\u5546\u54C1\u7F16\u7801",
18952
19135
  align: 'center',
18953
19136
  ellipsis: true,
18954
- width: 180
19137
+ width: 180,
19138
+ render: renderTextEllipsis
18955
19139
  }, {
18956
19140
  dataIndex: 'goodName',
18957
19141
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18966,24 +19150,30 @@ var getColumns$2 = function getColumns(_ref) {
18966
19150
  dataIndex: 'apiGoodsName',
18967
19151
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18968
19152
  width: 200,
18969
- align: 'center'
19153
+ align: 'center',
19154
+ ellipsis: true,
19155
+ render: renderTextEllipsis
18970
19156
  }, {
18971
19157
  dataIndex: 'platformGoodsId',
18972
19158
  title: "\u5E73\u53F0\u5546\u54C1ID",
18973
19159
  width: 180,
18974
- align: 'center'
19160
+ align: 'center',
19161
+ ellipsis: true,
19162
+ render: renderTextEllipsis
18975
19163
  }, {
18976
19164
  dataIndex: 'specId',
18977
19165
  title: "".concat(text, "SKUID"),
18978
19166
  align: 'center',
18979
19167
  ellipsis: true,
18980
- width: 100
19168
+ width: 100,
19169
+ render: renderTextEllipsis
18981
19170
  }, {
18982
19171
  dataIndex: 'specNo',
18983
19172
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18984
19173
  align: 'center',
18985
19174
  ellipsis: true,
18986
- width: 180
19175
+ width: 180,
19176
+ render: renderTextEllipsis
18987
19177
  }, {
18988
19178
  dataIndex: 'specName',
18989
19179
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18998,12 +19188,22 @@ var getColumns$2 = function getColumns(_ref) {
18998
19188
  dataIndex: 'apiSpecName',
18999
19189
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
19000
19190
  width: 200,
19001
- align: 'center'
19191
+ align: 'center',
19192
+ ellipsis: true,
19193
+ render: renderTextEllipsis
19002
19194
  }, {
19003
19195
  dataIndex: 'platformSpecId',
19004
19196
  title: "\u5E73\u53F0\u89C4\u683CID",
19005
19197
  width: 180,
19006
- align: 'center'
19198
+ align: 'center',
19199
+ ellipsis: true
19200
+ }, {
19201
+ dataIndex: 'brandName',
19202
+ title: "\u54C1\u724C\u540D\u79F0",
19203
+ width: 180,
19204
+ align: 'center',
19205
+ ellipsis: true,
19206
+ render: renderTextEllipsis
19007
19207
  }, {
19008
19208
  dataIndex: 'num',
19009
19209
  title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
@@ -19103,43 +19303,50 @@ var getColumns$3 = function getColumns(_ref) {
19103
19303
  title: "\u5546\u54C1\u540D\u79F0",
19104
19304
  align: 'center',
19105
19305
  ellipsis: true,
19106
- width: 250
19306
+ width: 250,
19307
+ render: renderTextEllipsis
19107
19308
  }, {
19108
19309
  dataIndex: 'goodsCode',
19109
19310
  title: "\u5546\u54C1\u7F16\u7801",
19110
19311
  align: 'center',
19111
19312
  ellipsis: true,
19112
- width: 250
19313
+ width: 250,
19314
+ render: renderTextEllipsis
19113
19315
  }, {
19114
19316
  dataIndex: 'skuCode',
19115
19317
  title: "sku\u7F16\u7801",
19116
19318
  align: 'center',
19117
19319
  ellipsis: true,
19118
- width: 250
19320
+ width: 250,
19321
+ render: renderTextEllipsis
19119
19322
  }, {
19120
19323
  dataIndex: 'skuName',
19121
19324
  title: "\u7EBF\u4E0Asku\u540D\u79F0",
19122
19325
  align: 'center',
19123
19326
  ellipsis: true,
19124
- width: 250
19327
+ width: 250,
19328
+ render: renderTextEllipsis
19125
19329
  }, {
19126
19330
  dataIndex: 'olnSkuCode',
19127
19331
  title: "\u7EBF\u4E0Asku\u7F16\u7801",
19128
19332
  align: 'center',
19129
19333
  ellipsis: true,
19130
- width: 150
19334
+ width: 150,
19335
+ render: renderTextEllipsis
19131
19336
  }, {
19132
19337
  dataIndex: 'sku',
19133
19338
  title: "\u7EBF\u4E0Asku id",
19134
19339
  align: 'center',
19135
19340
  ellipsis: true,
19136
- width: 150
19341
+ width: 150,
19342
+ render: renderTextEllipsis
19137
19343
  }, {
19138
19344
  dataIndex: 'name',
19139
19345
  title: "\u7EBF\u4E0A\u5546\u54C1\u540D\u79F0",
19140
19346
  align: 'center',
19141
19347
  ellipsis: true,
19142
- width: 250
19348
+ width: 250,
19349
+ render: renderTextEllipsis
19143
19350
  }, {
19144
19351
  dataIndex: 'pic',
19145
19352
  title: "\u7EBF\u4E0A\u56FE\u7247",
@@ -19148,7 +19355,7 @@ var getColumns$3 = function getColumns(_ref) {
19148
19355
  width: 100,
19149
19356
  render: function render(val) {
19150
19357
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19151
- width: 60,
19358
+ width: 30,
19152
19359
  src: val
19153
19360
  });
19154
19361
  }
@@ -19157,25 +19364,29 @@ var getColumns$3 = function getColumns(_ref) {
19157
19364
  title: "\u7EBF\u4E0A\u5546\u54C1\u7F16\u7801",
19158
19365
  align: 'center',
19159
19366
  ellipsis: true,
19160
- width: 150
19367
+ width: 150,
19368
+ render: renderTextEllipsis
19161
19369
  }, {
19162
19370
  dataIndex: 'code',
19163
19371
  title: "\u7EBF\u4E0A\u5546\u54C1id",
19164
19372
  align: 'center',
19165
19373
  ellipsis: true,
19166
- width: 150
19374
+ width: 150,
19375
+ render: renderTextEllipsis
19167
19376
  }, {
19168
19377
  dataIndex: 'barCode',
19169
19378
  title: "\u5546\u54C1\u6761\u7801",
19170
19379
  align: 'center',
19171
19380
  ellipsis: true,
19172
- width: 150
19381
+ width: 150,
19382
+ render: renderTextEllipsis
19173
19383
  }, {
19174
19384
  dataIndex: 'money',
19175
19385
  title: "\u5B9E\u4ED8\u91D1\u989D",
19176
19386
  align: 'center',
19177
19387
  ellipsis: true,
19178
- width: 100
19388
+ width: 100,
19389
+ render: renderTextEllipsis
19179
19390
  }, {
19180
19391
  dataIndex: 'number',
19181
19392
  title: "".concat(text, "\u6570\u91CF"),
@@ -19200,13 +19411,15 @@ var getColumns$3 = function getColumns(_ref) {
19200
19411
  title: "\u5E94\u6536\u6B3E",
19201
19412
  align: 'center',
19202
19413
  ellipsis: true,
19203
- width: 70
19414
+ width: 70,
19415
+ render: renderTextEllipsis
19204
19416
  }, {
19205
19417
  dataIndex: 'type',
19206
19418
  title: "\u8D60\u54C1\u7C7B\u578B",
19207
19419
  align: 'center',
19208
19420
  ellipsis: true,
19209
- width: 100
19421
+ width: 100,
19422
+ render: renderTextEllipsis
19210
19423
  }, {
19211
19424
  dataIndex: 'isPackage',
19212
19425
  title: "\u662F\u5426\u7EC4\u5408\u5546\u54C1",
@@ -19260,27 +19473,32 @@ var getColumns$4 = function getColumns(_ref) {
19260
19473
  GY_GOODS: [{
19261
19474
  dataIndex: 'goodName',
19262
19475
  title: "\u5546\u54C1\u540D\u79F0",
19263
- width: 150
19476
+ width: 150,
19477
+ render: renderTextEllipsis
19264
19478
  }, {
19265
19479
  dataIndex: 'goodShortName',
19266
19480
  title: "\u5546\u54C1\u7B80\u79F0",
19267
- width: 150
19481
+ width: 150,
19482
+ render: renderTextEllipsis
19268
19483
  }, {
19269
19484
  dataIndex: 'goodNo',
19270
19485
  title: "\u5546\u54C1\u7F16\u7801",
19271
- width: 200
19486
+ width: 200,
19487
+ render: renderTextEllipsis
19272
19488
  }, {
19273
19489
  dataIndex: 'specName',
19274
19490
  title: "SKU\u540D\u79F0",
19275
19491
  align: 'center',
19276
19492
  ellipsis: true,
19277
- width: 250
19493
+ width: 250,
19494
+ render: renderTextEllipsis
19278
19495
  }, {
19279
19496
  dataIndex: 'specNo',
19280
19497
  title: "SKU\u7F16\u7801",
19281
19498
  align: 'center',
19282
19499
  ellipsis: true,
19283
- width: 150
19500
+ width: 150,
19501
+ render: renderTextEllipsis
19284
19502
  }, {
19285
19503
  dataIndex: 'qty',
19286
19504
  title: "\u6570\u91CF",
@@ -19371,7 +19589,8 @@ var getColumns$4 = function getColumns(_ref) {
19371
19589
  }, {
19372
19590
  dataIndex: 'skuNote',
19373
19591
  title: "\u5546\u54C1\u5907\u6CE8",
19374
- width: 150
19592
+ width: 150,
19593
+ render: renderTextEllipsis
19375
19594
  }].map(function (item) {
19376
19595
  return _objectSpread2(_objectSpread2({}, item), {}, {
19377
19596
  align: 'center',
@@ -19382,27 +19601,32 @@ var getColumns$4 = function getColumns(_ref) {
19382
19601
  GY_REISSUE_GOODS: [{
19383
19602
  dataIndex: 'goodName',
19384
19603
  title: "\u5546\u54C1\u540D\u79F0",
19385
- width: 150
19604
+ width: 150,
19605
+ render: renderTextEllipsis
19386
19606
  }, {
19387
19607
  dataIndex: 'goodShortName',
19388
19608
  title: "\u5546\u54C1\u7B80\u79F0",
19389
- width: 150
19609
+ width: 150,
19610
+ render: renderTextEllipsis
19390
19611
  }, {
19391
19612
  dataIndex: 'goodNo',
19392
19613
  title: "\u5546\u54C1\u7F16\u7801",
19393
- width: 200
19614
+ width: 200,
19615
+ render: renderTextEllipsis
19394
19616
  }, {
19395
19617
  dataIndex: 'specName',
19396
19618
  title: "SKU\u540D\u79F0",
19397
19619
  align: 'center',
19398
19620
  ellipsis: true,
19399
- width: 250
19621
+ width: 250,
19622
+ render: renderTextEllipsis
19400
19623
  }, {
19401
19624
  dataIndex: 'specNo',
19402
19625
  title: "SKU\u7F16\u7801",
19403
19626
  align: 'center',
19404
19627
  ellipsis: true,
19405
- width: 150
19628
+ width: 150,
19629
+ render: renderTextEllipsis
19406
19630
  }, {
19407
19631
  dataIndex: 'qty',
19408
19632
  title: "\u6570\u91CF",
@@ -19498,27 +19722,32 @@ var getColumns$4 = function getColumns(_ref) {
19498
19722
  GY_RETURN_GOODS: [{
19499
19723
  dataIndex: 'goodName',
19500
19724
  title: "\u5546\u54C1\u540D\u79F0",
19501
- width: 150
19725
+ width: 150,
19726
+ render: renderTextEllipsis
19502
19727
  }, {
19503
19728
  dataIndex: 'goodShortName',
19504
19729
  title: "\u5546\u54C1\u7B80\u79F0",
19505
- width: 150
19730
+ width: 150,
19731
+ render: renderTextEllipsis
19506
19732
  }, {
19507
19733
  dataIndex: 'goodNo',
19508
19734
  title: "\u5546\u54C1\u7F16\u7801",
19509
- width: 200
19735
+ width: 200,
19736
+ render: renderTextEllipsis
19510
19737
  }, {
19511
19738
  dataIndex: 'specName',
19512
19739
  title: "SKU\u540D\u79F0",
19513
19740
  align: 'center',
19514
19741
  ellipsis: true,
19515
- width: 250
19742
+ width: 250,
19743
+ render: renderTextEllipsis
19516
19744
  }, {
19517
19745
  dataIndex: 'specNo',
19518
19746
  title: "SKU\u7F16\u7801",
19519
19747
  align: 'center',
19520
19748
  ellipsis: true,
19521
- width: 150
19749
+ width: 150,
19750
+ render: renderTextEllipsis
19522
19751
  }, {
19523
19752
  dataIndex: 'qty',
19524
19753
  title: "\u6570\u91CF",
@@ -19647,19 +19876,22 @@ var getColumns$5 = function getColumns() {
19647
19876
  title: '商品名称',
19648
19877
  width: 150,
19649
19878
  ellipsis: true,
19650
- align: 'center'
19879
+ align: 'center',
19880
+ render: renderTextEllipsis
19651
19881
  }, {
19652
19882
  dataIndex: 'skuId',
19653
19883
  title: '商品编码',
19654
19884
  width: 150,
19655
19885
  ellipsis: true,
19656
- align: 'center'
19886
+ align: 'center',
19887
+ render: renderTextEllipsis
19657
19888
  }, {
19658
19889
  dataIndex: 'iId',
19659
19890
  title: '款式编码',
19660
19891
  width: 150,
19661
19892
  ellipsis: true,
19662
- align: 'center'
19893
+ align: 'center',
19894
+ render: renderTextEllipsis
19663
19895
  }, {
19664
19896
  dataIndex: 'pic',
19665
19897
  title: '商品图片',
@@ -19668,7 +19900,7 @@ var getColumns$5 = function getColumns() {
19668
19900
  width: 100,
19669
19901
  render: function render(val) {
19670
19902
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19671
- width: 60,
19903
+ width: 30,
19672
19904
  src: val
19673
19905
  });
19674
19906
  }
@@ -19677,7 +19909,8 @@ var getColumns$5 = function getColumns() {
19677
19909
  title: '规格值',
19678
19910
  width: 150,
19679
19911
  ellipsis: true,
19680
- align: 'center'
19912
+ align: 'center',
19913
+ render: renderTextEllipsis
19681
19914
  }, {
19682
19915
  dataIndex: 'saleBasePrice',
19683
19916
  title: '原价',
@@ -19739,7 +19972,8 @@ var getColumns$5 = function getColumns() {
19739
19972
  title: '批次号',
19740
19973
  width: 150,
19741
19974
  ellipsis: true,
19742
- align: 'center'
19975
+ align: 'center',
19976
+ render: renderTextEllipsis
19743
19977
  }, {
19744
19978
  dataIndex: 'isGift',
19745
19979
  title: '是否赠品',
@@ -19766,26 +20000,30 @@ var getColumns$5 = function getColumns() {
19766
20000
  title: '子订单号',
19767
20001
  width: 240,
19768
20002
  ellipsis: true,
19769
- align: 'center'
20003
+ align: 'center',
20004
+ render: renderTextEllipsis
19770
20005
  }],
19771
20006
  JST_REISSUE_GOODS: [{
19772
20007
  dataIndex: 'name',
19773
20008
  title: '商品名称',
19774
20009
  width: 150,
19775
20010
  ellipsis: true,
19776
- align: 'center'
20011
+ align: 'center',
20012
+ render: renderTextEllipsis
19777
20013
  }, {
19778
20014
  dataIndex: 'skuId',
19779
20015
  title: '商品编码',
19780
20016
  width: 150,
19781
20017
  ellipsis: true,
19782
- align: 'center'
20018
+ align: 'center',
20019
+ render: renderTextEllipsis
19783
20020
  }, {
19784
20021
  dataIndex: 'iId',
19785
20022
  title: '款式编码',
19786
20023
  width: 150,
19787
20024
  ellipsis: true,
19788
- align: 'center'
20025
+ align: 'center',
20026
+ render: renderTextEllipsis
19789
20027
  }, {
19790
20028
  dataIndex: 'pic',
19791
20029
  title: '商品图片',
@@ -19794,7 +20032,7 @@ var getColumns$5 = function getColumns() {
19794
20032
  width: 100,
19795
20033
  render: function render(val) {
19796
20034
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19797
- width: 60,
20035
+ width: 30,
19798
20036
  src: val
19799
20037
  });
19800
20038
  }
@@ -19803,7 +20041,8 @@ var getColumns$5 = function getColumns() {
19803
20041
  title: '规格值',
19804
20042
  width: 150,
19805
20043
  ellipsis: true,
19806
- align: 'center'
20044
+ align: 'center',
20045
+ render: renderTextEllipsis
19807
20046
  }, {
19808
20047
  dataIndex: 'saleBasePrice',
19809
20048
  title: '原价',
@@ -19915,31 +20154,35 @@ var getColumns$5 = function getColumns() {
19915
20154
  onChange: function onChange(e) {
19916
20155
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
19917
20156
  }
19918
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20157
+ }) : renderTextEllipsis(val);
19919
20158
  }
19920
20159
  }],
19921
20160
  JST_RETURN_GOODS: [{
19922
20161
  dataIndex: 'name',
19923
- title: '商品名称'
20162
+ title: '商品名称',
20163
+ render: renderTextEllipsis
19924
20164
  }, {
19925
20165
  dataIndex: 'skuId',
19926
- title: '商品编码'
20166
+ title: '商品编码',
20167
+ render: renderTextEllipsis
19927
20168
  }, {
19928
20169
  dataIndex: 'iId',
19929
- title: '款式编码'
20170
+ title: '款式编码',
20171
+ render: renderTextEllipsis
19930
20172
  }, {
19931
20173
  dataIndex: 'pic',
19932
20174
  title: '商品图片',
19933
20175
  width: 100,
19934
20176
  render: function render(val) {
19935
20177
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19936
- width: 60,
20178
+ width: 30,
19937
20179
  src: val
19938
20180
  });
19939
20181
  }
19940
20182
  }, {
19941
20183
  dataIndex: 'propertiesValue',
19942
- title: '规格值'
20184
+ title: '规格值',
20185
+ render: renderTextEllipsis
19943
20186
  }, {
19944
20187
  dataIndex: 'saleBasePrice',
19945
20188
  title: '原价',
@@ -20014,7 +20257,8 @@ var getColumns$5 = function getColumns() {
20014
20257
  }
20015
20258
  }, {
20016
20259
  dataIndex: 'batchId',
20017
- title: '批次号'
20260
+ title: '批次号',
20261
+ render: renderTextEllipsis
20018
20262
  }, {
20019
20263
  dataIndex: 'isGift',
20020
20264
  title: '是否赠品',
@@ -20046,35 +20290,40 @@ var getColumns$5 = function getColumns() {
20046
20290
  onChange: function onChange(e) {
20047
20291
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20048
20292
  }
20049
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20293
+ }) : renderTextEllipsis(val);
20050
20294
  }
20051
20295
  }, {
20052
20296
  dataIndex: 'outerOiId',
20053
20297
  title: '子订单号',
20054
- width: 240
20298
+ width: 240,
20299
+ render: renderTextEllipsis
20055
20300
  }].map(fillAttrs),
20056
20301
  JST_EXCHANGE_GOODS: [{
20057
20302
  dataIndex: 'name',
20058
- title: '商品名称'
20303
+ title: '商品名称',
20304
+ render: renderTextEllipsis
20059
20305
  }, {
20060
20306
  dataIndex: 'skuId',
20061
- title: '商品编码'
20307
+ title: '商品编码',
20308
+ render: renderTextEllipsis
20062
20309
  }, {
20063
20310
  dataIndex: 'iId',
20064
- title: '款式编码'
20311
+ title: '款式编码',
20312
+ render: renderTextEllipsis
20065
20313
  }, {
20066
20314
  dataIndex: 'pic',
20067
20315
  title: '商品图片',
20068
20316
  width: 100,
20069
20317
  render: function render(val) {
20070
20318
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20071
- width: 60,
20319
+ width: 30,
20072
20320
  src: val
20073
20321
  });
20074
20322
  }
20075
20323
  }, {
20076
20324
  dataIndex: 'propertiesValue',
20077
- title: '规格值'
20325
+ title: '规格值',
20326
+ render: renderTextEllipsis
20078
20327
  }, {
20079
20328
  dataIndex: 'saleBasePrice',
20080
20329
  title: '原价',
@@ -20152,7 +20401,7 @@ var getColumns$5 = function getColumns() {
20152
20401
  onChange: function onChange(e) {
20153
20402
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20154
20403
  }
20155
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20404
+ }) : renderTextEllipsis(val);
20156
20405
  }
20157
20406
  }].map(fillAttrs)
20158
20407
  };
@@ -20175,42 +20424,50 @@ var getColumns$6 = function getColumns(_ref) {
20175
20424
  KM_GOODS: [{
20176
20425
  dataIndex: 'skuPropertiesName',
20177
20426
  title: "\u89C4\u683C\u540D\u79F0",
20178
- width: 250
20427
+ width: 250,
20428
+ render: renderTextEllipsis
20179
20429
  }, {
20180
20430
  dataIndex: 'sysTitle',
20181
20431
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20182
- width: 150
20432
+ width: 150,
20433
+ render: renderTextEllipsis
20183
20434
  }, {
20184
20435
  dataIndex: 'title',
20185
20436
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20186
- width: 150
20437
+ width: 150,
20438
+ render: renderTextEllipsis
20187
20439
  }, {
20188
20440
  dataIndex: 'shortTitle',
20189
20441
  title: "\u5546\u54C1\u7B80\u79F0",
20190
- width: 150
20442
+ width: 150,
20443
+ render: renderTextEllipsis
20191
20444
  }, {
20192
20445
  dataIndex: 'sysOuterId',
20193
20446
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20194
- width: 150
20447
+ width: 150,
20448
+ render: renderTextEllipsis
20195
20449
  }, {
20196
20450
  dataIndex: 'skuSysId',
20197
20451
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20198
- width: 150
20452
+ width: 150,
20453
+ render: renderTextEllipsis
20199
20454
  }, {
20200
20455
  dataIndex: 'skuId',
20201
20456
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20202
- width: 170
20457
+ width: 170,
20458
+ render: renderTextEllipsis
20203
20459
  }, {
20204
20460
  dataIndex: 'itemSysId',
20205
20461
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20206
- width: 150
20462
+ width: 150,
20463
+ render: renderTextEllipsis
20207
20464
  }, {
20208
20465
  dataIndex: 'sysPicPath',
20209
20466
  title: "\u5546\u54C1\u56FE\u7247",
20210
20467
  width: 100,
20211
20468
  render: function render(val) {
20212
20469
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20213
- width: 60,
20470
+ width: 30,
20214
20471
  src: val
20215
20472
  });
20216
20473
  }
@@ -20258,7 +20515,8 @@ var getColumns$6 = function getColumns(_ref) {
20258
20515
  }, {
20259
20516
  dataIndex: 'type',
20260
20517
  title: "\u5546\u54C1\u7C7B\u578B",
20261
- width: 150
20518
+ width: 150,
20519
+ render: renderTextEllipsis
20262
20520
  }].map(function (item) {
20263
20521
  return _objectSpread2(_objectSpread2({}, item), {}, {
20264
20522
  align: 'center',
@@ -20268,35 +20526,43 @@ var getColumns$6 = function getColumns(_ref) {
20268
20526
  KM_REISSUE_GOODS: [{
20269
20527
  dataIndex: 'skuPropertiesName',
20270
20528
  title: "\u89C4\u683C\u540D\u79F0",
20271
- width: 250
20529
+ width: 250,
20530
+ render: renderTextEllipsis
20272
20531
  }, {
20273
20532
  dataIndex: 'sysTitle',
20274
20533
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20275
- width: 150
20534
+ width: 150,
20535
+ render: renderTextEllipsis
20276
20536
  }, {
20277
20537
  dataIndex: 'shortTitle',
20278
20538
  title: "\u5546\u54C1\u7B80\u79F0",
20279
- width: 150
20539
+ width: 150,
20540
+ render: renderTextEllipsis
20280
20541
  }, {
20281
20542
  dataIndex: 'title',
20282
20543
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20283
- width: 150
20544
+ width: 150,
20545
+ render: renderTextEllipsis
20284
20546
  }, {
20285
20547
  dataIndex: 'sysOuterId',
20286
20548
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20287
- width: 150
20549
+ width: 150,
20550
+ render: renderTextEllipsis
20288
20551
  }, {
20289
20552
  dataIndex: 'itemSysId',
20290
20553
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20291
- width: 150
20554
+ width: 150,
20555
+ render: renderTextEllipsis
20292
20556
  }, {
20293
20557
  dataIndex: 'skuSysId',
20294
20558
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20295
- width: 150
20559
+ width: 150,
20560
+ render: renderTextEllipsis
20296
20561
  }, {
20297
20562
  dataIndex: 'skuId',
20298
20563
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20299
- width: 170
20564
+ width: 170,
20565
+ render: renderTextEllipsis
20300
20566
  }, {
20301
20567
  dataIndex: 'realNum',
20302
20568
  title: "\u5B9E\u9645\u8865\u53D1\u6570\u91CF",
@@ -20371,14 +20637,15 @@ var getColumns$6 = function getColumns(_ref) {
20371
20637
  }, {
20372
20638
  dataIndex: 'type',
20373
20639
  title: "\u5546\u54C1\u7C7B\u578B",
20374
- width: 150
20640
+ width: 150,
20641
+ render: renderTextEllipsis
20375
20642
  }, {
20376
20643
  dataIndex: 'sysPicPath',
20377
20644
  title: "\u5546\u54C1\u56FE\u7247",
20378
20645
  width: 100,
20379
20646
  render: function render(val) {
20380
20647
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20381
- width: 60,
20648
+ width: 30,
20382
20649
  src: val
20383
20650
  });
20384
20651
  }
@@ -20417,37 +20684,43 @@ var getColumns$7 = function getColumns(_ref) {
20417
20684
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20418
20685
  align: 'center',
20419
20686
  ellipsis: true,
20420
- width: 150
20687
+ width: 150,
20688
+ render: renderTextEllipsis
20421
20689
  }, {
20422
20690
  dataIndex: 'productCode',
20423
20691
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20424
20692
  align: 'center',
20425
20693
  ellipsis: true,
20426
- width: 150
20694
+ width: 150,
20695
+ render: renderTextEllipsis
20427
20696
  }, {
20428
20697
  dataIndex: 'productId',
20429
20698
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20430
20699
  align: 'center',
20431
20700
  ellipsis: true,
20432
- width: 150
20701
+ width: 150,
20702
+ render: renderTextEllipsis
20433
20703
  }, {
20434
20704
  dataIndex: 'skuName',
20435
20705
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20436
20706
  align: 'center',
20437
20707
  ellipsis: true,
20438
- width: 150
20708
+ width: 150,
20709
+ render: renderTextEllipsis
20439
20710
  }, {
20440
20711
  dataIndex: 'skuCode',
20441
20712
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20442
20713
  align: 'center',
20443
20714
  ellipsis: true,
20444
- width: 150
20715
+ width: 150,
20716
+ render: renderTextEllipsis
20445
20717
  }, {
20446
20718
  dataIndex: 'specId',
20447
20719
  title: "\u89C4\u683CID",
20448
20720
  align: 'center',
20449
20721
  ellipsis: true,
20450
- width: 150
20722
+ width: 150,
20723
+ render: renderTextEllipsis
20451
20724
  },
20452
20725
  // {
20453
20726
  // dataIndex: 'goodsName',
@@ -20467,11 +20740,13 @@ var getColumns$7 = function getColumns(_ref) {
20467
20740
  {
20468
20741
  dataIndex: 'goodsClass',
20469
20742
  title: "\u8D27\u54C1\u7C7B\u522B",
20470
- width: 150
20743
+ width: 150,
20744
+ render: renderTextEllipsis
20471
20745
  }, {
20472
20746
  dataIndex: 'code',
20473
20747
  title: "\u6761\u7801",
20474
- width: 150
20748
+ width: 150,
20749
+ render: renderTextEllipsis
20475
20750
  },
20476
20751
  // {
20477
20752
  // dataIndex: 'specName',
@@ -20492,31 +20767,36 @@ var getColumns$7 = function getColumns(_ref) {
20492
20767
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20493
20768
  align: 'center',
20494
20769
  ellipsis: true,
20495
- width: 250
20770
+ width: 250,
20771
+ render: renderTextEllipsis
20496
20772
  }, {
20497
20773
  dataIndex: 'mallProductOutCode',
20498
20774
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20499
20775
  align: 'center',
20500
20776
  ellipsis: true,
20501
- width: 150
20777
+ width: 150,
20778
+ render: renderTextEllipsis
20502
20779
  }, {
20503
20780
  dataIndex: 'mallProductId',
20504
20781
  title: "\u5E73\u53F0\u5546\u54C1ID",
20505
20782
  align: 'center',
20506
20783
  ellipsis: true,
20507
- width: 250
20784
+ width: 250,
20785
+ render: renderTextEllipsis
20508
20786
  }, {
20509
20787
  dataIndex: 'mallSkuName',
20510
20788
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20511
20789
  align: 'center',
20512
20790
  ellipsis: true,
20513
- width: 250
20791
+ width: 250,
20792
+ render: renderTextEllipsis
20514
20793
  }, {
20515
20794
  dataIndex: 'mallSkuId',
20516
20795
  title: "\u5E73\u53F0\u89C4\u683CID",
20517
20796
  align: 'center',
20518
20797
  ellipsis: true,
20519
- width: 250
20798
+ width: 250,
20799
+ render: renderTextEllipsis
20520
20800
  }, {
20521
20801
  dataIndex: 'sellCount',
20522
20802
  title: "\u6570\u91CF",
@@ -20601,11 +20881,13 @@ var getColumns$7 = function getColumns(_ref) {
20601
20881
  }, {
20602
20882
  dataIndex: 'combinationName',
20603
20883
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20604
- width: 150
20884
+ width: 150,
20885
+ render: renderTextEllipsis
20605
20886
  }, {
20606
20887
  dataIndex: 'combinationCode',
20607
20888
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20608
- width: 150
20889
+ width: 150,
20890
+ render: renderTextEllipsis
20609
20891
  }, {
20610
20892
  dataIndex: 'gift',
20611
20893
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20643,75 +20925,88 @@ var getColumns$7 = function getColumns(_ref) {
20643
20925
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20644
20926
  align: 'center',
20645
20927
  ellipsis: true,
20646
- width: 150
20928
+ width: 150,
20929
+ render: renderTextEllipsis
20647
20930
  }, {
20648
20931
  dataIndex: 'productCode',
20649
20932
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20650
20933
  align: 'center',
20651
20934
  ellipsis: true,
20652
- width: 150
20935
+ width: 150,
20936
+ render: renderTextEllipsis
20653
20937
  }, {
20654
20938
  dataIndex: 'productId',
20655
20939
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20656
20940
  align: 'center',
20657
20941
  ellipsis: true,
20658
- width: 150
20942
+ width: 150,
20943
+ render: renderTextEllipsis
20659
20944
  }, {
20660
20945
  dataIndex: 'skuName',
20661
20946
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20662
20947
  align: 'center',
20663
20948
  ellipsis: true,
20664
- width: 150
20949
+ width: 150,
20950
+ render: renderTextEllipsis
20665
20951
  }, {
20666
20952
  dataIndex: 'skuCode',
20667
20953
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20668
20954
  align: 'center',
20669
20955
  ellipsis: true,
20670
- width: 150
20956
+ width: 150,
20957
+ render: renderTextEllipsis
20671
20958
  }, {
20672
20959
  dataIndex: 'specId',
20673
20960
  title: "\u89C4\u683CID",
20674
20961
  align: 'center',
20675
20962
  ellipsis: true,
20676
- width: 150
20963
+ width: 150,
20964
+ render: renderTextEllipsis
20677
20965
  }, {
20678
20966
  dataIndex: 'goodsClass',
20679
20967
  title: "\u8D27\u54C1\u7C7B\u522B",
20680
- width: 150
20968
+ width: 150,
20969
+ render: renderTextEllipsis
20681
20970
  }, {
20682
20971
  dataIndex: 'code',
20683
20972
  title: "\u6761\u7801",
20684
- width: 150
20973
+ width: 150,
20974
+ render: renderTextEllipsis
20685
20975
  }, {
20686
20976
  dataIndex: 'mallProductName',
20687
20977
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20688
20978
  align: 'center',
20689
20979
  ellipsis: true,
20690
- width: 150
20980
+ width: 150,
20981
+ render: renderTextEllipsis
20691
20982
  }, {
20692
20983
  dataIndex: 'mallProductOutCode',
20693
20984
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20694
20985
  align: 'center',
20695
20986
  ellipsis: true,
20696
- width: 150
20987
+ width: 150,
20988
+ render: renderTextEllipsis
20697
20989
  }, {
20698
20990
  dataIndex: 'mallProductId',
20699
20991
  title: "\u5E73\u53F0\u5546\u54C1ID",
20700
20992
  align: 'center',
20701
20993
  ellipsis: true,
20702
- width: 150
20994
+ width: 150,
20995
+ render: renderTextEllipsis
20703
20996
  }, {
20704
20997
  dataIndex: 'mallSkuName',
20705
20998
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20706
20999
  align: 'center',
20707
21000
  ellipsis: true,
20708
- width: 150
21001
+ width: 150,
21002
+ render: renderTextEllipsis
20709
21003
  }, {
20710
21004
  dataIndex: 'mallSkuId',
20711
21005
  title: "\u5E73\u53F0\u89C4\u683CID",
20712
21006
  align: 'center',
20713
21007
  ellipsis: true,
20714
- width: 150
21008
+ width: 150,
21009
+ render: renderTextEllipsis
20715
21010
  }, {
20716
21011
  dataIndex: 'sellCount',
20717
21012
  title: "\u6570\u91CF",
@@ -20795,11 +21090,13 @@ var getColumns$7 = function getColumns(_ref) {
20795
21090
  }, {
20796
21091
  dataIndex: 'combinationName',
20797
21092
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20798
- width: 150
21093
+ width: 150,
21094
+ render: renderTextEllipsis
20799
21095
  }, {
20800
21096
  dataIndex: 'combinationCode',
20801
21097
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20802
- width: 150
21098
+ width: 150,
21099
+ render: renderTextEllipsis
20803
21100
  }, {
20804
21101
  dataIndex: 'gift',
20805
21102
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20904,19 +21201,22 @@ var getColumns$9 = function getColumns(_ref) {
20904
21201
  title: "".concat(text, "sku\u540D\u79F0"),
20905
21202
  align: 'center',
20906
21203
  ellipsis: true,
20907
- width: 250
21204
+ width: 250,
21205
+ render: renderTextEllipsis
20908
21206
  }, {
20909
21207
  dataIndex: 'sku',
20910
21208
  title: "".concat(text, "sku\u7F16\u7801"),
20911
21209
  align: 'center',
20912
21210
  ellipsis: true,
20913
- width: 100
21211
+ width: 100,
21212
+ render: renderTextEllipsis
20914
21213
  }, {
20915
21214
  dataIndex: 'name',
20916
21215
  title: "".concat(text, "\u540D\u79F0"),
20917
21216
  align: 'center',
20918
21217
  ellipsis: true,
20919
- width: 250
21218
+ width: 250,
21219
+ render: renderTextEllipsis
20920
21220
  }, {
20921
21221
  dataIndex: 'pic',
20922
21222
  title: "\u56FE\u7247",
@@ -20925,7 +21225,7 @@ var getColumns$9 = function getColumns(_ref) {
20925
21225
  width: 100,
20926
21226
  render: function render(val) {
20927
21227
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20928
- width: 60,
21228
+ width: 30,
20929
21229
  src: val
20930
21230
  });
20931
21231
  }
@@ -20934,7 +21234,8 @@ var getColumns$9 = function getColumns(_ref) {
20934
21234
  title: "".concat(text, "\u7F16\u7801"),
20935
21235
  align: 'center',
20936
21236
  ellipsis: true,
20937
- width: 100
21237
+ width: 100,
21238
+ render: renderTextEllipsis
20938
21239
  }, {
20939
21240
  dataIndex: 'money',
20940
21241
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -20962,10 +21263,10 @@ var getColumns$9 = function getColumns(_ref) {
20962
21263
  }
20963
21264
  }, {
20964
21265
  dataIndex: 'share',
20965
- title: "\u5206\u644A\u4EF7",
21266
+ title: "\u5747\u644A\u5355\u4EF7",
20966
21267
  align: 'center',
20967
21268
  ellipsis: true,
20968
- width: 70
21269
+ width: 120
20969
21270
  }, {
20970
21271
  dataIndex: 'type',
20971
21272
  title: "\u8D60\u54C1\u7C7B\u578B",
@@ -21527,8 +21828,6 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21527
21828
  console.log('filterDataSource', filterDataSource === null || filterDataSource === void 0 ? void 0 : filterDataSource.map(function (item) {
21528
21829
  return item === null || item === void 0 ? void 0 : item[uniqueKey];
21529
21830
  }));
21530
- console.log('selectedRowKeys', selectedRowKeys);
21531
- console.log('currentTradeOriginGoods', currentTradeOriginGoods);
21532
21831
  onChangeSelectedKeys(keys.concat(unCurrentTradeOriginGoods));
21533
21832
  };
21534
21833
  var rowSelection = {
@@ -21544,6 +21843,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21544
21843
  type: "link",
21545
21844
  onClick: openModal
21546
21845
  }, buttonTextMapping[type] || '选择订单商品'), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
21846
+ wrapClassName: "goodModal",
21547
21847
  title: "\u8BA2\u5355\u5546\u54C1",
21548
21848
  visible: tradeGoodsVisible,
21549
21849
  footer: null,
@@ -21554,7 +21854,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21554
21854
  }
21555
21855
  }, isGoods && /*#__PURE__*/React__default['default'].createElement(antd.Row, {
21556
21856
  style: {
21557
- marginBottom: '20px'
21857
+ marginBottom: '12px'
21558
21858
  }
21559
21859
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
21560
21860
  span: 12
@@ -21575,11 +21875,13 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21575
21875
  };
21576
21876
  })
21577
21877
  }))), /*#__PURE__*/React__default['default'].createElement(antd.Table, {
21878
+ className: "GoodModalColumns",
21578
21879
  rowKey: uniqueKey,
21579
21880
  rowSelection: rowSelection,
21580
21881
  columns: columns,
21581
21882
  dataSource: filterDataSource,
21582
21883
  pagination: false,
21884
+ size: "small",
21583
21885
  scroll: {
21584
21886
  x: 500,
21585
21887
  y: 500
@@ -21933,7 +22235,7 @@ var GoodItem$1 = function GoodItem(props) {
21933
22235
  params.rowSelection = rowSelection;
21934
22236
  }
21935
22237
  return params;
21936
- }, [tableSelect, selectedRowKeys]);
22238
+ }, [tableSelect, selectedRowKeys, value]);
21937
22239
  var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
21938
22240
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, !disabled && (showChangeBtn ? /*#__PURE__*/React__default['default'].createElement("div", {
21939
22241
  style: {
@@ -22136,14 +22438,15 @@ var BsGoods = function BsGoods(props) {
22136
22438
  }));
22137
22439
  };
22138
22440
 
22139
- var _excluded$h = ["value", "onChange", "reasonList", "disabled"];
22441
+ var _excluded$h = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22140
22442
  var BsExchange = function BsExchange(props) {
22141
- var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
22443
+ var _value$bsExchangeType6, _value$bsExchangeType7, _value$bsExchangeType8;
22142
22444
  var value = props.value,
22143
22445
  onChange = props.onChange,
22144
22446
  _props$reasonList = props.reasonList,
22145
22447
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22146
22448
  disabled = props.disabled,
22449
+ isSettingConfig = props.isSettingConfig,
22147
22450
  other = _objectWithoutProperties(props, _excluded$h);
22148
22451
  var valueRef = React.useRef({});
22149
22452
  React.useEffect(function () {
@@ -22154,14 +22457,15 @@ var BsExchange = function BsExchange(props) {
22154
22457
  var _value$bsExchangeType, _value$bsExchangeType2;
22155
22458
  var newValue = _objectSpread2({}, value);
22156
22459
  if (['2', '4'].includes((_value$bsExchangeType = value.bsExchangeType) === null || _value$bsExchangeType === void 0 ? void 0 : _value$bsExchangeType[0])) {
22157
- newValue.bsExchangeReturnGoods = newValue.bsExchangeReturnGoods.map(function (item) {
22158
- item.bsExchangeReturnGoods = item.bsExchangeReturnGoods.filter(function (t) {
22460
+ var _ref;
22461
+ newValue.bsExchangeReturnGoods = (_ref = (newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
22462
+ item.bsExchangeReturnGoods = ((item === null || item === void 0 ? void 0 : item.bsExchangeReturnGoods) || []).filter(function (t) {
22159
22463
  return t.sku !== data;
22160
22464
  });
22161
22465
  return item;
22162
22466
  });
22163
22467
  } else if (['1', '3'].includes((_value$bsExchangeType2 = value.bsExchangeType) === null || _value$bsExchangeType2 === void 0 ? void 0 : _value$bsExchangeType2[0])) {
22164
- newValue.bsExchangeReturnGoods = newValue.bsExchangeReturnGoods.filter(function (item) {
22468
+ newValue.bsExchangeReturnGoods = ((newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []).filter(function (item) {
22165
22469
  return item.sku !== data;
22166
22470
  });
22167
22471
  }
@@ -22195,6 +22499,17 @@ var BsExchange = function BsExchange(props) {
22195
22499
  }));
22196
22500
  });
22197
22501
  }, []);
22502
+ React.useEffect(function () {
22503
+ var _value$bsExchangeType3;
22504
+ if (['2', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType3 = value.bsExchangeType) === null || _value$bsExchangeType3 === void 0 ? void 0 : _value$bsExchangeType3[0])) {
22505
+ var _value$bsExchangeType4;
22506
+ pubsub__default['default'].publish('type', {
22507
+ val: value === null || value === void 0 ? void 0 : (_value$bsExchangeType4 = value.bsExchangeType) === null || _value$bsExchangeType4 === void 0 ? void 0 : _value$bsExchangeType4[0],
22508
+ goodValue: _objectSpread2({}, value)
22509
+ });
22510
+ }
22511
+ return;
22512
+ }, []);
22198
22513
  var getListHandle = function getListHandle(list, val) {
22199
22514
  var _val$bsExchangeType, _val$bsExchangeType2;
22200
22515
  //固定的sku
@@ -22251,7 +22566,7 @@ var BsExchange = function BsExchange(props) {
22251
22566
  newValue.bsExchangeType = val;
22252
22567
  newValue.bsExchangeReturnGoods = [];
22253
22568
  newValue.bsExchangeGiftGoods = [];
22254
- if (['2', '4'].includes(val[0])) {
22569
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22255
22570
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22256
22571
  }
22257
22572
  pubsub__default['default'].publish('type', {
@@ -22289,8 +22604,8 @@ var BsExchange = function BsExchange(props) {
22289
22604
  };
22290
22605
  //显示选择商品按钮 原单换不显示选择商品
22291
22606
  var showChangeBtn = React.useMemo(function () {
22292
- var _value$bsExchangeType3;
22293
- return ['2', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType3 = value.bsExchangeType) === null || _value$bsExchangeType3 === void 0 ? void 0 : _value$bsExchangeType3[0]) || !!disabled;
22607
+ var _value$bsExchangeType5;
22608
+ return ['2', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType5 = value.bsExchangeType) === null || _value$bsExchangeType5 === void 0 ? void 0 : _value$bsExchangeType5[0]) || !!disabled;
22294
22609
  }, [value === null || value === void 0 ? void 0 : value.bsExchangeType]);
22295
22610
  var copyGoods = function copyGoods(index) {
22296
22611
  var copyHandle = function copyHandle() {
@@ -22307,19 +22622,19 @@ var BsExchange = function BsExchange(props) {
22307
22622
  style: {
22308
22623
  marginBottom: '8px'
22309
22624
  },
22310
- disabled: disabled,
22625
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22311
22626
  allowClear: false,
22312
22627
  options: reasonList,
22313
22628
  value: value === null || value === void 0 ? void 0 : value.bsExchangeType,
22314
22629
  onChange: function onChange(val) {
22315
22630
  return changeTypeHandle(val);
22316
22631
  }
22317
- }), !(value === null || value === void 0 ? void 0 : (_value$bsExchangeType4 = value.bsExchangeType) === null || _value$bsExchangeType4 === void 0 ? void 0 : _value$bsExchangeType4.length) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22632
+ }), !(value === null || value === void 0 ? void 0 : (_value$bsExchangeType6 = value.bsExchangeType) === null || _value$bsExchangeType6 === void 0 ? void 0 : _value$bsExchangeType6.length) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22318
22633
  key: 'bsExchangeGoods'
22319
22634
  }, other), {}, {
22320
22635
  disabled: disabled,
22321
22636
  showChangeBtn: false
22322
- })) : null, ['1', '3'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType5 = value.bsExchangeType) === null || _value$bsExchangeType5 === void 0 ? void 0 : _value$bsExchangeType5[0]) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22637
+ })) : null, ['1', '3'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType7 = value.bsExchangeType) === null || _value$bsExchangeType7 === void 0 ? void 0 : _value$bsExchangeType7[0]) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22323
22638
  key: 'bsExchangeGoods'
22324
22639
  }, other), {}, {
22325
22640
  disabled: disabled,
@@ -22357,7 +22672,7 @@ var BsExchange = function BsExchange(props) {
22357
22672
  return changeReturnHandle(val, index, 'bsExchangeSwapOutGoods');
22358
22673
  }
22359
22674
  })));
22360
- })), ['3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType6 = value.bsExchangeType) === null || _value$bsExchangeType6 === void 0 ? void 0 : _value$bsExchangeType6[0]) ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", null, "\u8D60\u54C1\u4FE1\u606F"), /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22675
+ })), ['3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType8 = value.bsExchangeType) === null || _value$bsExchangeType8 === void 0 ? void 0 : _value$bsExchangeType8[0]) ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", null, "\u8D60\u54C1\u4FE1\u606F"), /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22361
22676
  headerText: "\u8D60\u54C1",
22362
22677
  key: 'bsGiftGoods',
22363
22678
  disabled: disabled,
@@ -22371,7 +22686,7 @@ var BsExchange = function BsExchange(props) {
22371
22686
  }))) : null);
22372
22687
  };
22373
22688
 
22374
- var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
22689
+ var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
22375
22690
  var typeMap = {
22376
22691
  BS_REISSUE_GOODS: {
22377
22692
  key: 'bsReissueGoods',
@@ -22389,28 +22704,40 @@ var typeMap = {
22389
22704
  }
22390
22705
  };
22391
22706
  var BsReissue = function BsReissue(props) {
22392
- var _typeMap$type20, _typeMap$type21, _typeMap$type22;
22707
+ var _typeMap$type21, _typeMap$type22, _typeMap$type23;
22393
22708
  var value = props.value,
22394
22709
  onChange = props.onChange,
22395
22710
  _props$reasonList = props.reasonList,
22396
22711
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22397
22712
  disabled = props.disabled,
22398
22713
  type = props.type,
22714
+ isSettingConfig = props.isSettingConfig,
22399
22715
  other = _objectWithoutProperties(props, _excluded$i);
22400
22716
  var valueRef = React.useRef({});
22401
22717
  React.useEffect(function () {
22402
- var _typeMap$type;
22403
- pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type = typeMap[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.reissueSelectList), function (_, data) {
22404
- var _typeMap$type2;
22405
- // console.log('reissueSelectList', data);
22718
+ var _value$bsReissueType;
22719
+ if (['2', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsReissueType = value.bsReissueType) === null || _value$bsReissueType === void 0 ? void 0 : _value$bsReissueType[0])) {
22720
+ var _typeMap$type, _value$bsReissueType2;
22721
+ pubsub__default['default'].publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type = typeMap[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.reissueType), {
22722
+ val: value === null || value === void 0 ? void 0 : (_value$bsReissueType2 = value.bsReissueType) === null || _value$bsReissueType2 === void 0 ? void 0 : _value$bsReissueType2[0],
22723
+ goodValue: _objectSpread2({}, value)
22724
+ });
22725
+ }
22726
+ return;
22727
+ }, []);
22728
+ React.useEffect(function () {
22729
+ var _typeMap$type2;
22730
+ pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type2 = typeMap[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.reissueSelectList), function (_, data) {
22731
+ var _typeMap$type3;
22732
+ console.log('reissueSelectList', data);
22406
22733
  if (disabled) return;
22407
22734
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22408
22735
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22409
22736
  });
22410
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type2 = typeMap[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.key)] = data === null || data === void 0 ? void 0 : data.list.map(function (item) {
22411
- var _typeMap$type3, _typeMap$type4;
22412
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type3 = typeMap[type]) === null || _typeMap$type3 === void 0 ? void 0 : _typeMap$type3.formatDefaultField.money)] = 0;
22413
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type4 = typeMap[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.formatDefaultField.share)] = 0;
22737
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type3 = typeMap[type]) === null || _typeMap$type3 === void 0 ? void 0 : _typeMap$type3.key)] = data === null || data === void 0 ? void 0 : data.list.map(function (item) {
22738
+ var _typeMap$type4, _typeMap$type5;
22739
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type4 = typeMap[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.formatDefaultField.money)] = 0;
22740
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type5 = typeMap[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.formatDefaultField.share)] = 0;
22414
22741
  item.canUpdateNumber = true;
22415
22742
  return item;
22416
22743
  });
@@ -22418,18 +22745,18 @@ var BsReissue = function BsReissue(props) {
22418
22745
  });
22419
22746
  }, []);
22420
22747
  React.useEffect(function () {
22421
- var _typeMap$type5;
22422
- pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type5 = typeMap[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.reissueSelectListReturn), function (_, data) {
22423
- var _typeMap$type6;
22748
+ var _typeMap$type6;
22749
+ pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type6 = typeMap[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.reissueSelectListReturn), function (_, data) {
22750
+ var _typeMap$type7;
22424
22751
  // console.log('reissueSelectListReturn', data);
22425
22752
  if (disabled) return;
22426
22753
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22427
22754
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22428
22755
  });
22429
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type6 = typeMap[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.key)] = data === null || data === void 0 ? void 0 : data.list.map(function (item) {
22430
- var _typeMap$type7, _typeMap$type8;
22431
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type7 = typeMap[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.formatDefaultField.money)] = 0;
22432
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type8 = typeMap[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.formatDefaultField.share)] = 0;
22756
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type7 = typeMap[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.key)] = data === null || data === void 0 ? void 0 : data.list.map(function (item) {
22757
+ var _typeMap$type8, _typeMap$type9;
22758
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type8 = typeMap[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.formatDefaultField.money)] = 0;
22759
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type9 = typeMap[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.formatDefaultField.share)] = 0;
22433
22760
  item.canUpdateNumber = true;
22434
22761
  return item;
22435
22762
  });
@@ -22437,63 +22764,64 @@ var BsReissue = function BsReissue(props) {
22437
22764
  });
22438
22765
  }, []);
22439
22766
  React.useEffect(function () {
22440
- var _typeMap$type9, _typeMap$type12;
22767
+ var _typeMap$type10, _typeMap$type13;
22441
22768
  valueRef.current = value;
22442
- pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type9 = typeMap[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.reissueDeleteGood), function (_, data) {
22769
+ pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type10 = typeMap[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.reissueDeleteGood), function (_, data) {
22443
22770
  if (disabled) return;
22444
22771
  if (value) {
22445
- var _typeMap$type10, _typeMap$type11;
22772
+ var _typeMap$type11, _typeMap$type12;
22446
22773
  var newValue = _objectSpread2({}, value);
22447
- newValue["".concat((_typeMap$type10 = typeMap[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.key)] = newValue === null || newValue === void 0 ? void 0 : newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type11 = typeMap[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key)].filter(function (item) {
22774
+ newValue["".concat((_typeMap$type11 = typeMap[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key)] = newValue === null || newValue === void 0 ? void 0 : newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type12 = typeMap[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.key)].filter(function (item) {
22448
22775
  return item.sku !== data;
22449
22776
  });
22450
22777
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22451
22778
  }
22452
22779
  });
22453
- pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type12 = typeMap[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.changeShopCode), function (type, data) {
22780
+ pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type13 = typeMap[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.changeShopCode), function (type, data) {
22454
22781
  onChange(_objectSpread2(_objectSpread2({}, value), {}, {
22455
22782
  shopCode: data.shopCode
22456
22783
  }));
22457
22784
  });
22458
22785
  }, [value, disabled]);
22459
22786
  var changeTypeHandle = function changeTypeHandle(val) {
22460
- var _typeMap$type13, _typeMap$type14, _typeMap$type15;
22787
+ var _typeMap$type14, _typeMap$type15, _typeMap$type16;
22461
22788
  var newValue = _objectSpread2({}, value);
22462
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type13 = typeMap[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.typeName)] = val;
22463
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type14 = typeMap[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key)] = [];
22464
- if (['2', '4'].includes(val[0])) {
22789
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type14 = typeMap[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.typeName)] = val;
22790
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type15 = typeMap[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key)] = [];
22791
+ // isSettingConfig 用于编辑组件时设置补发默认值
22792
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22465
22793
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22466
22794
  valueRef.current = newValue;
22467
22795
  }
22468
- pubsub__default['default'].publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type15 = typeMap[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.reissueType), {
22796
+ pubsub__default['default'].publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type16 = typeMap[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.reissueType), {
22469
22797
  val: val[0],
22470
22798
  goodValue: newValue
22471
22799
  });
22472
22800
  };
22473
22801
  var changeGoodHandle = function changeGoodHandle(val) {
22474
- var _typeMap$type16;
22802
+ var _typeMap$type17;
22475
22803
  var newValue = _objectSpread2({}, value);
22476
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type16 = typeMap[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.key)] = (val || []).map(function (item) {
22477
- var _typeMap$type17, _typeMap$type18;
22478
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type17 = typeMap[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.formatDefaultField.money)] = 0;
22479
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type18 = typeMap[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.formatDefaultField.share)] = 0;
22804
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type17 = typeMap[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.key)] = (val || []).map(function (item) {
22805
+ var _typeMap$type18, _typeMap$type19;
22806
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type18 = typeMap[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.formatDefaultField.money)] = 0;
22807
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type19 = typeMap[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.formatDefaultField.share)] = 0;
22480
22808
  return item;
22481
22809
  });
22482
22810
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22483
22811
  };
22484
22812
  //显示选择商品按钮 原单换不显示选择商品
22485
22813
  var showChangeBtn = React.useMemo(function () {
22486
- var _value, _typeMap$type19;
22487
- return ['2', '3', '4'].includes(value === null || value === void 0 ? void 0 : (_value = value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type19 = typeMap[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.typeName)]) === null || _value === void 0 ? void 0 : _value[0]);
22488
- }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type20 = typeMap[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.typeName]]);
22814
+ var _value, _typeMap$type20;
22815
+ return ['2', '3', '4'].includes(value === null || value === void 0 ? void 0 : (_value = value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type20 = typeMap[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.typeName)]) === null || _value === void 0 ? void 0 : _value[0]);
22816
+ }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type21 = typeMap[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]]);
22489
22817
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
22490
22818
  style: {
22491
22819
  marginBottom: '8px'
22492
22820
  },
22493
- disabled: disabled,
22821
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22494
22822
  allowClear: false,
22495
22823
  options: reasonList,
22496
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type21 = typeMap[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName)],
22824
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type22 = typeMap[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.typeName)],
22497
22825
  onChange: function onChange(val) {
22498
22826
  return changeTypeHandle(val);
22499
22827
  }
@@ -22505,20 +22833,21 @@ var BsReissue = function BsReissue(props) {
22505
22833
  canUpdateNumber: showChangeBtn,
22506
22834
  showChangeBtn: showChangeBtn,
22507
22835
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
22508
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type22 = typeMap[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)],
22836
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type23 = typeMap[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)],
22509
22837
  onChange: function onChange(val) {
22510
22838
  return changeGoodHandle(val);
22511
22839
  }
22512
22840
  })));
22513
22841
  };
22514
22842
 
22515
- var _excluded$j = ["value", "onChange", "reasonList", "disabled"];
22843
+ var _excluded$j = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22516
22844
  var BsReturnGoods = function BsReturnGoods(props) {
22517
22845
  var value = props.value,
22518
22846
  onChange = props.onChange,
22519
22847
  _props$reasonList = props.reasonList,
22520
22848
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22521
22849
  disabled = props.disabled,
22850
+ isSettingConfig = props.isSettingConfig,
22522
22851
  other = _objectWithoutProperties(props, _excluded$j);
22523
22852
  var valueRef = React.useRef({});
22524
22853
  React.useEffect(function () {
@@ -22543,6 +22872,17 @@ var BsReturnGoods = function BsReturnGoods(props) {
22543
22872
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22544
22873
  });
22545
22874
  }, []);
22875
+ React.useEffect(function () {
22876
+ var _value$bsReturnType;
22877
+ if ((value === null || value === void 0 ? void 0 : (_value$bsReturnType = value.bsReturnType) === null || _value$bsReturnType === void 0 ? void 0 : _value$bsReturnType[0]) === '2') {
22878
+ var _value$bsReturnType2;
22879
+ pubsub__default['default'].publish('returnType', {
22880
+ val: value === null || value === void 0 ? void 0 : (_value$bsReturnType2 = value.bsReturnType) === null || _value$bsReturnType2 === void 0 ? void 0 : _value$bsReturnType2[0],
22881
+ goodValue: _objectSpread2({}, value)
22882
+ });
22883
+ }
22884
+ return;
22885
+ }, []);
22546
22886
  React.useEffect(function () {
22547
22887
  valueRef.current = value;
22548
22888
  pubsub__default['default'].subscribeOnce('returnDeleteGood', function (_, data) {
@@ -22565,7 +22905,7 @@ var BsReturnGoods = function BsReturnGoods(props) {
22565
22905
  var newValue = _objectSpread2({}, value);
22566
22906
  newValue['bsReturnType'] = val;
22567
22907
  newValue.bsReturnGoods = [];
22568
- if (['2', '4'].includes(val[0])) {
22908
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22569
22909
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22570
22910
  valueRef.current = newValue;
22571
22911
  }
@@ -22581,14 +22921,14 @@ var BsReturnGoods = function BsReturnGoods(props) {
22581
22921
  };
22582
22922
  //显示选择商品按钮 原单换不显示选择商品
22583
22923
  var showChangeBtn = React.useMemo(function () {
22584
- var _value$bsReturnType;
22585
- return ['2', '3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsReturnType = value.bsReturnType) === null || _value$bsReturnType === void 0 ? void 0 : _value$bsReturnType[0]);
22924
+ var _value$bsReturnType3;
22925
+ return ['2', '3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsReturnType3 = value.bsReturnType) === null || _value$bsReturnType3 === void 0 ? void 0 : _value$bsReturnType3[0]);
22586
22926
  }, [value === null || value === void 0 ? void 0 : value.bsReturnType]);
22587
22927
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
22588
22928
  style: {
22589
22929
  marginBottom: '8px'
22590
22930
  },
22591
- disabled: disabled,
22931
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22592
22932
  allowClear: false,
22593
22933
  options: reasonList,
22594
22934
  value: value === null || value === void 0 ? void 0 : value.bsReturnType,
@@ -22632,7 +22972,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
22632
22972
  return _objectSpread2(_objectSpread2({}, item), {}, {
22633
22973
  billNo: item.tradeNo,
22634
22974
  billType: kmkfUtils.WDT_ORDER_TYPE_MAP[item.tradeType],
22635
- billTag: item.tagName,
22975
+ billTag: item.tagName || item.tags,
22636
22976
  tradeStatusValue: kmkfUtils.tradeStatusMap === null || kmkfUtils.tradeStatusMap === void 0 ? void 0 : (_tradeStatusMap$data$ = kmkfUtils.tradeStatusMap[data.data.version]) === null || _tradeStatusMap$data$ === void 0 ? void 0 : _tradeStatusMap$data$[item.tradeStatus]
22637
22977
  });
22638
22978
  });
@@ -22880,7 +23220,7 @@ var getJyOrderListSingleton = function getJyOrderListSingleton(orderNo) {
22880
23220
  }
22881
23221
  }).then(function (res) {
22882
23222
  if (res === null || res === void 0 ? void 0 : res.success) {
22883
- var _res$data, _res$data$tradeOrderD;
23223
+ var _res$data, _res$data$tradeOrderD, _res$data3;
22884
23224
  if (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : (_res$data$tradeOrderD = _res$data.tradeOrderDetails) === null || _res$data$tradeOrderD === void 0 ? void 0 : _res$data$tradeOrderD.length) {
22885
23225
  var _filterJyOrders, _res$data2;
22886
23226
  res.data.trades = (_filterJyOrders = kmkfUtils.filterJyOrders(res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.tradeOrderDetails, orderNo)) === null || _filterJyOrders === void 0 ? void 0 : _filterJyOrders.map(function (item) {
@@ -22890,7 +23230,7 @@ var getJyOrderListSingleton = function getJyOrderListSingleton(orderNo) {
22890
23230
  });
22891
23231
  });
22892
23232
  }
22893
- resolve(res.data);
23233
+ resolve(((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.trades) || []);
22894
23234
  // 延迟10秒清除,保证订单的时效性
22895
23235
  setTimeout(function () {
22896
23236
  singletonMap$6.delete(orderNo);
@@ -22981,7 +23321,9 @@ var index$2 = (function (props) {
22981
23321
  var value = props.value,
22982
23322
  _onChange = props.onChange,
22983
23323
  disabled = props.disabled,
22984
- type = props.type;
23324
+ type = props.type,
23325
+ _props$showHeader = props.showHeader,
23326
+ showHeader = _props$showHeader === void 0 ? [] : _props$showHeader;
22985
23327
  var onceRef = React.useRef(false);
22986
23328
  var valueRef = React.useRef(null);
22987
23329
  React.useEffect(function () {
@@ -23009,8 +23351,12 @@ var index$2 = (function (props) {
23009
23351
  }
23010
23352
  }, [value, type]);
23011
23353
  var columns = React.useMemo(function () {
23012
- return columnsMap[type] || [];
23013
- }, [type]);
23354
+ var baseInfoColumns = kmkfUtils.getSystemShowHead({
23355
+ columns: columnsMap[type] || [],
23356
+ showHeader: showHeader
23357
+ });
23358
+ return baseInfoColumns || [];
23359
+ }, [type, showHeader]);
23014
23360
  var getOrderList = /*#__PURE__*/function () {
23015
23361
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
23016
23362
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -23090,17 +23436,8 @@ var index$2 = (function (props) {
23090
23436
  });
23091
23437
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23092
23438
  orders: trades,
23093
- showOrderInfo: trades.map(function (_ref4) {
23094
- var billNo = _ref4.billNo,
23095
- billType = _ref4.billType,
23096
- billTag = _ref4.billTag,
23097
- tradeStatusValue = _ref4.tradeStatusValue;
23098
- return {
23099
- billNo: billNo,
23100
- billType: billType,
23101
- billTag: billTag,
23102
- tradeStatusValue: tradeStatusValue
23103
- };
23439
+ showOrderInfo: trades.map(function (item) {
23440
+ return _objectSpread2({}, item);
23104
23441
  })
23105
23442
  }));
23106
23443
  });
@@ -23116,7 +23453,7 @@ var index$2 = (function (props) {
23116
23453
  };
23117
23454
  }();
23118
23455
  var getBsE3OrderList = /*#__PURE__*/function () {
23119
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(orderNo) {
23456
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(orderNo) {
23120
23457
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
23121
23458
  while (1) switch (_context4.prev = _context4.next) {
23122
23459
  case 0:
@@ -23137,11 +23474,11 @@ var index$2 = (function (props) {
23137
23474
  }, _callee4);
23138
23475
  }));
23139
23476
  return function getBsE3OrderList(_x4) {
23140
- return _ref5.apply(this, arguments);
23477
+ return _ref4.apply(this, arguments);
23141
23478
  };
23142
23479
  }();
23143
23480
  var getJstOrderList = /*#__PURE__*/function () {
23144
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(orderNo) {
23481
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(orderNo) {
23145
23482
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
23146
23483
  while (1) switch (_context5.prev = _context5.next) {
23147
23484
  case 0:
@@ -23160,21 +23497,21 @@ var index$2 = (function (props) {
23160
23497
  }, _callee5);
23161
23498
  }));
23162
23499
  return function getJstOrderList(_x5) {
23163
- return _ref6.apply(this, arguments);
23500
+ return _ref5.apply(this, arguments);
23164
23501
  };
23165
23502
  }();
23166
23503
  var getKmOrderList = /*#__PURE__*/function () {
23167
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(orderNo) {
23504
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(orderNo) {
23168
23505
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
23169
23506
  while (1) switch (_context6.prev = _context6.next) {
23170
23507
  case 0:
23171
23508
  kmUtils.getOrderListSingleton(orderNo).then(function (trades) {
23172
23509
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23173
23510
  orders: trades,
23174
- showOrderInfo: trades.map(function (_ref8) {
23175
- var billNo = _ref8.billNo,
23176
- billType = _ref8.billType,
23177
- billTag = _ref8.billTag;
23511
+ showOrderInfo: trades.map(function (_ref7) {
23512
+ var billNo = _ref7.billNo,
23513
+ billType = _ref7.billType,
23514
+ billTag = _ref7.billTag;
23178
23515
  return {
23179
23516
  billNo: billNo,
23180
23517
  billType: billType,
@@ -23191,11 +23528,11 @@ var index$2 = (function (props) {
23191
23528
  }, _callee6);
23192
23529
  }));
23193
23530
  return function getKmOrderList(_x6) {
23194
- return _ref7.apply(this, arguments);
23531
+ return _ref6.apply(this, arguments);
23195
23532
  };
23196
23533
  }();
23197
23534
  var getGyOrderList = /*#__PURE__*/function () {
23198
- var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(orderNo) {
23535
+ var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(orderNo) {
23199
23536
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
23200
23537
  while (1) switch (_context7.prev = _context7.next) {
23201
23538
  case 0:
@@ -23205,16 +23542,16 @@ var index$2 = (function (props) {
23205
23542
  });
23206
23543
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23207
23544
  orders: trades,
23208
- showOrderInfo: trades.map(function (_ref10) {
23209
- var billNo = _ref10.billNo,
23210
- billType = _ref10.billType,
23211
- billTag = _ref10.billTag,
23212
- tradeTagName = _ref10.tradeTagName,
23213
- deliveryState = _ref10.deliveryState,
23214
- vipCode = _ref10.vipCode,
23215
- shopCode = _ref10.shopCode,
23216
- cancel = _ref10.cancel,
23217
- rest = _objectWithoutProperties(_ref10, _excluded$k);
23545
+ showOrderInfo: trades.map(function (_ref9) {
23546
+ var billNo = _ref9.billNo,
23547
+ billType = _ref9.billType,
23548
+ billTag = _ref9.billTag,
23549
+ tradeTagName = _ref9.tradeTagName,
23550
+ deliveryState = _ref9.deliveryState,
23551
+ vipCode = _ref9.vipCode,
23552
+ shopCode = _ref9.shopCode,
23553
+ cancel = _ref9.cancel,
23554
+ rest = _objectWithoutProperties(_ref9, _excluded$k);
23218
23555
  return _objectSpread2(_objectSpread2({}, rest), {}, {
23219
23556
  billNo: billNo,
23220
23557
  billType: billType,
@@ -23237,11 +23574,11 @@ var index$2 = (function (props) {
23237
23574
  }, _callee7);
23238
23575
  }));
23239
23576
  return function getGyOrderList(_x7) {
23240
- return _ref9.apply(this, arguments);
23577
+ return _ref8.apply(this, arguments);
23241
23578
  };
23242
23579
  }();
23243
23580
  var getJyOrderList = /*#__PURE__*/function () {
23244
- var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(orderNo) {
23581
+ var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(orderNo) {
23245
23582
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
23246
23583
  while (1) switch (_context8.prev = _context8.next) {
23247
23584
  case 0:
@@ -23251,9 +23588,9 @@ var index$2 = (function (props) {
23251
23588
  });
23252
23589
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23253
23590
  orders: trades,
23254
- showOrderInfo: trades.map(function (_ref12) {
23255
- var shopCode = _ref12.shopCode,
23256
- rest = _objectWithoutProperties(_ref12, _excluded2);
23591
+ showOrderInfo: trades.map(function (_ref11) {
23592
+ var shopCode = _ref11.shopCode,
23593
+ rest = _objectWithoutProperties(_ref11, _excluded2);
23257
23594
  return _objectSpread2(_objectSpread2({}, rest), {}, {
23258
23595
  shopCode: shopCode
23259
23596
  });
@@ -23268,7 +23605,7 @@ var index$2 = (function (props) {
23268
23605
  }, _callee8);
23269
23606
  }));
23270
23607
  return function getJyOrderList(_x8) {
23271
- return _ref11.apply(this, arguments);
23608
+ return _ref10.apply(this, arguments);
23272
23609
  };
23273
23610
  }();
23274
23611
  var rowSelection = {
@@ -23312,7 +23649,7 @@ var index$2 = (function (props) {
23312
23649
  size: "small",
23313
23650
  pagination: false,
23314
23651
  scroll: {
23315
- x: 'max-content',
23652
+ x: '100%',
23316
23653
  y: 500
23317
23654
  },
23318
23655
  locale: {
@@ -23321,9 +23658,9 @@ var index$2 = (function (props) {
23321
23658
  }));
23322
23659
  });
23323
23660
 
23324
- var css_248z$d = ".customizeUpload-module_customizeUpload__2tG-4 {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n width: 100%;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj {\n display: flex !important;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj:hover:not(:disabled) {\n color: #40a9ff;\n border-color: #40a9ff;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj:disabled {\n color: #bfbfbf;\n background-color: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 {\n position: relative;\n width: 24px;\n height: 24px;\n overflow: hidden;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_image__3hOnT {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_deleteBtn__85Jsl {\n position: absolute;\n top: 2px;\n right: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n color: white;\n font-size: 10px;\n background-color: rgba(0, 0, 0, 0.6);\n border-radius: 50%;\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.2s;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_deleteBtn__85Jsl:hover {\n background-color: rgba(255, 0, 0, 0.8);\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1:hover .customizeUpload-module_deleteBtn__85Jsl {\n opacity: 1;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_uploadContainer__rUcw7 {\n margin-top: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq {\n width: 280px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_popoverTitle__3Qw2t {\n margin-bottom: 4px;\n color: #262626;\n font-weight: 500;\n font-size: 16px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_popoverSubtitle__1NA3m {\n margin-bottom: 16px;\n color: #8c8c8c;\n font-size: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G {\n display: flex;\n gap: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J {\n display: flex;\n flex: 1;\n gap: 6px;\n align-items: center;\n justify-content: center;\n height: 40px;\n background-color: #fafafa;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J:hover:not(:disabled) {\n color: #40a9ff;\n background-color: #f0f8ff;\n border-color: #40a9ff;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J:disabled {\n color: #bfbfbf;\n background-color: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n";
23661
+ var css_248z$f = ".customizeUpload-module_customizeUpload__2tG-4 {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n width: 100%;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj {\n display: flex !important;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj:hover:not(:disabled) {\n color: #40a9ff;\n border-color: #40a9ff;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_addButton__2w8Jj:disabled {\n color: #bfbfbf;\n background-color: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 {\n position: relative;\n width: 24px;\n height: 24px;\n overflow: hidden;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_image__3hOnT {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_deleteBtn__85Jsl {\n position: absolute;\n top: 2px;\n right: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n color: white;\n font-size: 10px;\n background-color: rgba(0, 0, 0, 0.6);\n border-radius: 50%;\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.2s;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1 .customizeUpload-module_deleteBtn__85Jsl:hover {\n background-color: rgba(255, 0, 0, 0.8);\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_imageItem__yn6H1:hover .customizeUpload-module_deleteBtn__85Jsl {\n opacity: 1;\n}\n.customizeUpload-module_customizeUpload__2tG-4 .customizeUpload-module_uploadContainer__rUcw7 {\n margin-top: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq {\n width: 280px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_popoverTitle__3Qw2t {\n margin-bottom: 4px;\n color: #262626;\n font-weight: 500;\n font-size: 16px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_popoverSubtitle__1NA3m {\n margin-bottom: 16px;\n color: #8c8c8c;\n font-size: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G {\n display: flex;\n gap: 12px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J {\n display: flex;\n flex: 1;\n gap: 6px;\n align-items: center;\n justify-content: center;\n height: 40px;\n background-color: #fafafa;\n border: 1px solid #d9d9d9;\n border-radius: 6px;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J:hover:not(:disabled) {\n color: #40a9ff;\n background-color: #f0f8ff;\n border-color: #40a9ff;\n}\n.customizeUpload-module_popoverContent__FrAiq .customizeUpload-module_actionButtons__2la0G .customizeUpload-module_actionButton__1Wr1J:disabled {\n color: #bfbfbf;\n background-color: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n";
23325
23662
  var styles$5 = {"customizeUpload":"customizeUpload-module_customizeUpload__2tG-4","addButton":"customizeUpload-module_addButton__2w8Jj","imageItem":"customizeUpload-module_imageItem__yn6H1","image":"customizeUpload-module_image__3hOnT","deleteBtn":"customizeUpload-module_deleteBtn__85Jsl","uploadContainer":"customizeUpload-module_uploadContainer__rUcw7","popoverContent":"customizeUpload-module_popoverContent__FrAiq","popoverTitle":"customizeUpload-module_popoverTitle__3Qw2t","popoverSubtitle":"customizeUpload-module_popoverSubtitle__1NA3m","actionButtons":"customizeUpload-module_actionButtons__2la0G","actionButton":"customizeUpload-module_actionButton__1Wr1J"};
23326
- styleInject(css_248z$d);
23663
+ styleInject(css_248z$f);
23327
23664
 
23328
23665
  var CustomizeUpload = function CustomizeUpload(_ref) {
23329
23666
  var _ref$value = _ref.value,
@@ -25110,21 +25447,12 @@ var wdtReissue = function wdtReissue(props) {
25110
25447
  while (1) switch (_context.prev = _context.next) {
25111
25448
  case 0:
25112
25449
  (_typeMap$type5 = typeMap$1[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
25113
- var _typeMap$type6, _ref3, _typeMap$type7;
25450
+ var _typeMap$type6, _ref2, _typeMap$type7;
25114
25451
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
25115
- var showOrderInfo = orders.map(function (_ref2) {
25116
- var billNo = _ref2.billNo,
25117
- billType = _ref2.billType,
25118
- billTag = _ref2.billTag,
25119
- tradeStatusValue = _ref2.tradeStatusValue;
25120
- return {
25121
- billNo: billNo,
25122
- billType: billType,
25123
- billTag: billTag,
25124
- tradeStatusValue: tradeStatusValue
25125
- };
25452
+ var showOrderInfo = orders.map(function (item) {
25453
+ return _objectSpread2({}, item);
25126
25454
  });
25127
- var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type7 = typeMap$1[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder]) || {}), {}, {
25455
+ var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref2 = valueRef.current || {}) === null || _ref2 === void 0 ? void 0 : _ref2[(_typeMap$type7 = typeMap$1[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder]) || {}), {}, {
25128
25456
  showOrderInfo: showOrderInfo,
25129
25457
  orders: orders
25130
25458
  })));
@@ -25170,10 +25498,10 @@ var wdtReissue = function wdtReissue(props) {
25170
25498
  mode: mode
25171
25499
  }))));
25172
25500
  };
25173
- var getGoodDetails = function getGoodDetails(_ref4) {
25501
+ var getGoodDetails = function getGoodDetails(_ref3) {
25174
25502
  var _typeMap$type14, _typeMap$type15, _order$goodDetails;
25175
- var mode = _ref4.mode,
25176
- sysOrderNo = _ref4.sysOrderNo;
25503
+ var mode = _ref3.mode,
25504
+ sysOrderNo = _ref3.sysOrderNo;
25177
25505
  var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type14 = typeMap$1[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.systemOrder];
25178
25506
  var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type15 = typeMap$1[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.systemOrderNo];
25179
25507
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
@@ -25227,6 +25555,9 @@ var wdtReissue = function wdtReissue(props) {
25227
25555
  return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderNo]);
25228
25556
  }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrderNo]]);
25229
25557
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Row, {
25558
+ style: {
25559
+ width: '100%'
25560
+ },
25230
25561
  gutter: 8,
25231
25562
  wrap: true
25232
25563
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
@@ -25431,7 +25762,7 @@ var PublicReissue = function PublicReissue(props) {
25431
25762
  (_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
25432
25763
  var _valueRef$current3, _typeMap$type6, _typeMap$type7, _typeMap$type11, _ref3, _typeMap$type12;
25433
25764
  var orders = data || [];
25434
- var showOrderInfo = orders.map(function (orderItem) {
25765
+ var showOrderInfo = orders === null || orders === void 0 ? void 0 : orders.map(function (orderItem) {
25435
25766
  return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
25436
25767
  });
25437
25768
  var typeObj = {};
@@ -25667,8 +25998,8 @@ var PublicReissue = function PublicReissue(props) {
25667
25998
  })));
25668
25999
  };
25669
26000
 
25670
- var css_248z$e = ".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";
25671
- styleInject(css_248z$e);
26001
+ 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";
26002
+ styleInject(css_248z$g);
25672
26003
 
25673
26004
  var TabPane$1 = antd.Tabs.TabPane;
25674
26005
  var Option$2 = antd.Select.Option;
@@ -26684,9 +27015,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
26684
27015
  })));
26685
27016
  };
26686
27017
 
26687
- var css_248z$f = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
27018
+ var css_248z$h = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
26688
27019
  var styles$6 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
26689
- styleInject(css_248z$f);
27020
+ styleInject(css_248z$h);
26690
27021
 
26691
27022
  var _excluded$r = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
26692
27023
  _excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
@@ -27297,9 +27628,9 @@ var GyReturnGoods = function GyReturnGoods(props) {
27297
27628
  })));
27298
27629
  };
27299
27630
 
27300
- var css_248z$g = ".index-module_imageBox__1f2AI {\n display: flex;\n flex-wrap: wrap;\n}\n.index-module_imageBox__1f2AI .ant-upload {\n padding: 0;\n height: 80px;\n width: 80px;\n border: none;\n border-radius: 2px;\n background: #F2F3F5;\n text-align: center;\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI .ant-upload .index-module_addBtn__1DY59 {\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI > span {\n max-width: 100%;\n}\n.index-module_tips__1XQjf {\n color: #4E5969;\n font-size: 12px;\n}\n";
27631
+ var css_248z$i = ".index-module_imageBox__1f2AI {\n display: flex;\n flex-wrap: wrap;\n}\n.index-module_imageBox__1f2AI .ant-upload {\n padding: 0;\n height: 80px;\n width: 80px;\n border: none;\n border-radius: 2px;\n background: #F2F3F5;\n text-align: center;\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI .ant-upload .index-module_addBtn__1DY59 {\n color: #86909C;\n font-size: 14px;\n}\n.index-module_imageBox__1f2AI > span {\n max-width: 100%;\n}\n.index-module_tips__1XQjf {\n color: #4E5969;\n font-size: 12px;\n}\n";
27301
27632
  var styles$7 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
27302
- styleInject(css_248z$g);
27633
+ styleInject(css_248z$i);
27303
27634
 
27304
27635
  var _excluded$t = ["maxCount", "maxSize", "onChange", "value", "disabled", "hostUrl", "canDownload", "actionUrl"];
27305
27636
  var Dragger$1 = antd.Upload.Dragger;
@@ -27922,6 +28253,17 @@ var SkxGoods = function SkxGoods(props) {
27922
28253
  }));
27923
28254
  };
27924
28255
 
28256
+ var SYSTEM_ORDER_COLUMNS_MAP = {
28257
+ BS_SYSTEM_ORDER: kmkfUtils.BS_SYSTEM_ORDER_CONFIG.columns,
28258
+ KM_SYSTEM_ORDER: kmkfUtils.KM_SYSTEM_ORDER_CONFIG.columns,
28259
+ WLN_SYSTEM_ORDER: kmkfUtils.WLN_SYSTEM_ORDER_CONFIG.columns,
28260
+ WDT_SYSTEM_ORDER: kmkfUtils.WDT_SYSTEM_ORDER_CONFIG.columns,
28261
+ BS_E3_SYSTEM_ORDER: kmkfUtils.BS_E3_SYSTEM_ORDER_CONFIG.columns,
28262
+ GY_SYSTEM_ORDER: kmkfUtils.GY_SYSTEM_ORDER_CONFIG.columns,
28263
+ JST_SYSTEM_ORDER: kmkfUtils.JST_SYSTEM_ORDER_CONFIG.columns,
28264
+ JY_SYSTEM_ORDER: kmkfUtils.JY_SYSTEM_ORDER_CONFIG.columns
28265
+ };
28266
+
27925
28267
  exports.Address = ApaasAddress;
27926
28268
  exports.AliPay = AliPay;
27927
28269
  exports.ApaasAddress = Province;
@@ -27982,6 +28324,7 @@ exports.Payment = Payment;
27982
28324
  exports.PublicReissue = PublicReissue;
27983
28325
  exports.Remark = RemarkInput;
27984
28326
  exports.ReturnLogistics = ExpressLogistics;
28327
+ exports.SYSTEM_ORDER_COLUMNS_MAP = SYSTEM_ORDER_COLUMNS_MAP;
27985
28328
  exports.ShopName = ShopNameSelect;
27986
28329
  exports.SkxGoods = SkxGoods;
27987
28330
  exports.SkxIdInputSelect = IdInputSelect;