@kmkf-fe-packages/basic-components 2.2.23 → 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.esm.js CHANGED
@@ -8799,7 +8799,7 @@ var processSkxGoods = function processSkxGoods(getValue) {
8799
8799
  var processBsReissueGoods = function processBsReissueGoods(getValue) {
8800
8800
  return function (nex, config) {
8801
8801
  return _defineProperty({}, nex.uniqueKey, {
8802
- bsReissueType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueType")), []),
8802
+ bsReissueType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueType")), !isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : []),
8803
8803
  bsReissueGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueGoods")), []),
8804
8804
  shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
8805
8805
  });
@@ -8807,7 +8807,7 @@ var processBsReissueGoods = function processBsReissueGoods(getValue) {
8807
8807
  };
8808
8808
  var processBsExchangeGoods = function processBsExchangeGoods(getValue) {
8809
8809
  return function (nex, config) {
8810
- var bsExchangeType = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeType")), []);
8810
+ var bsExchangeType = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeType")), !isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : []);
8811
8811
  var bsExchangeReturnGoods = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeReturnGoods")), []);
8812
8812
  var bsExchangeSwapOutGoods = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeSwapOutGoods")), []);
8813
8813
  //补发组装数据
@@ -8872,7 +8872,7 @@ var processBsReturnGoods = function processBsReturnGoods(getValue) {
8872
8872
  shopCodeKey: 'shopCode'
8873
8873
  }
8874
8874
  };
8875
- 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));
8875
+ return _defineProperty({}, "".concat(nex.uniqueKey), (_$concat = {}, _defineProperty(_$concat, returnGoodsMap[compType].returnTypeKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnTypeKey)), !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));
8876
8876
  };
8877
8877
  };
8878
8878
  var processErpSystemOrder = function processErpSystemOrder(getValue) {
@@ -10416,8 +10416,10 @@ function CopyTextIcon(_ref) {
10416
10416
  justifyContent: 'center'
10417
10417
  }
10418
10418
  }, /*#__PURE__*/React.createElement("span", {
10419
+ className: "ellipsis-text-3",
10419
10420
  style: {
10420
10421
  marginRight: 8,
10422
+ flex: 1,
10421
10423
  overflow: 'hidden',
10422
10424
  textOverflow: 'ellipsis',
10423
10425
  whiteSpace: 'nowrap'
@@ -13977,6 +13979,18 @@ var ItemList = function ItemList(props) {
13977
13979
  }, "\u6682\u4E0D\u652F\u6301\u6DFB\u52A0")) : null);
13978
13980
  };
13979
13981
 
13982
+ var renderTextEllipsis = function renderTextEllipsis(value) {
13983
+ return /*#__PURE__*/React.createElement("span", {
13984
+ className: "ellipsis-text-3"
13985
+ }, value);
13986
+ };
13987
+
13988
+ 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";
13989
+ styleInject(css_248z$b);
13990
+
13991
+ 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";
13992
+ styleInject(css_248z$c);
13993
+
13980
13994
  var _excluded$d = ["shopId"];
13981
13995
  var columns = [{
13982
13996
  dataIndex: 'index',
@@ -13991,44 +14005,39 @@ var columns = [{
13991
14005
  }, {
13992
14006
  dataIndex: 'skuName',
13993
14007
  title: '商品sku名称',
13994
- with: 200,
13995
- ellipsis: true
14008
+ width: 300,
14009
+ ellipsis: true,
14010
+ render: renderTextEllipsis
13996
14011
  }, {
13997
14012
  dataIndex: 'skuCode',
13998
14013
  title: '商品sku编码',
13999
- with: 200,
14000
- ellipsis: true
14014
+ width: 200,
14015
+ ellipsis: true,
14016
+ render: renderTextEllipsis
14001
14017
  }, {
14002
14018
  dataIndex: 'name',
14003
14019
  title: '商品名称',
14004
- with: 200,
14005
- ellipsis: true
14020
+ width: 200,
14021
+ ellipsis: true,
14022
+ render: renderTextEllipsis
14006
14023
  }, {
14007
14024
  dataIndex: 'goodsId',
14008
14025
  title: '商品id',
14009
- with: 200,
14010
- ellipsis: true
14026
+ width: 200,
14027
+ ellipsis: true,
14028
+ render: renderTextEllipsis
14011
14029
  }, {
14012
14030
  dataIndex: 'code',
14013
14031
  title: '商品编码',
14014
- with: 200,
14015
- render: function render(val) {
14016
- return /*#__PURE__*/React.createElement("div", {
14017
- style: {
14018
- width: '100px'
14019
- }
14020
- }, val);
14021
- }
14032
+ width: 200,
14033
+ ellipsis: true,
14034
+ render: renderTextEllipsis
14022
14035
  }, {
14023
14036
  dataIndex: 'marketPrice',
14024
14037
  title: '市场价',
14025
- render: function render(val) {
14026
- return /*#__PURE__*/React.createElement("div", {
14027
- style: {
14028
- width: '70px'
14029
- }
14030
- }, val);
14031
- }
14038
+ width: 70,
14039
+ ellipsis: true,
14040
+ render: renderTextEllipsis
14032
14041
  }];
14033
14042
  var GoodsModal$1 = function GoodsModal(props, ref) {
14034
14043
  useImperativeHandle(ref, function () {
@@ -14297,27 +14306,27 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14297
14306
  }, {
14298
14307
  dataIndex: 'skuName',
14299
14308
  title: '商品sku名称',
14300
- with: 200,
14309
+ width: 300,
14301
14310
  ellipsis: true
14302
14311
  }, {
14303
14312
  dataIndex: 'skuCode',
14304
14313
  title: '商品sku编码',
14305
- with: 200,
14314
+ width: 200,
14306
14315
  ellipsis: true
14307
14316
  }, {
14308
14317
  dataIndex: 'name',
14309
14318
  title: '商品名称',
14310
- with: 200,
14319
+ width: 200,
14311
14320
  ellipsis: true
14312
14321
  }, {
14313
14322
  dataIndex: 'goodsId',
14314
14323
  title: '商品id',
14315
- with: 200,
14324
+ width: 200,
14316
14325
  ellipsis: true
14317
14326
  }, {
14318
14327
  dataIndex: 'code',
14319
14328
  title: '商品编码',
14320
- with: 200,
14329
+ width: 200,
14321
14330
  render: function render(val) {
14322
14331
  return /*#__PURE__*/React.createElement("div", {
14323
14332
  style: {
@@ -14346,9 +14355,10 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14346
14355
  rowKey: 'skuCode',
14347
14356
  dataSource: selectList,
14348
14357
  scroll: {
14349
- x: true,
14358
+ x: '100%',
14350
14359
  y: 250
14351
14360
  },
14361
+ size: "small",
14352
14362
  pagination: {
14353
14363
  size: 'small',
14354
14364
  total: selectIds.length,
@@ -14372,6 +14382,7 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14372
14382
  top: 20
14373
14383
  }
14374
14384
  }, /*#__PURE__*/React.createElement(Form, {
14385
+ className: "search-form",
14375
14386
  layout: "inline",
14376
14387
  form: form,
14377
14388
  onFinish: onFinish,
@@ -14420,7 +14431,12 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14420
14431
  style: {
14421
14432
  width: 150
14422
14433
  }
14423
- })), /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement(Button, {
14434
+ })), /*#__PURE__*/React.createElement(Form.Item, {
14435
+ className: "search-form-actions"
14436
+ }, /*#__PURE__*/React.createElement(Button, {
14437
+ style: {
14438
+ marginRight: '8px'
14439
+ },
14424
14440
  type: "primary",
14425
14441
  htmlType: "submit"
14426
14442
  }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
@@ -14428,14 +14444,17 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14428
14444
  }, "\u91CD\u7F6E"))), /*#__PURE__*/React.createElement(Spin, {
14429
14445
  spinning: loading
14430
14446
  }, /*#__PURE__*/React.createElement(Table, {
14447
+ className: "GoodModalColumns",
14431
14448
  rowSelection: rowSelection,
14432
14449
  columns: columns,
14433
14450
  rowKey: 'skuCode',
14434
14451
  dataSource: goodList,
14452
+ tableLayout: "fixed",
14435
14453
  scroll: {
14436
- x: true,
14454
+ x: 'max-content',
14437
14455
  y: 250
14438
14456
  },
14457
+ size: "small",
14439
14458
  pagination: {
14440
14459
  size: 'small',
14441
14460
  total: total,
@@ -14462,27 +14481,32 @@ var gyColumns = [{
14462
14481
  dataIndex: 'specName',
14463
14482
  title: 'SKU名称',
14464
14483
  width: 250,
14465
- ellipsis: true
14484
+ ellipsis: true,
14485
+ render: renderTextEllipsis
14466
14486
  }, {
14467
14487
  dataIndex: 'specNo',
14468
14488
  title: 'SKU编码',
14469
14489
  width: 150,
14470
- ellipsis: true
14490
+ ellipsis: true,
14491
+ render: renderTextEllipsis
14471
14492
  }, {
14472
14493
  dataIndex: 'goodName',
14473
14494
  title: '商品名称',
14474
14495
  width: 250,
14475
- ellipsis: true
14496
+ ellipsis: true,
14497
+ render: renderTextEllipsis
14476
14498
  }, {
14477
14499
  dataIndex: 'goodShortName',
14478
14500
  title: "\u5546\u54C1\u7B80\u79F0",
14479
14501
  ellipsis: true,
14480
- width: 150
14502
+ width: 150,
14503
+ render: renderTextEllipsis
14481
14504
  }, {
14482
14505
  dataIndex: 'goodNo',
14483
14506
  title: '商品编码',
14484
14507
  width: 150,
14485
- ellipsis: true
14508
+ ellipsis: true,
14509
+ render: renderTextEllipsis
14486
14510
  }, {
14487
14511
  dataIndex: 'goodPicUrl',
14488
14512
  title: '商品图片',
@@ -14490,8 +14514,8 @@ var gyColumns = [{
14490
14514
  render: function render(picUrl) {
14491
14515
  return /*#__PURE__*/React.createElement("img", {
14492
14516
  style: {
14493
- width: '40px',
14494
- height: '40px',
14517
+ width: '30px',
14518
+ height: '30px',
14495
14519
  objectFit: 'contain'
14496
14520
  },
14497
14521
  src: picUrl
@@ -14501,39 +14525,46 @@ var gyColumns = [{
14501
14525
  dataIndex: 'brandName',
14502
14526
  title: '品牌名称',
14503
14527
  width: 200,
14504
- ellipsis: true
14528
+ ellipsis: true,
14529
+ render: renderTextEllipsis
14505
14530
  }, {
14506
14531
  dataIndex: 'retailPrice',
14507
14532
  title: "\u6807\u51C6\u552E\u4EF7",
14508
14533
  ellipsis: true,
14509
- width: 100
14534
+ width: 100,
14535
+ render: renderTextEllipsis
14510
14536
  }, {
14511
14537
  dataIndex: 'costPrice',
14512
14538
  title: "\u6210\u672C\u4EF7",
14513
14539
  ellipsis: true,
14514
- width: 100
14540
+ width: 100,
14541
+ render: renderTextEllipsis
14515
14542
  }];
14516
14543
 
14517
14544
  var jstColumns = [{
14518
14545
  dataIndex: 'goodName',
14519
14546
  title: '商品名称',
14520
14547
  width: 250,
14521
- ellipsis: true
14548
+ ellipsis: true,
14549
+ render: renderTextEllipsis
14522
14550
  }, {
14523
14551
  dataIndex: 'goodNo',
14524
14552
  title: '商品编码',
14525
14553
  width: 200,
14526
- ellipsis: true
14554
+ ellipsis: true,
14555
+ render: renderTextEllipsis
14527
14556
  }, {
14528
14557
  dataIndex: 'styleCode',
14529
14558
  title: '款式编码',
14530
14559
  width: 200,
14531
- ellipsis: true
14560
+ ellipsis: true,
14561
+ render: renderTextEllipsis
14532
14562
  }, {
14533
14563
  dataIndex: 'propertiesValue',
14534
14564
  title: '规格值',
14535
14565
  width: 200,
14536
- ellipsis: true
14566
+ ellipsis: true,
14567
+ render: renderTextEllipsis
14537
14568
  }, {
14538
14569
  dataIndex: 'goodPicUrl',
14539
14570
  title: '商品图片',
@@ -14541,8 +14572,8 @@ var jstColumns = [{
14541
14572
  render: function render(picUrl) {
14542
14573
  return /*#__PURE__*/React.createElement("img", {
14543
14574
  style: {
14544
- width: '40px',
14545
- height: '40px',
14575
+ width: '30px',
14576
+ height: '30px',
14546
14577
  objectFit: 'contain'
14547
14578
  },
14548
14579
  src: picUrl
@@ -14552,19 +14583,21 @@ var jstColumns = [{
14552
14583
  dataIndex: 'goodShortName',
14553
14584
  title: "\u5546\u54C1\u7B80\u79F0",
14554
14585
  ellipsis: true,
14555
- width: 250
14586
+ width: 250,
14587
+ render: renderTextEllipsis
14556
14588
  }, {
14557
14589
  dataIndex: 'brandName',
14558
14590
  title: '品牌名称',
14559
14591
  width: 200,
14560
- ellipsis: true
14592
+ ellipsis: true,
14593
+ render: renderTextEllipsis
14561
14594
  }, {
14562
14595
  dataIndex: 'retailPrice',
14563
14596
  title: "\u9500\u552E\u4EF7\u683C",
14564
14597
  ellipsis: true,
14565
14598
  width: 100,
14566
14599
  render: function render(price) {
14567
- return price || price === 0 ? Number(price).toFixed(2) : '';
14600
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14568
14601
  }
14569
14602
  }, {
14570
14603
  dataIndex: 'marketPrice',
@@ -14572,7 +14605,7 @@ var jstColumns = [{
14572
14605
  ellipsis: true,
14573
14606
  width: 100,
14574
14607
  render: function render(price) {
14575
- return price || price === 0 ? Number(price).toFixed(2) : '';
14608
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14576
14609
  }
14577
14610
  }, {
14578
14611
  dataIndex: 'costPrice',
@@ -14580,7 +14613,7 @@ var jstColumns = [{
14580
14613
  ellipsis: true,
14581
14614
  width: 100,
14582
14615
  render: function render(price) {
14583
- return price || price === 0 ? Number(price).toFixed(2) : '';
14616
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14584
14617
  }
14585
14618
  }, {
14586
14619
  dataIndex: 'skuType',
@@ -14589,10 +14622,10 @@ var jstColumns = [{
14589
14622
  width: 100,
14590
14623
  render: function render() {
14591
14624
  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'normal';
14592
- return {
14625
+ return renderTextEllipsis({
14593
14626
  combine: '组合装商品',
14594
14627
  normal: '普通商品'
14595
- }[type] || type;
14628
+ }[type] || type);
14596
14629
  }
14597
14630
  }];
14598
14631
 
@@ -14600,17 +14633,20 @@ var wdtColumns = [{
14600
14633
  dataIndex: 'specName',
14601
14634
  title: 'SKU名称',
14602
14635
  width: 250,
14603
- ellipsis: true
14636
+ ellipsis: true,
14637
+ render: renderTextEllipsis
14604
14638
  }, {
14605
14639
  dataIndex: 'specNo',
14606
14640
  title: 'SKU编码',
14607
14641
  width: 200,
14608
- ellipsis: true
14642
+ ellipsis: true,
14643
+ render: renderTextEllipsis
14609
14644
  }, {
14610
14645
  dataIndex: 'specId',
14611
14646
  title: 'SKUID',
14612
14647
  width: 200,
14613
- ellipsis: true
14648
+ ellipsis: true,
14649
+ render: renderTextEllipsis
14614
14650
  }, {
14615
14651
  dataIndex: 'specImgUrl',
14616
14652
  title: '商品图片',
@@ -14618,8 +14654,8 @@ var wdtColumns = [{
14618
14654
  render: function render(picUrl) {
14619
14655
  return /*#__PURE__*/React.createElement("img", {
14620
14656
  style: {
14621
- width: '40px',
14622
- height: '40px',
14657
+ width: '30px',
14658
+ height: '30px',
14623
14659
  objectFit: 'contain'
14624
14660
  },
14625
14661
  src: picUrl
@@ -14629,42 +14665,46 @@ var wdtColumns = [{
14629
14665
  dataIndex: 'goodName',
14630
14666
  title: '商品名称',
14631
14667
  width: 250,
14632
- ellipsis: true
14668
+ ellipsis: true,
14669
+ render: renderTextEllipsis
14633
14670
  }, {
14634
14671
  dataIndex: 'goodNo',
14635
14672
  title: '商品编码',
14636
14673
  width: 200,
14637
- ellipsis: true
14674
+ ellipsis: true,
14675
+ render: renderTextEllipsis
14638
14676
  }, {
14639
14677
  dataIndex: 'goodId',
14640
14678
  title: '商品ID',
14641
14679
  width: 200,
14642
- ellipsis: true
14680
+ ellipsis: true,
14681
+ render: renderTextEllipsis
14643
14682
  }, {
14644
14683
  dataIndex: 'brandName',
14645
14684
  title: '品牌名称',
14646
14685
  width: 200,
14647
- ellipsis: true
14686
+ ellipsis: true,
14687
+ render: renderTextEllipsis
14648
14688
  }, {
14649
14689
  dataIndex: 'marketPrice',
14650
14690
  title: '市场价',
14651
14691
  width: 140,
14652
14692
  render: function render(price) {
14653
- return Number(price).toFixed(2);
14693
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14654
14694
  }
14655
14695
  }, {
14656
14696
  dataIndex: 'retailPrice',
14657
14697
  title: '零售价',
14658
14698
  width: 140,
14659
14699
  render: function render(price) {
14660
- return Number(price).toFixed(2);
14700
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14661
14701
  }
14662
14702
  }, {
14663
14703
  dataIndex: 'memberPrice',
14664
14704
  title: '会员价',
14665
14705
  width: 140,
14666
14706
  render: function render(price) {
14667
- return Number(price).toFixed(2);
14707
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14668
14708
  }
14669
14709
  }];
14670
14710
 
@@ -14672,22 +14712,26 @@ var bse3Columns = [{
14672
14712
  dataIndex: 'specNo',
14673
14713
  title: "SKU",
14674
14714
  ellipsis: true,
14675
- width: 200
14715
+ width: 200,
14716
+ render: renderTextEllipsis
14676
14717
  }, {
14677
14718
  dataIndex: 'specId',
14678
14719
  title: "SKU ID",
14679
14720
  ellipsis: true,
14680
- width: 80
14721
+ width: 80,
14722
+ render: renderTextEllipsis
14681
14723
  }, {
14682
14724
  dataIndex: 'goodName',
14683
14725
  title: "\u5546\u54C1\u540D\u79F0",
14684
14726
  ellipsis: true,
14685
- width: 250
14727
+ width: 250,
14728
+ render: renderTextEllipsis
14686
14729
  }, {
14687
14730
  dataIndex: 'goodShortName',
14688
14731
  title: "\u5546\u54C1\u7B80\u79F0",
14689
14732
  ellipsis: true,
14690
- width: 250
14733
+ width: 250,
14734
+ render: renderTextEllipsis
14691
14735
  },
14692
14736
  // {
14693
14737
  // dataIndex: 'goodPicUrl',
@@ -14711,47 +14755,56 @@ var bse3Columns = [{
14711
14755
  dataIndex: 'goodNo',
14712
14756
  title: "\u8D27\u53F7",
14713
14757
  ellipsis: true,
14714
- width: 150
14758
+ width: 150,
14759
+ render: renderTextEllipsis
14715
14760
  }, {
14716
14761
  dataIndex: 'goodId',
14717
14762
  title: "\u8D27\u53F7ID",
14718
14763
  ellipsis: true,
14719
- width: 100
14764
+ width: 100,
14765
+ render: renderTextEllipsis
14720
14766
  }, {
14721
14767
  dataIndex: 'colorName',
14722
14768
  title: "\u989C\u8272\u540D\u79F0",
14723
14769
  ellipsis: true,
14724
- width: 100
14770
+ width: 100,
14771
+ render: renderTextEllipsis
14725
14772
  }, {
14726
14773
  dataIndex: 'colorCode',
14727
14774
  title: "\u989C\u8272\u4EE3\u7801",
14728
14775
  ellipsis: true,
14729
- width: 100
14776
+ width: 100,
14777
+ render: renderTextEllipsis
14730
14778
  }, {
14731
14779
  dataIndex: 'sizeName',
14732
14780
  title: "\u5C3A\u7801\u540D\u79F0",
14733
14781
  ellipsis: true,
14734
- width: 100
14782
+ width: 100,
14783
+ render: renderTextEllipsis
14735
14784
  }, {
14736
14785
  dataIndex: 'sizeCode',
14737
14786
  title: "\u5C3A\u7801\u4EE3\u7801",
14738
14787
  ellipsis: true,
14739
- width: 100
14788
+ width: 100,
14789
+ render: renderTextEllipsis
14740
14790
  }, {
14741
14791
  dataIndex: 'brandName',
14742
14792
  title: "\u54C1\u724C\u540D\u79F0",
14743
14793
  ellipsis: true,
14744
- width: 100
14794
+ width: 100,
14795
+ render: renderTextEllipsis
14745
14796
  }, {
14746
14797
  dataIndex: 'marketPrice',
14747
14798
  title: "\u5E02\u573A\u4EF7",
14748
14799
  ellipsis: true,
14749
- width: 100
14800
+ width: 100,
14801
+ render: renderTextEllipsis
14750
14802
  }, {
14751
14803
  dataIndex: 'retailPrice',
14752
14804
  title: "\u552E\u4EF7",
14753
14805
  ellipsis: true,
14754
- width: 100
14806
+ width: 100,
14807
+ render: renderTextEllipsis
14755
14808
  }];
14756
14809
 
14757
14810
  var getYesOrNo = function getYesOrNo(val) {
@@ -14762,24 +14815,27 @@ var kmColumns = [{
14762
14815
  dataIndex: 'goodName',
14763
14816
  title: '商品名称',
14764
14817
  width: 250,
14765
- ellipsis: true
14818
+ ellipsis: true,
14819
+ render: renderTextEllipsis
14766
14820
  }, {
14767
14821
  dataIndex: 'goodNo',
14768
14822
  title: '商品编码',
14769
14823
  width: 150,
14770
- ellipsis: true
14824
+ ellipsis: true,
14825
+ render: renderTextEllipsis
14771
14826
  }, {
14772
14827
  dataIndex: 'goodId',
14773
14828
  title: '商品ID',
14774
14829
  width: 200,
14775
- ellipsis: true
14830
+ ellipsis: true,
14831
+ render: renderTextEllipsis
14776
14832
  }, {
14777
14833
  dataIndex: 'goodPicUrl',
14778
14834
  title: "\u5546\u54C1\u56FE\u7247",
14779
14835
  width: 150,
14780
14836
  render: function render(val) {
14781
14837
  return /*#__PURE__*/React.createElement(Image, {
14782
- width: 60,
14838
+ width: 30,
14783
14839
  src: val
14784
14840
  });
14785
14841
  }
@@ -14787,52 +14843,62 @@ var kmColumns = [{
14787
14843
  dataIndex: 'goodShortName',
14788
14844
  title: '商品简称',
14789
14845
  width: 200,
14790
- ellipsis: true
14846
+ ellipsis: true,
14847
+ render: renderTextEllipsis
14791
14848
  }, {
14792
14849
  dataIndex: 'goodBarcode',
14793
14850
  title: '商品条码',
14794
14851
  width: 200,
14795
- ellipsis: true
14852
+ ellipsis: true,
14853
+ render: renderTextEllipsis
14796
14854
  }, {
14797
14855
  dataIndex: 'brandName',
14798
14856
  title: "\u54C1\u724C\u540D\u79F0",
14799
14857
  ellipsis: true,
14800
- width: 150
14858
+ width: 150,
14859
+ render: renderTextEllipsis
14801
14860
  }, {
14802
14861
  dataIndex: 'skuType',
14803
14862
  title: "\u5546\u54C1\u7C7B\u578B",
14804
14863
  ellipsis: true,
14805
- width: 150
14864
+ width: 150,
14865
+ render: renderTextEllipsis
14806
14866
  }, {
14807
14867
  dataIndex: 'specName',
14808
14868
  title: "SKU\u540D\u79F0",
14809
14869
  ellipsis: true,
14810
- width: 150
14870
+ width: 150,
14871
+ render: renderTextEllipsis
14811
14872
  }, {
14812
14873
  dataIndex: 'specNo',
14813
14874
  title: "SKU\u7F16\u7801",
14814
14875
  ellipsis: true,
14815
- width: 150
14876
+ width: 150,
14877
+ render: renderTextEllipsis
14816
14878
  }, {
14817
14879
  dataIndex: 'specId',
14818
14880
  title: "SKU ID",
14819
14881
  ellipsis: true,
14820
- width: 150
14882
+ width: 150,
14883
+ render: renderTextEllipsis
14821
14884
  }, {
14822
14885
  dataIndex: 'propertiesValue',
14823
14886
  title: "\u89C4\u683C\u503C",
14824
14887
  ellipsis: true,
14825
- width: 150
14888
+ width: 150,
14889
+ render: renderTextEllipsis
14826
14890
  }, {
14827
14891
  dataIndex: 'skuShortTitle',
14828
14892
  title: "\u89C4\u683C\u7B80\u79F0",
14829
14893
  ellipsis: true,
14830
- width: 150
14894
+ width: 150,
14895
+ render: renderTextEllipsis
14831
14896
  }, {
14832
14897
  dataIndex: 'specBarcode',
14833
14898
  title: "\u89C4\u683C\u6761\u7801",
14834
14899
  ellipsis: true,
14835
- width: 150
14900
+ width: 150,
14901
+ render: renderTextEllipsis
14836
14902
  }, {
14837
14903
  dataIndex: 'specImgUrl',
14838
14904
  title: "SKU \u56FE\u7247",
@@ -14840,7 +14906,7 @@ var kmColumns = [{
14840
14906
  width: 150,
14841
14907
  render: function render(val) {
14842
14908
  return /*#__PURE__*/React.createElement(Image, {
14843
- width: 60,
14909
+ width: 30,
14844
14910
  src: val
14845
14911
  });
14846
14912
  }
@@ -14850,7 +14916,7 @@ var kmColumns = [{
14850
14916
  ellipsis: true,
14851
14917
  width: 150,
14852
14918
  render: function render(val) {
14853
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14919
+ return renderTextEllipsis(getYesOrNo(val));
14854
14920
  }
14855
14921
  }, {
14856
14922
  dataIndex: 'isVirtual',
@@ -14858,7 +14924,7 @@ var kmColumns = [{
14858
14924
  ellipsis: true,
14859
14925
  width: 150,
14860
14926
  render: function render(val) {
14861
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14927
+ return renderTextEllipsis(getYesOrNo(val));
14862
14928
  }
14863
14929
  }, {
14864
14930
  dataIndex: 'isSkuItem',
@@ -14866,23 +14932,26 @@ var kmColumns = [{
14866
14932
  ellipsis: true,
14867
14933
  width: 150,
14868
14934
  render: function render(val) {
14869
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
14935
+ return renderTextEllipsis(getYesOrNo(val));
14870
14936
  }
14871
14937
  }, {
14872
14938
  dataIndex: 'marketPrice',
14873
14939
  title: "\u5E02\u573A\u4EF7",
14874
14940
  ellipsis: true,
14875
- width: 150
14941
+ width: 150,
14942
+ render: renderTextEllipsis
14876
14943
  }, {
14877
14944
  dataIndex: 'retailPrice',
14878
14945
  title: "\u96F6\u552E\u4EF7",
14879
14946
  ellipsis: true,
14880
- width: 150
14947
+ width: 150,
14948
+ render: renderTextEllipsis
14881
14949
  }, {
14882
14950
  dataIndex: 'costPrice',
14883
14951
  title: "\u6210\u672C\u4EF7",
14884
14952
  ellipsis: true,
14885
- width: 150
14953
+ width: 150,
14954
+ render: renderTextEllipsis
14886
14955
  }];
14887
14956
 
14888
14957
  var getYesOrNo$1 = function getYesOrNo(val) {
@@ -14893,17 +14962,20 @@ var jyColumns = [{
14893
14962
  dataIndex: 'goodName',
14894
14963
  title: '商品名称',
14895
14964
  width: 250,
14896
- ellipsis: true
14965
+ ellipsis: true,
14966
+ render: renderTextEllipsis
14897
14967
  }, {
14898
14968
  dataIndex: 'goodNo',
14899
14969
  title: '商品编码',
14900
14970
  width: 150,
14901
- ellipsis: true
14971
+ ellipsis: true,
14972
+ render: renderTextEllipsis
14902
14973
  }, {
14903
14974
  dataIndex: 'goodId',
14904
14975
  title: '商品ID',
14905
14976
  width: 150,
14906
- ellipsis: true
14977
+ ellipsis: true,
14978
+ render: renderTextEllipsis
14907
14979
  }, {
14908
14980
  dataIndex: 'imageUrl',
14909
14981
  title: '商品图片',
@@ -14911,8 +14983,8 @@ var jyColumns = [{
14911
14983
  render: function render(picUrl) {
14912
14984
  return picUrl ? /*#__PURE__*/React.createElement("img", {
14913
14985
  style: {
14914
- width: '40px',
14915
- height: '40px',
14986
+ width: '30px',
14987
+ height: '30px',
14916
14988
  objectFit: 'contain'
14917
14989
  },
14918
14990
  src: picUrl
@@ -14922,37 +14994,44 @@ var jyColumns = [{
14922
14994
  dataIndex: 'goodShortName',
14923
14995
  title: "\u5546\u54C1\u7B80\u79F0",
14924
14996
  ellipsis: true,
14925
- width: 150
14997
+ width: 150,
14998
+ render: renderTextEllipsis
14926
14999
  }, {
14927
15000
  dataIndex: 'categoryName',
14928
15001
  title: "\u5546\u54C1\u7EC4",
14929
15002
  ellipsis: true,
14930
- width: 150
15003
+ width: 150,
15004
+ render: renderTextEllipsis
14931
15005
  }, {
14932
15006
  dataIndex: 'brandName',
14933
15007
  title: '品牌名称',
14934
15008
  width: 200,
14935
- ellipsis: true
15009
+ ellipsis: true,
15010
+ render: renderTextEllipsis
14936
15011
  }, {
14937
15012
  dataIndex: 'specName',
14938
15013
  title: '规格名称',
14939
15014
  width: 250,
14940
- ellipsis: true
15015
+ ellipsis: true,
15016
+ render: renderTextEllipsis
14941
15017
  }, {
14942
15018
  dataIndex: 'specNo',
14943
15019
  title: '规格编码',
14944
15020
  width: 150,
14945
- ellipsis: true
15021
+ ellipsis: true,
15022
+ render: renderTextEllipsis
14946
15023
  }, {
14947
15024
  dataIndex: 'specId',
14948
15025
  title: '规格ID',
14949
15026
  width: 250,
14950
- ellipsis: true
15027
+ ellipsis: true,
15028
+ render: renderTextEllipsis
14951
15029
  }, {
14952
15030
  dataIndex: 'specBarcode',
14953
15031
  title: '规格条码',
14954
15032
  width: 150,
14955
- ellipsis: true
15033
+ ellipsis: true,
15034
+ render: renderTextEllipsis
14956
15035
  }, {
14957
15036
  dataIndex: 'specImgUrl',
14958
15037
  title: '规格图片',
@@ -14960,8 +15039,8 @@ var jyColumns = [{
14960
15039
  render: function render(picUrl) {
14961
15040
  return picUrl ? /*#__PURE__*/React.createElement("img", {
14962
15041
  style: {
14963
- width: '40px',
14964
- height: '40px',
15042
+ width: '30px',
15043
+ height: '30px',
14965
15044
  objectFit: 'contain'
14966
15045
  },
14967
15046
  src: picUrl
@@ -14971,34 +15050,39 @@ var jyColumns = [{
14971
15050
  dataIndex: 'colorName',
14972
15051
  title: "\u989C\u8272",
14973
15052
  ellipsis: true,
14974
- width: 100
15053
+ width: 100,
15054
+ render: renderTextEllipsis
14975
15055
  }, {
14976
15056
  dataIndex: 'sizeName',
14977
15057
  title: "\u5C3A\u7801",
14978
15058
  ellipsis: true,
14979
- width: 100
15059
+ width: 100,
15060
+ render: renderTextEllipsis
14980
15061
  }, {
14981
15062
  dataIndex: 'marketPrice',
14982
15063
  title: "\u5E02\u573A\u4EF7",
14983
15064
  ellipsis: true,
14984
- width: 100
15065
+ width: 100,
15066
+ render: renderTextEllipsis
14985
15067
  }, {
14986
15068
  dataIndex: 'retailPrice',
14987
15069
  title: "\u96F6\u552E\u4EF7",
14988
15070
  ellipsis: true,
14989
- width: 100
15071
+ width: 100,
15072
+ render: renderTextEllipsis
14990
15073
  }, {
14991
15074
  dataIndex: 'costPrice',
14992
15075
  title: "\u6210\u672C\u4EF7",
14993
15076
  ellipsis: true,
14994
- width: 100
15077
+ width: 100,
15078
+ render: renderTextEllipsis
14995
15079
  }, {
14996
15080
  dataIndex: 'isGift',
14997
15081
  title: "\u662F\u5426\u8D60\u54C1",
14998
15082
  ellipsis: true,
14999
15083
  width: 150,
15000
15084
  render: function render(val) {
15001
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
15085
+ return renderTextEllipsis(getYesOrNo$1(val));
15002
15086
  }
15003
15087
  }, {
15004
15088
  dataIndex: 'skuType',
@@ -15006,7 +15090,7 @@ var jyColumns = [{
15006
15090
  ellipsis: true,
15007
15091
  width: 150,
15008
15092
  render: function render(val) {
15009
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val === 'combine'));
15093
+ return renderTextEllipsis(getYesOrNo$1(val === 'combine'));
15010
15094
  }
15011
15095
  }];
15012
15096
 
@@ -15151,7 +15235,8 @@ function SearchForm(_ref) {
15151
15235
  }();
15152
15236
  return /*#__PURE__*/React.createElement(Form, {
15153
15237
  layout: "inline",
15154
- form: form
15238
+ form: form,
15239
+ className: "search-form"
15155
15240
  }, searchFormData.map(function (item) {
15156
15241
  var label = item.label,
15157
15242
  name = item.name,
@@ -15191,7 +15276,8 @@ function SearchForm(_ref) {
15191
15276
  }), /*#__PURE__*/React.createElement(Form.Item, {
15192
15277
  style: {
15193
15278
  marginBottom: '12px'
15194
- }
15279
+ },
15280
+ className: "search-form-actions"
15195
15281
  }, /*#__PURE__*/React.createElement(Button, {
15196
15282
  type: "primary",
15197
15283
  style: {
@@ -15435,7 +15521,8 @@ var GoodList = function GoodList(props, ref) {
15435
15521
  style: {
15436
15522
  marginTop: '4px'
15437
15523
  }
15438
- }, /*#__PURE__*/React.createElement(Table, _objectSpread2({
15524
+ }, /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({
15525
+ className: "GoodModalColumns",
15439
15526
  rowSelection: rowSelection,
15440
15527
  rowKey: "specNo",
15441
15528
  columns: columns,
@@ -15443,7 +15530,9 @@ var GoodList = function GoodList(props, ref) {
15443
15530
  x: '100%',
15444
15531
  y: 250
15445
15532
  }
15446
- }, tableProps))), /*#__PURE__*/React.createElement(Popover, {
15533
+ }, tableProps), {}, {
15534
+ size: "small"
15535
+ }))), /*#__PURE__*/React.createElement(Popover, {
15447
15536
  getPopupContainer: function getPopupContainer(triggerNode) {
15448
15537
  return triggerNode.parentElement;
15449
15538
  },
@@ -15687,13 +15776,15 @@ var GoodList$1 = function GoodList(props, ref) {
15687
15776
  marginTop: '4px'
15688
15777
  }
15689
15778
  }, /*#__PURE__*/React.createElement(Table, _objectSpread2({
15779
+ className: "GoodModalColumns",
15690
15780
  rowSelection: rowSelection,
15691
15781
  rowKey: "goodNo",
15692
15782
  columns: columns,
15693
15783
  scroll: {
15694
15784
  x: '100%',
15695
15785
  y: 250
15696
- }
15786
+ },
15787
+ size: "small"
15697
15788
  }, tableProps))), /*#__PURE__*/React.createElement(Popover, {
15698
15789
  getPopupContainer: function getPopupContainer(triggerNode) {
15699
15790
  return triggerNode.parentElement;
@@ -15927,13 +16018,15 @@ var GoodList$2 = function GoodList(props, ref) {
15927
16018
  marginTop: '4px'
15928
16019
  }
15929
16020
  }, /*#__PURE__*/React.createElement(Table, _objectSpread2({
16021
+ className: "GoodModalColumns",
15930
16022
  rowSelection: rowSelection,
15931
16023
  rowKey: "specNo",
15932
16024
  columns: columns,
15933
16025
  scroll: {
15934
16026
  x: '100%',
15935
16027
  y: 250
15936
- }
16028
+ },
16029
+ size: "small"
15937
16030
  }, tableProps))), /*#__PURE__*/React.createElement(Popover, {
15938
16031
  getPopupContainer: function getPopupContainer(triggerNode) {
15939
16032
  return triggerNode.parentElement;
@@ -16171,13 +16264,15 @@ var GoodList$3 = function GoodList(props, ref) {
16171
16264
  marginTop: '4px'
16172
16265
  }
16173
16266
  }, /*#__PURE__*/React.createElement(Table, _objectSpread2({
16267
+ className: "GoodModalColumns",
16174
16268
  rowSelection: rowSelection,
16175
16269
  rowKey: rowCheckKey,
16176
16270
  columns: columns,
16177
16271
  scroll: {
16178
16272
  x: '100%',
16179
16273
  y: 250
16180
- }
16274
+ },
16275
+ size: "small"
16181
16276
  }, tableProps))), /*#__PURE__*/React.createElement(Popover, {
16182
16277
  getPopupContainer: function getPopupContainer(triggerNode) {
16183
16278
  return triggerNode.parentElement;
@@ -16412,7 +16507,8 @@ var GoodList$4 = function GoodList(props, ref) {
16412
16507
  style: {
16413
16508
  marginTop: '4px'
16414
16509
  }
16415
- }, /*#__PURE__*/React.createElement(Table, _objectSpread2({
16510
+ }, /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({
16511
+ className: "GoodModalColumns",
16416
16512
  rowSelection: rowSelection,
16417
16513
  rowKey: "id",
16418
16514
  columns: columns,
@@ -16420,7 +16516,9 @@ var GoodList$4 = function GoodList(props, ref) {
16420
16516
  x: '100%',
16421
16517
  y: 250
16422
16518
  }
16423
- }, tableProps))), /*#__PURE__*/React.createElement(Popover, {
16519
+ }, tableProps), {}, {
16520
+ size: "small"
16521
+ }))), /*#__PURE__*/React.createElement(Popover, {
16424
16522
  getPopupContainer: function getPopupContainer(triggerNode) {
16425
16523
  return triggerNode.parentElement;
16426
16524
  },
@@ -16632,8 +16730,8 @@ function multiSelect() {
16632
16730
  };
16633
16731
  }
16634
16732
 
16635
- 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";
16636
- styleInject(css_248z$b);
16733
+ 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";
16734
+ styleInject(css_248z$d);
16637
16735
 
16638
16736
  var _excluded$e = ["children"];
16639
16737
  var Cell = function Cell(_ref) {
@@ -16734,8 +16832,8 @@ var HighPerformanceTable = function HighPerformanceTable(_ref2) {
16734
16832
  })));
16735
16833
  };
16736
16834
 
16737
- 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";
16738
- styleInject(css_248z$c);
16835
+ 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";
16836
+ styleInject(css_248z$e);
16739
16837
 
16740
16838
  var TrimInput = function TrimInput(props) {
16741
16839
  var handleBlur = function handleBlur(e) {
@@ -18074,13 +18172,15 @@ var GoodList$5 = function GoodList(props, ref) {
18074
18172
  marginTop: '4px'
18075
18173
  }
18076
18174
  }, /*#__PURE__*/React.createElement(Table, _objectSpread2({
18175
+ className: "GoodModalColumns",
18077
18176
  rowSelection: rowSelection,
18078
18177
  rowKey: "id",
18079
18178
  columns: columns,
18080
18179
  scroll: {
18081
18180
  x: '100%',
18082
18181
  y: 250
18083
- }
18182
+ },
18183
+ size: "small"
18084
18184
  }, tableProps))), /*#__PURE__*/React.createElement(Popover, {
18085
18185
  getPopupContainer: function getPopupContainer(triggerNode) {
18086
18186
  return triggerNode.parentElement;
@@ -18151,57 +18251,68 @@ var getColumns = function getColumns(_ref) {
18151
18251
  BS_E3_REISSUE_GOODS: [{
18152
18252
  dataIndex: 'sku',
18153
18253
  title: "SKU",
18154
- width: 150
18254
+ width: 150,
18255
+ render: renderTextEllipsis
18155
18256
  }, {
18156
18257
  dataIndex: 'skuId',
18157
18258
  title: "SKU ID",
18158
- width: 150
18259
+ width: 150,
18260
+ render: renderTextEllipsis
18159
18261
  }, {
18160
18262
  dataIndex: 'goodsName',
18161
18263
  title: "\u5546\u54C1\u540D\u79F0",
18162
- width: 150
18264
+ width: 150,
18265
+ render: renderTextEllipsis
18163
18266
  }, {
18164
18267
  dataIndex: 'goodsShortName',
18165
18268
  title: "\u5546\u54C1\u7B80\u79F0",
18166
- width: 150
18269
+ width: 150,
18270
+ render: renderTextEllipsis
18167
18271
  }, {
18168
18272
  dataIndex: 'picPath',
18169
18273
  title: "\u5546\u54C1\u56FE\u7247",
18170
18274
  width: 150,
18171
18275
  render: function render(val) {
18172
18276
  return /*#__PURE__*/React.createElement(Image, {
18173
- width: 60,
18277
+ width: 30,
18174
18278
  src: val
18175
18279
  });
18176
18280
  }
18177
18281
  }, {
18178
18282
  dataIndex: 'goodsSn',
18179
18283
  title: "\u8D27\u53F7",
18180
- width: 150
18284
+ width: 150,
18285
+ render: renderTextEllipsis
18181
18286
  }, {
18182
18287
  dataIndex: 'goodsId',
18183
18288
  title: "\u8D27\u53F7ID",
18184
- width: 150
18289
+ width: 150,
18290
+ render: renderTextEllipsis
18185
18291
  }, {
18186
18292
  dataIndex: 'colorName',
18187
18293
  title: "\u989C\u8272\u540D\u79F0",
18188
- width: 150
18294
+ width: 150,
18295
+ render: renderTextEllipsis
18189
18296
  }, {
18190
18297
  dataIndex: 'colorCode',
18191
18298
  title: "\u989C\u8272\u4EE3\u7801",
18192
- width: 150
18299
+ width: 150,
18300
+ render: renderTextEllipsis
18193
18301
  }, {
18194
18302
  dataIndex: 'sizeName',
18195
18303
  title: "\u5C3A\u7801\u540D\u79F0",
18196
- width: 150
18304
+ width: 150,
18305
+ render: renderTextEllipsis
18197
18306
  }, {
18198
18307
  dataIndex: 'sizeCode',
18199
18308
  title: "\u5C3A\u7801\u4EE3\u7801",
18200
- width: 150
18309
+ width: 150,
18310
+ render: renderTextEllipsis
18201
18311
  }, {
18202
18312
  dataIndex: 'brandName',
18203
18313
  title: "\u54C1\u724C\u540D\u79F0",
18204
- width: 150
18314
+ width: 150,
18315
+ render: renderTextEllipsis
18205
18316
  }, {
18206
18317
  dataIndex: 'goodsNumber',
18207
18318
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18228,25 +18339,29 @@ var getColumns = function getColumns(_ref) {
18228
18339
  title: "SKU",
18229
18340
  align: 'center',
18230
18341
  ellipsis: true,
18231
- width: 150
18342
+ width: 150,
18343
+ render: renderTextEllipsis
18232
18344
  }, {
18233
18345
  dataIndex: 'skuId',
18234
18346
  title: "SKU ID",
18235
18347
  align: 'center',
18236
18348
  ellipsis: true,
18237
- width: 150
18349
+ width: 150,
18350
+ render: renderTextEllipsis
18238
18351
  }, {
18239
18352
  dataIndex: 'goodsName',
18240
18353
  title: "\u5546\u54C1\u540D\u79F0",
18241
18354
  align: 'center',
18242
18355
  ellipsis: true,
18243
- width: 150
18356
+ width: 150,
18357
+ render: renderTextEllipsis
18244
18358
  }, {
18245
18359
  dataIndex: 'goodsShortName',
18246
18360
  title: "\u5546\u54C1\u7B80\u79F0",
18247
18361
  align: 'center',
18248
18362
  ellipsis: true,
18249
- width: 100
18363
+ width: 100,
18364
+ render: renderTextEllipsis
18250
18365
  }, {
18251
18366
  dataIndex: 'picPath',
18252
18367
  title: "\u5546\u54C1\u56FE\u7247",
@@ -18255,7 +18370,7 @@ var getColumns = function getColumns(_ref) {
18255
18370
  width: 100,
18256
18371
  render: function render(val) {
18257
18372
  return /*#__PURE__*/React.createElement(Image, {
18258
- width: 60,
18373
+ width: 30,
18259
18374
  src: val
18260
18375
  });
18261
18376
  }
@@ -18264,43 +18379,50 @@ var getColumns = function getColumns(_ref) {
18264
18379
  title: "\u8D27\u53F7",
18265
18380
  align: 'center',
18266
18381
  ellipsis: true,
18267
- width: 150
18382
+ width: 150,
18383
+ render: renderTextEllipsis
18268
18384
  }, {
18269
18385
  dataIndex: 'goodsId',
18270
18386
  title: "\u8D27\u53F7ID",
18271
18387
  align: 'center',
18272
18388
  ellipsis: true,
18273
- width: 150
18389
+ width: 150,
18390
+ render: renderTextEllipsis
18274
18391
  }, {
18275
18392
  dataIndex: 'colorName',
18276
18393
  title: "\u989C\u8272\u540D\u79F0",
18277
18394
  align: 'center',
18278
18395
  ellipsis: true,
18279
- width: 100
18396
+ width: 100,
18397
+ render: renderTextEllipsis
18280
18398
  }, {
18281
18399
  dataIndex: 'colorCode',
18282
18400
  title: "\u989C\u8272\u4EE3\u7801",
18283
18401
  align: 'center',
18284
18402
  ellipsis: true,
18285
- width: 150
18403
+ width: 150,
18404
+ render: renderTextEllipsis
18286
18405
  }, {
18287
18406
  dataIndex: 'sizeName',
18288
18407
  title: "\u5C3A\u7801\u540D\u79F0",
18289
18408
  align: 'center',
18290
18409
  ellipsis: true,
18291
- width: 100
18410
+ width: 100,
18411
+ render: renderTextEllipsis
18292
18412
  }, {
18293
18413
  dataIndex: 'sizeCode',
18294
18414
  title: "\u5C3A\u7801\u4EE3\u7801",
18295
18415
  align: 'center',
18296
18416
  ellipsis: true,
18297
- width: 100
18417
+ width: 100,
18418
+ render: renderTextEllipsis
18298
18419
  }, {
18299
18420
  dataIndex: 'brandName',
18300
18421
  title: "\u54C1\u724C\u540D\u79F0",
18301
18422
  align: 'center',
18302
18423
  ellipsis: true,
18303
- width: 150
18424
+ width: 150,
18425
+ render: renderTextEllipsis
18304
18426
  }, {
18305
18427
  dataIndex: 'goodsNumber',
18306
18428
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18381,7 +18503,8 @@ var getColumns = function getColumns(_ref) {
18381
18503
  title: "\u5957\u9910SKU",
18382
18504
  align: 'center',
18383
18505
  ellipsis: true,
18384
- width: 150
18506
+ width: 150,
18507
+ render: renderTextEllipsis
18385
18508
  }, {
18386
18509
  dataIndex: 'tcGoodsNumber',
18387
18510
  title: "\u5957\u9910\u5957\u6570",
@@ -18441,19 +18564,22 @@ var getColumns$1 = function getColumns(_ref) {
18441
18564
  title: "".concat(text, "sku\u540D\u79F0"),
18442
18565
  align: 'center',
18443
18566
  ellipsis: true,
18444
- width: 250
18567
+ width: 250,
18568
+ render: renderTextEllipsis
18445
18569
  }, {
18446
18570
  dataIndex: 'sku',
18447
18571
  title: "".concat(text, "sku\u7F16\u7801"),
18448
18572
  align: 'center',
18449
18573
  ellipsis: true,
18450
- width: 100
18574
+ width: 100,
18575
+ render: renderTextEllipsis
18451
18576
  }, {
18452
18577
  dataIndex: 'name',
18453
18578
  title: "".concat(text, "\u540D\u79F0"),
18454
18579
  align: 'center',
18455
18580
  ellipsis: true,
18456
- width: 250
18581
+ width: 250,
18582
+ render: renderTextEllipsis
18457
18583
  }, {
18458
18584
  dataIndex: 'pic',
18459
18585
  title: "\u56FE\u7247",
@@ -18462,7 +18588,7 @@ var getColumns$1 = function getColumns(_ref) {
18462
18588
  width: 100,
18463
18589
  render: function render(val) {
18464
18590
  return /*#__PURE__*/React.createElement(Image, {
18465
- width: 60,
18591
+ width: 30,
18466
18592
  src: val
18467
18593
  });
18468
18594
  }
@@ -18471,7 +18597,8 @@ var getColumns$1 = function getColumns(_ref) {
18471
18597
  title: "".concat(text, "\u7F16\u7801"),
18472
18598
  align: 'center',
18473
18599
  ellipsis: true,
18474
- width: 100
18600
+ width: 100,
18601
+ render: renderTextEllipsis
18475
18602
  }, {
18476
18603
  dataIndex: 'money',
18477
18604
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -18514,13 +18641,15 @@ var getColumns$1 = function getColumns(_ref) {
18514
18641
  title: "\u6279\u6B21\u53F7",
18515
18642
  align: 'center',
18516
18643
  ellipsis: true,
18517
- width: 100
18644
+ width: 100,
18645
+ render: renderTextEllipsis
18518
18646
  }, {
18519
18647
  dataIndex: 'expireDate',
18520
18648
  title: "\u6709\u6548\u671F",
18521
18649
  align: 'center',
18522
18650
  ellipsis: true,
18523
- width: 100
18651
+ width: 100,
18652
+ render: renderTextEllipsis
18524
18653
  }]
18525
18654
  };
18526
18655
  };
@@ -18535,7 +18664,7 @@ var renderGiftType = function renderGiftType(val) {
18535
18664
  6: '天猫优仓赠品',
18536
18665
  7: '淘宝CRM会员送赠'
18537
18666
  };
18538
- return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
18667
+ return renderTextEllipsis(giftTypeMap[val]);
18539
18668
  };
18540
18669
  var renderFieldMap = {
18541
18670
  num: function num(_ref) {
@@ -18590,15 +18719,17 @@ var getColumns$2 = function getColumns(_ref) {
18590
18719
  WDT_REISSUE_GOODS: [{
18591
18720
  dataIndex: 'goodId',
18592
18721
  title: "\u5546\u54C1ID",
18593
- width: 120,
18722
+ width: 250,
18594
18723
  align: 'center',
18595
- ellipsis: true
18724
+ ellipsis: true,
18725
+ render: renderTextEllipsis
18596
18726
  }, {
18597
18727
  dataIndex: 'goodNo',
18598
18728
  title: "\u5546\u54C1\u7F16\u7801",
18599
18729
  align: 'center',
18600
18730
  ellipsis: true,
18601
- width: 180
18731
+ width: 180,
18732
+ render: renderTextEllipsis
18602
18733
  }, {
18603
18734
  dataIndex: 'goodName',
18604
18735
  title: "\u5546\u54C1\u540D\u79F0",
@@ -18613,24 +18744,30 @@ var getColumns$2 = function getColumns(_ref) {
18613
18744
  dataIndex: 'apiGoodsName',
18614
18745
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18615
18746
  width: 200,
18616
- align: 'center'
18747
+ align: 'center',
18748
+ ellipsis: true,
18749
+ render: renderTextEllipsis
18617
18750
  }, {
18618
18751
  dataIndex: 'platformGoodsId',
18619
18752
  title: "\u5E73\u53F0\u5546\u54C1ID",
18620
18753
  width: 180,
18621
- align: 'center'
18754
+ align: 'center',
18755
+ ellipsis: true,
18756
+ render: renderTextEllipsis
18622
18757
  }, {
18623
18758
  dataIndex: 'specId',
18624
18759
  title: "SKUID",
18625
18760
  align: 'center',
18626
18761
  ellipsis: true,
18627
- width: 150
18762
+ width: 150,
18763
+ render: renderTextEllipsis
18628
18764
  }, {
18629
18765
  dataIndex: 'specNo',
18630
18766
  title: "\u5546\u54C1SKU\u7F16\u7801",
18631
18767
  align: 'center',
18632
18768
  ellipsis: true,
18633
- width: 180
18769
+ width: 180,
18770
+ render: renderTextEllipsis
18634
18771
  }, {
18635
18772
  dataIndex: 'specName',
18636
18773
  title: "\u5546\u54C1SKU\u540D\u79F0",
@@ -18645,12 +18782,22 @@ var getColumns$2 = function getColumns(_ref) {
18645
18782
  dataIndex: 'apiSpecName',
18646
18783
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18647
18784
  width: 200,
18648
- align: 'center'
18785
+ align: 'center',
18786
+ ellipsis: true,
18787
+ render: renderTextEllipsis
18649
18788
  }, {
18650
18789
  dataIndex: 'platformSpecId',
18651
18790
  title: "\u5E73\u53F0\u89C4\u683CID",
18652
18791
  width: 180,
18653
- align: 'center'
18792
+ align: 'center',
18793
+ ellipsis: true
18794
+ }, {
18795
+ dataIndex: 'brandName',
18796
+ title: "\u54C1\u724C\u540D\u79F0",
18797
+ width: 180,
18798
+ align: 'center',
18799
+ ellipsis: true,
18800
+ render: renderTextEllipsis
18654
18801
  }, {
18655
18802
  dataIndex: 'orderPrice',
18656
18803
  title: "\u6210\u4EA4\u603B\u91D1\u989D",
@@ -18678,13 +18825,15 @@ var getColumns$2 = function getColumns(_ref) {
18678
18825
  title: "\u5546\u54C1ID",
18679
18826
  align: 'center',
18680
18827
  ellipsis: true,
18681
- width: 70
18828
+ width: 250,
18829
+ render: renderTextEllipsis
18682
18830
  }, {
18683
18831
  dataIndex: 'goodNo',
18684
18832
  title: "\u5546\u54C1\u7F16\u7801",
18685
18833
  align: 'center',
18686
18834
  ellipsis: true,
18687
- width: 180
18835
+ width: 180,
18836
+ render: renderTextEllipsis
18688
18837
  }, {
18689
18838
  dataIndex: 'goodName',
18690
18839
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18699,24 +18848,30 @@ var getColumns$2 = function getColumns(_ref) {
18699
18848
  dataIndex: 'apiGoodsName',
18700
18849
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18701
18850
  width: 200,
18702
- align: 'center'
18851
+ align: 'center',
18852
+ ellipsis: true,
18853
+ render: renderTextEllipsis
18703
18854
  }, {
18704
18855
  dataIndex: 'platformGoodsId',
18705
18856
  title: "\u5E73\u53F0\u5546\u54C1ID",
18706
18857
  width: 180,
18707
- align: 'center'
18858
+ align: 'center',
18859
+ ellipsis: true,
18860
+ render: renderTextEllipsis
18708
18861
  }, {
18709
18862
  dataIndex: 'specId',
18710
18863
  title: "".concat(text, "SKUID"),
18711
18864
  align: 'center',
18712
18865
  ellipsis: true,
18713
- width: 100
18866
+ width: 150,
18867
+ render: renderTextEllipsis
18714
18868
  }, {
18715
18869
  dataIndex: 'specNo',
18716
18870
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18717
18871
  align: 'center',
18718
18872
  ellipsis: true,
18719
- width: 180
18873
+ width: 180,
18874
+ render: renderTextEllipsis
18720
18875
  }, {
18721
18876
  dataIndex: 'specName',
18722
18877
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18731,12 +18886,22 @@ var getColumns$2 = function getColumns(_ref) {
18731
18886
  dataIndex: 'apiSpecName',
18732
18887
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18733
18888
  width: 200,
18734
- align: 'center'
18889
+ align: 'center',
18890
+ ellipsis: true,
18891
+ render: renderTextEllipsis
18735
18892
  }, {
18736
18893
  dataIndex: 'platformSpecId',
18737
18894
  title: "\u5E73\u53F0\u89C4\u683CID",
18738
18895
  width: 180,
18739
- align: 'center'
18896
+ align: 'center',
18897
+ ellipsis: true
18898
+ }, {
18899
+ dataIndex: 'brandName',
18900
+ title: "\u54C1\u724C\u540D\u79F0",
18901
+ width: 180,
18902
+ align: 'center',
18903
+ ellipsis: true,
18904
+ render: renderTextEllipsis
18740
18905
  }, {
18741
18906
  dataIndex: 'orderPrice',
18742
18907
  title: "\u6210\u4EA4\u603B\u91D1\u989D",
@@ -18776,8 +18941,7 @@ var getColumns$2 = function getColumns(_ref) {
18776
18941
  title: "\u8D60\u54C1\u65B9\u5F0F",
18777
18942
  align: 'center',
18778
18943
  ellipsis: true,
18779
- width: 100,
18780
- render: renderGiftType
18944
+ width: 100
18781
18945
  }],
18782
18946
  //旺店通退货商品信息
18783
18947
  WDT_RETURN_GOODS: [{
@@ -18785,13 +18949,15 @@ var getColumns$2 = function getColumns(_ref) {
18785
18949
  title: "\u5546\u54C1ID",
18786
18950
  align: 'center',
18787
18951
  ellipsis: true,
18788
- width: 70
18952
+ width: 250,
18953
+ render: renderTextEllipsis
18789
18954
  }, {
18790
18955
  dataIndex: 'goodNo',
18791
18956
  title: "\u5546\u54C1\u7F16\u7801",
18792
18957
  align: 'center',
18793
18958
  ellipsis: true,
18794
- width: 180
18959
+ width: 180,
18960
+ render: renderTextEllipsis
18795
18961
  }, {
18796
18962
  dataIndex: 'goodName',
18797
18963
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18806,24 +18972,30 @@ var getColumns$2 = function getColumns(_ref) {
18806
18972
  dataIndex: 'apiGoodsName',
18807
18973
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18808
18974
  width: 200,
18809
- align: 'center'
18975
+ align: 'center',
18976
+ ellipsis: true,
18977
+ render: renderTextEllipsis
18810
18978
  }, {
18811
18979
  dataIndex: 'platformGoodsId',
18812
18980
  title: "\u5E73\u53F0\u5546\u54C1ID",
18813
18981
  width: 180,
18814
- align: 'center'
18982
+ align: 'center',
18983
+ ellipsis: true,
18984
+ render: renderTextEllipsis
18815
18985
  }, {
18816
18986
  dataIndex: 'specId',
18817
18987
  title: "".concat(text, "SKUID"),
18818
18988
  align: 'center',
18819
18989
  ellipsis: true,
18820
- width: 100
18990
+ width: 100,
18991
+ render: renderTextEllipsis
18821
18992
  }, {
18822
18993
  dataIndex: 'specNo',
18823
18994
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18824
18995
  align: 'center',
18825
18996
  ellipsis: true,
18826
- width: 180
18997
+ width: 180,
18998
+ render: renderTextEllipsis
18827
18999
  }, {
18828
19000
  dataIndex: 'specName',
18829
19001
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18838,12 +19010,22 @@ var getColumns$2 = function getColumns(_ref) {
18838
19010
  dataIndex: 'apiSpecName',
18839
19011
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18840
19012
  width: 200,
18841
- align: 'center'
19013
+ align: 'center',
19014
+ ellipsis: true,
19015
+ render: renderTextEllipsis
18842
19016
  }, {
18843
19017
  dataIndex: 'platformSpecId',
18844
19018
  title: "\u5E73\u53F0\u89C4\u683CID",
18845
19019
  width: 180,
18846
- align: 'center'
19020
+ align: 'center',
19021
+ ellipsis: true
19022
+ }, {
19023
+ dataIndex: 'brandName',
19024
+ title: "\u54C1\u724C\u540D\u79F0",
19025
+ width: 180,
19026
+ align: 'center',
19027
+ ellipsis: true,
19028
+ render: renderTextEllipsis
18847
19029
  }, {
18848
19030
  dataIndex: 'num',
18849
19031
  title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
@@ -18930,13 +19112,15 @@ var getColumns$2 = function getColumns(_ref) {
18930
19112
  title: "\u5546\u54C1ID",
18931
19113
  align: 'center',
18932
19114
  ellipsis: true,
18933
- width: 70
19115
+ width: 250,
19116
+ render: renderTextEllipsis
18934
19117
  }, {
18935
19118
  dataIndex: 'goodNo',
18936
19119
  title: "\u5546\u54C1\u7F16\u7801",
18937
19120
  align: 'center',
18938
19121
  ellipsis: true,
18939
- width: 180
19122
+ width: 180,
19123
+ render: renderTextEllipsis
18940
19124
  }, {
18941
19125
  dataIndex: 'goodName',
18942
19126
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18951,24 +19135,30 @@ var getColumns$2 = function getColumns(_ref) {
18951
19135
  dataIndex: 'apiGoodsName',
18952
19136
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18953
19137
  width: 200,
18954
- align: 'center'
19138
+ align: 'center',
19139
+ ellipsis: true,
19140
+ render: renderTextEllipsis
18955
19141
  }, {
18956
19142
  dataIndex: 'platformGoodsId',
18957
19143
  title: "\u5E73\u53F0\u5546\u54C1ID",
18958
19144
  width: 180,
18959
- align: 'center'
19145
+ align: 'center',
19146
+ ellipsis: true,
19147
+ render: renderTextEllipsis
18960
19148
  }, {
18961
19149
  dataIndex: 'specId',
18962
19150
  title: "".concat(text, "SKUID"),
18963
19151
  align: 'center',
18964
19152
  ellipsis: true,
18965
- width: 100
19153
+ width: 100,
19154
+ render: renderTextEllipsis
18966
19155
  }, {
18967
19156
  dataIndex: 'specNo',
18968
19157
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18969
19158
  align: 'center',
18970
19159
  ellipsis: true,
18971
- width: 180
19160
+ width: 180,
19161
+ render: renderTextEllipsis
18972
19162
  }, {
18973
19163
  dataIndex: 'specName',
18974
19164
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18983,12 +19173,22 @@ var getColumns$2 = function getColumns(_ref) {
18983
19173
  dataIndex: 'apiSpecName',
18984
19174
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18985
19175
  width: 200,
18986
- align: 'center'
19176
+ align: 'center',
19177
+ ellipsis: true,
19178
+ render: renderTextEllipsis
18987
19179
  }, {
18988
19180
  dataIndex: 'platformSpecId',
18989
19181
  title: "\u5E73\u53F0\u89C4\u683CID",
18990
19182
  width: 180,
18991
- align: 'center'
19183
+ align: 'center',
19184
+ ellipsis: true
19185
+ }, {
19186
+ dataIndex: 'brandName',
19187
+ title: "\u54C1\u724C\u540D\u79F0",
19188
+ width: 180,
19189
+ align: 'center',
19190
+ ellipsis: true,
19191
+ render: renderTextEllipsis
18992
19192
  }, {
18993
19193
  dataIndex: 'num',
18994
19194
  title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
@@ -19088,43 +19288,50 @@ var getColumns$3 = function getColumns(_ref) {
19088
19288
  title: "\u5546\u54C1\u540D\u79F0",
19089
19289
  align: 'center',
19090
19290
  ellipsis: true,
19091
- width: 250
19291
+ width: 250,
19292
+ render: renderTextEllipsis
19092
19293
  }, {
19093
19294
  dataIndex: 'goodsCode',
19094
19295
  title: "\u5546\u54C1\u7F16\u7801",
19095
19296
  align: 'center',
19096
19297
  ellipsis: true,
19097
- width: 250
19298
+ width: 250,
19299
+ render: renderTextEllipsis
19098
19300
  }, {
19099
19301
  dataIndex: 'skuCode',
19100
19302
  title: "sku\u7F16\u7801",
19101
19303
  align: 'center',
19102
19304
  ellipsis: true,
19103
- width: 250
19305
+ width: 250,
19306
+ render: renderTextEllipsis
19104
19307
  }, {
19105
19308
  dataIndex: 'skuName',
19106
19309
  title: "\u7EBF\u4E0Asku\u540D\u79F0",
19107
19310
  align: 'center',
19108
19311
  ellipsis: true,
19109
- width: 250
19312
+ width: 250,
19313
+ render: renderTextEllipsis
19110
19314
  }, {
19111
19315
  dataIndex: 'olnSkuCode',
19112
19316
  title: "\u7EBF\u4E0Asku\u7F16\u7801",
19113
19317
  align: 'center',
19114
19318
  ellipsis: true,
19115
- width: 150
19319
+ width: 150,
19320
+ render: renderTextEllipsis
19116
19321
  }, {
19117
19322
  dataIndex: 'sku',
19118
19323
  title: "\u7EBF\u4E0Asku id",
19119
19324
  align: 'center',
19120
19325
  ellipsis: true,
19121
- width: 150
19326
+ width: 150,
19327
+ render: renderTextEllipsis
19122
19328
  }, {
19123
19329
  dataIndex: 'name',
19124
19330
  title: "\u7EBF\u4E0A\u5546\u54C1\u540D\u79F0",
19125
19331
  align: 'center',
19126
19332
  ellipsis: true,
19127
- width: 250
19333
+ width: 250,
19334
+ render: renderTextEllipsis
19128
19335
  }, {
19129
19336
  dataIndex: 'pic',
19130
19337
  title: "\u7EBF\u4E0A\u56FE\u7247",
@@ -19133,7 +19340,7 @@ var getColumns$3 = function getColumns(_ref) {
19133
19340
  width: 100,
19134
19341
  render: function render(val) {
19135
19342
  return /*#__PURE__*/React.createElement(Image, {
19136
- width: 60,
19343
+ width: 30,
19137
19344
  src: val
19138
19345
  });
19139
19346
  }
@@ -19142,25 +19349,29 @@ var getColumns$3 = function getColumns(_ref) {
19142
19349
  title: "\u7EBF\u4E0A\u5546\u54C1\u7F16\u7801",
19143
19350
  align: 'center',
19144
19351
  ellipsis: true,
19145
- width: 150
19352
+ width: 150,
19353
+ render: renderTextEllipsis
19146
19354
  }, {
19147
19355
  dataIndex: 'code',
19148
19356
  title: "\u7EBF\u4E0A\u5546\u54C1id",
19149
19357
  align: 'center',
19150
19358
  ellipsis: true,
19151
- width: 150
19359
+ width: 150,
19360
+ render: renderTextEllipsis
19152
19361
  }, {
19153
19362
  dataIndex: 'barCode',
19154
19363
  title: "\u5546\u54C1\u6761\u7801",
19155
19364
  align: 'center',
19156
19365
  ellipsis: true,
19157
- width: 150
19366
+ width: 150,
19367
+ render: renderTextEllipsis
19158
19368
  }, {
19159
19369
  dataIndex: 'money',
19160
19370
  title: "\u5B9E\u4ED8\u91D1\u989D",
19161
19371
  align: 'center',
19162
19372
  ellipsis: true,
19163
- width: 100
19373
+ width: 100,
19374
+ render: renderTextEllipsis
19164
19375
  }, {
19165
19376
  dataIndex: 'number',
19166
19377
  title: "".concat(text, "\u6570\u91CF"),
@@ -19185,13 +19396,15 @@ var getColumns$3 = function getColumns(_ref) {
19185
19396
  title: "\u5E94\u6536\u6B3E",
19186
19397
  align: 'center',
19187
19398
  ellipsis: true,
19188
- width: 70
19399
+ width: 70,
19400
+ render: renderTextEllipsis
19189
19401
  }, {
19190
19402
  dataIndex: 'type',
19191
19403
  title: "\u8D60\u54C1\u7C7B\u578B",
19192
19404
  align: 'center',
19193
19405
  ellipsis: true,
19194
- width: 100
19406
+ width: 100,
19407
+ render: renderTextEllipsis
19195
19408
  }, {
19196
19409
  dataIndex: 'isPackage',
19197
19410
  title: "\u662F\u5426\u7EC4\u5408\u5546\u54C1",
@@ -19245,27 +19458,32 @@ var getColumns$4 = function getColumns(_ref) {
19245
19458
  GY_GOODS: [{
19246
19459
  dataIndex: 'goodName',
19247
19460
  title: "\u5546\u54C1\u540D\u79F0",
19248
- width: 150
19461
+ width: 150,
19462
+ render: renderTextEllipsis
19249
19463
  }, {
19250
19464
  dataIndex: 'goodShortName',
19251
19465
  title: "\u5546\u54C1\u7B80\u79F0",
19252
- width: 150
19466
+ width: 150,
19467
+ render: renderTextEllipsis
19253
19468
  }, {
19254
19469
  dataIndex: 'goodNo',
19255
19470
  title: "\u5546\u54C1\u7F16\u7801",
19256
- width: 200
19471
+ width: 200,
19472
+ render: renderTextEllipsis
19257
19473
  }, {
19258
19474
  dataIndex: 'specName',
19259
19475
  title: "SKU\u540D\u79F0",
19260
19476
  align: 'center',
19261
19477
  ellipsis: true,
19262
- width: 250
19478
+ width: 250,
19479
+ render: renderTextEllipsis
19263
19480
  }, {
19264
19481
  dataIndex: 'specNo',
19265
19482
  title: "SKU\u7F16\u7801",
19266
19483
  align: 'center',
19267
19484
  ellipsis: true,
19268
- width: 150
19485
+ width: 150,
19486
+ render: renderTextEllipsis
19269
19487
  }, {
19270
19488
  dataIndex: 'qty',
19271
19489
  title: "\u6570\u91CF",
@@ -19356,7 +19574,8 @@ var getColumns$4 = function getColumns(_ref) {
19356
19574
  }, {
19357
19575
  dataIndex: 'skuNote',
19358
19576
  title: "\u5546\u54C1\u5907\u6CE8",
19359
- width: 150
19577
+ width: 150,
19578
+ render: renderTextEllipsis
19360
19579
  }].map(function (item) {
19361
19580
  return _objectSpread2(_objectSpread2({}, item), {}, {
19362
19581
  align: 'center',
@@ -19367,27 +19586,32 @@ var getColumns$4 = function getColumns(_ref) {
19367
19586
  GY_REISSUE_GOODS: [{
19368
19587
  dataIndex: 'goodName',
19369
19588
  title: "\u5546\u54C1\u540D\u79F0",
19370
- width: 150
19589
+ width: 150,
19590
+ render: renderTextEllipsis
19371
19591
  }, {
19372
19592
  dataIndex: 'goodShortName',
19373
19593
  title: "\u5546\u54C1\u7B80\u79F0",
19374
- width: 150
19594
+ width: 150,
19595
+ render: renderTextEllipsis
19375
19596
  }, {
19376
19597
  dataIndex: 'goodNo',
19377
19598
  title: "\u5546\u54C1\u7F16\u7801",
19378
- width: 200
19599
+ width: 200,
19600
+ render: renderTextEllipsis
19379
19601
  }, {
19380
19602
  dataIndex: 'specName',
19381
19603
  title: "SKU\u540D\u79F0",
19382
19604
  align: 'center',
19383
19605
  ellipsis: true,
19384
- width: 250
19606
+ width: 250,
19607
+ render: renderTextEllipsis
19385
19608
  }, {
19386
19609
  dataIndex: 'specNo',
19387
19610
  title: "SKU\u7F16\u7801",
19388
19611
  align: 'center',
19389
19612
  ellipsis: true,
19390
- width: 150
19613
+ width: 150,
19614
+ render: renderTextEllipsis
19391
19615
  }, {
19392
19616
  dataIndex: 'qty',
19393
19617
  title: "\u6570\u91CF",
@@ -19483,27 +19707,32 @@ var getColumns$4 = function getColumns(_ref) {
19483
19707
  GY_RETURN_GOODS: [{
19484
19708
  dataIndex: 'goodName',
19485
19709
  title: "\u5546\u54C1\u540D\u79F0",
19486
- width: 150
19710
+ width: 150,
19711
+ render: renderTextEllipsis
19487
19712
  }, {
19488
19713
  dataIndex: 'goodShortName',
19489
19714
  title: "\u5546\u54C1\u7B80\u79F0",
19490
- width: 150
19715
+ width: 150,
19716
+ render: renderTextEllipsis
19491
19717
  }, {
19492
19718
  dataIndex: 'goodNo',
19493
19719
  title: "\u5546\u54C1\u7F16\u7801",
19494
- width: 200
19720
+ width: 200,
19721
+ render: renderTextEllipsis
19495
19722
  }, {
19496
19723
  dataIndex: 'specName',
19497
19724
  title: "SKU\u540D\u79F0",
19498
19725
  align: 'center',
19499
19726
  ellipsis: true,
19500
- width: 250
19727
+ width: 250,
19728
+ render: renderTextEllipsis
19501
19729
  }, {
19502
19730
  dataIndex: 'specNo',
19503
19731
  title: "SKU\u7F16\u7801",
19504
19732
  align: 'center',
19505
19733
  ellipsis: true,
19506
- width: 150
19734
+ width: 150,
19735
+ render: renderTextEllipsis
19507
19736
  }, {
19508
19737
  dataIndex: 'qty',
19509
19738
  title: "\u6570\u91CF",
@@ -19632,19 +19861,22 @@ var getColumns$5 = function getColumns() {
19632
19861
  title: '商品名称',
19633
19862
  width: 150,
19634
19863
  ellipsis: true,
19635
- align: 'center'
19864
+ align: 'center',
19865
+ render: renderTextEllipsis
19636
19866
  }, {
19637
19867
  dataIndex: 'skuId',
19638
19868
  title: '商品编码',
19639
19869
  width: 150,
19640
19870
  ellipsis: true,
19641
- align: 'center'
19871
+ align: 'center',
19872
+ render: renderTextEllipsis
19642
19873
  }, {
19643
19874
  dataIndex: 'iId',
19644
19875
  title: '款式编码',
19645
19876
  width: 150,
19646
19877
  ellipsis: true,
19647
- align: 'center'
19878
+ align: 'center',
19879
+ render: renderTextEllipsis
19648
19880
  }, {
19649
19881
  dataIndex: 'pic',
19650
19882
  title: '商品图片',
@@ -19653,7 +19885,7 @@ var getColumns$5 = function getColumns() {
19653
19885
  width: 100,
19654
19886
  render: function render(val) {
19655
19887
  return /*#__PURE__*/React.createElement(Image, {
19656
- width: 60,
19888
+ width: 30,
19657
19889
  src: val
19658
19890
  });
19659
19891
  }
@@ -19662,7 +19894,8 @@ var getColumns$5 = function getColumns() {
19662
19894
  title: '规格值',
19663
19895
  width: 150,
19664
19896
  ellipsis: true,
19665
- align: 'center'
19897
+ align: 'center',
19898
+ render: renderTextEllipsis
19666
19899
  }, {
19667
19900
  dataIndex: 'saleBasePrice',
19668
19901
  title: '原价',
@@ -19724,7 +19957,8 @@ var getColumns$5 = function getColumns() {
19724
19957
  title: '批次号',
19725
19958
  width: 150,
19726
19959
  ellipsis: true,
19727
- align: 'center'
19960
+ align: 'center',
19961
+ render: renderTextEllipsis
19728
19962
  }, {
19729
19963
  dataIndex: 'isGift',
19730
19964
  title: '是否赠品',
@@ -19751,26 +19985,30 @@ var getColumns$5 = function getColumns() {
19751
19985
  title: '子订单号',
19752
19986
  width: 240,
19753
19987
  ellipsis: true,
19754
- align: 'center'
19988
+ align: 'center',
19989
+ render: renderTextEllipsis
19755
19990
  }],
19756
19991
  JST_REISSUE_GOODS: [{
19757
19992
  dataIndex: 'name',
19758
19993
  title: '商品名称',
19759
19994
  width: 150,
19760
19995
  ellipsis: true,
19761
- align: 'center'
19996
+ align: 'center',
19997
+ render: renderTextEllipsis
19762
19998
  }, {
19763
19999
  dataIndex: 'skuId',
19764
20000
  title: '商品编码',
19765
20001
  width: 150,
19766
20002
  ellipsis: true,
19767
- align: 'center'
20003
+ align: 'center',
20004
+ render: renderTextEllipsis
19768
20005
  }, {
19769
20006
  dataIndex: 'iId',
19770
20007
  title: '款式编码',
19771
20008
  width: 150,
19772
20009
  ellipsis: true,
19773
- align: 'center'
20010
+ align: 'center',
20011
+ render: renderTextEllipsis
19774
20012
  }, {
19775
20013
  dataIndex: 'pic',
19776
20014
  title: '商品图片',
@@ -19779,7 +20017,7 @@ var getColumns$5 = function getColumns() {
19779
20017
  width: 100,
19780
20018
  render: function render(val) {
19781
20019
  return /*#__PURE__*/React.createElement(Image, {
19782
- width: 60,
20020
+ width: 30,
19783
20021
  src: val
19784
20022
  });
19785
20023
  }
@@ -19788,7 +20026,8 @@ var getColumns$5 = function getColumns() {
19788
20026
  title: '规格值',
19789
20027
  width: 150,
19790
20028
  ellipsis: true,
19791
- align: 'center'
20029
+ align: 'center',
20030
+ render: renderTextEllipsis
19792
20031
  }, {
19793
20032
  dataIndex: 'saleBasePrice',
19794
20033
  title: '原价',
@@ -19900,31 +20139,35 @@ var getColumns$5 = function getColumns() {
19900
20139
  onChange: function onChange(e) {
19901
20140
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
19902
20141
  }
19903
- }) : /*#__PURE__*/React.createElement("span", null, val);
20142
+ }) : renderTextEllipsis(val);
19904
20143
  }
19905
20144
  }],
19906
20145
  JST_RETURN_GOODS: [{
19907
20146
  dataIndex: 'name',
19908
- title: '商品名称'
20147
+ title: '商品名称',
20148
+ render: renderTextEllipsis
19909
20149
  }, {
19910
20150
  dataIndex: 'skuId',
19911
- title: '商品编码'
20151
+ title: '商品编码',
20152
+ render: renderTextEllipsis
19912
20153
  }, {
19913
20154
  dataIndex: 'iId',
19914
- title: '款式编码'
20155
+ title: '款式编码',
20156
+ render: renderTextEllipsis
19915
20157
  }, {
19916
20158
  dataIndex: 'pic',
19917
20159
  title: '商品图片',
19918
20160
  width: 100,
19919
20161
  render: function render(val) {
19920
20162
  return /*#__PURE__*/React.createElement(Image, {
19921
- width: 60,
20163
+ width: 30,
19922
20164
  src: val
19923
20165
  });
19924
20166
  }
19925
20167
  }, {
19926
20168
  dataIndex: 'propertiesValue',
19927
- title: '规格值'
20169
+ title: '规格值',
20170
+ render: renderTextEllipsis
19928
20171
  }, {
19929
20172
  dataIndex: 'saleBasePrice',
19930
20173
  title: '原价',
@@ -19999,7 +20242,8 @@ var getColumns$5 = function getColumns() {
19999
20242
  }
20000
20243
  }, {
20001
20244
  dataIndex: 'batchId',
20002
- title: '批次号'
20245
+ title: '批次号',
20246
+ render: renderTextEllipsis
20003
20247
  }, {
20004
20248
  dataIndex: 'isGift',
20005
20249
  title: '是否赠品',
@@ -20031,35 +20275,40 @@ var getColumns$5 = function getColumns() {
20031
20275
  onChange: function onChange(e) {
20032
20276
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20033
20277
  }
20034
- }) : /*#__PURE__*/React.createElement("span", null, val);
20278
+ }) : renderTextEllipsis(val);
20035
20279
  }
20036
20280
  }, {
20037
20281
  dataIndex: 'outerOiId',
20038
20282
  title: '子订单号',
20039
- width: 240
20283
+ width: 240,
20284
+ render: renderTextEllipsis
20040
20285
  }].map(fillAttrs),
20041
20286
  JST_EXCHANGE_GOODS: [{
20042
20287
  dataIndex: 'name',
20043
- title: '商品名称'
20288
+ title: '商品名称',
20289
+ render: renderTextEllipsis
20044
20290
  }, {
20045
20291
  dataIndex: 'skuId',
20046
- title: '商品编码'
20292
+ title: '商品编码',
20293
+ render: renderTextEllipsis
20047
20294
  }, {
20048
20295
  dataIndex: 'iId',
20049
- title: '款式编码'
20296
+ title: '款式编码',
20297
+ render: renderTextEllipsis
20050
20298
  }, {
20051
20299
  dataIndex: 'pic',
20052
20300
  title: '商品图片',
20053
20301
  width: 100,
20054
20302
  render: function render(val) {
20055
20303
  return /*#__PURE__*/React.createElement(Image, {
20056
- width: 60,
20304
+ width: 30,
20057
20305
  src: val
20058
20306
  });
20059
20307
  }
20060
20308
  }, {
20061
20309
  dataIndex: 'propertiesValue',
20062
- title: '规格值'
20310
+ title: '规格值',
20311
+ render: renderTextEllipsis
20063
20312
  }, {
20064
20313
  dataIndex: 'saleBasePrice',
20065
20314
  title: '原价',
@@ -20137,7 +20386,7 @@ var getColumns$5 = function getColumns() {
20137
20386
  onChange: function onChange(e) {
20138
20387
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20139
20388
  }
20140
- }) : /*#__PURE__*/React.createElement("span", null, val);
20389
+ }) : renderTextEllipsis(val);
20141
20390
  }
20142
20391
  }].map(fillAttrs)
20143
20392
  };
@@ -20160,42 +20409,50 @@ var getColumns$6 = function getColumns(_ref) {
20160
20409
  KM_GOODS: [{
20161
20410
  dataIndex: 'skuPropertiesName',
20162
20411
  title: "\u89C4\u683C\u540D\u79F0",
20163
- width: 250
20412
+ width: 250,
20413
+ render: renderTextEllipsis
20164
20414
  }, {
20165
20415
  dataIndex: 'sysTitle',
20166
20416
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20167
- width: 150
20417
+ width: 150,
20418
+ render: renderTextEllipsis
20168
20419
  }, {
20169
20420
  dataIndex: 'title',
20170
20421
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20171
- width: 150
20422
+ width: 150,
20423
+ render: renderTextEllipsis
20172
20424
  }, {
20173
20425
  dataIndex: 'shortTitle',
20174
20426
  title: "\u5546\u54C1\u7B80\u79F0",
20175
- width: 150
20427
+ width: 150,
20428
+ render: renderTextEllipsis
20176
20429
  }, {
20177
20430
  dataIndex: 'sysOuterId',
20178
20431
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20179
- width: 150
20432
+ width: 150,
20433
+ render: renderTextEllipsis
20180
20434
  }, {
20181
20435
  dataIndex: 'skuSysId',
20182
20436
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20183
- width: 150
20437
+ width: 150,
20438
+ render: renderTextEllipsis
20184
20439
  }, {
20185
20440
  dataIndex: 'skuId',
20186
20441
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20187
- width: 170
20442
+ width: 170,
20443
+ render: renderTextEllipsis
20188
20444
  }, {
20189
20445
  dataIndex: 'itemSysId',
20190
20446
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20191
- width: 150
20447
+ width: 150,
20448
+ render: renderTextEllipsis
20192
20449
  }, {
20193
20450
  dataIndex: 'sysPicPath',
20194
20451
  title: "\u5546\u54C1\u56FE\u7247",
20195
20452
  width: 100,
20196
20453
  render: function render(val) {
20197
20454
  return /*#__PURE__*/React.createElement(Image, {
20198
- width: 60,
20455
+ width: 30,
20199
20456
  src: val
20200
20457
  });
20201
20458
  }
@@ -20243,7 +20500,8 @@ var getColumns$6 = function getColumns(_ref) {
20243
20500
  }, {
20244
20501
  dataIndex: 'type',
20245
20502
  title: "\u5546\u54C1\u7C7B\u578B",
20246
- width: 150
20503
+ width: 150,
20504
+ render: renderTextEllipsis
20247
20505
  }].map(function (item) {
20248
20506
  return _objectSpread2(_objectSpread2({}, item), {}, {
20249
20507
  align: 'center',
@@ -20253,35 +20511,43 @@ var getColumns$6 = function getColumns(_ref) {
20253
20511
  KM_REISSUE_GOODS: [{
20254
20512
  dataIndex: 'skuPropertiesName',
20255
20513
  title: "\u89C4\u683C\u540D\u79F0",
20256
- width: 250
20514
+ width: 250,
20515
+ render: renderTextEllipsis
20257
20516
  }, {
20258
20517
  dataIndex: 'sysTitle',
20259
20518
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20260
- width: 150
20519
+ width: 150,
20520
+ render: renderTextEllipsis
20261
20521
  }, {
20262
20522
  dataIndex: 'shortTitle',
20263
20523
  title: "\u5546\u54C1\u7B80\u79F0",
20264
- width: 150
20524
+ width: 150,
20525
+ render: renderTextEllipsis
20265
20526
  }, {
20266
20527
  dataIndex: 'title',
20267
20528
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20268
- width: 150
20529
+ width: 150,
20530
+ render: renderTextEllipsis
20269
20531
  }, {
20270
20532
  dataIndex: 'sysOuterId',
20271
20533
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20272
- width: 150
20534
+ width: 150,
20535
+ render: renderTextEllipsis
20273
20536
  }, {
20274
20537
  dataIndex: 'itemSysId',
20275
20538
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20276
- width: 150
20539
+ width: 150,
20540
+ render: renderTextEllipsis
20277
20541
  }, {
20278
20542
  dataIndex: 'skuSysId',
20279
20543
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20280
- width: 150
20544
+ width: 150,
20545
+ render: renderTextEllipsis
20281
20546
  }, {
20282
20547
  dataIndex: 'skuId',
20283
20548
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20284
- width: 170
20549
+ width: 170,
20550
+ render: renderTextEllipsis
20285
20551
  }, {
20286
20552
  dataIndex: 'realNum',
20287
20553
  title: "\u5B9E\u9645\u8865\u53D1\u6570\u91CF",
@@ -20356,14 +20622,15 @@ var getColumns$6 = function getColumns(_ref) {
20356
20622
  }, {
20357
20623
  dataIndex: 'type',
20358
20624
  title: "\u5546\u54C1\u7C7B\u578B",
20359
- width: 150
20625
+ width: 150,
20626
+ render: renderTextEllipsis
20360
20627
  }, {
20361
20628
  dataIndex: 'sysPicPath',
20362
20629
  title: "\u5546\u54C1\u56FE\u7247",
20363
20630
  width: 100,
20364
20631
  render: function render(val) {
20365
20632
  return /*#__PURE__*/React.createElement(Image, {
20366
- width: 60,
20633
+ width: 30,
20367
20634
  src: val
20368
20635
  });
20369
20636
  }
@@ -20402,37 +20669,43 @@ var getColumns$7 = function getColumns(_ref) {
20402
20669
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20403
20670
  align: 'center',
20404
20671
  ellipsis: true,
20405
- width: 150
20672
+ width: 150,
20673
+ render: renderTextEllipsis
20406
20674
  }, {
20407
20675
  dataIndex: 'productCode',
20408
20676
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20409
20677
  align: 'center',
20410
20678
  ellipsis: true,
20411
- width: 150
20679
+ width: 150,
20680
+ render: renderTextEllipsis
20412
20681
  }, {
20413
20682
  dataIndex: 'productId',
20414
20683
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20415
20684
  align: 'center',
20416
20685
  ellipsis: true,
20417
- width: 150
20686
+ width: 150,
20687
+ render: renderTextEllipsis
20418
20688
  }, {
20419
20689
  dataIndex: 'skuName',
20420
20690
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20421
20691
  align: 'center',
20422
20692
  ellipsis: true,
20423
- width: 150
20693
+ width: 150,
20694
+ render: renderTextEllipsis
20424
20695
  }, {
20425
20696
  dataIndex: 'skuCode',
20426
20697
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20427
20698
  align: 'center',
20428
20699
  ellipsis: true,
20429
- width: 150
20700
+ width: 150,
20701
+ render: renderTextEllipsis
20430
20702
  }, {
20431
20703
  dataIndex: 'specId',
20432
20704
  title: "\u89C4\u683CID",
20433
20705
  align: 'center',
20434
20706
  ellipsis: true,
20435
- width: 150
20707
+ width: 150,
20708
+ render: renderTextEllipsis
20436
20709
  },
20437
20710
  // {
20438
20711
  // dataIndex: 'goodsName',
@@ -20452,11 +20725,13 @@ var getColumns$7 = function getColumns(_ref) {
20452
20725
  {
20453
20726
  dataIndex: 'goodsClass',
20454
20727
  title: "\u8D27\u54C1\u7C7B\u522B",
20455
- width: 150
20728
+ width: 150,
20729
+ render: renderTextEllipsis
20456
20730
  }, {
20457
20731
  dataIndex: 'code',
20458
20732
  title: "\u6761\u7801",
20459
- width: 150
20733
+ width: 150,
20734
+ render: renderTextEllipsis
20460
20735
  },
20461
20736
  // {
20462
20737
  // dataIndex: 'specName',
@@ -20477,31 +20752,36 @@ var getColumns$7 = function getColumns(_ref) {
20477
20752
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20478
20753
  align: 'center',
20479
20754
  ellipsis: true,
20480
- width: 250
20755
+ width: 250,
20756
+ render: renderTextEllipsis
20481
20757
  }, {
20482
20758
  dataIndex: 'mallProductOutCode',
20483
20759
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20484
20760
  align: 'center',
20485
20761
  ellipsis: true,
20486
- width: 150
20762
+ width: 150,
20763
+ render: renderTextEllipsis
20487
20764
  }, {
20488
20765
  dataIndex: 'mallProductId',
20489
20766
  title: "\u5E73\u53F0\u5546\u54C1ID",
20490
20767
  align: 'center',
20491
20768
  ellipsis: true,
20492
- width: 250
20769
+ width: 250,
20770
+ render: renderTextEllipsis
20493
20771
  }, {
20494
20772
  dataIndex: 'mallSkuName',
20495
20773
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20496
20774
  align: 'center',
20497
20775
  ellipsis: true,
20498
- width: 250
20776
+ width: 250,
20777
+ render: renderTextEllipsis
20499
20778
  }, {
20500
20779
  dataIndex: 'mallSkuId',
20501
20780
  title: "\u5E73\u53F0\u89C4\u683CID",
20502
20781
  align: 'center',
20503
20782
  ellipsis: true,
20504
- width: 250
20783
+ width: 250,
20784
+ render: renderTextEllipsis
20505
20785
  }, {
20506
20786
  dataIndex: 'sellCount',
20507
20787
  title: "\u6570\u91CF",
@@ -20586,11 +20866,13 @@ var getColumns$7 = function getColumns(_ref) {
20586
20866
  }, {
20587
20867
  dataIndex: 'combinationName',
20588
20868
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20589
- width: 150
20869
+ width: 150,
20870
+ render: renderTextEllipsis
20590
20871
  }, {
20591
20872
  dataIndex: 'combinationCode',
20592
20873
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20593
- width: 150
20874
+ width: 150,
20875
+ render: renderTextEllipsis
20594
20876
  }, {
20595
20877
  dataIndex: 'gift',
20596
20878
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20628,75 +20910,88 @@ var getColumns$7 = function getColumns(_ref) {
20628
20910
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20629
20911
  align: 'center',
20630
20912
  ellipsis: true,
20631
- width: 150
20913
+ width: 150,
20914
+ render: renderTextEllipsis
20632
20915
  }, {
20633
20916
  dataIndex: 'productCode',
20634
20917
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20635
20918
  align: 'center',
20636
20919
  ellipsis: true,
20637
- width: 150
20920
+ width: 150,
20921
+ render: renderTextEllipsis
20638
20922
  }, {
20639
20923
  dataIndex: 'productId',
20640
20924
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20641
20925
  align: 'center',
20642
20926
  ellipsis: true,
20643
- width: 150
20927
+ width: 150,
20928
+ render: renderTextEllipsis
20644
20929
  }, {
20645
20930
  dataIndex: 'skuName',
20646
20931
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20647
20932
  align: 'center',
20648
20933
  ellipsis: true,
20649
- width: 150
20934
+ width: 150,
20935
+ render: renderTextEllipsis
20650
20936
  }, {
20651
20937
  dataIndex: 'skuCode',
20652
20938
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20653
20939
  align: 'center',
20654
20940
  ellipsis: true,
20655
- width: 150
20941
+ width: 150,
20942
+ render: renderTextEllipsis
20656
20943
  }, {
20657
20944
  dataIndex: 'specId',
20658
20945
  title: "\u89C4\u683CID",
20659
20946
  align: 'center',
20660
20947
  ellipsis: true,
20661
- width: 150
20948
+ width: 150,
20949
+ render: renderTextEllipsis
20662
20950
  }, {
20663
20951
  dataIndex: 'goodsClass',
20664
20952
  title: "\u8D27\u54C1\u7C7B\u522B",
20665
- width: 150
20953
+ width: 150,
20954
+ render: renderTextEllipsis
20666
20955
  }, {
20667
20956
  dataIndex: 'code',
20668
20957
  title: "\u6761\u7801",
20669
- width: 150
20958
+ width: 150,
20959
+ render: renderTextEllipsis
20670
20960
  }, {
20671
20961
  dataIndex: 'mallProductName',
20672
20962
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20673
20963
  align: 'center',
20674
20964
  ellipsis: true,
20675
- width: 150
20965
+ width: 150,
20966
+ render: renderTextEllipsis
20676
20967
  }, {
20677
20968
  dataIndex: 'mallProductOutCode',
20678
20969
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20679
20970
  align: 'center',
20680
20971
  ellipsis: true,
20681
- width: 150
20972
+ width: 150,
20973
+ render: renderTextEllipsis
20682
20974
  }, {
20683
20975
  dataIndex: 'mallProductId',
20684
20976
  title: "\u5E73\u53F0\u5546\u54C1ID",
20685
20977
  align: 'center',
20686
20978
  ellipsis: true,
20687
- width: 150
20979
+ width: 150,
20980
+ render: renderTextEllipsis
20688
20981
  }, {
20689
20982
  dataIndex: 'mallSkuName',
20690
20983
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20691
20984
  align: 'center',
20692
20985
  ellipsis: true,
20693
- width: 150
20986
+ width: 150,
20987
+ render: renderTextEllipsis
20694
20988
  }, {
20695
20989
  dataIndex: 'mallSkuId',
20696
20990
  title: "\u5E73\u53F0\u89C4\u683CID",
20697
20991
  align: 'center',
20698
20992
  ellipsis: true,
20699
- width: 150
20993
+ width: 150,
20994
+ render: renderTextEllipsis
20700
20995
  }, {
20701
20996
  dataIndex: 'sellCount',
20702
20997
  title: "\u6570\u91CF",
@@ -20780,11 +21075,13 @@ var getColumns$7 = function getColumns(_ref) {
20780
21075
  }, {
20781
21076
  dataIndex: 'combinationName',
20782
21077
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20783
- width: 150
21078
+ width: 150,
21079
+ render: renderTextEllipsis
20784
21080
  }, {
20785
21081
  dataIndex: 'combinationCode',
20786
21082
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20787
- width: 150
21083
+ width: 150,
21084
+ render: renderTextEllipsis
20788
21085
  }, {
20789
21086
  dataIndex: 'gift',
20790
21087
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20889,19 +21186,22 @@ var getColumns$9 = function getColumns(_ref) {
20889
21186
  title: "".concat(text, "sku\u540D\u79F0"),
20890
21187
  align: 'center',
20891
21188
  ellipsis: true,
20892
- width: 250
21189
+ width: 250,
21190
+ render: renderTextEllipsis
20893
21191
  }, {
20894
21192
  dataIndex: 'sku',
20895
21193
  title: "".concat(text, "sku\u7F16\u7801"),
20896
21194
  align: 'center',
20897
21195
  ellipsis: true,
20898
- width: 100
21196
+ width: 100,
21197
+ render: renderTextEllipsis
20899
21198
  }, {
20900
21199
  dataIndex: 'name',
20901
21200
  title: "".concat(text, "\u540D\u79F0"),
20902
21201
  align: 'center',
20903
21202
  ellipsis: true,
20904
- width: 250
21203
+ width: 250,
21204
+ render: renderTextEllipsis
20905
21205
  }, {
20906
21206
  dataIndex: 'pic',
20907
21207
  title: "\u56FE\u7247",
@@ -20910,7 +21210,7 @@ var getColumns$9 = function getColumns(_ref) {
20910
21210
  width: 100,
20911
21211
  render: function render(val) {
20912
21212
  return /*#__PURE__*/React.createElement(Image, {
20913
- width: 60,
21213
+ width: 30,
20914
21214
  src: val
20915
21215
  });
20916
21216
  }
@@ -20919,7 +21219,8 @@ var getColumns$9 = function getColumns(_ref) {
20919
21219
  title: "".concat(text, "\u7F16\u7801"),
20920
21220
  align: 'center',
20921
21221
  ellipsis: true,
20922
- width: 100
21222
+ width: 100,
21223
+ render: renderTextEllipsis
20923
21224
  }, {
20924
21225
  dataIndex: 'money',
20925
21226
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -21512,8 +21813,6 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21512
21813
  console.log('filterDataSource', filterDataSource === null || filterDataSource === void 0 ? void 0 : filterDataSource.map(function (item) {
21513
21814
  return item === null || item === void 0 ? void 0 : item[uniqueKey];
21514
21815
  }));
21515
- console.log('selectedRowKeys', selectedRowKeys);
21516
- console.log('currentTradeOriginGoods', currentTradeOriginGoods);
21517
21816
  onChangeSelectedKeys(keys.concat(unCurrentTradeOriginGoods));
21518
21817
  };
21519
21818
  var rowSelection = {
@@ -21529,6 +21828,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21529
21828
  type: "link",
21530
21829
  onClick: openModal
21531
21830
  }, buttonTextMapping[type] || '选择订单商品'), /*#__PURE__*/React.createElement(Modal, {
21831
+ wrapClassName: "goodModal",
21532
21832
  title: "\u8BA2\u5355\u5546\u54C1",
21533
21833
  visible: tradeGoodsVisible,
21534
21834
  footer: null,
@@ -21539,7 +21839,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21539
21839
  }
21540
21840
  }, isGoods && /*#__PURE__*/React.createElement(Row, {
21541
21841
  style: {
21542
- marginBottom: '20px'
21842
+ marginBottom: '12px'
21543
21843
  }
21544
21844
  }, /*#__PURE__*/React.createElement(Col, {
21545
21845
  span: 12
@@ -21560,11 +21860,13 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21560
21860
  };
21561
21861
  })
21562
21862
  }))), /*#__PURE__*/React.createElement(Table, {
21863
+ className: "GoodModalColumns",
21563
21864
  rowKey: uniqueKey,
21564
21865
  rowSelection: rowSelection,
21565
21866
  columns: columns,
21566
21867
  dataSource: filterDataSource,
21567
21868
  pagination: false,
21869
+ size: "small",
21568
21870
  scroll: {
21569
21871
  x: 500,
21570
21872
  y: 500
@@ -21918,7 +22220,7 @@ var GoodItem$1 = function GoodItem(props) {
21918
22220
  params.rowSelection = rowSelection;
21919
22221
  }
21920
22222
  return params;
21921
- }, [tableSelect, selectedRowKeys]);
22223
+ }, [tableSelect, selectedRowKeys, value]);
21922
22224
  var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
21923
22225
  return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && (showChangeBtn ? /*#__PURE__*/React.createElement("div", {
21924
22226
  style: {
@@ -22121,14 +22423,15 @@ var BsGoods = function BsGoods(props) {
22121
22423
  }));
22122
22424
  };
22123
22425
 
22124
- var _excluded$h = ["value", "onChange", "reasonList", "disabled"];
22426
+ var _excluded$h = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22125
22427
  var BsExchange = function BsExchange(props) {
22126
- var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
22428
+ var _value$bsExchangeType6, _value$bsExchangeType7, _value$bsExchangeType8;
22127
22429
  var value = props.value,
22128
22430
  onChange = props.onChange,
22129
22431
  _props$reasonList = props.reasonList,
22130
22432
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22131
22433
  disabled = props.disabled,
22434
+ isSettingConfig = props.isSettingConfig,
22132
22435
  other = _objectWithoutProperties(props, _excluded$h);
22133
22436
  var valueRef = useRef({});
22134
22437
  useEffect(function () {
@@ -22139,14 +22442,15 @@ var BsExchange = function BsExchange(props) {
22139
22442
  var _value$bsExchangeType, _value$bsExchangeType2;
22140
22443
  var newValue = _objectSpread2({}, value);
22141
22444
  if (['2', '4'].includes((_value$bsExchangeType = value.bsExchangeType) === null || _value$bsExchangeType === void 0 ? void 0 : _value$bsExchangeType[0])) {
22142
- newValue.bsExchangeReturnGoods = newValue.bsExchangeReturnGoods.map(function (item) {
22143
- item.bsExchangeReturnGoods = item.bsExchangeReturnGoods.filter(function (t) {
22445
+ var _ref;
22446
+ newValue.bsExchangeReturnGoods = (_ref = (newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
22447
+ item.bsExchangeReturnGoods = ((item === null || item === void 0 ? void 0 : item.bsExchangeReturnGoods) || []).filter(function (t) {
22144
22448
  return t.sku !== data;
22145
22449
  });
22146
22450
  return item;
22147
22451
  });
22148
22452
  } else if (['1', '3'].includes((_value$bsExchangeType2 = value.bsExchangeType) === null || _value$bsExchangeType2 === void 0 ? void 0 : _value$bsExchangeType2[0])) {
22149
- newValue.bsExchangeReturnGoods = newValue.bsExchangeReturnGoods.filter(function (item) {
22453
+ newValue.bsExchangeReturnGoods = ((newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []).filter(function (item) {
22150
22454
  return item.sku !== data;
22151
22455
  });
22152
22456
  }
@@ -22180,6 +22484,17 @@ var BsExchange = function BsExchange(props) {
22180
22484
  }));
22181
22485
  });
22182
22486
  }, []);
22487
+ useEffect(function () {
22488
+ var _value$bsExchangeType3;
22489
+ 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])) {
22490
+ var _value$bsExchangeType4;
22491
+ pubsub.publish('type', {
22492
+ val: value === null || value === void 0 ? void 0 : (_value$bsExchangeType4 = value.bsExchangeType) === null || _value$bsExchangeType4 === void 0 ? void 0 : _value$bsExchangeType4[0],
22493
+ goodValue: _objectSpread2({}, value)
22494
+ });
22495
+ }
22496
+ return;
22497
+ }, []);
22183
22498
  var getListHandle = function getListHandle(list, val) {
22184
22499
  var _val$bsExchangeType, _val$bsExchangeType2;
22185
22500
  //固定的sku
@@ -22236,7 +22551,7 @@ var BsExchange = function BsExchange(props) {
22236
22551
  newValue.bsExchangeType = val;
22237
22552
  newValue.bsExchangeReturnGoods = [];
22238
22553
  newValue.bsExchangeGiftGoods = [];
22239
- if (['2', '4'].includes(val[0])) {
22554
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22240
22555
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22241
22556
  }
22242
22557
  pubsub.publish('type', {
@@ -22274,8 +22589,8 @@ var BsExchange = function BsExchange(props) {
22274
22589
  };
22275
22590
  //显示选择商品按钮 原单换不显示选择商品
22276
22591
  var showChangeBtn = useMemo(function () {
22277
- var _value$bsExchangeType3;
22278
- 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;
22592
+ var _value$bsExchangeType5;
22593
+ 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;
22279
22594
  }, [value === null || value === void 0 ? void 0 : value.bsExchangeType]);
22280
22595
  var copyGoods = function copyGoods(index) {
22281
22596
  var copyHandle = function copyHandle() {
@@ -22292,19 +22607,19 @@ var BsExchange = function BsExchange(props) {
22292
22607
  style: {
22293
22608
  marginBottom: '8px'
22294
22609
  },
22295
- disabled: disabled,
22610
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22296
22611
  allowClear: false,
22297
22612
  options: reasonList,
22298
22613
  value: value === null || value === void 0 ? void 0 : value.bsExchangeType,
22299
22614
  onChange: function onChange(val) {
22300
22615
  return changeTypeHandle(val);
22301
22616
  }
22302
- }), !(value === null || value === void 0 ? void 0 : (_value$bsExchangeType4 = value.bsExchangeType) === null || _value$bsExchangeType4 === void 0 ? void 0 : _value$bsExchangeType4.length) ? /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22617
+ }), !(value === null || value === void 0 ? void 0 : (_value$bsExchangeType6 = value.bsExchangeType) === null || _value$bsExchangeType6 === void 0 ? void 0 : _value$bsExchangeType6.length) ? /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22303
22618
  key: 'bsExchangeGoods'
22304
22619
  }, other), {}, {
22305
22620
  disabled: disabled,
22306
22621
  showChangeBtn: false
22307
- })) : 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.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22622
+ })) : 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.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22308
22623
  key: 'bsExchangeGoods'
22309
22624
  }, other), {}, {
22310
22625
  disabled: disabled,
@@ -22342,7 +22657,7 @@ var BsExchange = function BsExchange(props) {
22342
22657
  return changeReturnHandle(val, index, 'bsExchangeSwapOutGoods');
22343
22658
  }
22344
22659
  })));
22345
- })), ['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.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, "\u8D60\u54C1\u4FE1\u606F"), /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22660
+ })), ['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.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, "\u8D60\u54C1\u4FE1\u606F"), /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22346
22661
  headerText: "\u8D60\u54C1",
22347
22662
  key: 'bsGiftGoods',
22348
22663
  disabled: disabled,
@@ -22356,7 +22671,7 @@ var BsExchange = function BsExchange(props) {
22356
22671
  }))) : null);
22357
22672
  };
22358
22673
 
22359
- var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
22674
+ var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
22360
22675
  var typeMap = {
22361
22676
  BS_REISSUE_GOODS: {
22362
22677
  key: 'bsReissueGoods',
@@ -22374,28 +22689,40 @@ var typeMap = {
22374
22689
  }
22375
22690
  };
22376
22691
  var BsReissue = function BsReissue(props) {
22377
- var _typeMap$type20, _typeMap$type21, _typeMap$type22;
22692
+ var _typeMap$type21, _typeMap$type22, _typeMap$type23;
22378
22693
  var value = props.value,
22379
22694
  onChange = props.onChange,
22380
22695
  _props$reasonList = props.reasonList,
22381
22696
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22382
22697
  disabled = props.disabled,
22383
22698
  type = props.type,
22699
+ isSettingConfig = props.isSettingConfig,
22384
22700
  other = _objectWithoutProperties(props, _excluded$i);
22385
22701
  var valueRef = useRef({});
22386
22702
  useEffect(function () {
22387
- var _typeMap$type;
22388
- pubsub.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) {
22389
- var _typeMap$type2;
22390
- // console.log('reissueSelectList', data);
22703
+ var _value$bsReissueType;
22704
+ 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])) {
22705
+ var _typeMap$type, _value$bsReissueType2;
22706
+ pubsub.publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type = typeMap[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.reissueType), {
22707
+ val: value === null || value === void 0 ? void 0 : (_value$bsReissueType2 = value.bsReissueType) === null || _value$bsReissueType2 === void 0 ? void 0 : _value$bsReissueType2[0],
22708
+ goodValue: _objectSpread2({}, value)
22709
+ });
22710
+ }
22711
+ return;
22712
+ }, []);
22713
+ useEffect(function () {
22714
+ var _typeMap$type2;
22715
+ pubsub.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) {
22716
+ var _typeMap$type3;
22717
+ console.log('reissueSelectList', data);
22391
22718
  if (disabled) return;
22392
22719
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22393
22720
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22394
22721
  });
22395
- 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) {
22396
- var _typeMap$type3, _typeMap$type4;
22397
- 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;
22398
- 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;
22722
+ 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) {
22723
+ var _typeMap$type4, _typeMap$type5;
22724
+ 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;
22725
+ 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;
22399
22726
  item.canUpdateNumber = true;
22400
22727
  return item;
22401
22728
  });
@@ -22403,18 +22730,18 @@ var BsReissue = function BsReissue(props) {
22403
22730
  });
22404
22731
  }, []);
22405
22732
  useEffect(function () {
22406
- var _typeMap$type5;
22407
- pubsub.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) {
22408
- var _typeMap$type6;
22733
+ var _typeMap$type6;
22734
+ pubsub.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) {
22735
+ var _typeMap$type7;
22409
22736
  // console.log('reissueSelectListReturn', data);
22410
22737
  if (disabled) return;
22411
22738
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22412
22739
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22413
22740
  });
22414
- 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) {
22415
- var _typeMap$type7, _typeMap$type8;
22416
- 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;
22417
- 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;
22741
+ 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) {
22742
+ var _typeMap$type8, _typeMap$type9;
22743
+ 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;
22744
+ 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;
22418
22745
  item.canUpdateNumber = true;
22419
22746
  return item;
22420
22747
  });
@@ -22422,63 +22749,64 @@ var BsReissue = function BsReissue(props) {
22422
22749
  });
22423
22750
  }, []);
22424
22751
  useEffect(function () {
22425
- var _typeMap$type9, _typeMap$type12;
22752
+ var _typeMap$type10, _typeMap$type13;
22426
22753
  valueRef.current = value;
22427
- pubsub.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) {
22754
+ pubsub.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) {
22428
22755
  if (disabled) return;
22429
22756
  if (value) {
22430
- var _typeMap$type10, _typeMap$type11;
22757
+ var _typeMap$type11, _typeMap$type12;
22431
22758
  var newValue = _objectSpread2({}, value);
22432
- 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) {
22759
+ 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) {
22433
22760
  return item.sku !== data;
22434
22761
  });
22435
22762
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22436
22763
  }
22437
22764
  });
22438
- pubsub.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) {
22765
+ pubsub.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) {
22439
22766
  onChange(_objectSpread2(_objectSpread2({}, value), {}, {
22440
22767
  shopCode: data.shopCode
22441
22768
  }));
22442
22769
  });
22443
22770
  }, [value, disabled]);
22444
22771
  var changeTypeHandle = function changeTypeHandle(val) {
22445
- var _typeMap$type13, _typeMap$type14, _typeMap$type15;
22772
+ var _typeMap$type14, _typeMap$type15, _typeMap$type16;
22446
22773
  var newValue = _objectSpread2({}, value);
22447
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type13 = typeMap[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.typeName)] = val;
22448
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type14 = typeMap[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key)] = [];
22449
- if (['2', '4'].includes(val[0])) {
22774
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type14 = typeMap[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.typeName)] = val;
22775
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type15 = typeMap[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key)] = [];
22776
+ // isSettingConfig 用于编辑组件时设置补发默认值
22777
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22450
22778
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22451
22779
  valueRef.current = newValue;
22452
22780
  }
22453
- pubsub.publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type15 = typeMap[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.reissueType), {
22781
+ pubsub.publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type16 = typeMap[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.reissueType), {
22454
22782
  val: val[0],
22455
22783
  goodValue: newValue
22456
22784
  });
22457
22785
  };
22458
22786
  var changeGoodHandle = function changeGoodHandle(val) {
22459
- var _typeMap$type16;
22787
+ var _typeMap$type17;
22460
22788
  var newValue = _objectSpread2({}, value);
22461
- 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) {
22462
- var _typeMap$type17, _typeMap$type18;
22463
- 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;
22464
- 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;
22789
+ 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) {
22790
+ var _typeMap$type18, _typeMap$type19;
22791
+ 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;
22792
+ 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;
22465
22793
  return item;
22466
22794
  });
22467
22795
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22468
22796
  };
22469
22797
  //显示选择商品按钮 原单换不显示选择商品
22470
22798
  var showChangeBtn = useMemo(function () {
22471
- var _value, _typeMap$type19;
22472
- 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]);
22473
- }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type20 = typeMap[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.typeName]]);
22799
+ var _value, _typeMap$type20;
22800
+ 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]);
22801
+ }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type21 = typeMap[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]]);
22474
22802
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Cascader, {
22475
22803
  style: {
22476
22804
  marginBottom: '8px'
22477
22805
  },
22478
- disabled: disabled,
22806
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22479
22807
  allowClear: false,
22480
22808
  options: reasonList,
22481
- 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)],
22809
+ 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)],
22482
22810
  onChange: function onChange(val) {
22483
22811
  return changeTypeHandle(val);
22484
22812
  }
@@ -22490,20 +22818,21 @@ var BsReissue = function BsReissue(props) {
22490
22818
  canUpdateNumber: showChangeBtn,
22491
22819
  showChangeBtn: showChangeBtn,
22492
22820
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
22493
- 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)],
22821
+ 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)],
22494
22822
  onChange: function onChange(val) {
22495
22823
  return changeGoodHandle(val);
22496
22824
  }
22497
22825
  })));
22498
22826
  };
22499
22827
 
22500
- var _excluded$j = ["value", "onChange", "reasonList", "disabled"];
22828
+ var _excluded$j = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22501
22829
  var BsReturnGoods = function BsReturnGoods(props) {
22502
22830
  var value = props.value,
22503
22831
  onChange = props.onChange,
22504
22832
  _props$reasonList = props.reasonList,
22505
22833
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22506
22834
  disabled = props.disabled,
22835
+ isSettingConfig = props.isSettingConfig,
22507
22836
  other = _objectWithoutProperties(props, _excluded$j);
22508
22837
  var valueRef = useRef({});
22509
22838
  useEffect(function () {
@@ -22528,6 +22857,17 @@ var BsReturnGoods = function BsReturnGoods(props) {
22528
22857
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22529
22858
  });
22530
22859
  }, []);
22860
+ useEffect(function () {
22861
+ var _value$bsReturnType;
22862
+ if ((value === null || value === void 0 ? void 0 : (_value$bsReturnType = value.bsReturnType) === null || _value$bsReturnType === void 0 ? void 0 : _value$bsReturnType[0]) === '2') {
22863
+ var _value$bsReturnType2;
22864
+ pubsub.publish('returnType', {
22865
+ val: value === null || value === void 0 ? void 0 : (_value$bsReturnType2 = value.bsReturnType) === null || _value$bsReturnType2 === void 0 ? void 0 : _value$bsReturnType2[0],
22866
+ goodValue: _objectSpread2({}, value)
22867
+ });
22868
+ }
22869
+ return;
22870
+ }, []);
22531
22871
  useEffect(function () {
22532
22872
  valueRef.current = value;
22533
22873
  pubsub.subscribeOnce('returnDeleteGood', function (_, data) {
@@ -22550,7 +22890,7 @@ var BsReturnGoods = function BsReturnGoods(props) {
22550
22890
  var newValue = _objectSpread2({}, value);
22551
22891
  newValue['bsReturnType'] = val;
22552
22892
  newValue.bsReturnGoods = [];
22553
- if (['2', '4'].includes(val[0])) {
22893
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22554
22894
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22555
22895
  valueRef.current = newValue;
22556
22896
  }
@@ -22566,14 +22906,14 @@ var BsReturnGoods = function BsReturnGoods(props) {
22566
22906
  };
22567
22907
  //显示选择商品按钮 原单换不显示选择商品
22568
22908
  var showChangeBtn = useMemo(function () {
22569
- var _value$bsReturnType;
22570
- 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]);
22909
+ var _value$bsReturnType3;
22910
+ 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]);
22571
22911
  }, [value === null || value === void 0 ? void 0 : value.bsReturnType]);
22572
22912
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Cascader, {
22573
22913
  style: {
22574
22914
  marginBottom: '8px'
22575
22915
  },
22576
- disabled: disabled,
22916
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22577
22917
  allowClear: false,
22578
22918
  options: reasonList,
22579
22919
  value: value === null || value === void 0 ? void 0 : value.bsReturnType,
@@ -22617,7 +22957,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
22617
22957
  return _objectSpread2(_objectSpread2({}, item), {}, {
22618
22958
  billNo: item.tradeNo,
22619
22959
  billType: WDT_ORDER_TYPE_MAP[item.tradeType],
22620
- billTag: item.tagName,
22960
+ billTag: item.tagName || item.tags,
22621
22961
  tradeStatusValue: tradeStatusMap === null || tradeStatusMap === void 0 ? void 0 : (_tradeStatusMap$data$ = tradeStatusMap[data.data.version]) === null || _tradeStatusMap$data$ === void 0 ? void 0 : _tradeStatusMap$data$[item.tradeStatus]
22622
22962
  });
22623
22963
  });
@@ -23303,9 +23643,9 @@ var index$2 = (function (props) {
23303
23643
  }));
23304
23644
  });
23305
23645
 
23306
- 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";
23646
+ 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";
23307
23647
  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"};
23308
- styleInject(css_248z$d);
23648
+ styleInject(css_248z$f);
23309
23649
 
23310
23650
  var CustomizeUpload = function CustomizeUpload(_ref) {
23311
23651
  var _ref$value = _ref.value,
@@ -25200,6 +25540,9 @@ var wdtReissue = function wdtReissue(props) {
25200
25540
  return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderNo]);
25201
25541
  }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrderNo]]);
25202
25542
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
25543
+ style: {
25544
+ width: '100%'
25545
+ },
25203
25546
  gutter: 8,
25204
25547
  wrap: true
25205
25548
  }, /*#__PURE__*/React.createElement(Col, {
@@ -25404,7 +25747,7 @@ var PublicReissue = function PublicReissue(props) {
25404
25747
  (_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
25405
25748
  var _valueRef$current3, _typeMap$type6, _typeMap$type7, _typeMap$type11, _ref3, _typeMap$type12;
25406
25749
  var orders = data || [];
25407
- var showOrderInfo = orders.map(function (orderItem) {
25750
+ var showOrderInfo = orders === null || orders === void 0 ? void 0 : orders.map(function (orderItem) {
25408
25751
  return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
25409
25752
  });
25410
25753
  var typeObj = {};
@@ -25640,8 +25983,8 @@ var PublicReissue = function PublicReissue(props) {
25640
25983
  })));
25641
25984
  };
25642
25985
 
25643
- 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";
25644
- styleInject(css_248z$e);
25986
+ 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";
25987
+ styleInject(css_248z$g);
25645
25988
 
25646
25989
  var TabPane$1 = Tabs.TabPane;
25647
25990
  var Option$2 = Select.Option;
@@ -26657,9 +27000,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
26657
27000
  })));
26658
27001
  };
26659
27002
 
26660
- var css_248z$f = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
27003
+ var css_248z$h = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
26661
27004
  var styles$6 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
26662
- styleInject(css_248z$f);
27005
+ styleInject(css_248z$h);
26663
27006
 
26664
27007
  var _excluded$r = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
26665
27008
  _excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
@@ -27270,9 +27613,9 @@ var GyReturnGoods = function GyReturnGoods(props) {
27270
27613
  })));
27271
27614
  };
27272
27615
 
27273
- 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";
27616
+ 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";
27274
27617
  var styles$7 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
27275
- styleInject(css_248z$g);
27618
+ styleInject(css_248z$i);
27276
27619
 
27277
27620
  var _excluded$t = ["maxCount", "maxSize", "onChange", "value", "disabled", "hostUrl", "canDownload", "actionUrl"];
27278
27621
  var Dragger$1 = Upload.Dragger;