@kmkf-fe-packages/basic-components 2.2.23 → 2.2.25

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,12 +18664,17 @@ 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]);
18668
+ };
18669
+ var isNumberOrNumberString = function isNumberOrNumberString(value) {
18670
+ if (typeof value === 'number') return true;
18671
+ if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
18672
+ return false;
18539
18673
  };
18540
18674
  var renderFieldMap = {
18541
18675
  num: function num(_ref) {
18542
18676
  var disabled = _ref.disabled,
18543
- updateHandle = _ref.updateHandle;
18677
+ updateDataHandle = _ref.updateDataHandle;
18544
18678
  return function (val, record, index) {
18545
18679
  return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
18546
18680
  style: {
@@ -18550,19 +18684,40 @@ var renderFieldMap = {
18550
18684
  min: 1,
18551
18685
  precision: 0,
18552
18686
  onChange: function onChange(num) {
18553
- return updateHandle(num, index, 'num');
18687
+ updateDataHandle({
18688
+ num: num,
18689
+ orderPrice: num && isNumberOrNumberString(record.sharePrice) ? num * record.price : null
18690
+ }, index);
18554
18691
  }
18555
18692
  }) : /*#__PURE__*/React.createElement("span", null, val);
18556
18693
  };
18557
18694
  },
18558
18695
  giftType: function giftType() {
18559
18696
  return renderGiftType;
18697
+ },
18698
+ orderPrice: function orderPrice(_ref2) {
18699
+ var disabled = _ref2.disabled,
18700
+ updateHandle = _ref2.updateHandle;
18701
+ return function (val, record, index) {
18702
+ return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
18703
+ style: {
18704
+ width: 70
18705
+ },
18706
+ value: val,
18707
+ min: 1,
18708
+ precision: 2,
18709
+ onChange: function onChange(num) {
18710
+ return updateHandle(num, index, 'orderPrice');
18711
+ }
18712
+ }) : /*#__PURE__*/React.createElement("span", null, (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null);
18713
+ };
18560
18714
  }
18561
18715
  };
18562
- var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18563
- var disabled = _ref2.disabled,
18564
- updateHandle = _ref2.updateHandle,
18565
- operate = _ref2.operate;
18716
+ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref3) {
18717
+ var disabled = _ref3.disabled,
18718
+ updateHandle = _ref3.updateHandle,
18719
+ updateDataHandle = _ref3.updateDataHandle,
18720
+ operate = _ref3.operate;
18566
18721
  return getColumnsMap$1()['WDT_REISSUE_GOODS'].map(function (item) {
18567
18722
  var newItem = _objectSpread2({
18568
18723
  align: 'center',
@@ -18572,7 +18727,8 @@ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18572
18727
  return _objectSpread2(_objectSpread2({}, newItem), {}, {
18573
18728
  render: renderFieldMap === null || renderFieldMap === void 0 ? void 0 : renderFieldMap[item.dataIndex]({
18574
18729
  disabled: disabled,
18575
- updateHandle: updateHandle
18730
+ updateHandle: updateHandle,
18731
+ updateDataHandle: updateDataHandle
18576
18732
  })
18577
18733
  });
18578
18734
  }
@@ -18580,25 +18736,37 @@ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18580
18736
  });
18581
18737
  };
18582
18738
 
18739
+ function toNum(value) {
18740
+ if (typeof value === 'string') {
18741
+ return value ? +value : void 0;
18742
+ }
18743
+ if (typeof value === 'number') {
18744
+ return value;
18745
+ }
18746
+ return void 0;
18747
+ }
18583
18748
  var getColumns$2 = function getColumns(_ref) {
18584
18749
  var _ref$text = _ref.text,
18585
18750
  text = _ref$text === void 0 ? '' : _ref$text,
18586
18751
  disabled = _ref.disabled,
18587
- updateHandle = _ref.updateHandle;
18752
+ updateHandle = _ref.updateHandle,
18753
+ updateDataHandle = _ref.updateDataHandle;
18588
18754
  return {
18589
18755
  //旺店通补发商品信息
18590
18756
  WDT_REISSUE_GOODS: [{
18591
18757
  dataIndex: 'goodId',
18592
18758
  title: "\u5546\u54C1ID",
18593
- width: 120,
18759
+ width: 250,
18594
18760
  align: 'center',
18595
- ellipsis: true
18761
+ ellipsis: true,
18762
+ render: renderTextEllipsis
18596
18763
  }, {
18597
18764
  dataIndex: 'goodNo',
18598
18765
  title: "\u5546\u54C1\u7F16\u7801",
18599
18766
  align: 'center',
18600
18767
  ellipsis: true,
18601
- width: 180
18768
+ width: 180,
18769
+ render: renderTextEllipsis
18602
18770
  }, {
18603
18771
  dataIndex: 'goodName',
18604
18772
  title: "\u5546\u54C1\u540D\u79F0",
@@ -18613,24 +18781,30 @@ var getColumns$2 = function getColumns(_ref) {
18613
18781
  dataIndex: 'apiGoodsName',
18614
18782
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18615
18783
  width: 200,
18616
- align: 'center'
18784
+ align: 'center',
18785
+ ellipsis: true,
18786
+ render: renderTextEllipsis
18617
18787
  }, {
18618
18788
  dataIndex: 'platformGoodsId',
18619
18789
  title: "\u5E73\u53F0\u5546\u54C1ID",
18620
18790
  width: 180,
18621
- align: 'center'
18791
+ align: 'center',
18792
+ ellipsis: true,
18793
+ render: renderTextEllipsis
18622
18794
  }, {
18623
18795
  dataIndex: 'specId',
18624
18796
  title: "SKUID",
18625
18797
  align: 'center',
18626
18798
  ellipsis: true,
18627
- width: 150
18799
+ width: 150,
18800
+ render: renderTextEllipsis
18628
18801
  }, {
18629
18802
  dataIndex: 'specNo',
18630
18803
  title: "\u5546\u54C1SKU\u7F16\u7801",
18631
18804
  align: 'center',
18632
18805
  ellipsis: true,
18633
- width: 180
18806
+ width: 180,
18807
+ render: renderTextEllipsis
18634
18808
  }, {
18635
18809
  dataIndex: 'specName',
18636
18810
  title: "\u5546\u54C1SKU\u540D\u79F0",
@@ -18645,23 +18819,49 @@ var getColumns$2 = function getColumns(_ref) {
18645
18819
  dataIndex: 'apiSpecName',
18646
18820
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18647
18821
  width: 200,
18648
- align: 'center'
18822
+ align: 'center',
18823
+ ellipsis: true,
18824
+ render: renderTextEllipsis
18649
18825
  }, {
18650
18826
  dataIndex: 'platformSpecId',
18651
18827
  title: "\u5E73\u53F0\u89C4\u683CID",
18652
18828
  width: 180,
18653
- align: 'center'
18829
+ align: 'center',
18830
+ ellipsis: true
18831
+ }, {
18832
+ dataIndex: 'brandName',
18833
+ title: "\u54C1\u724C\u540D\u79F0",
18834
+ width: 180,
18835
+ align: 'center',
18836
+ ellipsis: true,
18837
+ render: renderTextEllipsis
18654
18838
  }, {
18655
18839
  dataIndex: 'orderPrice',
18656
- title: "\u6210\u4EA4\u603B\u91D1\u989D",
18657
- render: function render(val, record) {
18658
- return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
18659
- },
18840
+ title: "\u8865\u53D1\u91D1\u989D",
18841
+ align: 'center',
18842
+ // render: (val: number, record: any) => {
18843
+ // return (record.num || record.num === 0) && (val || val === 0)
18844
+ // ? Number(val * record.num).toFixed(2)
18845
+ // : null;
18846
+ // },
18660
18847
  width: 200
18661
18848
  }, {
18662
18849
  dataIndex: 'num',
18663
18850
  title: "\u6570\u91CF",
18664
- width: 100
18851
+ width: 100,
18852
+ validator: function validator(_rule, value) {
18853
+ var goodsName = '';
18854
+ if (((value === null || value === void 0 ? void 0 : value.wdtReissueGoods) || []).some(function (goods) {
18855
+ var num = toNum(goods === null || goods === void 0 ? void 0 : goods.num);
18856
+ var res = typeof num === 'number' ? num < 1 : true;
18857
+ if (res) {
18858
+ goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
18859
+ }
18860
+ return res;
18861
+ })) {
18862
+ return Promise.reject("".concat(goodsName, "\u6570\u91CF\u5FC5\u987B\u5927\u4E8E0"));
18863
+ }
18864
+ }
18665
18865
  }, {
18666
18866
  dataIndex: 'sharePrice',
18667
18867
  title: "\u5206\u644A\u4EF7",
@@ -18678,13 +18878,15 @@ var getColumns$2 = function getColumns(_ref) {
18678
18878
  title: "\u5546\u54C1ID",
18679
18879
  align: 'center',
18680
18880
  ellipsis: true,
18681
- width: 70
18881
+ width: 250,
18882
+ render: renderTextEllipsis
18682
18883
  }, {
18683
18884
  dataIndex: 'goodNo',
18684
18885
  title: "\u5546\u54C1\u7F16\u7801",
18685
18886
  align: 'center',
18686
18887
  ellipsis: true,
18687
- width: 180
18888
+ width: 180,
18889
+ render: renderTextEllipsis
18688
18890
  }, {
18689
18891
  dataIndex: 'goodName',
18690
18892
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18699,24 +18901,30 @@ var getColumns$2 = function getColumns(_ref) {
18699
18901
  dataIndex: 'apiGoodsName',
18700
18902
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18701
18903
  width: 200,
18702
- align: 'center'
18904
+ align: 'center',
18905
+ ellipsis: true,
18906
+ render: renderTextEllipsis
18703
18907
  }, {
18704
18908
  dataIndex: 'platformGoodsId',
18705
18909
  title: "\u5E73\u53F0\u5546\u54C1ID",
18706
18910
  width: 180,
18707
- align: 'center'
18911
+ align: 'center',
18912
+ ellipsis: true,
18913
+ render: renderTextEllipsis
18708
18914
  }, {
18709
18915
  dataIndex: 'specId',
18710
18916
  title: "".concat(text, "SKUID"),
18711
18917
  align: 'center',
18712
18918
  ellipsis: true,
18713
- width: 100
18919
+ width: 150,
18920
+ render: renderTextEllipsis
18714
18921
  }, {
18715
18922
  dataIndex: 'specNo',
18716
18923
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18717
18924
  align: 'center',
18718
18925
  ellipsis: true,
18719
- width: 180
18926
+ width: 180,
18927
+ render: renderTextEllipsis
18720
18928
  }, {
18721
18929
  dataIndex: 'specName',
18722
18930
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18731,12 +18939,22 @@ var getColumns$2 = function getColumns(_ref) {
18731
18939
  dataIndex: 'apiSpecName',
18732
18940
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18733
18941
  width: 200,
18734
- align: 'center'
18942
+ align: 'center',
18943
+ ellipsis: true,
18944
+ render: renderTextEllipsis
18735
18945
  }, {
18736
18946
  dataIndex: 'platformSpecId',
18737
18947
  title: "\u5E73\u53F0\u89C4\u683CID",
18738
18948
  width: 180,
18739
- align: 'center'
18949
+ align: 'center',
18950
+ ellipsis: true
18951
+ }, {
18952
+ dataIndex: 'brandName',
18953
+ title: "\u54C1\u724C\u540D\u79F0",
18954
+ width: 180,
18955
+ align: 'center',
18956
+ ellipsis: true,
18957
+ render: renderTextEllipsis
18740
18958
  }, {
18741
18959
  dataIndex: 'orderPrice',
18742
18960
  title: "\u6210\u4EA4\u603B\u91D1\u989D",
@@ -18776,8 +18994,7 @@ var getColumns$2 = function getColumns(_ref) {
18776
18994
  title: "\u8D60\u54C1\u65B9\u5F0F",
18777
18995
  align: 'center',
18778
18996
  ellipsis: true,
18779
- width: 100,
18780
- render: renderGiftType
18997
+ width: 100
18781
18998
  }],
18782
18999
  //旺店通退货商品信息
18783
19000
  WDT_RETURN_GOODS: [{
@@ -18785,13 +19002,15 @@ var getColumns$2 = function getColumns(_ref) {
18785
19002
  title: "\u5546\u54C1ID",
18786
19003
  align: 'center',
18787
19004
  ellipsis: true,
18788
- width: 70
19005
+ width: 250,
19006
+ render: renderTextEllipsis
18789
19007
  }, {
18790
19008
  dataIndex: 'goodNo',
18791
19009
  title: "\u5546\u54C1\u7F16\u7801",
18792
19010
  align: 'center',
18793
19011
  ellipsis: true,
18794
- width: 180
19012
+ width: 180,
19013
+ render: renderTextEllipsis
18795
19014
  }, {
18796
19015
  dataIndex: 'goodName',
18797
19016
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18806,24 +19025,30 @@ var getColumns$2 = function getColumns(_ref) {
18806
19025
  dataIndex: 'apiGoodsName',
18807
19026
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18808
19027
  width: 200,
18809
- align: 'center'
19028
+ align: 'center',
19029
+ ellipsis: true,
19030
+ render: renderTextEllipsis
18810
19031
  }, {
18811
19032
  dataIndex: 'platformGoodsId',
18812
19033
  title: "\u5E73\u53F0\u5546\u54C1ID",
18813
19034
  width: 180,
18814
- align: 'center'
19035
+ align: 'center',
19036
+ ellipsis: true,
19037
+ render: renderTextEllipsis
18815
19038
  }, {
18816
19039
  dataIndex: 'specId',
18817
19040
  title: "".concat(text, "SKUID"),
18818
19041
  align: 'center',
18819
19042
  ellipsis: true,
18820
- width: 100
19043
+ width: 100,
19044
+ render: renderTextEllipsis
18821
19045
  }, {
18822
19046
  dataIndex: 'specNo',
18823
19047
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18824
19048
  align: 'center',
18825
19049
  ellipsis: true,
18826
- width: 180
19050
+ width: 180,
19051
+ render: renderTextEllipsis
18827
19052
  }, {
18828
19053
  dataIndex: 'specName',
18829
19054
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18838,12 +19063,22 @@ var getColumns$2 = function getColumns(_ref) {
18838
19063
  dataIndex: 'apiSpecName',
18839
19064
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18840
19065
  width: 200,
18841
- align: 'center'
19066
+ align: 'center',
19067
+ ellipsis: true,
19068
+ render: renderTextEllipsis
18842
19069
  }, {
18843
19070
  dataIndex: 'platformSpecId',
18844
19071
  title: "\u5E73\u53F0\u89C4\u683CID",
18845
19072
  width: 180,
18846
- align: 'center'
19073
+ align: 'center',
19074
+ ellipsis: true
19075
+ }, {
19076
+ dataIndex: 'brandName',
19077
+ title: "\u54C1\u724C\u540D\u79F0",
19078
+ width: 180,
19079
+ align: 'center',
19080
+ ellipsis: true,
19081
+ render: renderTextEllipsis
18847
19082
  }, {
18848
19083
  dataIndex: 'num',
18849
19084
  title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
@@ -18930,13 +19165,15 @@ var getColumns$2 = function getColumns(_ref) {
18930
19165
  title: "\u5546\u54C1ID",
18931
19166
  align: 'center',
18932
19167
  ellipsis: true,
18933
- width: 70
19168
+ width: 250,
19169
+ render: renderTextEllipsis
18934
19170
  }, {
18935
19171
  dataIndex: 'goodNo',
18936
19172
  title: "\u5546\u54C1\u7F16\u7801",
18937
19173
  align: 'center',
18938
19174
  ellipsis: true,
18939
- width: 180
19175
+ width: 180,
19176
+ render: renderTextEllipsis
18940
19177
  }, {
18941
19178
  dataIndex: 'goodName',
18942
19179
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18951,24 +19188,30 @@ var getColumns$2 = function getColumns(_ref) {
18951
19188
  dataIndex: 'apiGoodsName',
18952
19189
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18953
19190
  width: 200,
18954
- align: 'center'
19191
+ align: 'center',
19192
+ ellipsis: true,
19193
+ render: renderTextEllipsis
18955
19194
  }, {
18956
19195
  dataIndex: 'platformGoodsId',
18957
19196
  title: "\u5E73\u53F0\u5546\u54C1ID",
18958
19197
  width: 180,
18959
- align: 'center'
19198
+ align: 'center',
19199
+ ellipsis: true,
19200
+ render: renderTextEllipsis
18960
19201
  }, {
18961
19202
  dataIndex: 'specId',
18962
19203
  title: "".concat(text, "SKUID"),
18963
19204
  align: 'center',
18964
19205
  ellipsis: true,
18965
- width: 100
19206
+ width: 100,
19207
+ render: renderTextEllipsis
18966
19208
  }, {
18967
19209
  dataIndex: 'specNo',
18968
19210
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18969
19211
  align: 'center',
18970
19212
  ellipsis: true,
18971
- width: 180
19213
+ width: 180,
19214
+ render: renderTextEllipsis
18972
19215
  }, {
18973
19216
  dataIndex: 'specName',
18974
19217
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18983,12 +19226,22 @@ var getColumns$2 = function getColumns(_ref) {
18983
19226
  dataIndex: 'apiSpecName',
18984
19227
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18985
19228
  width: 200,
18986
- align: 'center'
19229
+ align: 'center',
19230
+ ellipsis: true,
19231
+ render: renderTextEllipsis
19232
+ }, {
19233
+ dataIndex: 'platformSpecId',
19234
+ title: "\u5E73\u53F0\u89C4\u683CID",
19235
+ width: 180,
19236
+ align: 'center',
19237
+ ellipsis: true
18987
19238
  }, {
18988
- dataIndex: 'platformSpecId',
18989
- title: "\u5E73\u53F0\u89C4\u683CID",
19239
+ dataIndex: 'brandName',
19240
+ title: "\u54C1\u724C\u540D\u79F0",
18990
19241
  width: 180,
18991
- align: 'center'
19242
+ align: 'center',
19243
+ ellipsis: true,
19244
+ render: renderTextEllipsis
18992
19245
  }, {
18993
19246
  dataIndex: 'num',
18994
19247
  title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
@@ -19088,43 +19341,50 @@ var getColumns$3 = function getColumns(_ref) {
19088
19341
  title: "\u5546\u54C1\u540D\u79F0",
19089
19342
  align: 'center',
19090
19343
  ellipsis: true,
19091
- width: 250
19344
+ width: 250,
19345
+ render: renderTextEllipsis
19092
19346
  }, {
19093
19347
  dataIndex: 'goodsCode',
19094
19348
  title: "\u5546\u54C1\u7F16\u7801",
19095
19349
  align: 'center',
19096
19350
  ellipsis: true,
19097
- width: 250
19351
+ width: 250,
19352
+ render: renderTextEllipsis
19098
19353
  }, {
19099
19354
  dataIndex: 'skuCode',
19100
19355
  title: "sku\u7F16\u7801",
19101
19356
  align: 'center',
19102
19357
  ellipsis: true,
19103
- width: 250
19358
+ width: 250,
19359
+ render: renderTextEllipsis
19104
19360
  }, {
19105
19361
  dataIndex: 'skuName',
19106
19362
  title: "\u7EBF\u4E0Asku\u540D\u79F0",
19107
19363
  align: 'center',
19108
19364
  ellipsis: true,
19109
- width: 250
19365
+ width: 250,
19366
+ render: renderTextEllipsis
19110
19367
  }, {
19111
19368
  dataIndex: 'olnSkuCode',
19112
19369
  title: "\u7EBF\u4E0Asku\u7F16\u7801",
19113
19370
  align: 'center',
19114
19371
  ellipsis: true,
19115
- width: 150
19372
+ width: 150,
19373
+ render: renderTextEllipsis
19116
19374
  }, {
19117
19375
  dataIndex: 'sku',
19118
19376
  title: "\u7EBF\u4E0Asku id",
19119
19377
  align: 'center',
19120
19378
  ellipsis: true,
19121
- width: 150
19379
+ width: 150,
19380
+ render: renderTextEllipsis
19122
19381
  }, {
19123
19382
  dataIndex: 'name',
19124
19383
  title: "\u7EBF\u4E0A\u5546\u54C1\u540D\u79F0",
19125
19384
  align: 'center',
19126
19385
  ellipsis: true,
19127
- width: 250
19386
+ width: 250,
19387
+ render: renderTextEllipsis
19128
19388
  }, {
19129
19389
  dataIndex: 'pic',
19130
19390
  title: "\u7EBF\u4E0A\u56FE\u7247",
@@ -19133,7 +19393,7 @@ var getColumns$3 = function getColumns(_ref) {
19133
19393
  width: 100,
19134
19394
  render: function render(val) {
19135
19395
  return /*#__PURE__*/React.createElement(Image, {
19136
- width: 60,
19396
+ width: 30,
19137
19397
  src: val
19138
19398
  });
19139
19399
  }
@@ -19142,25 +19402,29 @@ var getColumns$3 = function getColumns(_ref) {
19142
19402
  title: "\u7EBF\u4E0A\u5546\u54C1\u7F16\u7801",
19143
19403
  align: 'center',
19144
19404
  ellipsis: true,
19145
- width: 150
19405
+ width: 150,
19406
+ render: renderTextEllipsis
19146
19407
  }, {
19147
19408
  dataIndex: 'code',
19148
19409
  title: "\u7EBF\u4E0A\u5546\u54C1id",
19149
19410
  align: 'center',
19150
19411
  ellipsis: true,
19151
- width: 150
19412
+ width: 150,
19413
+ render: renderTextEllipsis
19152
19414
  }, {
19153
19415
  dataIndex: 'barCode',
19154
19416
  title: "\u5546\u54C1\u6761\u7801",
19155
19417
  align: 'center',
19156
19418
  ellipsis: true,
19157
- width: 150
19419
+ width: 150,
19420
+ render: renderTextEllipsis
19158
19421
  }, {
19159
19422
  dataIndex: 'money',
19160
19423
  title: "\u5B9E\u4ED8\u91D1\u989D",
19161
19424
  align: 'center',
19162
19425
  ellipsis: true,
19163
- width: 100
19426
+ width: 100,
19427
+ render: renderTextEllipsis
19164
19428
  }, {
19165
19429
  dataIndex: 'number',
19166
19430
  title: "".concat(text, "\u6570\u91CF"),
@@ -19185,13 +19449,15 @@ var getColumns$3 = function getColumns(_ref) {
19185
19449
  title: "\u5E94\u6536\u6B3E",
19186
19450
  align: 'center',
19187
19451
  ellipsis: true,
19188
- width: 70
19452
+ width: 70,
19453
+ render: renderTextEllipsis
19189
19454
  }, {
19190
19455
  dataIndex: 'type',
19191
19456
  title: "\u8D60\u54C1\u7C7B\u578B",
19192
19457
  align: 'center',
19193
19458
  ellipsis: true,
19194
- width: 100
19459
+ width: 100,
19460
+ render: renderTextEllipsis
19195
19461
  }, {
19196
19462
  dataIndex: 'isPackage',
19197
19463
  title: "\u662F\u5426\u7EC4\u5408\u5546\u54C1",
@@ -19217,7 +19483,7 @@ var getColumns$3 = function getColumns(_ref) {
19217
19483
  };
19218
19484
  };
19219
19485
 
19220
- var isNumberOrNumberString = function isNumberOrNumberString(value) {
19486
+ var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
19221
19487
  if (typeof value === 'number') return true;
19222
19488
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
19223
19489
  return false;
@@ -19226,7 +19492,7 @@ var getYesOrNo$3 = function getYesOrNo(val) {
19226
19492
  if (isNull(val)) return null;
19227
19493
  return val ? '是' : '否';
19228
19494
  };
19229
- function toNum(value) {
19495
+ function toNum$1(value) {
19230
19496
  if (typeof value === 'string') {
19231
19497
  return value ? +value : void 0;
19232
19498
  }
@@ -19245,27 +19511,32 @@ var getColumns$4 = function getColumns(_ref) {
19245
19511
  GY_GOODS: [{
19246
19512
  dataIndex: 'goodName',
19247
19513
  title: "\u5546\u54C1\u540D\u79F0",
19248
- width: 150
19514
+ width: 150,
19515
+ render: renderTextEllipsis
19249
19516
  }, {
19250
19517
  dataIndex: 'goodShortName',
19251
19518
  title: "\u5546\u54C1\u7B80\u79F0",
19252
- width: 150
19519
+ width: 150,
19520
+ render: renderTextEllipsis
19253
19521
  }, {
19254
19522
  dataIndex: 'goodNo',
19255
19523
  title: "\u5546\u54C1\u7F16\u7801",
19256
- width: 200
19524
+ width: 200,
19525
+ render: renderTextEllipsis
19257
19526
  }, {
19258
19527
  dataIndex: 'specName',
19259
19528
  title: "SKU\u540D\u79F0",
19260
19529
  align: 'center',
19261
19530
  ellipsis: true,
19262
- width: 250
19531
+ width: 250,
19532
+ render: renderTextEllipsis
19263
19533
  }, {
19264
19534
  dataIndex: 'specNo',
19265
19535
  title: "SKU\u7F16\u7801",
19266
19536
  align: 'center',
19267
19537
  ellipsis: true,
19268
- width: 150
19538
+ width: 150,
19539
+ render: renderTextEllipsis
19269
19540
  }, {
19270
19541
  dataIndex: 'qty',
19271
19542
  title: "\u6570\u91CF",
@@ -19281,8 +19552,8 @@ var getColumns$4 = function getColumns(_ref) {
19281
19552
  onChange: function onChange(num) {
19282
19553
  updateDataHandle({
19283
19554
  qty: num,
19284
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19285
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19555
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19556
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19286
19557
  }, index);
19287
19558
  }
19288
19559
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -19302,7 +19573,7 @@ var getColumns$4 = function getColumns(_ref) {
19302
19573
  onChange: function onChange(num) {
19303
19574
  updateDataHandle({
19304
19575
  price: num,
19305
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19576
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19306
19577
  }, index);
19307
19578
  }
19308
19579
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -19356,7 +19627,8 @@ var getColumns$4 = function getColumns(_ref) {
19356
19627
  }, {
19357
19628
  dataIndex: 'skuNote',
19358
19629
  title: "\u5546\u54C1\u5907\u6CE8",
19359
- width: 150
19630
+ width: 150,
19631
+ render: renderTextEllipsis
19360
19632
  }].map(function (item) {
19361
19633
  return _objectSpread2(_objectSpread2({}, item), {}, {
19362
19634
  align: 'center',
@@ -19367,27 +19639,32 @@ var getColumns$4 = function getColumns(_ref) {
19367
19639
  GY_REISSUE_GOODS: [{
19368
19640
  dataIndex: 'goodName',
19369
19641
  title: "\u5546\u54C1\u540D\u79F0",
19370
- width: 150
19642
+ width: 150,
19643
+ render: renderTextEllipsis
19371
19644
  }, {
19372
19645
  dataIndex: 'goodShortName',
19373
19646
  title: "\u5546\u54C1\u7B80\u79F0",
19374
- width: 150
19647
+ width: 150,
19648
+ render: renderTextEllipsis
19375
19649
  }, {
19376
19650
  dataIndex: 'goodNo',
19377
19651
  title: "\u5546\u54C1\u7F16\u7801",
19378
- width: 200
19652
+ width: 200,
19653
+ render: renderTextEllipsis
19379
19654
  }, {
19380
19655
  dataIndex: 'specName',
19381
19656
  title: "SKU\u540D\u79F0",
19382
19657
  align: 'center',
19383
19658
  ellipsis: true,
19384
- width: 250
19659
+ width: 250,
19660
+ render: renderTextEllipsis
19385
19661
  }, {
19386
19662
  dataIndex: 'specNo',
19387
19663
  title: "SKU\u7F16\u7801",
19388
19664
  align: 'center',
19389
19665
  ellipsis: true,
19390
- width: 150
19666
+ width: 150,
19667
+ render: renderTextEllipsis
19391
19668
  }, {
19392
19669
  dataIndex: 'qty',
19393
19670
  title: "\u6570\u91CF",
@@ -19395,7 +19672,7 @@ var getColumns$4 = function getColumns(_ref) {
19395
19672
  validator: function validator(_rule, value) {
19396
19673
  var goodsName = '';
19397
19674
  if (((value === null || value === void 0 ? void 0 : value.gyReissueGoods) || []).some(function (goods) {
19398
- var qty = toNum(goods === null || goods === void 0 ? void 0 : goods.qty);
19675
+ var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
19399
19676
  var res = typeof qty === 'number' ? qty < 1 : true;
19400
19677
  if (res) {
19401
19678
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -19416,8 +19693,8 @@ var getColumns$4 = function getColumns(_ref) {
19416
19693
  onChange: function onChange(num) {
19417
19694
  updateDataHandle({
19418
19695
  qty: num,
19419
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19420
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19696
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19697
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19421
19698
  }, index);
19422
19699
  }
19423
19700
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -19437,7 +19714,7 @@ var getColumns$4 = function getColumns(_ref) {
19437
19714
  onChange: function onChange(num) {
19438
19715
  updateDataHandle({
19439
19716
  price: num,
19440
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19717
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19441
19718
  }, index);
19442
19719
  }
19443
19720
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -19483,27 +19760,32 @@ var getColumns$4 = function getColumns(_ref) {
19483
19760
  GY_RETURN_GOODS: [{
19484
19761
  dataIndex: 'goodName',
19485
19762
  title: "\u5546\u54C1\u540D\u79F0",
19486
- width: 150
19763
+ width: 150,
19764
+ render: renderTextEllipsis
19487
19765
  }, {
19488
19766
  dataIndex: 'goodShortName',
19489
19767
  title: "\u5546\u54C1\u7B80\u79F0",
19490
- width: 150
19768
+ width: 150,
19769
+ render: renderTextEllipsis
19491
19770
  }, {
19492
19771
  dataIndex: 'goodNo',
19493
19772
  title: "\u5546\u54C1\u7F16\u7801",
19494
- width: 200
19773
+ width: 200,
19774
+ render: renderTextEllipsis
19495
19775
  }, {
19496
19776
  dataIndex: 'specName',
19497
19777
  title: "SKU\u540D\u79F0",
19498
19778
  align: 'center',
19499
19779
  ellipsis: true,
19500
- width: 250
19780
+ width: 250,
19781
+ render: renderTextEllipsis
19501
19782
  }, {
19502
19783
  dataIndex: 'specNo',
19503
19784
  title: "SKU\u7F16\u7801",
19504
19785
  align: 'center',
19505
19786
  ellipsis: true,
19506
- width: 150
19787
+ width: 150,
19788
+ render: renderTextEllipsis
19507
19789
  }, {
19508
19790
  dataIndex: 'qty',
19509
19791
  title: "\u6570\u91CF",
@@ -19511,7 +19793,7 @@ var getColumns$4 = function getColumns(_ref) {
19511
19793
  validator: function validator(_rule, value) {
19512
19794
  var goodsName = '';
19513
19795
  if (((value === null || value === void 0 ? void 0 : value.gyReturnGoods) || []).some(function (goods) {
19514
- var qty = toNum(goods === null || goods === void 0 ? void 0 : goods.qty);
19796
+ var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
19515
19797
  var res = typeof qty === 'number' ? qty < 1 : true;
19516
19798
  if (res) {
19517
19799
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -19532,8 +19814,8 @@ var getColumns$4 = function getColumns(_ref) {
19532
19814
  onChange: function onChange(num) {
19533
19815
  updateDataHandle({
19534
19816
  qty: num,
19535
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19536
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19817
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19818
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19537
19819
  }, index);
19538
19820
  }
19539
19821
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -19553,7 +19835,7 @@ var getColumns$4 = function getColumns(_ref) {
19553
19835
  onChange: function onChange(num) {
19554
19836
  updateDataHandle({
19555
19837
  price: num,
19556
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19838
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19557
19839
  }, index);
19558
19840
  }
19559
19841
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -19612,7 +19894,7 @@ var fillAttrs = function fillAttrs(item) {
19612
19894
  if (!item.align) item.align = 'center';
19613
19895
  return item;
19614
19896
  };
19615
- function toNum$1(value) {
19897
+ function toNum$2(value) {
19616
19898
  if (typeof value === 'string') {
19617
19899
  return value ? +value : void 0;
19618
19900
  }
@@ -19632,19 +19914,22 @@ var getColumns$5 = function getColumns() {
19632
19914
  title: '商品名称',
19633
19915
  width: 150,
19634
19916
  ellipsis: true,
19635
- align: 'center'
19917
+ align: 'center',
19918
+ render: renderTextEllipsis
19636
19919
  }, {
19637
19920
  dataIndex: 'skuId',
19638
19921
  title: '商品编码',
19639
19922
  width: 150,
19640
19923
  ellipsis: true,
19641
- align: 'center'
19924
+ align: 'center',
19925
+ render: renderTextEllipsis
19642
19926
  }, {
19643
19927
  dataIndex: 'iId',
19644
19928
  title: '款式编码',
19645
19929
  width: 150,
19646
19930
  ellipsis: true,
19647
- align: 'center'
19931
+ align: 'center',
19932
+ render: renderTextEllipsis
19648
19933
  }, {
19649
19934
  dataIndex: 'pic',
19650
19935
  title: '商品图片',
@@ -19653,7 +19938,7 @@ var getColumns$5 = function getColumns() {
19653
19938
  width: 100,
19654
19939
  render: function render(val) {
19655
19940
  return /*#__PURE__*/React.createElement(Image, {
19656
- width: 60,
19941
+ width: 30,
19657
19942
  src: val
19658
19943
  });
19659
19944
  }
@@ -19662,7 +19947,8 @@ var getColumns$5 = function getColumns() {
19662
19947
  title: '规格值',
19663
19948
  width: 150,
19664
19949
  ellipsis: true,
19665
- align: 'center'
19950
+ align: 'center',
19951
+ render: renderTextEllipsis
19666
19952
  }, {
19667
19953
  dataIndex: 'saleBasePrice',
19668
19954
  title: '原价',
@@ -19724,7 +20010,8 @@ var getColumns$5 = function getColumns() {
19724
20010
  title: '批次号',
19725
20011
  width: 150,
19726
20012
  ellipsis: true,
19727
- align: 'center'
20013
+ align: 'center',
20014
+ render: renderTextEllipsis
19728
20015
  }, {
19729
20016
  dataIndex: 'isGift',
19730
20017
  title: '是否赠品',
@@ -19751,26 +20038,30 @@ var getColumns$5 = function getColumns() {
19751
20038
  title: '子订单号',
19752
20039
  width: 240,
19753
20040
  ellipsis: true,
19754
- align: 'center'
20041
+ align: 'center',
20042
+ render: renderTextEllipsis
19755
20043
  }],
19756
20044
  JST_REISSUE_GOODS: [{
19757
20045
  dataIndex: 'name',
19758
20046
  title: '商品名称',
19759
20047
  width: 150,
19760
20048
  ellipsis: true,
19761
- align: 'center'
20049
+ align: 'center',
20050
+ render: renderTextEllipsis
19762
20051
  }, {
19763
20052
  dataIndex: 'skuId',
19764
20053
  title: '商品编码',
19765
20054
  width: 150,
19766
20055
  ellipsis: true,
19767
- align: 'center'
20056
+ align: 'center',
20057
+ render: renderTextEllipsis
19768
20058
  }, {
19769
20059
  dataIndex: 'iId',
19770
20060
  title: '款式编码',
19771
20061
  width: 150,
19772
20062
  ellipsis: true,
19773
- align: 'center'
20063
+ align: 'center',
20064
+ render: renderTextEllipsis
19774
20065
  }, {
19775
20066
  dataIndex: 'pic',
19776
20067
  title: '商品图片',
@@ -19779,7 +20070,7 @@ var getColumns$5 = function getColumns() {
19779
20070
  width: 100,
19780
20071
  render: function render(val) {
19781
20072
  return /*#__PURE__*/React.createElement(Image, {
19782
- width: 60,
20073
+ width: 30,
19783
20074
  src: val
19784
20075
  });
19785
20076
  }
@@ -19788,7 +20079,8 @@ var getColumns$5 = function getColumns() {
19788
20079
  title: '规格值',
19789
20080
  width: 150,
19790
20081
  ellipsis: true,
19791
- align: 'center'
20082
+ align: 'center',
20083
+ render: renderTextEllipsis
19792
20084
  }, {
19793
20085
  dataIndex: 'saleBasePrice',
19794
20086
  title: '原价',
@@ -19841,7 +20133,7 @@ var getColumns$5 = function getColumns() {
19841
20133
  validator: function validator(_rule, value) {
19842
20134
  var goodsName = '';
19843
20135
  if (((value === null || value === void 0 ? void 0 : value.jstReissueGoods) || []).some(function (goods) {
19844
- var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
20136
+ var qty = toNum$2(goods === null || goods === void 0 ? void 0 : goods.qty);
19845
20137
  var res = typeof qty === 'number' ? qty < 1 : true;
19846
20138
  if (res) {
19847
20139
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19900,31 +20192,35 @@ var getColumns$5 = function getColumns() {
19900
20192
  onChange: function onChange(e) {
19901
20193
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
19902
20194
  }
19903
- }) : /*#__PURE__*/React.createElement("span", null, val);
20195
+ }) : renderTextEllipsis(val);
19904
20196
  }
19905
20197
  }],
19906
20198
  JST_RETURN_GOODS: [{
19907
20199
  dataIndex: 'name',
19908
- title: '商品名称'
20200
+ title: '商品名称',
20201
+ render: renderTextEllipsis
19909
20202
  }, {
19910
20203
  dataIndex: 'skuId',
19911
- title: '商品编码'
20204
+ title: '商品编码',
20205
+ render: renderTextEllipsis
19912
20206
  }, {
19913
20207
  dataIndex: 'iId',
19914
- title: '款式编码'
20208
+ title: '款式编码',
20209
+ render: renderTextEllipsis
19915
20210
  }, {
19916
20211
  dataIndex: 'pic',
19917
20212
  title: '商品图片',
19918
20213
  width: 100,
19919
20214
  render: function render(val) {
19920
20215
  return /*#__PURE__*/React.createElement(Image, {
19921
- width: 60,
20216
+ width: 30,
19922
20217
  src: val
19923
20218
  });
19924
20219
  }
19925
20220
  }, {
19926
20221
  dataIndex: 'propertiesValue',
19927
- title: '规格值'
20222
+ title: '规格值',
20223
+ render: renderTextEllipsis
19928
20224
  }, {
19929
20225
  dataIndex: 'saleBasePrice',
19930
20226
  title: '原价',
@@ -19938,7 +20234,7 @@ var getColumns$5 = function getColumns() {
19938
20234
  validator: function validator(_rule, value) {
19939
20235
  var goodsName = '';
19940
20236
  if (((value === null || value === void 0 ? void 0 : value.jstReturnGoods) || []).some(function (goods) {
19941
- var v = toNum$1(goods === null || goods === void 0 ? void 0 : goods.salePrice);
20237
+ var v = toNum$2(goods === null || goods === void 0 ? void 0 : goods.salePrice);
19942
20238
  var res = typeof v === 'number' ? v < 0 : true;
19943
20239
  if (res) {
19944
20240
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19968,7 +20264,7 @@ var getColumns$5 = function getColumns() {
19968
20264
  validator: function validator(_rule, value) {
19969
20265
  var goodsName = '';
19970
20266
  if (((value === null || value === void 0 ? void 0 : value.jstReturnGoods) || []).some(function (goods) {
19971
- var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
20267
+ var qty = toNum$2(goods === null || goods === void 0 ? void 0 : goods.qty);
19972
20268
  var res = typeof qty === 'number' ? qty < 1 : true;
19973
20269
  if (res) {
19974
20270
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19999,7 +20295,8 @@ var getColumns$5 = function getColumns() {
19999
20295
  }
20000
20296
  }, {
20001
20297
  dataIndex: 'batchId',
20002
- title: '批次号'
20298
+ title: '批次号',
20299
+ render: renderTextEllipsis
20003
20300
  }, {
20004
20301
  dataIndex: 'isGift',
20005
20302
  title: '是否赠品',
@@ -20031,35 +20328,40 @@ var getColumns$5 = function getColumns() {
20031
20328
  onChange: function onChange(e) {
20032
20329
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20033
20330
  }
20034
- }) : /*#__PURE__*/React.createElement("span", null, val);
20331
+ }) : renderTextEllipsis(val);
20035
20332
  }
20036
20333
  }, {
20037
20334
  dataIndex: 'outerOiId',
20038
20335
  title: '子订单号',
20039
- width: 240
20336
+ width: 240,
20337
+ render: renderTextEllipsis
20040
20338
  }].map(fillAttrs),
20041
20339
  JST_EXCHANGE_GOODS: [{
20042
20340
  dataIndex: 'name',
20043
- title: '商品名称'
20341
+ title: '商品名称',
20342
+ render: renderTextEllipsis
20044
20343
  }, {
20045
20344
  dataIndex: 'skuId',
20046
- title: '商品编码'
20345
+ title: '商品编码',
20346
+ render: renderTextEllipsis
20047
20347
  }, {
20048
20348
  dataIndex: 'iId',
20049
- title: '款式编码'
20349
+ title: '款式编码',
20350
+ render: renderTextEllipsis
20050
20351
  }, {
20051
20352
  dataIndex: 'pic',
20052
20353
  title: '商品图片',
20053
20354
  width: 100,
20054
20355
  render: function render(val) {
20055
20356
  return /*#__PURE__*/React.createElement(Image, {
20056
- width: 60,
20357
+ width: 30,
20057
20358
  src: val
20058
20359
  });
20059
20360
  }
20060
20361
  }, {
20061
20362
  dataIndex: 'propertiesValue',
20062
- title: '规格值'
20363
+ title: '规格值',
20364
+ render: renderTextEllipsis
20063
20365
  }, {
20064
20366
  dataIndex: 'saleBasePrice',
20065
20367
  title: '原价',
@@ -20137,13 +20439,13 @@ var getColumns$5 = function getColumns() {
20137
20439
  onChange: function onChange(e) {
20138
20440
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20139
20441
  }
20140
- }) : /*#__PURE__*/React.createElement("span", null, val);
20442
+ }) : renderTextEllipsis(val);
20141
20443
  }
20142
20444
  }].map(fillAttrs)
20143
20445
  };
20144
20446
  };
20145
20447
 
20146
- function toNum$2(value) {
20448
+ function toNum$3(value) {
20147
20449
  if (typeof value === 'string') {
20148
20450
  return value ? +value : void 0;
20149
20451
  }
@@ -20160,42 +20462,50 @@ var getColumns$6 = function getColumns(_ref) {
20160
20462
  KM_GOODS: [{
20161
20463
  dataIndex: 'skuPropertiesName',
20162
20464
  title: "\u89C4\u683C\u540D\u79F0",
20163
- width: 250
20465
+ width: 250,
20466
+ render: renderTextEllipsis
20164
20467
  }, {
20165
20468
  dataIndex: 'sysTitle',
20166
20469
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20167
- width: 150
20470
+ width: 150,
20471
+ render: renderTextEllipsis
20168
20472
  }, {
20169
20473
  dataIndex: 'title',
20170
20474
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20171
- width: 150
20475
+ width: 150,
20476
+ render: renderTextEllipsis
20172
20477
  }, {
20173
20478
  dataIndex: 'shortTitle',
20174
20479
  title: "\u5546\u54C1\u7B80\u79F0",
20175
- width: 150
20480
+ width: 150,
20481
+ render: renderTextEllipsis
20176
20482
  }, {
20177
20483
  dataIndex: 'sysOuterId',
20178
20484
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20179
- width: 150
20485
+ width: 150,
20486
+ render: renderTextEllipsis
20180
20487
  }, {
20181
20488
  dataIndex: 'skuSysId',
20182
20489
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20183
- width: 150
20490
+ width: 150,
20491
+ render: renderTextEllipsis
20184
20492
  }, {
20185
20493
  dataIndex: 'skuId',
20186
20494
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20187
- width: 170
20495
+ width: 170,
20496
+ render: renderTextEllipsis
20188
20497
  }, {
20189
20498
  dataIndex: 'itemSysId',
20190
20499
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20191
- width: 150
20500
+ width: 150,
20501
+ render: renderTextEllipsis
20192
20502
  }, {
20193
20503
  dataIndex: 'sysPicPath',
20194
20504
  title: "\u5546\u54C1\u56FE\u7247",
20195
20505
  width: 100,
20196
20506
  render: function render(val) {
20197
20507
  return /*#__PURE__*/React.createElement(Image, {
20198
- width: 60,
20508
+ width: 30,
20199
20509
  src: val
20200
20510
  });
20201
20511
  }
@@ -20243,7 +20553,8 @@ var getColumns$6 = function getColumns(_ref) {
20243
20553
  }, {
20244
20554
  dataIndex: 'type',
20245
20555
  title: "\u5546\u54C1\u7C7B\u578B",
20246
- width: 150
20556
+ width: 150,
20557
+ render: renderTextEllipsis
20247
20558
  }].map(function (item) {
20248
20559
  return _objectSpread2(_objectSpread2({}, item), {}, {
20249
20560
  align: 'center',
@@ -20253,35 +20564,43 @@ var getColumns$6 = function getColumns(_ref) {
20253
20564
  KM_REISSUE_GOODS: [{
20254
20565
  dataIndex: 'skuPropertiesName',
20255
20566
  title: "\u89C4\u683C\u540D\u79F0",
20256
- width: 250
20567
+ width: 250,
20568
+ render: renderTextEllipsis
20257
20569
  }, {
20258
20570
  dataIndex: 'sysTitle',
20259
20571
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20260
- width: 150
20572
+ width: 150,
20573
+ render: renderTextEllipsis
20261
20574
  }, {
20262
20575
  dataIndex: 'shortTitle',
20263
20576
  title: "\u5546\u54C1\u7B80\u79F0",
20264
- width: 150
20577
+ width: 150,
20578
+ render: renderTextEllipsis
20265
20579
  }, {
20266
20580
  dataIndex: 'title',
20267
20581
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20268
- width: 150
20582
+ width: 150,
20583
+ render: renderTextEllipsis
20269
20584
  }, {
20270
20585
  dataIndex: 'sysOuterId',
20271
20586
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20272
- width: 150
20587
+ width: 150,
20588
+ render: renderTextEllipsis
20273
20589
  }, {
20274
20590
  dataIndex: 'itemSysId',
20275
20591
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20276
- width: 150
20592
+ width: 150,
20593
+ render: renderTextEllipsis
20277
20594
  }, {
20278
20595
  dataIndex: 'skuSysId',
20279
20596
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20280
- width: 150
20597
+ width: 150,
20598
+ render: renderTextEllipsis
20281
20599
  }, {
20282
20600
  dataIndex: 'skuId',
20283
20601
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20284
- width: 170
20602
+ width: 170,
20603
+ render: renderTextEllipsis
20285
20604
  }, {
20286
20605
  dataIndex: 'realNum',
20287
20606
  title: "\u5B9E\u9645\u8865\u53D1\u6570\u91CF",
@@ -20289,7 +20608,7 @@ var getColumns$6 = function getColumns(_ref) {
20289
20608
  validator: function validator(_rule, value) {
20290
20609
  var title = '';
20291
20610
  if (((value === null || value === void 0 ? void 0 : value.kmReissueGoods) || []).some(function (goods) {
20292
- var realNum = toNum$2(goods === null || goods === void 0 ? void 0 : goods.realNum);
20611
+ var realNum = toNum$3(goods === null || goods === void 0 ? void 0 : goods.realNum);
20293
20612
  var res = typeof realNum === 'number' ? realNum < 1 : true;
20294
20613
  if (res) {
20295
20614
  title = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -20356,14 +20675,15 @@ var getColumns$6 = function getColumns(_ref) {
20356
20675
  }, {
20357
20676
  dataIndex: 'type',
20358
20677
  title: "\u5546\u54C1\u7C7B\u578B",
20359
- width: 150
20678
+ width: 150,
20679
+ render: renderTextEllipsis
20360
20680
  }, {
20361
20681
  dataIndex: 'sysPicPath',
20362
20682
  title: "\u5546\u54C1\u56FE\u7247",
20363
20683
  width: 100,
20364
20684
  render: function render(val) {
20365
20685
  return /*#__PURE__*/React.createElement(Image, {
20366
- width: 60,
20686
+ width: 30,
20367
20687
  src: val
20368
20688
  });
20369
20689
  }
@@ -20376,12 +20696,12 @@ var getColumns$6 = function getColumns(_ref) {
20376
20696
  };
20377
20697
  };
20378
20698
 
20379
- var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
20699
+ var isNumberOrNumberString$2 = function isNumberOrNumberString(value) {
20380
20700
  if (typeof value === 'number') return true;
20381
20701
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
20382
20702
  return false;
20383
20703
  };
20384
- function toNum$3(value) {
20704
+ function toNum$4(value) {
20385
20705
  if (typeof value === 'string') {
20386
20706
  return value ? +value : void 0;
20387
20707
  }
@@ -20402,37 +20722,43 @@ var getColumns$7 = function getColumns(_ref) {
20402
20722
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20403
20723
  align: 'center',
20404
20724
  ellipsis: true,
20405
- width: 150
20725
+ width: 150,
20726
+ render: renderTextEllipsis
20406
20727
  }, {
20407
20728
  dataIndex: 'productCode',
20408
20729
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20409
20730
  align: 'center',
20410
20731
  ellipsis: true,
20411
- width: 150
20732
+ width: 150,
20733
+ render: renderTextEllipsis
20412
20734
  }, {
20413
20735
  dataIndex: 'productId',
20414
20736
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20415
20737
  align: 'center',
20416
20738
  ellipsis: true,
20417
- width: 150
20739
+ width: 150,
20740
+ render: renderTextEllipsis
20418
20741
  }, {
20419
20742
  dataIndex: 'skuName',
20420
20743
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20421
20744
  align: 'center',
20422
20745
  ellipsis: true,
20423
- width: 150
20746
+ width: 150,
20747
+ render: renderTextEllipsis
20424
20748
  }, {
20425
20749
  dataIndex: 'skuCode',
20426
20750
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20427
20751
  align: 'center',
20428
20752
  ellipsis: true,
20429
- width: 150
20753
+ width: 150,
20754
+ render: renderTextEllipsis
20430
20755
  }, {
20431
20756
  dataIndex: 'specId',
20432
20757
  title: "\u89C4\u683CID",
20433
20758
  align: 'center',
20434
20759
  ellipsis: true,
20435
- width: 150
20760
+ width: 150,
20761
+ render: renderTextEllipsis
20436
20762
  },
20437
20763
  // {
20438
20764
  // dataIndex: 'goodsName',
@@ -20452,11 +20778,13 @@ var getColumns$7 = function getColumns(_ref) {
20452
20778
  {
20453
20779
  dataIndex: 'goodsClass',
20454
20780
  title: "\u8D27\u54C1\u7C7B\u522B",
20455
- width: 150
20781
+ width: 150,
20782
+ render: renderTextEllipsis
20456
20783
  }, {
20457
20784
  dataIndex: 'code',
20458
20785
  title: "\u6761\u7801",
20459
- width: 150
20786
+ width: 150,
20787
+ render: renderTextEllipsis
20460
20788
  },
20461
20789
  // {
20462
20790
  // dataIndex: 'specName',
@@ -20477,31 +20805,36 @@ var getColumns$7 = function getColumns(_ref) {
20477
20805
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20478
20806
  align: 'center',
20479
20807
  ellipsis: true,
20480
- width: 250
20808
+ width: 250,
20809
+ render: renderTextEllipsis
20481
20810
  }, {
20482
20811
  dataIndex: 'mallProductOutCode',
20483
20812
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20484
20813
  align: 'center',
20485
20814
  ellipsis: true,
20486
- width: 150
20815
+ width: 150,
20816
+ render: renderTextEllipsis
20487
20817
  }, {
20488
20818
  dataIndex: 'mallProductId',
20489
20819
  title: "\u5E73\u53F0\u5546\u54C1ID",
20490
20820
  align: 'center',
20491
20821
  ellipsis: true,
20492
- width: 250
20822
+ width: 250,
20823
+ render: renderTextEllipsis
20493
20824
  }, {
20494
20825
  dataIndex: 'mallSkuName',
20495
20826
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20496
20827
  align: 'center',
20497
20828
  ellipsis: true,
20498
- width: 250
20829
+ width: 250,
20830
+ render: renderTextEllipsis
20499
20831
  }, {
20500
20832
  dataIndex: 'mallSkuId',
20501
20833
  title: "\u5E73\u53F0\u89C4\u683CID",
20502
20834
  align: 'center',
20503
20835
  ellipsis: true,
20504
- width: 250
20836
+ width: 250,
20837
+ render: renderTextEllipsis
20505
20838
  }, {
20506
20839
  dataIndex: 'sellCount',
20507
20840
  title: "\u6570\u91CF",
@@ -20517,7 +20850,7 @@ var getColumns$7 = function getColumns(_ref) {
20517
20850
  onChange: function onChange(num) {
20518
20851
  updateDataHandle({
20519
20852
  sellCount: num,
20520
- sellTotal: num && isNumberOrNumberString$1(record.sellPrice) ? num * record.sellPrice : null
20853
+ sellTotal: num && isNumberOrNumberString$2(record.sellPrice) ? num * record.sellPrice : null
20521
20854
  }, index);
20522
20855
  }
20523
20856
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -20537,7 +20870,7 @@ var getColumns$7 = function getColumns(_ref) {
20537
20870
  onChange: function onChange(num) {
20538
20871
  updateDataHandle({
20539
20872
  sellPrice: num,
20540
- sellTotal: num && isNumberOrNumberString$1(record.sellCount) ? num * record.sellCount : null
20873
+ sellTotal: num && isNumberOrNumberString$2(record.sellCount) ? num * record.sellCount : null
20541
20874
  }, index);
20542
20875
  }
20543
20876
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -20586,11 +20919,13 @@ var getColumns$7 = function getColumns(_ref) {
20586
20919
  }, {
20587
20920
  dataIndex: 'combinationName',
20588
20921
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20589
- width: 150
20922
+ width: 150,
20923
+ render: renderTextEllipsis
20590
20924
  }, {
20591
20925
  dataIndex: 'combinationCode',
20592
20926
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20593
- width: 150
20927
+ width: 150,
20928
+ render: renderTextEllipsis
20594
20929
  }, {
20595
20930
  dataIndex: 'gift',
20596
20931
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20628,75 +20963,88 @@ var getColumns$7 = function getColumns(_ref) {
20628
20963
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20629
20964
  align: 'center',
20630
20965
  ellipsis: true,
20631
- width: 150
20966
+ width: 150,
20967
+ render: renderTextEllipsis
20632
20968
  }, {
20633
20969
  dataIndex: 'productCode',
20634
20970
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20635
20971
  align: 'center',
20636
20972
  ellipsis: true,
20637
- width: 150
20973
+ width: 150,
20974
+ render: renderTextEllipsis
20638
20975
  }, {
20639
20976
  dataIndex: 'productId',
20640
20977
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20641
20978
  align: 'center',
20642
20979
  ellipsis: true,
20643
- width: 150
20980
+ width: 150,
20981
+ render: renderTextEllipsis
20644
20982
  }, {
20645
20983
  dataIndex: 'skuName',
20646
20984
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20647
20985
  align: 'center',
20648
20986
  ellipsis: true,
20649
- width: 150
20987
+ width: 150,
20988
+ render: renderTextEllipsis
20650
20989
  }, {
20651
20990
  dataIndex: 'skuCode',
20652
20991
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20653
20992
  align: 'center',
20654
20993
  ellipsis: true,
20655
- width: 150
20994
+ width: 150,
20995
+ render: renderTextEllipsis
20656
20996
  }, {
20657
20997
  dataIndex: 'specId',
20658
20998
  title: "\u89C4\u683CID",
20659
20999
  align: 'center',
20660
21000
  ellipsis: true,
20661
- width: 150
21001
+ width: 150,
21002
+ render: renderTextEllipsis
20662
21003
  }, {
20663
21004
  dataIndex: 'goodsClass',
20664
21005
  title: "\u8D27\u54C1\u7C7B\u522B",
20665
- width: 150
21006
+ width: 150,
21007
+ render: renderTextEllipsis
20666
21008
  }, {
20667
21009
  dataIndex: 'code',
20668
21010
  title: "\u6761\u7801",
20669
- width: 150
21011
+ width: 150,
21012
+ render: renderTextEllipsis
20670
21013
  }, {
20671
21014
  dataIndex: 'mallProductName',
20672
21015
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20673
21016
  align: 'center',
20674
21017
  ellipsis: true,
20675
- width: 150
21018
+ width: 150,
21019
+ render: renderTextEllipsis
20676
21020
  }, {
20677
21021
  dataIndex: 'mallProductOutCode',
20678
21022
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20679
21023
  align: 'center',
20680
21024
  ellipsis: true,
20681
- width: 150
21025
+ width: 150,
21026
+ render: renderTextEllipsis
20682
21027
  }, {
20683
21028
  dataIndex: 'mallProductId',
20684
21029
  title: "\u5E73\u53F0\u5546\u54C1ID",
20685
21030
  align: 'center',
20686
21031
  ellipsis: true,
20687
- width: 150
21032
+ width: 150,
21033
+ render: renderTextEllipsis
20688
21034
  }, {
20689
21035
  dataIndex: 'mallSkuName',
20690
21036
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20691
21037
  align: 'center',
20692
21038
  ellipsis: true,
20693
- width: 150
21039
+ width: 150,
21040
+ render: renderTextEllipsis
20694
21041
  }, {
20695
21042
  dataIndex: 'mallSkuId',
20696
21043
  title: "\u5E73\u53F0\u89C4\u683CID",
20697
21044
  align: 'center',
20698
21045
  ellipsis: true,
20699
- width: 150
21046
+ width: 150,
21047
+ render: renderTextEllipsis
20700
21048
  }, {
20701
21049
  dataIndex: 'sellCount',
20702
21050
  title: "\u6570\u91CF",
@@ -20704,7 +21052,7 @@ var getColumns$7 = function getColumns(_ref) {
20704
21052
  validator: function validator(_rule, value) {
20705
21053
  var productName = '';
20706
21054
  if (((value === null || value === void 0 ? void 0 : value.jyReissueGoods) || []).some(function (goods) {
20707
- var qty = toNum$3(goods === null || goods === void 0 ? void 0 : goods.sellCount);
21055
+ var qty = toNum$4(goods === null || goods === void 0 ? void 0 : goods.sellCount);
20708
21056
  var res = typeof qty === 'number' ? qty < 1 : true;
20709
21057
  if (res) {
20710
21058
  productName = (goods === null || goods === void 0 ? void 0 : goods.productName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.productName, "]") : '';
@@ -20725,7 +21073,7 @@ var getColumns$7 = function getColumns(_ref) {
20725
21073
  onChange: function onChange(num) {
20726
21074
  updateDataHandle({
20727
21075
  sellCount: num,
20728
- sellTotal: num && isNumberOrNumberString$1(record.sellPrice) ? num * record.sellPrice : null
21076
+ sellTotal: num && isNumberOrNumberString$2(record.sellPrice) ? num * record.sellPrice : null
20729
21077
  }, index);
20730
21078
  }
20731
21079
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -20745,7 +21093,7 @@ var getColumns$7 = function getColumns(_ref) {
20745
21093
  onChange: function onChange(num) {
20746
21094
  updateDataHandle({
20747
21095
  sellPrice: num,
20748
- sellTotal: num && isNumberOrNumberString$1(record.sellCount) ? num * record.sellCount : null
21096
+ sellTotal: num && isNumberOrNumberString$2(record.sellCount) ? num * record.sellCount : null
20749
21097
  }, index);
20750
21098
  }
20751
21099
  }) : /*#__PURE__*/React.createElement("span", null, val);
@@ -20780,11 +21128,13 @@ var getColumns$7 = function getColumns(_ref) {
20780
21128
  }, {
20781
21129
  dataIndex: 'combinationName',
20782
21130
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20783
- width: 150
21131
+ width: 150,
21132
+ render: renderTextEllipsis
20784
21133
  }, {
20785
21134
  dataIndex: 'combinationCode',
20786
21135
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20787
- width: 150
21136
+ width: 150,
21137
+ render: renderTextEllipsis
20788
21138
  }, {
20789
21139
  dataIndex: 'gift',
20790
21140
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20889,19 +21239,22 @@ var getColumns$9 = function getColumns(_ref) {
20889
21239
  title: "".concat(text, "sku\u540D\u79F0"),
20890
21240
  align: 'center',
20891
21241
  ellipsis: true,
20892
- width: 250
21242
+ width: 250,
21243
+ render: renderTextEllipsis
20893
21244
  }, {
20894
21245
  dataIndex: 'sku',
20895
21246
  title: "".concat(text, "sku\u7F16\u7801"),
20896
21247
  align: 'center',
20897
21248
  ellipsis: true,
20898
- width: 100
21249
+ width: 100,
21250
+ render: renderTextEllipsis
20899
21251
  }, {
20900
21252
  dataIndex: 'name',
20901
21253
  title: "".concat(text, "\u540D\u79F0"),
20902
21254
  align: 'center',
20903
21255
  ellipsis: true,
20904
- width: 250
21256
+ width: 250,
21257
+ render: renderTextEllipsis
20905
21258
  }, {
20906
21259
  dataIndex: 'pic',
20907
21260
  title: "\u56FE\u7247",
@@ -20910,7 +21263,7 @@ var getColumns$9 = function getColumns(_ref) {
20910
21263
  width: 100,
20911
21264
  render: function render(val) {
20912
21265
  return /*#__PURE__*/React.createElement(Image, {
20913
- width: 60,
21266
+ width: 30,
20914
21267
  src: val
20915
21268
  });
20916
21269
  }
@@ -20919,7 +21272,8 @@ var getColumns$9 = function getColumns(_ref) {
20919
21272
  title: "".concat(text, "\u7F16\u7801"),
20920
21273
  align: 'center',
20921
21274
  ellipsis: true,
20922
- width: 100
21275
+ width: 100,
21276
+ render: renderTextEllipsis
20923
21277
  }, {
20924
21278
  dataIndex: 'money',
20925
21279
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -21512,8 +21866,6 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21512
21866
  console.log('filterDataSource', filterDataSource === null || filterDataSource === void 0 ? void 0 : filterDataSource.map(function (item) {
21513
21867
  return item === null || item === void 0 ? void 0 : item[uniqueKey];
21514
21868
  }));
21515
- console.log('selectedRowKeys', selectedRowKeys);
21516
- console.log('currentTradeOriginGoods', currentTradeOriginGoods);
21517
21869
  onChangeSelectedKeys(keys.concat(unCurrentTradeOriginGoods));
21518
21870
  };
21519
21871
  var rowSelection = {
@@ -21529,6 +21881,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21529
21881
  type: "link",
21530
21882
  onClick: openModal
21531
21883
  }, buttonTextMapping[type] || '选择订单商品'), /*#__PURE__*/React.createElement(Modal, {
21884
+ wrapClassName: "goodModal",
21532
21885
  title: "\u8BA2\u5355\u5546\u54C1",
21533
21886
  visible: tradeGoodsVisible,
21534
21887
  footer: null,
@@ -21539,7 +21892,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21539
21892
  }
21540
21893
  }, isGoods && /*#__PURE__*/React.createElement(Row, {
21541
21894
  style: {
21542
- marginBottom: '20px'
21895
+ marginBottom: '12px'
21543
21896
  }
21544
21897
  }, /*#__PURE__*/React.createElement(Col, {
21545
21898
  span: 12
@@ -21560,11 +21913,13 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21560
21913
  };
21561
21914
  })
21562
21915
  }))), /*#__PURE__*/React.createElement(Table, {
21916
+ className: "GoodModalColumns",
21563
21917
  rowKey: uniqueKey,
21564
21918
  rowSelection: rowSelection,
21565
21919
  columns: columns,
21566
21920
  dataSource: filterDataSource,
21567
21921
  pagination: false,
21922
+ size: "small",
21568
21923
  scroll: {
21569
21924
  x: 500,
21570
21925
  y: 500
@@ -21750,7 +22105,8 @@ var GoodItem$1 = function GoodItem(props) {
21750
22105
  columns = getWdtReissueGoodColumns({
21751
22106
  disabled: disabled || columnsOptions.disabled,
21752
22107
  updateHandle: updateHandle,
21753
- operate: columnsOptions.operate
22108
+ operate: columnsOptions.operate,
22109
+ updateDataHandle: updateDataHandle
21754
22110
  });
21755
22111
  }
21756
22112
  break;
@@ -21918,7 +22274,7 @@ var GoodItem$1 = function GoodItem(props) {
21918
22274
  params.rowSelection = rowSelection;
21919
22275
  }
21920
22276
  return params;
21921
- }, [tableSelect, selectedRowKeys]);
22277
+ }, [tableSelect, selectedRowKeys, value]);
21922
22278
  var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
21923
22279
  return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && (showChangeBtn ? /*#__PURE__*/React.createElement("div", {
21924
22280
  style: {
@@ -22121,14 +22477,15 @@ var BsGoods = function BsGoods(props) {
22121
22477
  }));
22122
22478
  };
22123
22479
 
22124
- var _excluded$h = ["value", "onChange", "reasonList", "disabled"];
22480
+ var _excluded$h = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22125
22481
  var BsExchange = function BsExchange(props) {
22126
- var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
22482
+ var _value$bsExchangeType6, _value$bsExchangeType7, _value$bsExchangeType8;
22127
22483
  var value = props.value,
22128
22484
  onChange = props.onChange,
22129
22485
  _props$reasonList = props.reasonList,
22130
22486
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22131
22487
  disabled = props.disabled,
22488
+ isSettingConfig = props.isSettingConfig,
22132
22489
  other = _objectWithoutProperties(props, _excluded$h);
22133
22490
  var valueRef = useRef({});
22134
22491
  useEffect(function () {
@@ -22139,14 +22496,15 @@ var BsExchange = function BsExchange(props) {
22139
22496
  var _value$bsExchangeType, _value$bsExchangeType2;
22140
22497
  var newValue = _objectSpread2({}, value);
22141
22498
  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) {
22499
+ var _ref;
22500
+ newValue.bsExchangeReturnGoods = (_ref = (newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
22501
+ item.bsExchangeReturnGoods = ((item === null || item === void 0 ? void 0 : item.bsExchangeReturnGoods) || []).filter(function (t) {
22144
22502
  return t.sku !== data;
22145
22503
  });
22146
22504
  return item;
22147
22505
  });
22148
22506
  } 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) {
22507
+ newValue.bsExchangeReturnGoods = ((newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []).filter(function (item) {
22150
22508
  return item.sku !== data;
22151
22509
  });
22152
22510
  }
@@ -22180,6 +22538,17 @@ var BsExchange = function BsExchange(props) {
22180
22538
  }));
22181
22539
  });
22182
22540
  }, []);
22541
+ useEffect(function () {
22542
+ var _value$bsExchangeType3;
22543
+ 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])) {
22544
+ var _value$bsExchangeType4;
22545
+ pubsub.publish('type', {
22546
+ val: value === null || value === void 0 ? void 0 : (_value$bsExchangeType4 = value.bsExchangeType) === null || _value$bsExchangeType4 === void 0 ? void 0 : _value$bsExchangeType4[0],
22547
+ goodValue: _objectSpread2({}, value)
22548
+ });
22549
+ }
22550
+ return;
22551
+ }, []);
22183
22552
  var getListHandle = function getListHandle(list, val) {
22184
22553
  var _val$bsExchangeType, _val$bsExchangeType2;
22185
22554
  //固定的sku
@@ -22236,7 +22605,7 @@ var BsExchange = function BsExchange(props) {
22236
22605
  newValue.bsExchangeType = val;
22237
22606
  newValue.bsExchangeReturnGoods = [];
22238
22607
  newValue.bsExchangeGiftGoods = [];
22239
- if (['2', '4'].includes(val[0])) {
22608
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22240
22609
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22241
22610
  }
22242
22611
  pubsub.publish('type', {
@@ -22274,8 +22643,8 @@ var BsExchange = function BsExchange(props) {
22274
22643
  };
22275
22644
  //显示选择商品按钮 原单换不显示选择商品
22276
22645
  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;
22646
+ var _value$bsExchangeType5;
22647
+ 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
22648
  }, [value === null || value === void 0 ? void 0 : value.bsExchangeType]);
22280
22649
  var copyGoods = function copyGoods(index) {
22281
22650
  var copyHandle = function copyHandle() {
@@ -22292,19 +22661,19 @@ var BsExchange = function BsExchange(props) {
22292
22661
  style: {
22293
22662
  marginBottom: '8px'
22294
22663
  },
22295
- disabled: disabled,
22664
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22296
22665
  allowClear: false,
22297
22666
  options: reasonList,
22298
22667
  value: value === null || value === void 0 ? void 0 : value.bsExchangeType,
22299
22668
  onChange: function onChange(val) {
22300
22669
  return changeTypeHandle(val);
22301
22670
  }
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({
22671
+ }), !(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
22672
  key: 'bsExchangeGoods'
22304
22673
  }, other), {}, {
22305
22674
  disabled: disabled,
22306
22675
  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({
22676
+ })) : 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
22677
  key: 'bsExchangeGoods'
22309
22678
  }, other), {}, {
22310
22679
  disabled: disabled,
@@ -22342,7 +22711,7 @@ var BsExchange = function BsExchange(props) {
22342
22711
  return changeReturnHandle(val, index, 'bsExchangeSwapOutGoods');
22343
22712
  }
22344
22713
  })));
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({
22714
+ })), ['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
22715
  headerText: "\u8D60\u54C1",
22347
22716
  key: 'bsGiftGoods',
22348
22717
  disabled: disabled,
@@ -22356,7 +22725,7 @@ var BsExchange = function BsExchange(props) {
22356
22725
  }))) : null);
22357
22726
  };
22358
22727
 
22359
- var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
22728
+ var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
22360
22729
  var typeMap = {
22361
22730
  BS_REISSUE_GOODS: {
22362
22731
  key: 'bsReissueGoods',
@@ -22374,28 +22743,40 @@ var typeMap = {
22374
22743
  }
22375
22744
  };
22376
22745
  var BsReissue = function BsReissue(props) {
22377
- var _typeMap$type20, _typeMap$type21, _typeMap$type22;
22746
+ var _typeMap$type21, _typeMap$type22, _typeMap$type23;
22378
22747
  var value = props.value,
22379
22748
  onChange = props.onChange,
22380
22749
  _props$reasonList = props.reasonList,
22381
22750
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22382
22751
  disabled = props.disabled,
22383
22752
  type = props.type,
22753
+ isSettingConfig = props.isSettingConfig,
22384
22754
  other = _objectWithoutProperties(props, _excluded$i);
22385
22755
  var valueRef = useRef({});
22386
22756
  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);
22757
+ var _value$bsReissueType;
22758
+ 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])) {
22759
+ var _typeMap$type, _value$bsReissueType2;
22760
+ pubsub.publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type = typeMap[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.reissueType), {
22761
+ val: value === null || value === void 0 ? void 0 : (_value$bsReissueType2 = value.bsReissueType) === null || _value$bsReissueType2 === void 0 ? void 0 : _value$bsReissueType2[0],
22762
+ goodValue: _objectSpread2({}, value)
22763
+ });
22764
+ }
22765
+ return;
22766
+ }, []);
22767
+ useEffect(function () {
22768
+ var _typeMap$type2;
22769
+ 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) {
22770
+ var _typeMap$type3;
22771
+ console.log('reissueSelectList', data);
22391
22772
  if (disabled) return;
22392
22773
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22393
22774
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22394
22775
  });
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;
22776
+ 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) {
22777
+ var _typeMap$type4, _typeMap$type5;
22778
+ 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;
22779
+ 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
22780
  item.canUpdateNumber = true;
22400
22781
  return item;
22401
22782
  });
@@ -22403,18 +22784,18 @@ var BsReissue = function BsReissue(props) {
22403
22784
  });
22404
22785
  }, []);
22405
22786
  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;
22787
+ var _typeMap$type6;
22788
+ 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) {
22789
+ var _typeMap$type7;
22409
22790
  // console.log('reissueSelectListReturn', data);
22410
22791
  if (disabled) return;
22411
22792
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22412
22793
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22413
22794
  });
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;
22795
+ 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) {
22796
+ var _typeMap$type8, _typeMap$type9;
22797
+ 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;
22798
+ 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
22799
  item.canUpdateNumber = true;
22419
22800
  return item;
22420
22801
  });
@@ -22422,63 +22803,64 @@ var BsReissue = function BsReissue(props) {
22422
22803
  });
22423
22804
  }, []);
22424
22805
  useEffect(function () {
22425
- var _typeMap$type9, _typeMap$type12;
22806
+ var _typeMap$type10, _typeMap$type13;
22426
22807
  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) {
22808
+ 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
22809
  if (disabled) return;
22429
22810
  if (value) {
22430
- var _typeMap$type10, _typeMap$type11;
22811
+ var _typeMap$type11, _typeMap$type12;
22431
22812
  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) {
22813
+ 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
22814
  return item.sku !== data;
22434
22815
  });
22435
22816
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22436
22817
  }
22437
22818
  });
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) {
22819
+ 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
22820
  onChange(_objectSpread2(_objectSpread2({}, value), {}, {
22440
22821
  shopCode: data.shopCode
22441
22822
  }));
22442
22823
  });
22443
22824
  }, [value, disabled]);
22444
22825
  var changeTypeHandle = function changeTypeHandle(val) {
22445
- var _typeMap$type13, _typeMap$type14, _typeMap$type15;
22826
+ var _typeMap$type14, _typeMap$type15, _typeMap$type16;
22446
22827
  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])) {
22828
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type14 = typeMap[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.typeName)] = val;
22829
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type15 = typeMap[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key)] = [];
22830
+ // isSettingConfig 用于编辑组件时设置补发默认值
22831
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22450
22832
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22451
22833
  valueRef.current = newValue;
22452
22834
  }
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), {
22835
+ 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
22836
  val: val[0],
22455
22837
  goodValue: newValue
22456
22838
  });
22457
22839
  };
22458
22840
  var changeGoodHandle = function changeGoodHandle(val) {
22459
- var _typeMap$type16;
22841
+ var _typeMap$type17;
22460
22842
  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;
22843
+ 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) {
22844
+ var _typeMap$type18, _typeMap$type19;
22845
+ 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;
22846
+ 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
22847
  return item;
22466
22848
  });
22467
22849
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22468
22850
  };
22469
22851
  //显示选择商品按钮 原单换不显示选择商品
22470
22852
  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]]);
22853
+ var _value, _typeMap$type20;
22854
+ 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]);
22855
+ }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type21 = typeMap[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]]);
22474
22856
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Cascader, {
22475
22857
  style: {
22476
22858
  marginBottom: '8px'
22477
22859
  },
22478
- disabled: disabled,
22860
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22479
22861
  allowClear: false,
22480
22862
  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)],
22863
+ 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
22864
  onChange: function onChange(val) {
22483
22865
  return changeTypeHandle(val);
22484
22866
  }
@@ -22490,20 +22872,21 @@ var BsReissue = function BsReissue(props) {
22490
22872
  canUpdateNumber: showChangeBtn,
22491
22873
  showChangeBtn: showChangeBtn,
22492
22874
  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)],
22875
+ 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
22876
  onChange: function onChange(val) {
22495
22877
  return changeGoodHandle(val);
22496
22878
  }
22497
22879
  })));
22498
22880
  };
22499
22881
 
22500
- var _excluded$j = ["value", "onChange", "reasonList", "disabled"];
22882
+ var _excluded$j = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22501
22883
  var BsReturnGoods = function BsReturnGoods(props) {
22502
22884
  var value = props.value,
22503
22885
  onChange = props.onChange,
22504
22886
  _props$reasonList = props.reasonList,
22505
22887
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22506
22888
  disabled = props.disabled,
22889
+ isSettingConfig = props.isSettingConfig,
22507
22890
  other = _objectWithoutProperties(props, _excluded$j);
22508
22891
  var valueRef = useRef({});
22509
22892
  useEffect(function () {
@@ -22528,6 +22911,17 @@ var BsReturnGoods = function BsReturnGoods(props) {
22528
22911
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22529
22912
  });
22530
22913
  }, []);
22914
+ useEffect(function () {
22915
+ var _value$bsReturnType;
22916
+ if ((value === null || value === void 0 ? void 0 : (_value$bsReturnType = value.bsReturnType) === null || _value$bsReturnType === void 0 ? void 0 : _value$bsReturnType[0]) === '2') {
22917
+ var _value$bsReturnType2;
22918
+ pubsub.publish('returnType', {
22919
+ val: value === null || value === void 0 ? void 0 : (_value$bsReturnType2 = value.bsReturnType) === null || _value$bsReturnType2 === void 0 ? void 0 : _value$bsReturnType2[0],
22920
+ goodValue: _objectSpread2({}, value)
22921
+ });
22922
+ }
22923
+ return;
22924
+ }, []);
22531
22925
  useEffect(function () {
22532
22926
  valueRef.current = value;
22533
22927
  pubsub.subscribeOnce('returnDeleteGood', function (_, data) {
@@ -22550,7 +22944,7 @@ var BsReturnGoods = function BsReturnGoods(props) {
22550
22944
  var newValue = _objectSpread2({}, value);
22551
22945
  newValue['bsReturnType'] = val;
22552
22946
  newValue.bsReturnGoods = [];
22553
- if (['2', '4'].includes(val[0])) {
22947
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22554
22948
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22555
22949
  valueRef.current = newValue;
22556
22950
  }
@@ -22566,14 +22960,14 @@ var BsReturnGoods = function BsReturnGoods(props) {
22566
22960
  };
22567
22961
  //显示选择商品按钮 原单换不显示选择商品
22568
22962
  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]);
22963
+ var _value$bsReturnType3;
22964
+ 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
22965
  }, [value === null || value === void 0 ? void 0 : value.bsReturnType]);
22572
22966
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Cascader, {
22573
22967
  style: {
22574
22968
  marginBottom: '8px'
22575
22969
  },
22576
- disabled: disabled,
22970
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22577
22971
  allowClear: false,
22578
22972
  options: reasonList,
22579
22973
  value: value === null || value === void 0 ? void 0 : value.bsReturnType,
@@ -22617,7 +23011,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
22617
23011
  return _objectSpread2(_objectSpread2({}, item), {}, {
22618
23012
  billNo: item.tradeNo,
22619
23013
  billType: WDT_ORDER_TYPE_MAP[item.tradeType],
22620
- billTag: item.tagName,
23014
+ billTag: item.tagName || item.tags,
22621
23015
  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
23016
  });
22623
23017
  });
@@ -23303,9 +23697,9 @@ var index$2 = (function (props) {
23303
23697
  }));
23304
23698
  });
23305
23699
 
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";
23700
+ 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
23701
  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);
23702
+ styleInject(css_248z$f);
23309
23703
 
23310
23704
  var CustomizeUpload = function CustomizeUpload(_ref) {
23311
23705
  var _ref$value = _ref.value,
@@ -25200,6 +25594,9 @@ var wdtReissue = function wdtReissue(props) {
25200
25594
  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
25595
  }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrderNo]]);
25202
25596
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
25597
+ style: {
25598
+ width: '100%'
25599
+ },
25203
25600
  gutter: 8,
25204
25601
  wrap: true
25205
25602
  }, /*#__PURE__*/React.createElement(Col, {
@@ -25404,7 +25801,7 @@ var PublicReissue = function PublicReissue(props) {
25404
25801
  (_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
25405
25802
  var _valueRef$current3, _typeMap$type6, _typeMap$type7, _typeMap$type11, _ref3, _typeMap$type12;
25406
25803
  var orders = data || [];
25407
- var showOrderInfo = orders.map(function (orderItem) {
25804
+ var showOrderInfo = orders === null || orders === void 0 ? void 0 : orders.map(function (orderItem) {
25408
25805
  return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
25409
25806
  });
25410
25807
  var typeObj = {};
@@ -25640,8 +26037,8 @@ var PublicReissue = function PublicReissue(props) {
25640
26037
  })));
25641
26038
  };
25642
26039
 
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);
26040
+ 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";
26041
+ styleInject(css_248z$g);
25645
26042
 
25646
26043
  var TabPane$1 = Tabs.TabPane;
25647
26044
  var Option$2 = Select.Option;
@@ -26657,9 +27054,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
26657
27054
  })));
26658
27055
  };
26659
27056
 
26660
- var css_248z$f = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
27057
+ var css_248z$h = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
26661
27058
  var styles$6 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
26662
- styleInject(css_248z$f);
27059
+ styleInject(css_248z$h);
26663
27060
 
26664
27061
  var _excluded$r = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
26665
27062
  _excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
@@ -27270,9 +27667,9 @@ var GyReturnGoods = function GyReturnGoods(props) {
27270
27667
  })));
27271
27668
  };
27272
27669
 
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";
27670
+ 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
27671
  var styles$7 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
27275
- styleInject(css_248z$g);
27672
+ styleInject(css_248z$i);
27276
27673
 
27277
27674
  var _excluded$t = ["maxCount", "maxSize", "onChange", "value", "disabled", "hostUrl", "canDownload", "actionUrl"];
27278
27675
  var Dragger$1 = Upload.Dragger;