@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.js CHANGED
@@ -8814,7 +8814,7 @@ var processSkxGoods = function processSkxGoods(getValue) {
8814
8814
  var processBsReissueGoods = function processBsReissueGoods(getValue) {
8815
8815
  return function (nex, config) {
8816
8816
  return _defineProperty({}, nex.uniqueKey, {
8817
- bsReissueType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueType")), []),
8817
+ bsReissueType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueType")), !kmkfUtils.isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : []),
8818
8818
  bsReissueGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsReissueGoods")), []),
8819
8819
  shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
8820
8820
  });
@@ -8822,7 +8822,7 @@ var processBsReissueGoods = function processBsReissueGoods(getValue) {
8822
8822
  };
8823
8823
  var processBsExchangeGoods = function processBsExchangeGoods(getValue) {
8824
8824
  return function (nex, config) {
8825
- var bsExchangeType = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeType")), []);
8825
+ var bsExchangeType = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeType")), !kmkfUtils.isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : []);
8826
8826
  var bsExchangeReturnGoods = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeReturnGoods")), []);
8827
8827
  var bsExchangeSwapOutGoods = jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_bsExchangeSwapOutGoods")), []);
8828
8828
  //补发组装数据
@@ -8887,7 +8887,7 @@ var processBsReturnGoods = function processBsReturnGoods(getValue) {
8887
8887
  shopCodeKey: 'shopCode'
8888
8888
  }
8889
8889
  };
8890
- return _defineProperty({}, "".concat(nex.uniqueKey), (_$concat = {}, _defineProperty(_$concat, returnGoodsMap[compType].returnTypeKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnTypeKey)), [])), _defineProperty(_$concat, returnGoodsMap[compType].returnGoodsKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnGoodsKey)), [])), _defineProperty(_$concat, returnGoodsMap[compType].shopCodeKey, getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].shopCodeKey))), _$concat));
8890
+ return _defineProperty({}, "".concat(nex.uniqueKey), (_$concat = {}, _defineProperty(_$concat, returnGoodsMap[compType].returnTypeKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnTypeKey)), !kmkfUtils.isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : [])), _defineProperty(_$concat, returnGoodsMap[compType].returnGoodsKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnGoodsKey)), [])), _defineProperty(_$concat, returnGoodsMap[compType].shopCodeKey, getValue("".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].shopCodeKey))), _$concat));
8891
8891
  };
8892
8892
  };
8893
8893
  var processErpSystemOrder = function processErpSystemOrder(getValue) {
@@ -10431,8 +10431,10 @@ function CopyTextIcon(_ref) {
10431
10431
  justifyContent: 'center'
10432
10432
  }
10433
10433
  }, /*#__PURE__*/React__default['default'].createElement("span", {
10434
+ className: "ellipsis-text-3",
10434
10435
  style: {
10435
10436
  marginRight: 8,
10437
+ flex: 1,
10436
10438
  overflow: 'hidden',
10437
10439
  textOverflow: 'ellipsis',
10438
10440
  whiteSpace: 'nowrap'
@@ -13992,6 +13994,18 @@ var ItemList = function ItemList(props) {
13992
13994
  }, "\u6682\u4E0D\u652F\u6301\u6DFB\u52A0")) : null);
13993
13995
  };
13994
13996
 
13997
+ var renderTextEllipsis = function renderTextEllipsis(value) {
13998
+ return /*#__PURE__*/React__default['default'].createElement("span", {
13999
+ className: "ellipsis-text-3"
14000
+ }, value);
14001
+ };
14002
+
14003
+ var css_248z$b = ".GoodModalColumns .ellipsis-text-3 {\n display: -webkit-box;\n overflow: hidden;\n white-space: normal !important;\n text-overflow: ellipsis;\n word-break: break-all;\n overflow-wrap: anywhere;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n line-clamp: 3;\n}\n";
14004
+ styleInject(css_248z$b);
14005
+
14006
+ var css_248z$c = ".search-form .ant-form-item {\n margin-right: 0px !important;\n margin-bottom: 12px !important;\n padding-right: 10px !important;\n}\n@media (max-width: 600px) {\n .search-form {\n display: flex;\n flex-wrap: wrap;\n }\n .search-form .ant-form-item {\n box-sizing: border-box;\n width: 33.33% !important;\n }\n .search-form .ant-input-affix-wrapper,\n .search-form .ant-select,\n .search-form .ant-select-selector {\n width: 100% !important;\n }\n .search-form .search-form-actions .ant-form-item-control-input-content {\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-between;\n }\n .search-form .search-form-actions .ant-form-item-control-input-content .ant-btn {\n width: calc((100% - 8px) / 2) !important;\n padding: 0 !important;\n }\n}\n";
14007
+ styleInject(css_248z$c);
14008
+
13995
14009
  var _excluded$d = ["shopId"];
13996
14010
  var columns = [{
13997
14011
  dataIndex: 'index',
@@ -14006,44 +14020,39 @@ var columns = [{
14006
14020
  }, {
14007
14021
  dataIndex: 'skuName',
14008
14022
  title: '商品sku名称',
14009
- with: 200,
14010
- ellipsis: true
14023
+ width: 300,
14024
+ ellipsis: true,
14025
+ render: renderTextEllipsis
14011
14026
  }, {
14012
14027
  dataIndex: 'skuCode',
14013
14028
  title: '商品sku编码',
14014
- with: 200,
14015
- ellipsis: true
14029
+ width: 200,
14030
+ ellipsis: true,
14031
+ render: renderTextEllipsis
14016
14032
  }, {
14017
14033
  dataIndex: 'name',
14018
14034
  title: '商品名称',
14019
- with: 200,
14020
- ellipsis: true
14035
+ width: 200,
14036
+ ellipsis: true,
14037
+ render: renderTextEllipsis
14021
14038
  }, {
14022
14039
  dataIndex: 'goodsId',
14023
14040
  title: '商品id',
14024
- with: 200,
14025
- ellipsis: true
14041
+ width: 200,
14042
+ ellipsis: true,
14043
+ render: renderTextEllipsis
14026
14044
  }, {
14027
14045
  dataIndex: 'code',
14028
14046
  title: '商品编码',
14029
- with: 200,
14030
- render: function render(val) {
14031
- return /*#__PURE__*/React__default['default'].createElement("div", {
14032
- style: {
14033
- width: '100px'
14034
- }
14035
- }, val);
14036
- }
14047
+ width: 200,
14048
+ ellipsis: true,
14049
+ render: renderTextEllipsis
14037
14050
  }, {
14038
14051
  dataIndex: 'marketPrice',
14039
14052
  title: '市场价',
14040
- render: function render(val) {
14041
- return /*#__PURE__*/React__default['default'].createElement("div", {
14042
- style: {
14043
- width: '70px'
14044
- }
14045
- }, val);
14046
- }
14053
+ width: 70,
14054
+ ellipsis: true,
14055
+ render: renderTextEllipsis
14047
14056
  }];
14048
14057
  var GoodsModal$1 = function GoodsModal(props, ref) {
14049
14058
  React.useImperativeHandle(ref, function () {
@@ -14312,27 +14321,27 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14312
14321
  }, {
14313
14322
  dataIndex: 'skuName',
14314
14323
  title: '商品sku名称',
14315
- with: 200,
14324
+ width: 300,
14316
14325
  ellipsis: true
14317
14326
  }, {
14318
14327
  dataIndex: 'skuCode',
14319
14328
  title: '商品sku编码',
14320
- with: 200,
14329
+ width: 200,
14321
14330
  ellipsis: true
14322
14331
  }, {
14323
14332
  dataIndex: 'name',
14324
14333
  title: '商品名称',
14325
- with: 200,
14334
+ width: 200,
14326
14335
  ellipsis: true
14327
14336
  }, {
14328
14337
  dataIndex: 'goodsId',
14329
14338
  title: '商品id',
14330
- with: 200,
14339
+ width: 200,
14331
14340
  ellipsis: true
14332
14341
  }, {
14333
14342
  dataIndex: 'code',
14334
14343
  title: '商品编码',
14335
- with: 200,
14344
+ width: 200,
14336
14345
  render: function render(val) {
14337
14346
  return /*#__PURE__*/React__default['default'].createElement("div", {
14338
14347
  style: {
@@ -14361,9 +14370,10 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14361
14370
  rowKey: 'skuCode',
14362
14371
  dataSource: selectList,
14363
14372
  scroll: {
14364
- x: true,
14373
+ x: '100%',
14365
14374
  y: 250
14366
14375
  },
14376
+ size: "small",
14367
14377
  pagination: {
14368
14378
  size: 'small',
14369
14379
  total: selectIds.length,
@@ -14387,6 +14397,7 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14387
14397
  top: 20
14388
14398
  }
14389
14399
  }, /*#__PURE__*/React__default['default'].createElement(antd.Form, {
14400
+ className: "search-form",
14390
14401
  layout: "inline",
14391
14402
  form: form,
14392
14403
  onFinish: onFinish,
@@ -14435,7 +14446,12 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14435
14446
  style: {
14436
14447
  width: 150
14437
14448
  }
14438
- })), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, null, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
14449
+ })), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
14450
+ className: "search-form-actions"
14451
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
14452
+ style: {
14453
+ marginRight: '8px'
14454
+ },
14439
14455
  type: "primary",
14440
14456
  htmlType: "submit"
14441
14457
  }, "\u67E5\u8BE2"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
@@ -14443,14 +14459,17 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
14443
14459
  }, "\u91CD\u7F6E"))), /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
14444
14460
  spinning: loading
14445
14461
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, {
14462
+ className: "GoodModalColumns",
14446
14463
  rowSelection: rowSelection,
14447
14464
  columns: columns,
14448
14465
  rowKey: 'skuCode',
14449
14466
  dataSource: goodList,
14467
+ tableLayout: "fixed",
14450
14468
  scroll: {
14451
- x: true,
14469
+ x: 'max-content',
14452
14470
  y: 250
14453
14471
  },
14472
+ size: "small",
14454
14473
  pagination: {
14455
14474
  size: 'small',
14456
14475
  total: total,
@@ -14477,27 +14496,32 @@ var gyColumns = [{
14477
14496
  dataIndex: 'specName',
14478
14497
  title: 'SKU名称',
14479
14498
  width: 250,
14480
- ellipsis: true
14499
+ ellipsis: true,
14500
+ render: renderTextEllipsis
14481
14501
  }, {
14482
14502
  dataIndex: 'specNo',
14483
14503
  title: 'SKU编码',
14484
14504
  width: 150,
14485
- ellipsis: true
14505
+ ellipsis: true,
14506
+ render: renderTextEllipsis
14486
14507
  }, {
14487
14508
  dataIndex: 'goodName',
14488
14509
  title: '商品名称',
14489
14510
  width: 250,
14490
- ellipsis: true
14511
+ ellipsis: true,
14512
+ render: renderTextEllipsis
14491
14513
  }, {
14492
14514
  dataIndex: 'goodShortName',
14493
14515
  title: "\u5546\u54C1\u7B80\u79F0",
14494
14516
  ellipsis: true,
14495
- width: 150
14517
+ width: 150,
14518
+ render: renderTextEllipsis
14496
14519
  }, {
14497
14520
  dataIndex: 'goodNo',
14498
14521
  title: '商品编码',
14499
14522
  width: 150,
14500
- ellipsis: true
14523
+ ellipsis: true,
14524
+ render: renderTextEllipsis
14501
14525
  }, {
14502
14526
  dataIndex: 'goodPicUrl',
14503
14527
  title: '商品图片',
@@ -14505,8 +14529,8 @@ var gyColumns = [{
14505
14529
  render: function render(picUrl) {
14506
14530
  return /*#__PURE__*/React__default['default'].createElement("img", {
14507
14531
  style: {
14508
- width: '40px',
14509
- height: '40px',
14532
+ width: '30px',
14533
+ height: '30px',
14510
14534
  objectFit: 'contain'
14511
14535
  },
14512
14536
  src: picUrl
@@ -14516,39 +14540,46 @@ var gyColumns = [{
14516
14540
  dataIndex: 'brandName',
14517
14541
  title: '品牌名称',
14518
14542
  width: 200,
14519
- ellipsis: true
14543
+ ellipsis: true,
14544
+ render: renderTextEllipsis
14520
14545
  }, {
14521
14546
  dataIndex: 'retailPrice',
14522
14547
  title: "\u6807\u51C6\u552E\u4EF7",
14523
14548
  ellipsis: true,
14524
- width: 100
14549
+ width: 100,
14550
+ render: renderTextEllipsis
14525
14551
  }, {
14526
14552
  dataIndex: 'costPrice',
14527
14553
  title: "\u6210\u672C\u4EF7",
14528
14554
  ellipsis: true,
14529
- width: 100
14555
+ width: 100,
14556
+ render: renderTextEllipsis
14530
14557
  }];
14531
14558
 
14532
14559
  var jstColumns = [{
14533
14560
  dataIndex: 'goodName',
14534
14561
  title: '商品名称',
14535
14562
  width: 250,
14536
- ellipsis: true
14563
+ ellipsis: true,
14564
+ render: renderTextEllipsis
14537
14565
  }, {
14538
14566
  dataIndex: 'goodNo',
14539
14567
  title: '商品编码',
14540
14568
  width: 200,
14541
- ellipsis: true
14569
+ ellipsis: true,
14570
+ render: renderTextEllipsis
14542
14571
  }, {
14543
14572
  dataIndex: 'styleCode',
14544
14573
  title: '款式编码',
14545
14574
  width: 200,
14546
- ellipsis: true
14575
+ ellipsis: true,
14576
+ render: renderTextEllipsis
14547
14577
  }, {
14548
14578
  dataIndex: 'propertiesValue',
14549
14579
  title: '规格值',
14550
14580
  width: 200,
14551
- ellipsis: true
14581
+ ellipsis: true,
14582
+ render: renderTextEllipsis
14552
14583
  }, {
14553
14584
  dataIndex: 'goodPicUrl',
14554
14585
  title: '商品图片',
@@ -14556,8 +14587,8 @@ var jstColumns = [{
14556
14587
  render: function render(picUrl) {
14557
14588
  return /*#__PURE__*/React__default['default'].createElement("img", {
14558
14589
  style: {
14559
- width: '40px',
14560
- height: '40px',
14590
+ width: '30px',
14591
+ height: '30px',
14561
14592
  objectFit: 'contain'
14562
14593
  },
14563
14594
  src: picUrl
@@ -14567,19 +14598,21 @@ var jstColumns = [{
14567
14598
  dataIndex: 'goodShortName',
14568
14599
  title: "\u5546\u54C1\u7B80\u79F0",
14569
14600
  ellipsis: true,
14570
- width: 250
14601
+ width: 250,
14602
+ render: renderTextEllipsis
14571
14603
  }, {
14572
14604
  dataIndex: 'brandName',
14573
14605
  title: '品牌名称',
14574
14606
  width: 200,
14575
- ellipsis: true
14607
+ ellipsis: true,
14608
+ render: renderTextEllipsis
14576
14609
  }, {
14577
14610
  dataIndex: 'retailPrice',
14578
14611
  title: "\u9500\u552E\u4EF7\u683C",
14579
14612
  ellipsis: true,
14580
14613
  width: 100,
14581
14614
  render: function render(price) {
14582
- return price || price === 0 ? Number(price).toFixed(2) : '';
14615
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14583
14616
  }
14584
14617
  }, {
14585
14618
  dataIndex: 'marketPrice',
@@ -14587,7 +14620,7 @@ var jstColumns = [{
14587
14620
  ellipsis: true,
14588
14621
  width: 100,
14589
14622
  render: function render(price) {
14590
- return price || price === 0 ? Number(price).toFixed(2) : '';
14623
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14591
14624
  }
14592
14625
  }, {
14593
14626
  dataIndex: 'costPrice',
@@ -14595,7 +14628,7 @@ var jstColumns = [{
14595
14628
  ellipsis: true,
14596
14629
  width: 100,
14597
14630
  render: function render(price) {
14598
- return price || price === 0 ? Number(price).toFixed(2) : '';
14631
+ return renderTextEllipsis(price || price === 0 ? Number(price).toFixed(2) : '');
14599
14632
  }
14600
14633
  }, {
14601
14634
  dataIndex: 'skuType',
@@ -14604,10 +14637,10 @@ var jstColumns = [{
14604
14637
  width: 100,
14605
14638
  render: function render() {
14606
14639
  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'normal';
14607
- return {
14640
+ return renderTextEllipsis({
14608
14641
  combine: '组合装商品',
14609
14642
  normal: '普通商品'
14610
- }[type] || type;
14643
+ }[type] || type);
14611
14644
  }
14612
14645
  }];
14613
14646
 
@@ -14615,17 +14648,20 @@ var wdtColumns = [{
14615
14648
  dataIndex: 'specName',
14616
14649
  title: 'SKU名称',
14617
14650
  width: 250,
14618
- ellipsis: true
14651
+ ellipsis: true,
14652
+ render: renderTextEllipsis
14619
14653
  }, {
14620
14654
  dataIndex: 'specNo',
14621
14655
  title: 'SKU编码',
14622
14656
  width: 200,
14623
- ellipsis: true
14657
+ ellipsis: true,
14658
+ render: renderTextEllipsis
14624
14659
  }, {
14625
14660
  dataIndex: 'specId',
14626
14661
  title: 'SKUID',
14627
14662
  width: 200,
14628
- ellipsis: true
14663
+ ellipsis: true,
14664
+ render: renderTextEllipsis
14629
14665
  }, {
14630
14666
  dataIndex: 'specImgUrl',
14631
14667
  title: '商品图片',
@@ -14633,8 +14669,8 @@ var wdtColumns = [{
14633
14669
  render: function render(picUrl) {
14634
14670
  return /*#__PURE__*/React__default['default'].createElement("img", {
14635
14671
  style: {
14636
- width: '40px',
14637
- height: '40px',
14672
+ width: '30px',
14673
+ height: '30px',
14638
14674
  objectFit: 'contain'
14639
14675
  },
14640
14676
  src: picUrl
@@ -14644,42 +14680,46 @@ var wdtColumns = [{
14644
14680
  dataIndex: 'goodName',
14645
14681
  title: '商品名称',
14646
14682
  width: 250,
14647
- ellipsis: true
14683
+ ellipsis: true,
14684
+ render: renderTextEllipsis
14648
14685
  }, {
14649
14686
  dataIndex: 'goodNo',
14650
14687
  title: '商品编码',
14651
14688
  width: 200,
14652
- ellipsis: true
14689
+ ellipsis: true,
14690
+ render: renderTextEllipsis
14653
14691
  }, {
14654
14692
  dataIndex: 'goodId',
14655
14693
  title: '商品ID',
14656
14694
  width: 200,
14657
- ellipsis: true
14695
+ ellipsis: true,
14696
+ render: renderTextEllipsis
14658
14697
  }, {
14659
14698
  dataIndex: 'brandName',
14660
14699
  title: '品牌名称',
14661
14700
  width: 200,
14662
- ellipsis: true
14701
+ ellipsis: true,
14702
+ render: renderTextEllipsis
14663
14703
  }, {
14664
14704
  dataIndex: 'marketPrice',
14665
14705
  title: '市场价',
14666
14706
  width: 140,
14667
14707
  render: function render(price) {
14668
- return Number(price).toFixed(2);
14708
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14669
14709
  }
14670
14710
  }, {
14671
14711
  dataIndex: 'retailPrice',
14672
14712
  title: '零售价',
14673
14713
  width: 140,
14674
14714
  render: function render(price) {
14675
- return Number(price).toFixed(2);
14715
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14676
14716
  }
14677
14717
  }, {
14678
14718
  dataIndex: 'memberPrice',
14679
14719
  title: '会员价',
14680
14720
  width: 140,
14681
14721
  render: function render(price) {
14682
- return Number(price).toFixed(2);
14722
+ return price || price === 0 ? Number(price).toFixed(2) : '';
14683
14723
  }
14684
14724
  }];
14685
14725
 
@@ -14687,22 +14727,26 @@ var bse3Columns = [{
14687
14727
  dataIndex: 'specNo',
14688
14728
  title: "SKU",
14689
14729
  ellipsis: true,
14690
- width: 200
14730
+ width: 200,
14731
+ render: renderTextEllipsis
14691
14732
  }, {
14692
14733
  dataIndex: 'specId',
14693
14734
  title: "SKU ID",
14694
14735
  ellipsis: true,
14695
- width: 80
14736
+ width: 80,
14737
+ render: renderTextEllipsis
14696
14738
  }, {
14697
14739
  dataIndex: 'goodName',
14698
14740
  title: "\u5546\u54C1\u540D\u79F0",
14699
14741
  ellipsis: true,
14700
- width: 250
14742
+ width: 250,
14743
+ render: renderTextEllipsis
14701
14744
  }, {
14702
14745
  dataIndex: 'goodShortName',
14703
14746
  title: "\u5546\u54C1\u7B80\u79F0",
14704
14747
  ellipsis: true,
14705
- width: 250
14748
+ width: 250,
14749
+ render: renderTextEllipsis
14706
14750
  },
14707
14751
  // {
14708
14752
  // dataIndex: 'goodPicUrl',
@@ -14726,47 +14770,56 @@ var bse3Columns = [{
14726
14770
  dataIndex: 'goodNo',
14727
14771
  title: "\u8D27\u53F7",
14728
14772
  ellipsis: true,
14729
- width: 150
14773
+ width: 150,
14774
+ render: renderTextEllipsis
14730
14775
  }, {
14731
14776
  dataIndex: 'goodId',
14732
14777
  title: "\u8D27\u53F7ID",
14733
14778
  ellipsis: true,
14734
- width: 100
14779
+ width: 100,
14780
+ render: renderTextEllipsis
14735
14781
  }, {
14736
14782
  dataIndex: 'colorName',
14737
14783
  title: "\u989C\u8272\u540D\u79F0",
14738
14784
  ellipsis: true,
14739
- width: 100
14785
+ width: 100,
14786
+ render: renderTextEllipsis
14740
14787
  }, {
14741
14788
  dataIndex: 'colorCode',
14742
14789
  title: "\u989C\u8272\u4EE3\u7801",
14743
14790
  ellipsis: true,
14744
- width: 100
14791
+ width: 100,
14792
+ render: renderTextEllipsis
14745
14793
  }, {
14746
14794
  dataIndex: 'sizeName',
14747
14795
  title: "\u5C3A\u7801\u540D\u79F0",
14748
14796
  ellipsis: true,
14749
- width: 100
14797
+ width: 100,
14798
+ render: renderTextEllipsis
14750
14799
  }, {
14751
14800
  dataIndex: 'sizeCode',
14752
14801
  title: "\u5C3A\u7801\u4EE3\u7801",
14753
14802
  ellipsis: true,
14754
- width: 100
14803
+ width: 100,
14804
+ render: renderTextEllipsis
14755
14805
  }, {
14756
14806
  dataIndex: 'brandName',
14757
14807
  title: "\u54C1\u724C\u540D\u79F0",
14758
14808
  ellipsis: true,
14759
- width: 100
14809
+ width: 100,
14810
+ render: renderTextEllipsis
14760
14811
  }, {
14761
14812
  dataIndex: 'marketPrice',
14762
14813
  title: "\u5E02\u573A\u4EF7",
14763
14814
  ellipsis: true,
14764
- width: 100
14815
+ width: 100,
14816
+ render: renderTextEllipsis
14765
14817
  }, {
14766
14818
  dataIndex: 'retailPrice',
14767
14819
  title: "\u552E\u4EF7",
14768
14820
  ellipsis: true,
14769
- width: 100
14821
+ width: 100,
14822
+ render: renderTextEllipsis
14770
14823
  }];
14771
14824
 
14772
14825
  var getYesOrNo = function getYesOrNo(val) {
@@ -14777,24 +14830,27 @@ var kmColumns = [{
14777
14830
  dataIndex: 'goodName',
14778
14831
  title: '商品名称',
14779
14832
  width: 250,
14780
- ellipsis: true
14833
+ ellipsis: true,
14834
+ render: renderTextEllipsis
14781
14835
  }, {
14782
14836
  dataIndex: 'goodNo',
14783
14837
  title: '商品编码',
14784
14838
  width: 150,
14785
- ellipsis: true
14839
+ ellipsis: true,
14840
+ render: renderTextEllipsis
14786
14841
  }, {
14787
14842
  dataIndex: 'goodId',
14788
14843
  title: '商品ID',
14789
14844
  width: 200,
14790
- ellipsis: true
14845
+ ellipsis: true,
14846
+ render: renderTextEllipsis
14791
14847
  }, {
14792
14848
  dataIndex: 'goodPicUrl',
14793
14849
  title: "\u5546\u54C1\u56FE\u7247",
14794
14850
  width: 150,
14795
14851
  render: function render(val) {
14796
14852
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
14797
- width: 60,
14853
+ width: 30,
14798
14854
  src: val
14799
14855
  });
14800
14856
  }
@@ -14802,52 +14858,62 @@ var kmColumns = [{
14802
14858
  dataIndex: 'goodShortName',
14803
14859
  title: '商品简称',
14804
14860
  width: 200,
14805
- ellipsis: true
14861
+ ellipsis: true,
14862
+ render: renderTextEllipsis
14806
14863
  }, {
14807
14864
  dataIndex: 'goodBarcode',
14808
14865
  title: '商品条码',
14809
14866
  width: 200,
14810
- ellipsis: true
14867
+ ellipsis: true,
14868
+ render: renderTextEllipsis
14811
14869
  }, {
14812
14870
  dataIndex: 'brandName',
14813
14871
  title: "\u54C1\u724C\u540D\u79F0",
14814
14872
  ellipsis: true,
14815
- width: 150
14873
+ width: 150,
14874
+ render: renderTextEllipsis
14816
14875
  }, {
14817
14876
  dataIndex: 'skuType',
14818
14877
  title: "\u5546\u54C1\u7C7B\u578B",
14819
14878
  ellipsis: true,
14820
- width: 150
14879
+ width: 150,
14880
+ render: renderTextEllipsis
14821
14881
  }, {
14822
14882
  dataIndex: 'specName',
14823
14883
  title: "SKU\u540D\u79F0",
14824
14884
  ellipsis: true,
14825
- width: 150
14885
+ width: 150,
14886
+ render: renderTextEllipsis
14826
14887
  }, {
14827
14888
  dataIndex: 'specNo',
14828
14889
  title: "SKU\u7F16\u7801",
14829
14890
  ellipsis: true,
14830
- width: 150
14891
+ width: 150,
14892
+ render: renderTextEllipsis
14831
14893
  }, {
14832
14894
  dataIndex: 'specId',
14833
14895
  title: "SKU ID",
14834
14896
  ellipsis: true,
14835
- width: 150
14897
+ width: 150,
14898
+ render: renderTextEllipsis
14836
14899
  }, {
14837
14900
  dataIndex: 'propertiesValue',
14838
14901
  title: "\u89C4\u683C\u503C",
14839
14902
  ellipsis: true,
14840
- width: 150
14903
+ width: 150,
14904
+ render: renderTextEllipsis
14841
14905
  }, {
14842
14906
  dataIndex: 'skuShortTitle',
14843
14907
  title: "\u89C4\u683C\u7B80\u79F0",
14844
14908
  ellipsis: true,
14845
- width: 150
14909
+ width: 150,
14910
+ render: renderTextEllipsis
14846
14911
  }, {
14847
14912
  dataIndex: 'specBarcode',
14848
14913
  title: "\u89C4\u683C\u6761\u7801",
14849
14914
  ellipsis: true,
14850
- width: 150
14915
+ width: 150,
14916
+ render: renderTextEllipsis
14851
14917
  }, {
14852
14918
  dataIndex: 'specImgUrl',
14853
14919
  title: "SKU \u56FE\u7247",
@@ -14855,7 +14921,7 @@ var kmColumns = [{
14855
14921
  width: 150,
14856
14922
  render: function render(val) {
14857
14923
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
14858
- width: 60,
14924
+ width: 30,
14859
14925
  src: val
14860
14926
  });
14861
14927
  }
@@ -14865,7 +14931,7 @@ var kmColumns = [{
14865
14931
  ellipsis: true,
14866
14932
  width: 150,
14867
14933
  render: function render(val) {
14868
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo(val));
14934
+ return renderTextEllipsis(getYesOrNo(val));
14869
14935
  }
14870
14936
  }, {
14871
14937
  dataIndex: 'isVirtual',
@@ -14873,7 +14939,7 @@ var kmColumns = [{
14873
14939
  ellipsis: true,
14874
14940
  width: 150,
14875
14941
  render: function render(val) {
14876
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo(val));
14942
+ return renderTextEllipsis(getYesOrNo(val));
14877
14943
  }
14878
14944
  }, {
14879
14945
  dataIndex: 'isSkuItem',
@@ -14881,23 +14947,26 @@ var kmColumns = [{
14881
14947
  ellipsis: true,
14882
14948
  width: 150,
14883
14949
  render: function render(val) {
14884
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo(val));
14950
+ return renderTextEllipsis(getYesOrNo(val));
14885
14951
  }
14886
14952
  }, {
14887
14953
  dataIndex: 'marketPrice',
14888
14954
  title: "\u5E02\u573A\u4EF7",
14889
14955
  ellipsis: true,
14890
- width: 150
14956
+ width: 150,
14957
+ render: renderTextEllipsis
14891
14958
  }, {
14892
14959
  dataIndex: 'retailPrice',
14893
14960
  title: "\u96F6\u552E\u4EF7",
14894
14961
  ellipsis: true,
14895
- width: 150
14962
+ width: 150,
14963
+ render: renderTextEllipsis
14896
14964
  }, {
14897
14965
  dataIndex: 'costPrice',
14898
14966
  title: "\u6210\u672C\u4EF7",
14899
14967
  ellipsis: true,
14900
- width: 150
14968
+ width: 150,
14969
+ render: renderTextEllipsis
14901
14970
  }];
14902
14971
 
14903
14972
  var getYesOrNo$1 = function getYesOrNo(val) {
@@ -14908,17 +14977,20 @@ var jyColumns = [{
14908
14977
  dataIndex: 'goodName',
14909
14978
  title: '商品名称',
14910
14979
  width: 250,
14911
- ellipsis: true
14980
+ ellipsis: true,
14981
+ render: renderTextEllipsis
14912
14982
  }, {
14913
14983
  dataIndex: 'goodNo',
14914
14984
  title: '商品编码',
14915
14985
  width: 150,
14916
- ellipsis: true
14986
+ ellipsis: true,
14987
+ render: renderTextEllipsis
14917
14988
  }, {
14918
14989
  dataIndex: 'goodId',
14919
14990
  title: '商品ID',
14920
14991
  width: 150,
14921
- ellipsis: true
14992
+ ellipsis: true,
14993
+ render: renderTextEllipsis
14922
14994
  }, {
14923
14995
  dataIndex: 'imageUrl',
14924
14996
  title: '商品图片',
@@ -14926,8 +14998,8 @@ var jyColumns = [{
14926
14998
  render: function render(picUrl) {
14927
14999
  return picUrl ? /*#__PURE__*/React__default['default'].createElement("img", {
14928
15000
  style: {
14929
- width: '40px',
14930
- height: '40px',
15001
+ width: '30px',
15002
+ height: '30px',
14931
15003
  objectFit: 'contain'
14932
15004
  },
14933
15005
  src: picUrl
@@ -14937,37 +15009,44 @@ var jyColumns = [{
14937
15009
  dataIndex: 'goodShortName',
14938
15010
  title: "\u5546\u54C1\u7B80\u79F0",
14939
15011
  ellipsis: true,
14940
- width: 150
15012
+ width: 150,
15013
+ render: renderTextEllipsis
14941
15014
  }, {
14942
15015
  dataIndex: 'categoryName',
14943
15016
  title: "\u5546\u54C1\u7EC4",
14944
15017
  ellipsis: true,
14945
- width: 150
15018
+ width: 150,
15019
+ render: renderTextEllipsis
14946
15020
  }, {
14947
15021
  dataIndex: 'brandName',
14948
15022
  title: '品牌名称',
14949
15023
  width: 200,
14950
- ellipsis: true
15024
+ ellipsis: true,
15025
+ render: renderTextEllipsis
14951
15026
  }, {
14952
15027
  dataIndex: 'specName',
14953
15028
  title: '规格名称',
14954
15029
  width: 250,
14955
- ellipsis: true
15030
+ ellipsis: true,
15031
+ render: renderTextEllipsis
14956
15032
  }, {
14957
15033
  dataIndex: 'specNo',
14958
15034
  title: '规格编码',
14959
15035
  width: 150,
14960
- ellipsis: true
15036
+ ellipsis: true,
15037
+ render: renderTextEllipsis
14961
15038
  }, {
14962
15039
  dataIndex: 'specId',
14963
15040
  title: '规格ID',
14964
15041
  width: 250,
14965
- ellipsis: true
15042
+ ellipsis: true,
15043
+ render: renderTextEllipsis
14966
15044
  }, {
14967
15045
  dataIndex: 'specBarcode',
14968
15046
  title: '规格条码',
14969
15047
  width: 150,
14970
- ellipsis: true
15048
+ ellipsis: true,
15049
+ render: renderTextEllipsis
14971
15050
  }, {
14972
15051
  dataIndex: 'specImgUrl',
14973
15052
  title: '规格图片',
@@ -14975,8 +15054,8 @@ var jyColumns = [{
14975
15054
  render: function render(picUrl) {
14976
15055
  return picUrl ? /*#__PURE__*/React__default['default'].createElement("img", {
14977
15056
  style: {
14978
- width: '40px',
14979
- height: '40px',
15057
+ width: '30px',
15058
+ height: '30px',
14980
15059
  objectFit: 'contain'
14981
15060
  },
14982
15061
  src: picUrl
@@ -14986,34 +15065,39 @@ var jyColumns = [{
14986
15065
  dataIndex: 'colorName',
14987
15066
  title: "\u989C\u8272",
14988
15067
  ellipsis: true,
14989
- width: 100
15068
+ width: 100,
15069
+ render: renderTextEllipsis
14990
15070
  }, {
14991
15071
  dataIndex: 'sizeName',
14992
15072
  title: "\u5C3A\u7801",
14993
15073
  ellipsis: true,
14994
- width: 100
15074
+ width: 100,
15075
+ render: renderTextEllipsis
14995
15076
  }, {
14996
15077
  dataIndex: 'marketPrice',
14997
15078
  title: "\u5E02\u573A\u4EF7",
14998
15079
  ellipsis: true,
14999
- width: 100
15080
+ width: 100,
15081
+ render: renderTextEllipsis
15000
15082
  }, {
15001
15083
  dataIndex: 'retailPrice',
15002
15084
  title: "\u96F6\u552E\u4EF7",
15003
15085
  ellipsis: true,
15004
- width: 100
15086
+ width: 100,
15087
+ render: renderTextEllipsis
15005
15088
  }, {
15006
15089
  dataIndex: 'costPrice',
15007
15090
  title: "\u6210\u672C\u4EF7",
15008
15091
  ellipsis: true,
15009
- width: 100
15092
+ width: 100,
15093
+ render: renderTextEllipsis
15010
15094
  }, {
15011
15095
  dataIndex: 'isGift',
15012
15096
  title: "\u662F\u5426\u8D60\u54C1",
15013
15097
  ellipsis: true,
15014
15098
  width: 150,
15015
15099
  render: function render(val) {
15016
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$1(val));
15100
+ return renderTextEllipsis(getYesOrNo$1(val));
15017
15101
  }
15018
15102
  }, {
15019
15103
  dataIndex: 'skuType',
@@ -15021,7 +15105,7 @@ var jyColumns = [{
15021
15105
  ellipsis: true,
15022
15106
  width: 150,
15023
15107
  render: function render(val) {
15024
- return /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$1(val === 'combine'));
15108
+ return renderTextEllipsis(getYesOrNo$1(val === 'combine'));
15025
15109
  }
15026
15110
  }];
15027
15111
 
@@ -15166,7 +15250,8 @@ function SearchForm(_ref) {
15166
15250
  }();
15167
15251
  return /*#__PURE__*/React__default['default'].createElement(antd.Form, {
15168
15252
  layout: "inline",
15169
- form: form
15253
+ form: form,
15254
+ className: "search-form"
15170
15255
  }, searchFormData.map(function (item) {
15171
15256
  var label = item.label,
15172
15257
  name = item.name,
@@ -15206,7 +15291,8 @@ function SearchForm(_ref) {
15206
15291
  }), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
15207
15292
  style: {
15208
15293
  marginBottom: '12px'
15209
- }
15294
+ },
15295
+ className: "search-form-actions"
15210
15296
  }, /*#__PURE__*/React__default['default'].createElement(antd.Button, {
15211
15297
  type: "primary",
15212
15298
  style: {
@@ -15450,7 +15536,8 @@ var GoodList = function GoodList(props, ref) {
15450
15536
  style: {
15451
15537
  marginTop: '4px'
15452
15538
  }
15453
- }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
15539
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({
15540
+ className: "GoodModalColumns",
15454
15541
  rowSelection: rowSelection,
15455
15542
  rowKey: "specNo",
15456
15543
  columns: columns,
@@ -15458,7 +15545,9 @@ var GoodList = function GoodList(props, ref) {
15458
15545
  x: '100%',
15459
15546
  y: 250
15460
15547
  }
15461
- }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15548
+ }, tableProps), {}, {
15549
+ size: "small"
15550
+ }))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15462
15551
  getPopupContainer: function getPopupContainer(triggerNode) {
15463
15552
  return triggerNode.parentElement;
15464
15553
  },
@@ -15702,13 +15791,15 @@ var GoodList$1 = function GoodList(props, ref) {
15702
15791
  marginTop: '4px'
15703
15792
  }
15704
15793
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
15794
+ className: "GoodModalColumns",
15705
15795
  rowSelection: rowSelection,
15706
15796
  rowKey: "goodNo",
15707
15797
  columns: columns,
15708
15798
  scroll: {
15709
15799
  x: '100%',
15710
15800
  y: 250
15711
- }
15801
+ },
15802
+ size: "small"
15712
15803
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15713
15804
  getPopupContainer: function getPopupContainer(triggerNode) {
15714
15805
  return triggerNode.parentElement;
@@ -15942,13 +16033,15 @@ var GoodList$2 = function GoodList(props, ref) {
15942
16033
  marginTop: '4px'
15943
16034
  }
15944
16035
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16036
+ className: "GoodModalColumns",
15945
16037
  rowSelection: rowSelection,
15946
16038
  rowKey: "specNo",
15947
16039
  columns: columns,
15948
16040
  scroll: {
15949
16041
  x: '100%',
15950
16042
  y: 250
15951
- }
16043
+ },
16044
+ size: "small"
15952
16045
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15953
16046
  getPopupContainer: function getPopupContainer(triggerNode) {
15954
16047
  return triggerNode.parentElement;
@@ -16186,13 +16279,15 @@ var GoodList$3 = function GoodList(props, ref) {
16186
16279
  marginTop: '4px'
16187
16280
  }
16188
16281
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16282
+ className: "GoodModalColumns",
16189
16283
  rowSelection: rowSelection,
16190
16284
  rowKey: rowCheckKey,
16191
16285
  columns: columns,
16192
16286
  scroll: {
16193
16287
  x: '100%',
16194
16288
  y: 250
16195
- }
16289
+ },
16290
+ size: "small"
16196
16291
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16197
16292
  getPopupContainer: function getPopupContainer(triggerNode) {
16198
16293
  return triggerNode.parentElement;
@@ -16427,7 +16522,8 @@ var GoodList$4 = function GoodList(props, ref) {
16427
16522
  style: {
16428
16523
  marginTop: '4px'
16429
16524
  }
16430
- }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16525
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({
16526
+ className: "GoodModalColumns",
16431
16527
  rowSelection: rowSelection,
16432
16528
  rowKey: "id",
16433
16529
  columns: columns,
@@ -16435,7 +16531,9 @@ var GoodList$4 = function GoodList(props, ref) {
16435
16531
  x: '100%',
16436
16532
  y: 250
16437
16533
  }
16438
- }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16534
+ }, tableProps), {}, {
16535
+ size: "small"
16536
+ }))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16439
16537
  getPopupContainer: function getPopupContainer(triggerNode) {
16440
16538
  return triggerNode.parentElement;
16441
16539
  },
@@ -16647,8 +16745,8 @@ function multiSelect() {
16647
16745
  };
16648
16746
  }
16649
16747
 
16650
- var css_248z$b = ".high-performance-table .lock-left {\n background: #FFF !important;\n}\n.high-performance-table .art-empty-wrapper {\n margin-top: 24px;\n}\n.high-performance-table .cell-content {\n height: 48px;\n display: flex;\n align-items: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 8px 12px;\n}\n";
16651
- styleInject(css_248z$b);
16748
+ var css_248z$d = ".high-performance-table .lock-left {\n background: #FFF !important;\n}\n.high-performance-table .art-empty-wrapper {\n margin-top: 24px;\n}\n.high-performance-table .cell-content {\n height: 48px;\n display: flex;\n align-items: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 8px 12px;\n}\n";
16749
+ styleInject(css_248z$d);
16652
16750
 
16653
16751
  var _excluded$e = ["children"];
16654
16752
  var Cell = function Cell(_ref) {
@@ -16749,8 +16847,8 @@ var HighPerformanceTable = function HighPerformanceTable(_ref2) {
16749
16847
  })));
16750
16848
  };
16751
16849
 
16752
- var css_248z$c = ".search-header-wrap .is-open {\n height: auto;\n}\n.search-header-wrap .not-open {\n max-height: 71px;\n overflow-y: auto;\n}\n#table-resizable .header {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n background-color: #fff;\n}\n#table-resizable .header .operate {\n height: 32px;\n padding: 8px 0;\n cursor: pointer;\n}\n#table-resizable .header .operate .anticon {\n font-size: 16px;\n}\n#table-resizable .header .operate .anticon:hover {\n color: #1b5bf3;\n transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n#table-resizable .header .title {\n font-weight: bold;\n}\n#table-resizable .actions-layout {\n display: flex;\n justify-content: space-between;\n}\n#table-resizable .react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n#table-resizable th[colspan] {\n padding: 0px !important;\n overflow: hidden;\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 20px;\n white-space: nowrap;\n text-overflow: ellipsis;\n background: #e5e6eb;\n}\n#table-resizable .react-resizable-handle {\n position: absolute;\n right: -5px;\n bottom: 0;\n z-index: 1;\n width: 10px;\n height: 100%;\n cursor: col-resize;\n}\n#table-resizable .fz-12 {\n padding-right: 8px;\n font-size: 12px;\n}\n#table-resizable .tableFooter {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 64px;\n padding: 0 36px 0 24px;\n background-color: #fff;\n}\n#table-resizable .tableFooter .total {\n /* 文字色/86909C */\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 22px;\n letter-spacing: 0px;\n}\n#table-resizable .ant-table-tbody > tr > td {\n padding: 4px 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#table-resizable .ant-form-item {\n margin-bottom: 4px;\n margin-right: 0;\n}\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-last::after,\n#table-resizable .ant-table-thead > tr > th,\n#table-resizable .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table .ant-table-container::before,\n#table-resizable .ant-table .ant-table-container::after,\n#table-resizable .ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container::after,\n#table-resizable .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(\n .ant-table-row-expand-icon-cell\n ):not([colspan])::before,\n#table-resizable .ant-table-cell-fix-left-last::after {\n box-shadow: none;\n transform: none;\n transition: none;\n}\n#table-resizable .ant-checkbox-checked .ant-checkbox-inner::after {\n transition: none;\n}\n#table-resizable .ant-checkbox-checked::after {\n animation: none;\n}\n#table-resizable .rowSelectClass {\n background-color: #eee;\n}\n#table-resizable .rowSelectClass .ant-table-cell-fix-left {\n background-color: #eee;\n}\n";
16753
- styleInject(css_248z$c);
16850
+ var css_248z$e = ".search-header-wrap .is-open {\n height: auto;\n}\n.search-header-wrap .not-open {\n max-height: 71px;\n overflow-y: auto;\n}\n#table-resizable .header {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n background-color: #fff;\n}\n#table-resizable .header .operate {\n height: 32px;\n padding: 8px 0;\n cursor: pointer;\n}\n#table-resizable .header .operate .anticon {\n font-size: 16px;\n}\n#table-resizable .header .operate .anticon:hover {\n color: #1b5bf3;\n transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n#table-resizable .header .title {\n font-weight: bold;\n}\n#table-resizable .actions-layout {\n display: flex;\n justify-content: space-between;\n}\n#table-resizable .react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n#table-resizable th[colspan] {\n padding: 0px !important;\n overflow: hidden;\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 20px;\n white-space: nowrap;\n text-overflow: ellipsis;\n background: #e5e6eb;\n}\n#table-resizable .react-resizable-handle {\n position: absolute;\n right: -5px;\n bottom: 0;\n z-index: 1;\n width: 10px;\n height: 100%;\n cursor: col-resize;\n}\n#table-resizable .fz-12 {\n padding-right: 8px;\n font-size: 12px;\n}\n#table-resizable .tableFooter {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 64px;\n padding: 0 36px 0 24px;\n background-color: #fff;\n}\n#table-resizable .tableFooter .total {\n /* 文字色/86909C */\n color: #86909c;\n font-weight: normal;\n font-size: 14px;\n font-family: PingFangSC-Regular;\n line-height: 22px;\n letter-spacing: 0px;\n}\n#table-resizable .ant-table-tbody > tr > td {\n padding: 4px 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n#table-resizable .ant-form-item {\n margin-bottom: 4px;\n margin-right: 0;\n}\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table-ping-left .ant-table-cell-fix-left-last::after,\n#table-resizable .ant-table-thead > tr > th,\n#table-resizable .ant-table-cell-fix-left-first::after,\n#table-resizable .ant-table .ant-table-container::before,\n#table-resizable .ant-table .ant-table-container::after,\n#table-resizable .ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container::after,\n#table-resizable .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(\n .ant-table-row-expand-icon-cell\n ):not([colspan])::before,\n#table-resizable .ant-table-cell-fix-left-last::after {\n box-shadow: none;\n transform: none;\n transition: none;\n}\n#table-resizable .ant-checkbox-checked .ant-checkbox-inner::after {\n transition: none;\n}\n#table-resizable .ant-checkbox-checked::after {\n animation: none;\n}\n#table-resizable .rowSelectClass {\n background-color: #eee;\n}\n#table-resizable .rowSelectClass .ant-table-cell-fix-left {\n background-color: #eee;\n}\n";
16851
+ styleInject(css_248z$e);
16754
16852
 
16755
16853
  var TrimInput = function TrimInput(props) {
16756
16854
  var handleBlur = function handleBlur(e) {
@@ -18089,13 +18187,15 @@ var GoodList$5 = function GoodList(props, ref) {
18089
18187
  marginTop: '4px'
18090
18188
  }
18091
18189
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
18190
+ className: "GoodModalColumns",
18092
18191
  rowSelection: rowSelection,
18093
18192
  rowKey: "id",
18094
18193
  columns: columns,
18095
18194
  scroll: {
18096
18195
  x: '100%',
18097
18196
  y: 250
18098
- }
18197
+ },
18198
+ size: "small"
18099
18199
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
18100
18200
  getPopupContainer: function getPopupContainer(triggerNode) {
18101
18201
  return triggerNode.parentElement;
@@ -18166,57 +18266,68 @@ var getColumns = function getColumns(_ref) {
18166
18266
  BS_E3_REISSUE_GOODS: [{
18167
18267
  dataIndex: 'sku',
18168
18268
  title: "SKU",
18169
- width: 150
18269
+ width: 150,
18270
+ render: renderTextEllipsis
18170
18271
  }, {
18171
18272
  dataIndex: 'skuId',
18172
18273
  title: "SKU ID",
18173
- width: 150
18274
+ width: 150,
18275
+ render: renderTextEllipsis
18174
18276
  }, {
18175
18277
  dataIndex: 'goodsName',
18176
18278
  title: "\u5546\u54C1\u540D\u79F0",
18177
- width: 150
18279
+ width: 150,
18280
+ render: renderTextEllipsis
18178
18281
  }, {
18179
18282
  dataIndex: 'goodsShortName',
18180
18283
  title: "\u5546\u54C1\u7B80\u79F0",
18181
- width: 150
18284
+ width: 150,
18285
+ render: renderTextEllipsis
18182
18286
  }, {
18183
18287
  dataIndex: 'picPath',
18184
18288
  title: "\u5546\u54C1\u56FE\u7247",
18185
18289
  width: 150,
18186
18290
  render: function render(val) {
18187
18291
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18188
- width: 60,
18292
+ width: 30,
18189
18293
  src: val
18190
18294
  });
18191
18295
  }
18192
18296
  }, {
18193
18297
  dataIndex: 'goodsSn',
18194
18298
  title: "\u8D27\u53F7",
18195
- width: 150
18299
+ width: 150,
18300
+ render: renderTextEllipsis
18196
18301
  }, {
18197
18302
  dataIndex: 'goodsId',
18198
18303
  title: "\u8D27\u53F7ID",
18199
- width: 150
18304
+ width: 150,
18305
+ render: renderTextEllipsis
18200
18306
  }, {
18201
18307
  dataIndex: 'colorName',
18202
18308
  title: "\u989C\u8272\u540D\u79F0",
18203
- width: 150
18309
+ width: 150,
18310
+ render: renderTextEllipsis
18204
18311
  }, {
18205
18312
  dataIndex: 'colorCode',
18206
18313
  title: "\u989C\u8272\u4EE3\u7801",
18207
- width: 150
18314
+ width: 150,
18315
+ render: renderTextEllipsis
18208
18316
  }, {
18209
18317
  dataIndex: 'sizeName',
18210
18318
  title: "\u5C3A\u7801\u540D\u79F0",
18211
- width: 150
18319
+ width: 150,
18320
+ render: renderTextEllipsis
18212
18321
  }, {
18213
18322
  dataIndex: 'sizeCode',
18214
18323
  title: "\u5C3A\u7801\u4EE3\u7801",
18215
- width: 150
18324
+ width: 150,
18325
+ render: renderTextEllipsis
18216
18326
  }, {
18217
18327
  dataIndex: 'brandName',
18218
18328
  title: "\u54C1\u724C\u540D\u79F0",
18219
- width: 150
18329
+ width: 150,
18330
+ render: renderTextEllipsis
18220
18331
  }, {
18221
18332
  dataIndex: 'goodsNumber',
18222
18333
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18243,25 +18354,29 @@ var getColumns = function getColumns(_ref) {
18243
18354
  title: "SKU",
18244
18355
  align: 'center',
18245
18356
  ellipsis: true,
18246
- width: 150
18357
+ width: 150,
18358
+ render: renderTextEllipsis
18247
18359
  }, {
18248
18360
  dataIndex: 'skuId',
18249
18361
  title: "SKU ID",
18250
18362
  align: 'center',
18251
18363
  ellipsis: true,
18252
- width: 150
18364
+ width: 150,
18365
+ render: renderTextEllipsis
18253
18366
  }, {
18254
18367
  dataIndex: 'goodsName',
18255
18368
  title: "\u5546\u54C1\u540D\u79F0",
18256
18369
  align: 'center',
18257
18370
  ellipsis: true,
18258
- width: 150
18371
+ width: 150,
18372
+ render: renderTextEllipsis
18259
18373
  }, {
18260
18374
  dataIndex: 'goodsShortName',
18261
18375
  title: "\u5546\u54C1\u7B80\u79F0",
18262
18376
  align: 'center',
18263
18377
  ellipsis: true,
18264
- width: 100
18378
+ width: 100,
18379
+ render: renderTextEllipsis
18265
18380
  }, {
18266
18381
  dataIndex: 'picPath',
18267
18382
  title: "\u5546\u54C1\u56FE\u7247",
@@ -18270,7 +18385,7 @@ var getColumns = function getColumns(_ref) {
18270
18385
  width: 100,
18271
18386
  render: function render(val) {
18272
18387
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18273
- width: 60,
18388
+ width: 30,
18274
18389
  src: val
18275
18390
  });
18276
18391
  }
@@ -18279,43 +18394,50 @@ var getColumns = function getColumns(_ref) {
18279
18394
  title: "\u8D27\u53F7",
18280
18395
  align: 'center',
18281
18396
  ellipsis: true,
18282
- width: 150
18397
+ width: 150,
18398
+ render: renderTextEllipsis
18283
18399
  }, {
18284
18400
  dataIndex: 'goodsId',
18285
18401
  title: "\u8D27\u53F7ID",
18286
18402
  align: 'center',
18287
18403
  ellipsis: true,
18288
- width: 150
18404
+ width: 150,
18405
+ render: renderTextEllipsis
18289
18406
  }, {
18290
18407
  dataIndex: 'colorName',
18291
18408
  title: "\u989C\u8272\u540D\u79F0",
18292
18409
  align: 'center',
18293
18410
  ellipsis: true,
18294
- width: 100
18411
+ width: 100,
18412
+ render: renderTextEllipsis
18295
18413
  }, {
18296
18414
  dataIndex: 'colorCode',
18297
18415
  title: "\u989C\u8272\u4EE3\u7801",
18298
18416
  align: 'center',
18299
18417
  ellipsis: true,
18300
- width: 150
18418
+ width: 150,
18419
+ render: renderTextEllipsis
18301
18420
  }, {
18302
18421
  dataIndex: 'sizeName',
18303
18422
  title: "\u5C3A\u7801\u540D\u79F0",
18304
18423
  align: 'center',
18305
18424
  ellipsis: true,
18306
- width: 100
18425
+ width: 100,
18426
+ render: renderTextEllipsis
18307
18427
  }, {
18308
18428
  dataIndex: 'sizeCode',
18309
18429
  title: "\u5C3A\u7801\u4EE3\u7801",
18310
18430
  align: 'center',
18311
18431
  ellipsis: true,
18312
- width: 100
18432
+ width: 100,
18433
+ render: renderTextEllipsis
18313
18434
  }, {
18314
18435
  dataIndex: 'brandName',
18315
18436
  title: "\u54C1\u724C\u540D\u79F0",
18316
18437
  align: 'center',
18317
18438
  ellipsis: true,
18318
- width: 150
18439
+ width: 150,
18440
+ render: renderTextEllipsis
18319
18441
  }, {
18320
18442
  dataIndex: 'goodsNumber',
18321
18443
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18396,7 +18518,8 @@ var getColumns = function getColumns(_ref) {
18396
18518
  title: "\u5957\u9910SKU",
18397
18519
  align: 'center',
18398
18520
  ellipsis: true,
18399
- width: 150
18521
+ width: 150,
18522
+ render: renderTextEllipsis
18400
18523
  }, {
18401
18524
  dataIndex: 'tcGoodsNumber',
18402
18525
  title: "\u5957\u9910\u5957\u6570",
@@ -18456,19 +18579,22 @@ var getColumns$1 = function getColumns(_ref) {
18456
18579
  title: "".concat(text, "sku\u540D\u79F0"),
18457
18580
  align: 'center',
18458
18581
  ellipsis: true,
18459
- width: 250
18582
+ width: 250,
18583
+ render: renderTextEllipsis
18460
18584
  }, {
18461
18585
  dataIndex: 'sku',
18462
18586
  title: "".concat(text, "sku\u7F16\u7801"),
18463
18587
  align: 'center',
18464
18588
  ellipsis: true,
18465
- width: 100
18589
+ width: 100,
18590
+ render: renderTextEllipsis
18466
18591
  }, {
18467
18592
  dataIndex: 'name',
18468
18593
  title: "".concat(text, "\u540D\u79F0"),
18469
18594
  align: 'center',
18470
18595
  ellipsis: true,
18471
- width: 250
18596
+ width: 250,
18597
+ render: renderTextEllipsis
18472
18598
  }, {
18473
18599
  dataIndex: 'pic',
18474
18600
  title: "\u56FE\u7247",
@@ -18477,7 +18603,7 @@ var getColumns$1 = function getColumns(_ref) {
18477
18603
  width: 100,
18478
18604
  render: function render(val) {
18479
18605
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18480
- width: 60,
18606
+ width: 30,
18481
18607
  src: val
18482
18608
  });
18483
18609
  }
@@ -18486,7 +18612,8 @@ var getColumns$1 = function getColumns(_ref) {
18486
18612
  title: "".concat(text, "\u7F16\u7801"),
18487
18613
  align: 'center',
18488
18614
  ellipsis: true,
18489
- width: 100
18615
+ width: 100,
18616
+ render: renderTextEllipsis
18490
18617
  }, {
18491
18618
  dataIndex: 'money',
18492
18619
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -18529,13 +18656,15 @@ var getColumns$1 = function getColumns(_ref) {
18529
18656
  title: "\u6279\u6B21\u53F7",
18530
18657
  align: 'center',
18531
18658
  ellipsis: true,
18532
- width: 100
18659
+ width: 100,
18660
+ render: renderTextEllipsis
18533
18661
  }, {
18534
18662
  dataIndex: 'expireDate',
18535
18663
  title: "\u6709\u6548\u671F",
18536
18664
  align: 'center',
18537
18665
  ellipsis: true,
18538
- width: 100
18666
+ width: 100,
18667
+ render: renderTextEllipsis
18539
18668
  }]
18540
18669
  };
18541
18670
  };
@@ -18550,12 +18679,17 @@ var renderGiftType = function renderGiftType(val) {
18550
18679
  6: '天猫优仓赠品',
18551
18680
  7: '淘宝CRM会员送赠'
18552
18681
  };
18553
- return /*#__PURE__*/React__default['default'].createElement("span", null, giftTypeMap[val]);
18682
+ return renderTextEllipsis(giftTypeMap[val]);
18683
+ };
18684
+ var isNumberOrNumberString = function isNumberOrNumberString(value) {
18685
+ if (typeof value === 'number') return true;
18686
+ if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
18687
+ return false;
18554
18688
  };
18555
18689
  var renderFieldMap = {
18556
18690
  num: function num(_ref) {
18557
18691
  var disabled = _ref.disabled,
18558
- updateHandle = _ref.updateHandle;
18692
+ updateDataHandle = _ref.updateDataHandle;
18559
18693
  return function (val, record, index) {
18560
18694
  return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
18561
18695
  style: {
@@ -18565,19 +18699,40 @@ var renderFieldMap = {
18565
18699
  min: 1,
18566
18700
  precision: 0,
18567
18701
  onChange: function onChange(num) {
18568
- return updateHandle(num, index, 'num');
18702
+ updateDataHandle({
18703
+ num: num,
18704
+ orderPrice: num && isNumberOrNumberString(record.sharePrice) ? num * record.price : null
18705
+ }, index);
18569
18706
  }
18570
18707
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
18571
18708
  };
18572
18709
  },
18573
18710
  giftType: function giftType() {
18574
18711
  return renderGiftType;
18712
+ },
18713
+ orderPrice: function orderPrice(_ref2) {
18714
+ var disabled = _ref2.disabled,
18715
+ updateHandle = _ref2.updateHandle;
18716
+ return function (val, record, index) {
18717
+ return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
18718
+ style: {
18719
+ width: 70
18720
+ },
18721
+ value: val,
18722
+ min: 1,
18723
+ precision: 2,
18724
+ onChange: function onChange(num) {
18725
+ return updateHandle(num, index, 'orderPrice');
18726
+ }
18727
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null);
18728
+ };
18575
18729
  }
18576
18730
  };
18577
- var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18578
- var disabled = _ref2.disabled,
18579
- updateHandle = _ref2.updateHandle,
18580
- operate = _ref2.operate;
18731
+ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref3) {
18732
+ var disabled = _ref3.disabled,
18733
+ updateHandle = _ref3.updateHandle,
18734
+ updateDataHandle = _ref3.updateDataHandle,
18735
+ operate = _ref3.operate;
18581
18736
  return getColumnsMap$1()['WDT_REISSUE_GOODS'].map(function (item) {
18582
18737
  var newItem = _objectSpread2({
18583
18738
  align: 'center',
@@ -18587,7 +18742,8 @@ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18587
18742
  return _objectSpread2(_objectSpread2({}, newItem), {}, {
18588
18743
  render: renderFieldMap === null || renderFieldMap === void 0 ? void 0 : renderFieldMap[item.dataIndex]({
18589
18744
  disabled: disabled,
18590
- updateHandle: updateHandle
18745
+ updateHandle: updateHandle,
18746
+ updateDataHandle: updateDataHandle
18591
18747
  })
18592
18748
  });
18593
18749
  }
@@ -18595,25 +18751,37 @@ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18595
18751
  });
18596
18752
  };
18597
18753
 
18754
+ function toNum(value) {
18755
+ if (typeof value === 'string') {
18756
+ return value ? +value : void 0;
18757
+ }
18758
+ if (typeof value === 'number') {
18759
+ return value;
18760
+ }
18761
+ return void 0;
18762
+ }
18598
18763
  var getColumns$2 = function getColumns(_ref) {
18599
18764
  var _ref$text = _ref.text,
18600
18765
  text = _ref$text === void 0 ? '' : _ref$text,
18601
18766
  disabled = _ref.disabled,
18602
- updateHandle = _ref.updateHandle;
18767
+ updateHandle = _ref.updateHandle,
18768
+ updateDataHandle = _ref.updateDataHandle;
18603
18769
  return {
18604
18770
  //旺店通补发商品信息
18605
18771
  WDT_REISSUE_GOODS: [{
18606
18772
  dataIndex: 'goodId',
18607
18773
  title: "\u5546\u54C1ID",
18608
- width: 120,
18774
+ width: 250,
18609
18775
  align: 'center',
18610
- ellipsis: true
18776
+ ellipsis: true,
18777
+ render: renderTextEllipsis
18611
18778
  }, {
18612
18779
  dataIndex: 'goodNo',
18613
18780
  title: "\u5546\u54C1\u7F16\u7801",
18614
18781
  align: 'center',
18615
18782
  ellipsis: true,
18616
- width: 180
18783
+ width: 180,
18784
+ render: renderTextEllipsis
18617
18785
  }, {
18618
18786
  dataIndex: 'goodName',
18619
18787
  title: "\u5546\u54C1\u540D\u79F0",
@@ -18628,24 +18796,30 @@ var getColumns$2 = function getColumns(_ref) {
18628
18796
  dataIndex: 'apiGoodsName',
18629
18797
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18630
18798
  width: 200,
18631
- align: 'center'
18799
+ align: 'center',
18800
+ ellipsis: true,
18801
+ render: renderTextEllipsis
18632
18802
  }, {
18633
18803
  dataIndex: 'platformGoodsId',
18634
18804
  title: "\u5E73\u53F0\u5546\u54C1ID",
18635
18805
  width: 180,
18636
- align: 'center'
18806
+ align: 'center',
18807
+ ellipsis: true,
18808
+ render: renderTextEllipsis
18637
18809
  }, {
18638
18810
  dataIndex: 'specId',
18639
18811
  title: "SKUID",
18640
18812
  align: 'center',
18641
18813
  ellipsis: true,
18642
- width: 150
18814
+ width: 150,
18815
+ render: renderTextEllipsis
18643
18816
  }, {
18644
18817
  dataIndex: 'specNo',
18645
18818
  title: "\u5546\u54C1SKU\u7F16\u7801",
18646
18819
  align: 'center',
18647
18820
  ellipsis: true,
18648
- width: 180
18821
+ width: 180,
18822
+ render: renderTextEllipsis
18649
18823
  }, {
18650
18824
  dataIndex: 'specName',
18651
18825
  title: "\u5546\u54C1SKU\u540D\u79F0",
@@ -18660,23 +18834,49 @@ var getColumns$2 = function getColumns(_ref) {
18660
18834
  dataIndex: 'apiSpecName',
18661
18835
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18662
18836
  width: 200,
18663
- align: 'center'
18837
+ align: 'center',
18838
+ ellipsis: true,
18839
+ render: renderTextEllipsis
18664
18840
  }, {
18665
18841
  dataIndex: 'platformSpecId',
18666
18842
  title: "\u5E73\u53F0\u89C4\u683CID",
18667
18843
  width: 180,
18668
- align: 'center'
18844
+ align: 'center',
18845
+ ellipsis: true
18846
+ }, {
18847
+ dataIndex: 'brandName',
18848
+ title: "\u54C1\u724C\u540D\u79F0",
18849
+ width: 180,
18850
+ align: 'center',
18851
+ ellipsis: true,
18852
+ render: renderTextEllipsis
18669
18853
  }, {
18670
18854
  dataIndex: 'orderPrice',
18671
- title: "\u6210\u4EA4\u603B\u91D1\u989D",
18672
- render: function render(val, record) {
18673
- return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
18674
- },
18855
+ title: "\u8865\u53D1\u91D1\u989D",
18856
+ align: 'center',
18857
+ // render: (val: number, record: any) => {
18858
+ // return (record.num || record.num === 0) && (val || val === 0)
18859
+ // ? Number(val * record.num).toFixed(2)
18860
+ // : null;
18861
+ // },
18675
18862
  width: 200
18676
18863
  }, {
18677
18864
  dataIndex: 'num',
18678
18865
  title: "\u6570\u91CF",
18679
- width: 100
18866
+ width: 100,
18867
+ validator: function validator(_rule, value) {
18868
+ var goodsName = '';
18869
+ if (((value === null || value === void 0 ? void 0 : value.wdtReissueGoods) || []).some(function (goods) {
18870
+ var num = toNum(goods === null || goods === void 0 ? void 0 : goods.num);
18871
+ var res = typeof num === 'number' ? num < 1 : true;
18872
+ if (res) {
18873
+ goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
18874
+ }
18875
+ return res;
18876
+ })) {
18877
+ return Promise.reject("".concat(goodsName, "\u6570\u91CF\u5FC5\u987B\u5927\u4E8E0"));
18878
+ }
18879
+ }
18680
18880
  }, {
18681
18881
  dataIndex: 'sharePrice',
18682
18882
  title: "\u5206\u644A\u4EF7",
@@ -18693,13 +18893,15 @@ var getColumns$2 = function getColumns(_ref) {
18693
18893
  title: "\u5546\u54C1ID",
18694
18894
  align: 'center',
18695
18895
  ellipsis: true,
18696
- width: 70
18896
+ width: 250,
18897
+ render: renderTextEllipsis
18697
18898
  }, {
18698
18899
  dataIndex: 'goodNo',
18699
18900
  title: "\u5546\u54C1\u7F16\u7801",
18700
18901
  align: 'center',
18701
18902
  ellipsis: true,
18702
- width: 180
18903
+ width: 180,
18904
+ render: renderTextEllipsis
18703
18905
  }, {
18704
18906
  dataIndex: 'goodName',
18705
18907
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18714,24 +18916,30 @@ var getColumns$2 = function getColumns(_ref) {
18714
18916
  dataIndex: 'apiGoodsName',
18715
18917
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18716
18918
  width: 200,
18717
- align: 'center'
18919
+ align: 'center',
18920
+ ellipsis: true,
18921
+ render: renderTextEllipsis
18718
18922
  }, {
18719
18923
  dataIndex: 'platformGoodsId',
18720
18924
  title: "\u5E73\u53F0\u5546\u54C1ID",
18721
18925
  width: 180,
18722
- align: 'center'
18926
+ align: 'center',
18927
+ ellipsis: true,
18928
+ render: renderTextEllipsis
18723
18929
  }, {
18724
18930
  dataIndex: 'specId',
18725
18931
  title: "".concat(text, "SKUID"),
18726
18932
  align: 'center',
18727
18933
  ellipsis: true,
18728
- width: 100
18934
+ width: 150,
18935
+ render: renderTextEllipsis
18729
18936
  }, {
18730
18937
  dataIndex: 'specNo',
18731
18938
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18732
18939
  align: 'center',
18733
18940
  ellipsis: true,
18734
- width: 180
18941
+ width: 180,
18942
+ render: renderTextEllipsis
18735
18943
  }, {
18736
18944
  dataIndex: 'specName',
18737
18945
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18746,12 +18954,22 @@ var getColumns$2 = function getColumns(_ref) {
18746
18954
  dataIndex: 'apiSpecName',
18747
18955
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18748
18956
  width: 200,
18749
- align: 'center'
18957
+ align: 'center',
18958
+ ellipsis: true,
18959
+ render: renderTextEllipsis
18750
18960
  }, {
18751
18961
  dataIndex: 'platformSpecId',
18752
18962
  title: "\u5E73\u53F0\u89C4\u683CID",
18753
18963
  width: 180,
18754
- align: 'center'
18964
+ align: 'center',
18965
+ ellipsis: true
18966
+ }, {
18967
+ dataIndex: 'brandName',
18968
+ title: "\u54C1\u724C\u540D\u79F0",
18969
+ width: 180,
18970
+ align: 'center',
18971
+ ellipsis: true,
18972
+ render: renderTextEllipsis
18755
18973
  }, {
18756
18974
  dataIndex: 'orderPrice',
18757
18975
  title: "\u6210\u4EA4\u603B\u91D1\u989D",
@@ -18791,8 +19009,7 @@ var getColumns$2 = function getColumns(_ref) {
18791
19009
  title: "\u8D60\u54C1\u65B9\u5F0F",
18792
19010
  align: 'center',
18793
19011
  ellipsis: true,
18794
- width: 100,
18795
- render: renderGiftType
19012
+ width: 100
18796
19013
  }],
18797
19014
  //旺店通退货商品信息
18798
19015
  WDT_RETURN_GOODS: [{
@@ -18800,13 +19017,15 @@ var getColumns$2 = function getColumns(_ref) {
18800
19017
  title: "\u5546\u54C1ID",
18801
19018
  align: 'center',
18802
19019
  ellipsis: true,
18803
- width: 70
19020
+ width: 250,
19021
+ render: renderTextEllipsis
18804
19022
  }, {
18805
19023
  dataIndex: 'goodNo',
18806
19024
  title: "\u5546\u54C1\u7F16\u7801",
18807
19025
  align: 'center',
18808
19026
  ellipsis: true,
18809
- width: 180
19027
+ width: 180,
19028
+ render: renderTextEllipsis
18810
19029
  }, {
18811
19030
  dataIndex: 'goodName',
18812
19031
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18821,24 +19040,30 @@ var getColumns$2 = function getColumns(_ref) {
18821
19040
  dataIndex: 'apiGoodsName',
18822
19041
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18823
19042
  width: 200,
18824
- align: 'center'
19043
+ align: 'center',
19044
+ ellipsis: true,
19045
+ render: renderTextEllipsis
18825
19046
  }, {
18826
19047
  dataIndex: 'platformGoodsId',
18827
19048
  title: "\u5E73\u53F0\u5546\u54C1ID",
18828
19049
  width: 180,
18829
- align: 'center'
19050
+ align: 'center',
19051
+ ellipsis: true,
19052
+ render: renderTextEllipsis
18830
19053
  }, {
18831
19054
  dataIndex: 'specId',
18832
19055
  title: "".concat(text, "SKUID"),
18833
19056
  align: 'center',
18834
19057
  ellipsis: true,
18835
- width: 100
19058
+ width: 100,
19059
+ render: renderTextEllipsis
18836
19060
  }, {
18837
19061
  dataIndex: 'specNo',
18838
19062
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18839
19063
  align: 'center',
18840
19064
  ellipsis: true,
18841
- width: 180
19065
+ width: 180,
19066
+ render: renderTextEllipsis
18842
19067
  }, {
18843
19068
  dataIndex: 'specName',
18844
19069
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18853,12 +19078,22 @@ var getColumns$2 = function getColumns(_ref) {
18853
19078
  dataIndex: 'apiSpecName',
18854
19079
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18855
19080
  width: 200,
18856
- align: 'center'
19081
+ align: 'center',
19082
+ ellipsis: true,
19083
+ render: renderTextEllipsis
18857
19084
  }, {
18858
19085
  dataIndex: 'platformSpecId',
18859
19086
  title: "\u5E73\u53F0\u89C4\u683CID",
18860
19087
  width: 180,
18861
- align: 'center'
19088
+ align: 'center',
19089
+ ellipsis: true
19090
+ }, {
19091
+ dataIndex: 'brandName',
19092
+ title: "\u54C1\u724C\u540D\u79F0",
19093
+ width: 180,
19094
+ align: 'center',
19095
+ ellipsis: true,
19096
+ render: renderTextEllipsis
18862
19097
  }, {
18863
19098
  dataIndex: 'num',
18864
19099
  title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
@@ -18945,13 +19180,15 @@ var getColumns$2 = function getColumns(_ref) {
18945
19180
  title: "\u5546\u54C1ID",
18946
19181
  align: 'center',
18947
19182
  ellipsis: true,
18948
- width: 70
19183
+ width: 250,
19184
+ render: renderTextEllipsis
18949
19185
  }, {
18950
19186
  dataIndex: 'goodNo',
18951
19187
  title: "\u5546\u54C1\u7F16\u7801",
18952
19188
  align: 'center',
18953
19189
  ellipsis: true,
18954
- width: 180
19190
+ width: 180,
19191
+ render: renderTextEllipsis
18955
19192
  }, {
18956
19193
  dataIndex: 'goodName',
18957
19194
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18966,24 +19203,30 @@ var getColumns$2 = function getColumns(_ref) {
18966
19203
  dataIndex: 'apiGoodsName',
18967
19204
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18968
19205
  width: 200,
18969
- align: 'center'
19206
+ align: 'center',
19207
+ ellipsis: true,
19208
+ render: renderTextEllipsis
18970
19209
  }, {
18971
19210
  dataIndex: 'platformGoodsId',
18972
19211
  title: "\u5E73\u53F0\u5546\u54C1ID",
18973
19212
  width: 180,
18974
- align: 'center'
19213
+ align: 'center',
19214
+ ellipsis: true,
19215
+ render: renderTextEllipsis
18975
19216
  }, {
18976
19217
  dataIndex: 'specId',
18977
19218
  title: "".concat(text, "SKUID"),
18978
19219
  align: 'center',
18979
19220
  ellipsis: true,
18980
- width: 100
19221
+ width: 100,
19222
+ render: renderTextEllipsis
18981
19223
  }, {
18982
19224
  dataIndex: 'specNo',
18983
19225
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18984
19226
  align: 'center',
18985
19227
  ellipsis: true,
18986
- width: 180
19228
+ width: 180,
19229
+ render: renderTextEllipsis
18987
19230
  }, {
18988
19231
  dataIndex: 'specName',
18989
19232
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18998,12 +19241,22 @@ var getColumns$2 = function getColumns(_ref) {
18998
19241
  dataIndex: 'apiSpecName',
18999
19242
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
19000
19243
  width: 200,
19001
- align: 'center'
19244
+ align: 'center',
19245
+ ellipsis: true,
19246
+ render: renderTextEllipsis
19247
+ }, {
19248
+ dataIndex: 'platformSpecId',
19249
+ title: "\u5E73\u53F0\u89C4\u683CID",
19250
+ width: 180,
19251
+ align: 'center',
19252
+ ellipsis: true
19002
19253
  }, {
19003
- dataIndex: 'platformSpecId',
19004
- title: "\u5E73\u53F0\u89C4\u683CID",
19254
+ dataIndex: 'brandName',
19255
+ title: "\u54C1\u724C\u540D\u79F0",
19005
19256
  width: 180,
19006
- align: 'center'
19257
+ align: 'center',
19258
+ ellipsis: true,
19259
+ render: renderTextEllipsis
19007
19260
  }, {
19008
19261
  dataIndex: 'num',
19009
19262
  title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
@@ -19103,43 +19356,50 @@ var getColumns$3 = function getColumns(_ref) {
19103
19356
  title: "\u5546\u54C1\u540D\u79F0",
19104
19357
  align: 'center',
19105
19358
  ellipsis: true,
19106
- width: 250
19359
+ width: 250,
19360
+ render: renderTextEllipsis
19107
19361
  }, {
19108
19362
  dataIndex: 'goodsCode',
19109
19363
  title: "\u5546\u54C1\u7F16\u7801",
19110
19364
  align: 'center',
19111
19365
  ellipsis: true,
19112
- width: 250
19366
+ width: 250,
19367
+ render: renderTextEllipsis
19113
19368
  }, {
19114
19369
  dataIndex: 'skuCode',
19115
19370
  title: "sku\u7F16\u7801",
19116
19371
  align: 'center',
19117
19372
  ellipsis: true,
19118
- width: 250
19373
+ width: 250,
19374
+ render: renderTextEllipsis
19119
19375
  }, {
19120
19376
  dataIndex: 'skuName',
19121
19377
  title: "\u7EBF\u4E0Asku\u540D\u79F0",
19122
19378
  align: 'center',
19123
19379
  ellipsis: true,
19124
- width: 250
19380
+ width: 250,
19381
+ render: renderTextEllipsis
19125
19382
  }, {
19126
19383
  dataIndex: 'olnSkuCode',
19127
19384
  title: "\u7EBF\u4E0Asku\u7F16\u7801",
19128
19385
  align: 'center',
19129
19386
  ellipsis: true,
19130
- width: 150
19387
+ width: 150,
19388
+ render: renderTextEllipsis
19131
19389
  }, {
19132
19390
  dataIndex: 'sku',
19133
19391
  title: "\u7EBF\u4E0Asku id",
19134
19392
  align: 'center',
19135
19393
  ellipsis: true,
19136
- width: 150
19394
+ width: 150,
19395
+ render: renderTextEllipsis
19137
19396
  }, {
19138
19397
  dataIndex: 'name',
19139
19398
  title: "\u7EBF\u4E0A\u5546\u54C1\u540D\u79F0",
19140
19399
  align: 'center',
19141
19400
  ellipsis: true,
19142
- width: 250
19401
+ width: 250,
19402
+ render: renderTextEllipsis
19143
19403
  }, {
19144
19404
  dataIndex: 'pic',
19145
19405
  title: "\u7EBF\u4E0A\u56FE\u7247",
@@ -19148,7 +19408,7 @@ var getColumns$3 = function getColumns(_ref) {
19148
19408
  width: 100,
19149
19409
  render: function render(val) {
19150
19410
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19151
- width: 60,
19411
+ width: 30,
19152
19412
  src: val
19153
19413
  });
19154
19414
  }
@@ -19157,25 +19417,29 @@ var getColumns$3 = function getColumns(_ref) {
19157
19417
  title: "\u7EBF\u4E0A\u5546\u54C1\u7F16\u7801",
19158
19418
  align: 'center',
19159
19419
  ellipsis: true,
19160
- width: 150
19420
+ width: 150,
19421
+ render: renderTextEllipsis
19161
19422
  }, {
19162
19423
  dataIndex: 'code',
19163
19424
  title: "\u7EBF\u4E0A\u5546\u54C1id",
19164
19425
  align: 'center',
19165
19426
  ellipsis: true,
19166
- width: 150
19427
+ width: 150,
19428
+ render: renderTextEllipsis
19167
19429
  }, {
19168
19430
  dataIndex: 'barCode',
19169
19431
  title: "\u5546\u54C1\u6761\u7801",
19170
19432
  align: 'center',
19171
19433
  ellipsis: true,
19172
- width: 150
19434
+ width: 150,
19435
+ render: renderTextEllipsis
19173
19436
  }, {
19174
19437
  dataIndex: 'money',
19175
19438
  title: "\u5B9E\u4ED8\u91D1\u989D",
19176
19439
  align: 'center',
19177
19440
  ellipsis: true,
19178
- width: 100
19441
+ width: 100,
19442
+ render: renderTextEllipsis
19179
19443
  }, {
19180
19444
  dataIndex: 'number',
19181
19445
  title: "".concat(text, "\u6570\u91CF"),
@@ -19200,13 +19464,15 @@ var getColumns$3 = function getColumns(_ref) {
19200
19464
  title: "\u5E94\u6536\u6B3E",
19201
19465
  align: 'center',
19202
19466
  ellipsis: true,
19203
- width: 70
19467
+ width: 70,
19468
+ render: renderTextEllipsis
19204
19469
  }, {
19205
19470
  dataIndex: 'type',
19206
19471
  title: "\u8D60\u54C1\u7C7B\u578B",
19207
19472
  align: 'center',
19208
19473
  ellipsis: true,
19209
- width: 100
19474
+ width: 100,
19475
+ render: renderTextEllipsis
19210
19476
  }, {
19211
19477
  dataIndex: 'isPackage',
19212
19478
  title: "\u662F\u5426\u7EC4\u5408\u5546\u54C1",
@@ -19232,7 +19498,7 @@ var getColumns$3 = function getColumns(_ref) {
19232
19498
  };
19233
19499
  };
19234
19500
 
19235
- var isNumberOrNumberString = function isNumberOrNumberString(value) {
19501
+ var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
19236
19502
  if (typeof value === 'number') return true;
19237
19503
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
19238
19504
  return false;
@@ -19241,7 +19507,7 @@ var getYesOrNo$3 = function getYesOrNo(val) {
19241
19507
  if (kmkfUtils.isNull(val)) return null;
19242
19508
  return val ? '是' : '否';
19243
19509
  };
19244
- function toNum(value) {
19510
+ function toNum$1(value) {
19245
19511
  if (typeof value === 'string') {
19246
19512
  return value ? +value : void 0;
19247
19513
  }
@@ -19260,27 +19526,32 @@ var getColumns$4 = function getColumns(_ref) {
19260
19526
  GY_GOODS: [{
19261
19527
  dataIndex: 'goodName',
19262
19528
  title: "\u5546\u54C1\u540D\u79F0",
19263
- width: 150
19529
+ width: 150,
19530
+ render: renderTextEllipsis
19264
19531
  }, {
19265
19532
  dataIndex: 'goodShortName',
19266
19533
  title: "\u5546\u54C1\u7B80\u79F0",
19267
- width: 150
19534
+ width: 150,
19535
+ render: renderTextEllipsis
19268
19536
  }, {
19269
19537
  dataIndex: 'goodNo',
19270
19538
  title: "\u5546\u54C1\u7F16\u7801",
19271
- width: 200
19539
+ width: 200,
19540
+ render: renderTextEllipsis
19272
19541
  }, {
19273
19542
  dataIndex: 'specName',
19274
19543
  title: "SKU\u540D\u79F0",
19275
19544
  align: 'center',
19276
19545
  ellipsis: true,
19277
- width: 250
19546
+ width: 250,
19547
+ render: renderTextEllipsis
19278
19548
  }, {
19279
19549
  dataIndex: 'specNo',
19280
19550
  title: "SKU\u7F16\u7801",
19281
19551
  align: 'center',
19282
19552
  ellipsis: true,
19283
- width: 150
19553
+ width: 150,
19554
+ render: renderTextEllipsis
19284
19555
  }, {
19285
19556
  dataIndex: 'qty',
19286
19557
  title: "\u6570\u91CF",
@@ -19296,8 +19567,8 @@ var getColumns$4 = function getColumns(_ref) {
19296
19567
  onChange: function onChange(num) {
19297
19568
  updateDataHandle({
19298
19569
  qty: num,
19299
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19300
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19570
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19571
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19301
19572
  }, index);
19302
19573
  }
19303
19574
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19317,7 +19588,7 @@ var getColumns$4 = function getColumns(_ref) {
19317
19588
  onChange: function onChange(num) {
19318
19589
  updateDataHandle({
19319
19590
  price: num,
19320
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19591
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19321
19592
  }, index);
19322
19593
  }
19323
19594
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19371,7 +19642,8 @@ var getColumns$4 = function getColumns(_ref) {
19371
19642
  }, {
19372
19643
  dataIndex: 'skuNote',
19373
19644
  title: "\u5546\u54C1\u5907\u6CE8",
19374
- width: 150
19645
+ width: 150,
19646
+ render: renderTextEllipsis
19375
19647
  }].map(function (item) {
19376
19648
  return _objectSpread2(_objectSpread2({}, item), {}, {
19377
19649
  align: 'center',
@@ -19382,27 +19654,32 @@ var getColumns$4 = function getColumns(_ref) {
19382
19654
  GY_REISSUE_GOODS: [{
19383
19655
  dataIndex: 'goodName',
19384
19656
  title: "\u5546\u54C1\u540D\u79F0",
19385
- width: 150
19657
+ width: 150,
19658
+ render: renderTextEllipsis
19386
19659
  }, {
19387
19660
  dataIndex: 'goodShortName',
19388
19661
  title: "\u5546\u54C1\u7B80\u79F0",
19389
- width: 150
19662
+ width: 150,
19663
+ render: renderTextEllipsis
19390
19664
  }, {
19391
19665
  dataIndex: 'goodNo',
19392
19666
  title: "\u5546\u54C1\u7F16\u7801",
19393
- width: 200
19667
+ width: 200,
19668
+ render: renderTextEllipsis
19394
19669
  }, {
19395
19670
  dataIndex: 'specName',
19396
19671
  title: "SKU\u540D\u79F0",
19397
19672
  align: 'center',
19398
19673
  ellipsis: true,
19399
- width: 250
19674
+ width: 250,
19675
+ render: renderTextEllipsis
19400
19676
  }, {
19401
19677
  dataIndex: 'specNo',
19402
19678
  title: "SKU\u7F16\u7801",
19403
19679
  align: 'center',
19404
19680
  ellipsis: true,
19405
- width: 150
19681
+ width: 150,
19682
+ render: renderTextEllipsis
19406
19683
  }, {
19407
19684
  dataIndex: 'qty',
19408
19685
  title: "\u6570\u91CF",
@@ -19410,7 +19687,7 @@ var getColumns$4 = function getColumns(_ref) {
19410
19687
  validator: function validator(_rule, value) {
19411
19688
  var goodsName = '';
19412
19689
  if (((value === null || value === void 0 ? void 0 : value.gyReissueGoods) || []).some(function (goods) {
19413
- var qty = toNum(goods === null || goods === void 0 ? void 0 : goods.qty);
19690
+ var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
19414
19691
  var res = typeof qty === 'number' ? qty < 1 : true;
19415
19692
  if (res) {
19416
19693
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -19431,8 +19708,8 @@ var getColumns$4 = function getColumns(_ref) {
19431
19708
  onChange: function onChange(num) {
19432
19709
  updateDataHandle({
19433
19710
  qty: num,
19434
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19435
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19711
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19712
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19436
19713
  }, index);
19437
19714
  }
19438
19715
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19452,7 +19729,7 @@ var getColumns$4 = function getColumns(_ref) {
19452
19729
  onChange: function onChange(num) {
19453
19730
  updateDataHandle({
19454
19731
  price: num,
19455
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19732
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19456
19733
  }, index);
19457
19734
  }
19458
19735
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19498,27 +19775,32 @@ var getColumns$4 = function getColumns(_ref) {
19498
19775
  GY_RETURN_GOODS: [{
19499
19776
  dataIndex: 'goodName',
19500
19777
  title: "\u5546\u54C1\u540D\u79F0",
19501
- width: 150
19778
+ width: 150,
19779
+ render: renderTextEllipsis
19502
19780
  }, {
19503
19781
  dataIndex: 'goodShortName',
19504
19782
  title: "\u5546\u54C1\u7B80\u79F0",
19505
- width: 150
19783
+ width: 150,
19784
+ render: renderTextEllipsis
19506
19785
  }, {
19507
19786
  dataIndex: 'goodNo',
19508
19787
  title: "\u5546\u54C1\u7F16\u7801",
19509
- width: 200
19788
+ width: 200,
19789
+ render: renderTextEllipsis
19510
19790
  }, {
19511
19791
  dataIndex: 'specName',
19512
19792
  title: "SKU\u540D\u79F0",
19513
19793
  align: 'center',
19514
19794
  ellipsis: true,
19515
- width: 250
19795
+ width: 250,
19796
+ render: renderTextEllipsis
19516
19797
  }, {
19517
19798
  dataIndex: 'specNo',
19518
19799
  title: "SKU\u7F16\u7801",
19519
19800
  align: 'center',
19520
19801
  ellipsis: true,
19521
- width: 150
19802
+ width: 150,
19803
+ render: renderTextEllipsis
19522
19804
  }, {
19523
19805
  dataIndex: 'qty',
19524
19806
  title: "\u6570\u91CF",
@@ -19526,7 +19808,7 @@ var getColumns$4 = function getColumns(_ref) {
19526
19808
  validator: function validator(_rule, value) {
19527
19809
  var goodsName = '';
19528
19810
  if (((value === null || value === void 0 ? void 0 : value.gyReturnGoods) || []).some(function (goods) {
19529
- var qty = toNum(goods === null || goods === void 0 ? void 0 : goods.qty);
19811
+ var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
19530
19812
  var res = typeof qty === 'number' ? qty < 1 : true;
19531
19813
  if (res) {
19532
19814
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -19547,8 +19829,8 @@ var getColumns$4 = function getColumns(_ref) {
19547
19829
  onChange: function onChange(num) {
19548
19830
  updateDataHandle({
19549
19831
  qty: num,
19550
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19551
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19832
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19833
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19552
19834
  }, index);
19553
19835
  }
19554
19836
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19568,7 +19850,7 @@ var getColumns$4 = function getColumns(_ref) {
19568
19850
  onChange: function onChange(num) {
19569
19851
  updateDataHandle({
19570
19852
  price: num,
19571
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19853
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19572
19854
  }, index);
19573
19855
  }
19574
19856
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19627,7 +19909,7 @@ var fillAttrs = function fillAttrs(item) {
19627
19909
  if (!item.align) item.align = 'center';
19628
19910
  return item;
19629
19911
  };
19630
- function toNum$1(value) {
19912
+ function toNum$2(value) {
19631
19913
  if (typeof value === 'string') {
19632
19914
  return value ? +value : void 0;
19633
19915
  }
@@ -19647,19 +19929,22 @@ var getColumns$5 = function getColumns() {
19647
19929
  title: '商品名称',
19648
19930
  width: 150,
19649
19931
  ellipsis: true,
19650
- align: 'center'
19932
+ align: 'center',
19933
+ render: renderTextEllipsis
19651
19934
  }, {
19652
19935
  dataIndex: 'skuId',
19653
19936
  title: '商品编码',
19654
19937
  width: 150,
19655
19938
  ellipsis: true,
19656
- align: 'center'
19939
+ align: 'center',
19940
+ render: renderTextEllipsis
19657
19941
  }, {
19658
19942
  dataIndex: 'iId',
19659
19943
  title: '款式编码',
19660
19944
  width: 150,
19661
19945
  ellipsis: true,
19662
- align: 'center'
19946
+ align: 'center',
19947
+ render: renderTextEllipsis
19663
19948
  }, {
19664
19949
  dataIndex: 'pic',
19665
19950
  title: '商品图片',
@@ -19668,7 +19953,7 @@ var getColumns$5 = function getColumns() {
19668
19953
  width: 100,
19669
19954
  render: function render(val) {
19670
19955
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19671
- width: 60,
19956
+ width: 30,
19672
19957
  src: val
19673
19958
  });
19674
19959
  }
@@ -19677,7 +19962,8 @@ var getColumns$5 = function getColumns() {
19677
19962
  title: '规格值',
19678
19963
  width: 150,
19679
19964
  ellipsis: true,
19680
- align: 'center'
19965
+ align: 'center',
19966
+ render: renderTextEllipsis
19681
19967
  }, {
19682
19968
  dataIndex: 'saleBasePrice',
19683
19969
  title: '原价',
@@ -19739,7 +20025,8 @@ var getColumns$5 = function getColumns() {
19739
20025
  title: '批次号',
19740
20026
  width: 150,
19741
20027
  ellipsis: true,
19742
- align: 'center'
20028
+ align: 'center',
20029
+ render: renderTextEllipsis
19743
20030
  }, {
19744
20031
  dataIndex: 'isGift',
19745
20032
  title: '是否赠品',
@@ -19766,26 +20053,30 @@ var getColumns$5 = function getColumns() {
19766
20053
  title: '子订单号',
19767
20054
  width: 240,
19768
20055
  ellipsis: true,
19769
- align: 'center'
20056
+ align: 'center',
20057
+ render: renderTextEllipsis
19770
20058
  }],
19771
20059
  JST_REISSUE_GOODS: [{
19772
20060
  dataIndex: 'name',
19773
20061
  title: '商品名称',
19774
20062
  width: 150,
19775
20063
  ellipsis: true,
19776
- align: 'center'
20064
+ align: 'center',
20065
+ render: renderTextEllipsis
19777
20066
  }, {
19778
20067
  dataIndex: 'skuId',
19779
20068
  title: '商品编码',
19780
20069
  width: 150,
19781
20070
  ellipsis: true,
19782
- align: 'center'
20071
+ align: 'center',
20072
+ render: renderTextEllipsis
19783
20073
  }, {
19784
20074
  dataIndex: 'iId',
19785
20075
  title: '款式编码',
19786
20076
  width: 150,
19787
20077
  ellipsis: true,
19788
- align: 'center'
20078
+ align: 'center',
20079
+ render: renderTextEllipsis
19789
20080
  }, {
19790
20081
  dataIndex: 'pic',
19791
20082
  title: '商品图片',
@@ -19794,7 +20085,7 @@ var getColumns$5 = function getColumns() {
19794
20085
  width: 100,
19795
20086
  render: function render(val) {
19796
20087
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19797
- width: 60,
20088
+ width: 30,
19798
20089
  src: val
19799
20090
  });
19800
20091
  }
@@ -19803,7 +20094,8 @@ var getColumns$5 = function getColumns() {
19803
20094
  title: '规格值',
19804
20095
  width: 150,
19805
20096
  ellipsis: true,
19806
- align: 'center'
20097
+ align: 'center',
20098
+ render: renderTextEllipsis
19807
20099
  }, {
19808
20100
  dataIndex: 'saleBasePrice',
19809
20101
  title: '原价',
@@ -19856,7 +20148,7 @@ var getColumns$5 = function getColumns() {
19856
20148
  validator: function validator(_rule, value) {
19857
20149
  var goodsName = '';
19858
20150
  if (((value === null || value === void 0 ? void 0 : value.jstReissueGoods) || []).some(function (goods) {
19859
- var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
20151
+ var qty = toNum$2(goods === null || goods === void 0 ? void 0 : goods.qty);
19860
20152
  var res = typeof qty === 'number' ? qty < 1 : true;
19861
20153
  if (res) {
19862
20154
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19915,31 +20207,35 @@ var getColumns$5 = function getColumns() {
19915
20207
  onChange: function onChange(e) {
19916
20208
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
19917
20209
  }
19918
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20210
+ }) : renderTextEllipsis(val);
19919
20211
  }
19920
20212
  }],
19921
20213
  JST_RETURN_GOODS: [{
19922
20214
  dataIndex: 'name',
19923
- title: '商品名称'
20215
+ title: '商品名称',
20216
+ render: renderTextEllipsis
19924
20217
  }, {
19925
20218
  dataIndex: 'skuId',
19926
- title: '商品编码'
20219
+ title: '商品编码',
20220
+ render: renderTextEllipsis
19927
20221
  }, {
19928
20222
  dataIndex: 'iId',
19929
- title: '款式编码'
20223
+ title: '款式编码',
20224
+ render: renderTextEllipsis
19930
20225
  }, {
19931
20226
  dataIndex: 'pic',
19932
20227
  title: '商品图片',
19933
20228
  width: 100,
19934
20229
  render: function render(val) {
19935
20230
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19936
- width: 60,
20231
+ width: 30,
19937
20232
  src: val
19938
20233
  });
19939
20234
  }
19940
20235
  }, {
19941
20236
  dataIndex: 'propertiesValue',
19942
- title: '规格值'
20237
+ title: '规格值',
20238
+ render: renderTextEllipsis
19943
20239
  }, {
19944
20240
  dataIndex: 'saleBasePrice',
19945
20241
  title: '原价',
@@ -19953,7 +20249,7 @@ var getColumns$5 = function getColumns() {
19953
20249
  validator: function validator(_rule, value) {
19954
20250
  var goodsName = '';
19955
20251
  if (((value === null || value === void 0 ? void 0 : value.jstReturnGoods) || []).some(function (goods) {
19956
- var v = toNum$1(goods === null || goods === void 0 ? void 0 : goods.salePrice);
20252
+ var v = toNum$2(goods === null || goods === void 0 ? void 0 : goods.salePrice);
19957
20253
  var res = typeof v === 'number' ? v < 0 : true;
19958
20254
  if (res) {
19959
20255
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19983,7 +20279,7 @@ var getColumns$5 = function getColumns() {
19983
20279
  validator: function validator(_rule, value) {
19984
20280
  var goodsName = '';
19985
20281
  if (((value === null || value === void 0 ? void 0 : value.jstReturnGoods) || []).some(function (goods) {
19986
- var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
20282
+ var qty = toNum$2(goods === null || goods === void 0 ? void 0 : goods.qty);
19987
20283
  var res = typeof qty === 'number' ? qty < 1 : true;
19988
20284
  if (res) {
19989
20285
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -20014,7 +20310,8 @@ var getColumns$5 = function getColumns() {
20014
20310
  }
20015
20311
  }, {
20016
20312
  dataIndex: 'batchId',
20017
- title: '批次号'
20313
+ title: '批次号',
20314
+ render: renderTextEllipsis
20018
20315
  }, {
20019
20316
  dataIndex: 'isGift',
20020
20317
  title: '是否赠品',
@@ -20046,35 +20343,40 @@ var getColumns$5 = function getColumns() {
20046
20343
  onChange: function onChange(e) {
20047
20344
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20048
20345
  }
20049
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20346
+ }) : renderTextEllipsis(val);
20050
20347
  }
20051
20348
  }, {
20052
20349
  dataIndex: 'outerOiId',
20053
20350
  title: '子订单号',
20054
- width: 240
20351
+ width: 240,
20352
+ render: renderTextEllipsis
20055
20353
  }].map(fillAttrs),
20056
20354
  JST_EXCHANGE_GOODS: [{
20057
20355
  dataIndex: 'name',
20058
- title: '商品名称'
20356
+ title: '商品名称',
20357
+ render: renderTextEllipsis
20059
20358
  }, {
20060
20359
  dataIndex: 'skuId',
20061
- title: '商品编码'
20360
+ title: '商品编码',
20361
+ render: renderTextEllipsis
20062
20362
  }, {
20063
20363
  dataIndex: 'iId',
20064
- title: '款式编码'
20364
+ title: '款式编码',
20365
+ render: renderTextEllipsis
20065
20366
  }, {
20066
20367
  dataIndex: 'pic',
20067
20368
  title: '商品图片',
20068
20369
  width: 100,
20069
20370
  render: function render(val) {
20070
20371
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20071
- width: 60,
20372
+ width: 30,
20072
20373
  src: val
20073
20374
  });
20074
20375
  }
20075
20376
  }, {
20076
20377
  dataIndex: 'propertiesValue',
20077
- title: '规格值'
20378
+ title: '规格值',
20379
+ render: renderTextEllipsis
20078
20380
  }, {
20079
20381
  dataIndex: 'saleBasePrice',
20080
20382
  title: '原价',
@@ -20152,13 +20454,13 @@ var getColumns$5 = function getColumns() {
20152
20454
  onChange: function onChange(e) {
20153
20455
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20154
20456
  }
20155
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20457
+ }) : renderTextEllipsis(val);
20156
20458
  }
20157
20459
  }].map(fillAttrs)
20158
20460
  };
20159
20461
  };
20160
20462
 
20161
- function toNum$2(value) {
20463
+ function toNum$3(value) {
20162
20464
  if (typeof value === 'string') {
20163
20465
  return value ? +value : void 0;
20164
20466
  }
@@ -20175,42 +20477,50 @@ var getColumns$6 = function getColumns(_ref) {
20175
20477
  KM_GOODS: [{
20176
20478
  dataIndex: 'skuPropertiesName',
20177
20479
  title: "\u89C4\u683C\u540D\u79F0",
20178
- width: 250
20480
+ width: 250,
20481
+ render: renderTextEllipsis
20179
20482
  }, {
20180
20483
  dataIndex: 'sysTitle',
20181
20484
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20182
- width: 150
20485
+ width: 150,
20486
+ render: renderTextEllipsis
20183
20487
  }, {
20184
20488
  dataIndex: 'title',
20185
20489
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20186
- width: 150
20490
+ width: 150,
20491
+ render: renderTextEllipsis
20187
20492
  }, {
20188
20493
  dataIndex: 'shortTitle',
20189
20494
  title: "\u5546\u54C1\u7B80\u79F0",
20190
- width: 150
20495
+ width: 150,
20496
+ render: renderTextEllipsis
20191
20497
  }, {
20192
20498
  dataIndex: 'sysOuterId',
20193
20499
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20194
- width: 150
20500
+ width: 150,
20501
+ render: renderTextEllipsis
20195
20502
  }, {
20196
20503
  dataIndex: 'skuSysId',
20197
20504
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20198
- width: 150
20505
+ width: 150,
20506
+ render: renderTextEllipsis
20199
20507
  }, {
20200
20508
  dataIndex: 'skuId',
20201
20509
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20202
- width: 170
20510
+ width: 170,
20511
+ render: renderTextEllipsis
20203
20512
  }, {
20204
20513
  dataIndex: 'itemSysId',
20205
20514
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20206
- width: 150
20515
+ width: 150,
20516
+ render: renderTextEllipsis
20207
20517
  }, {
20208
20518
  dataIndex: 'sysPicPath',
20209
20519
  title: "\u5546\u54C1\u56FE\u7247",
20210
20520
  width: 100,
20211
20521
  render: function render(val) {
20212
20522
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20213
- width: 60,
20523
+ width: 30,
20214
20524
  src: val
20215
20525
  });
20216
20526
  }
@@ -20258,7 +20568,8 @@ var getColumns$6 = function getColumns(_ref) {
20258
20568
  }, {
20259
20569
  dataIndex: 'type',
20260
20570
  title: "\u5546\u54C1\u7C7B\u578B",
20261
- width: 150
20571
+ width: 150,
20572
+ render: renderTextEllipsis
20262
20573
  }].map(function (item) {
20263
20574
  return _objectSpread2(_objectSpread2({}, item), {}, {
20264
20575
  align: 'center',
@@ -20268,35 +20579,43 @@ var getColumns$6 = function getColumns(_ref) {
20268
20579
  KM_REISSUE_GOODS: [{
20269
20580
  dataIndex: 'skuPropertiesName',
20270
20581
  title: "\u89C4\u683C\u540D\u79F0",
20271
- width: 250
20582
+ width: 250,
20583
+ render: renderTextEllipsis
20272
20584
  }, {
20273
20585
  dataIndex: 'sysTitle',
20274
20586
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20275
- width: 150
20587
+ width: 150,
20588
+ render: renderTextEllipsis
20276
20589
  }, {
20277
20590
  dataIndex: 'shortTitle',
20278
20591
  title: "\u5546\u54C1\u7B80\u79F0",
20279
- width: 150
20592
+ width: 150,
20593
+ render: renderTextEllipsis
20280
20594
  }, {
20281
20595
  dataIndex: 'title',
20282
20596
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20283
- width: 150
20597
+ width: 150,
20598
+ render: renderTextEllipsis
20284
20599
  }, {
20285
20600
  dataIndex: 'sysOuterId',
20286
20601
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20287
- width: 150
20602
+ width: 150,
20603
+ render: renderTextEllipsis
20288
20604
  }, {
20289
20605
  dataIndex: 'itemSysId',
20290
20606
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20291
- width: 150
20607
+ width: 150,
20608
+ render: renderTextEllipsis
20292
20609
  }, {
20293
20610
  dataIndex: 'skuSysId',
20294
20611
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20295
- width: 150
20612
+ width: 150,
20613
+ render: renderTextEllipsis
20296
20614
  }, {
20297
20615
  dataIndex: 'skuId',
20298
20616
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20299
- width: 170
20617
+ width: 170,
20618
+ render: renderTextEllipsis
20300
20619
  }, {
20301
20620
  dataIndex: 'realNum',
20302
20621
  title: "\u5B9E\u9645\u8865\u53D1\u6570\u91CF",
@@ -20304,7 +20623,7 @@ var getColumns$6 = function getColumns(_ref) {
20304
20623
  validator: function validator(_rule, value) {
20305
20624
  var title = '';
20306
20625
  if (((value === null || value === void 0 ? void 0 : value.kmReissueGoods) || []).some(function (goods) {
20307
- var realNum = toNum$2(goods === null || goods === void 0 ? void 0 : goods.realNum);
20626
+ var realNum = toNum$3(goods === null || goods === void 0 ? void 0 : goods.realNum);
20308
20627
  var res = typeof realNum === 'number' ? realNum < 1 : true;
20309
20628
  if (res) {
20310
20629
  title = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -20371,14 +20690,15 @@ var getColumns$6 = function getColumns(_ref) {
20371
20690
  }, {
20372
20691
  dataIndex: 'type',
20373
20692
  title: "\u5546\u54C1\u7C7B\u578B",
20374
- width: 150
20693
+ width: 150,
20694
+ render: renderTextEllipsis
20375
20695
  }, {
20376
20696
  dataIndex: 'sysPicPath',
20377
20697
  title: "\u5546\u54C1\u56FE\u7247",
20378
20698
  width: 100,
20379
20699
  render: function render(val) {
20380
20700
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20381
- width: 60,
20701
+ width: 30,
20382
20702
  src: val
20383
20703
  });
20384
20704
  }
@@ -20391,12 +20711,12 @@ var getColumns$6 = function getColumns(_ref) {
20391
20711
  };
20392
20712
  };
20393
20713
 
20394
- var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
20714
+ var isNumberOrNumberString$2 = function isNumberOrNumberString(value) {
20395
20715
  if (typeof value === 'number') return true;
20396
20716
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
20397
20717
  return false;
20398
20718
  };
20399
- function toNum$3(value) {
20719
+ function toNum$4(value) {
20400
20720
  if (typeof value === 'string') {
20401
20721
  return value ? +value : void 0;
20402
20722
  }
@@ -20417,37 +20737,43 @@ var getColumns$7 = function getColumns(_ref) {
20417
20737
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20418
20738
  align: 'center',
20419
20739
  ellipsis: true,
20420
- width: 150
20740
+ width: 150,
20741
+ render: renderTextEllipsis
20421
20742
  }, {
20422
20743
  dataIndex: 'productCode',
20423
20744
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20424
20745
  align: 'center',
20425
20746
  ellipsis: true,
20426
- width: 150
20747
+ width: 150,
20748
+ render: renderTextEllipsis
20427
20749
  }, {
20428
20750
  dataIndex: 'productId',
20429
20751
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20430
20752
  align: 'center',
20431
20753
  ellipsis: true,
20432
- width: 150
20754
+ width: 150,
20755
+ render: renderTextEllipsis
20433
20756
  }, {
20434
20757
  dataIndex: 'skuName',
20435
20758
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20436
20759
  align: 'center',
20437
20760
  ellipsis: true,
20438
- width: 150
20761
+ width: 150,
20762
+ render: renderTextEllipsis
20439
20763
  }, {
20440
20764
  dataIndex: 'skuCode',
20441
20765
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20442
20766
  align: 'center',
20443
20767
  ellipsis: true,
20444
- width: 150
20768
+ width: 150,
20769
+ render: renderTextEllipsis
20445
20770
  }, {
20446
20771
  dataIndex: 'specId',
20447
20772
  title: "\u89C4\u683CID",
20448
20773
  align: 'center',
20449
20774
  ellipsis: true,
20450
- width: 150
20775
+ width: 150,
20776
+ render: renderTextEllipsis
20451
20777
  },
20452
20778
  // {
20453
20779
  // dataIndex: 'goodsName',
@@ -20467,11 +20793,13 @@ var getColumns$7 = function getColumns(_ref) {
20467
20793
  {
20468
20794
  dataIndex: 'goodsClass',
20469
20795
  title: "\u8D27\u54C1\u7C7B\u522B",
20470
- width: 150
20796
+ width: 150,
20797
+ render: renderTextEllipsis
20471
20798
  }, {
20472
20799
  dataIndex: 'code',
20473
20800
  title: "\u6761\u7801",
20474
- width: 150
20801
+ width: 150,
20802
+ render: renderTextEllipsis
20475
20803
  },
20476
20804
  // {
20477
20805
  // dataIndex: 'specName',
@@ -20492,31 +20820,36 @@ var getColumns$7 = function getColumns(_ref) {
20492
20820
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20493
20821
  align: 'center',
20494
20822
  ellipsis: true,
20495
- width: 250
20823
+ width: 250,
20824
+ render: renderTextEllipsis
20496
20825
  }, {
20497
20826
  dataIndex: 'mallProductOutCode',
20498
20827
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20499
20828
  align: 'center',
20500
20829
  ellipsis: true,
20501
- width: 150
20830
+ width: 150,
20831
+ render: renderTextEllipsis
20502
20832
  }, {
20503
20833
  dataIndex: 'mallProductId',
20504
20834
  title: "\u5E73\u53F0\u5546\u54C1ID",
20505
20835
  align: 'center',
20506
20836
  ellipsis: true,
20507
- width: 250
20837
+ width: 250,
20838
+ render: renderTextEllipsis
20508
20839
  }, {
20509
20840
  dataIndex: 'mallSkuName',
20510
20841
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20511
20842
  align: 'center',
20512
20843
  ellipsis: true,
20513
- width: 250
20844
+ width: 250,
20845
+ render: renderTextEllipsis
20514
20846
  }, {
20515
20847
  dataIndex: 'mallSkuId',
20516
20848
  title: "\u5E73\u53F0\u89C4\u683CID",
20517
20849
  align: 'center',
20518
20850
  ellipsis: true,
20519
- width: 250
20851
+ width: 250,
20852
+ render: renderTextEllipsis
20520
20853
  }, {
20521
20854
  dataIndex: 'sellCount',
20522
20855
  title: "\u6570\u91CF",
@@ -20532,7 +20865,7 @@ var getColumns$7 = function getColumns(_ref) {
20532
20865
  onChange: function onChange(num) {
20533
20866
  updateDataHandle({
20534
20867
  sellCount: num,
20535
- sellTotal: num && isNumberOrNumberString$1(record.sellPrice) ? num * record.sellPrice : null
20868
+ sellTotal: num && isNumberOrNumberString$2(record.sellPrice) ? num * record.sellPrice : null
20536
20869
  }, index);
20537
20870
  }
20538
20871
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -20552,7 +20885,7 @@ var getColumns$7 = function getColumns(_ref) {
20552
20885
  onChange: function onChange(num) {
20553
20886
  updateDataHandle({
20554
20887
  sellPrice: num,
20555
- sellTotal: num && isNumberOrNumberString$1(record.sellCount) ? num * record.sellCount : null
20888
+ sellTotal: num && isNumberOrNumberString$2(record.sellCount) ? num * record.sellCount : null
20556
20889
  }, index);
20557
20890
  }
20558
20891
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -20601,11 +20934,13 @@ var getColumns$7 = function getColumns(_ref) {
20601
20934
  }, {
20602
20935
  dataIndex: 'combinationName',
20603
20936
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20604
- width: 150
20937
+ width: 150,
20938
+ render: renderTextEllipsis
20605
20939
  }, {
20606
20940
  dataIndex: 'combinationCode',
20607
20941
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20608
- width: 150
20942
+ width: 150,
20943
+ render: renderTextEllipsis
20609
20944
  }, {
20610
20945
  dataIndex: 'gift',
20611
20946
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20643,75 +20978,88 @@ var getColumns$7 = function getColumns(_ref) {
20643
20978
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20644
20979
  align: 'center',
20645
20980
  ellipsis: true,
20646
- width: 150
20981
+ width: 150,
20982
+ render: renderTextEllipsis
20647
20983
  }, {
20648
20984
  dataIndex: 'productCode',
20649
20985
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20650
20986
  align: 'center',
20651
20987
  ellipsis: true,
20652
- width: 150
20988
+ width: 150,
20989
+ render: renderTextEllipsis
20653
20990
  }, {
20654
20991
  dataIndex: 'productId',
20655
20992
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20656
20993
  align: 'center',
20657
20994
  ellipsis: true,
20658
- width: 150
20995
+ width: 150,
20996
+ render: renderTextEllipsis
20659
20997
  }, {
20660
20998
  dataIndex: 'skuName',
20661
20999
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20662
21000
  align: 'center',
20663
21001
  ellipsis: true,
20664
- width: 150
21002
+ width: 150,
21003
+ render: renderTextEllipsis
20665
21004
  }, {
20666
21005
  dataIndex: 'skuCode',
20667
21006
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20668
21007
  align: 'center',
20669
21008
  ellipsis: true,
20670
- width: 150
21009
+ width: 150,
21010
+ render: renderTextEllipsis
20671
21011
  }, {
20672
21012
  dataIndex: 'specId',
20673
21013
  title: "\u89C4\u683CID",
20674
21014
  align: 'center',
20675
21015
  ellipsis: true,
20676
- width: 150
21016
+ width: 150,
21017
+ render: renderTextEllipsis
20677
21018
  }, {
20678
21019
  dataIndex: 'goodsClass',
20679
21020
  title: "\u8D27\u54C1\u7C7B\u522B",
20680
- width: 150
21021
+ width: 150,
21022
+ render: renderTextEllipsis
20681
21023
  }, {
20682
21024
  dataIndex: 'code',
20683
21025
  title: "\u6761\u7801",
20684
- width: 150
21026
+ width: 150,
21027
+ render: renderTextEllipsis
20685
21028
  }, {
20686
21029
  dataIndex: 'mallProductName',
20687
21030
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20688
21031
  align: 'center',
20689
21032
  ellipsis: true,
20690
- width: 150
21033
+ width: 150,
21034
+ render: renderTextEllipsis
20691
21035
  }, {
20692
21036
  dataIndex: 'mallProductOutCode',
20693
21037
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20694
21038
  align: 'center',
20695
21039
  ellipsis: true,
20696
- width: 150
21040
+ width: 150,
21041
+ render: renderTextEllipsis
20697
21042
  }, {
20698
21043
  dataIndex: 'mallProductId',
20699
21044
  title: "\u5E73\u53F0\u5546\u54C1ID",
20700
21045
  align: 'center',
20701
21046
  ellipsis: true,
20702
- width: 150
21047
+ width: 150,
21048
+ render: renderTextEllipsis
20703
21049
  }, {
20704
21050
  dataIndex: 'mallSkuName',
20705
21051
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20706
21052
  align: 'center',
20707
21053
  ellipsis: true,
20708
- width: 150
21054
+ width: 150,
21055
+ render: renderTextEllipsis
20709
21056
  }, {
20710
21057
  dataIndex: 'mallSkuId',
20711
21058
  title: "\u5E73\u53F0\u89C4\u683CID",
20712
21059
  align: 'center',
20713
21060
  ellipsis: true,
20714
- width: 150
21061
+ width: 150,
21062
+ render: renderTextEllipsis
20715
21063
  }, {
20716
21064
  dataIndex: 'sellCount',
20717
21065
  title: "\u6570\u91CF",
@@ -20719,7 +21067,7 @@ var getColumns$7 = function getColumns(_ref) {
20719
21067
  validator: function validator(_rule, value) {
20720
21068
  var productName = '';
20721
21069
  if (((value === null || value === void 0 ? void 0 : value.jyReissueGoods) || []).some(function (goods) {
20722
- var qty = toNum$3(goods === null || goods === void 0 ? void 0 : goods.sellCount);
21070
+ var qty = toNum$4(goods === null || goods === void 0 ? void 0 : goods.sellCount);
20723
21071
  var res = typeof qty === 'number' ? qty < 1 : true;
20724
21072
  if (res) {
20725
21073
  productName = (goods === null || goods === void 0 ? void 0 : goods.productName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.productName, "]") : '';
@@ -20740,7 +21088,7 @@ var getColumns$7 = function getColumns(_ref) {
20740
21088
  onChange: function onChange(num) {
20741
21089
  updateDataHandle({
20742
21090
  sellCount: num,
20743
- sellTotal: num && isNumberOrNumberString$1(record.sellPrice) ? num * record.sellPrice : null
21091
+ sellTotal: num && isNumberOrNumberString$2(record.sellPrice) ? num * record.sellPrice : null
20744
21092
  }, index);
20745
21093
  }
20746
21094
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -20760,7 +21108,7 @@ var getColumns$7 = function getColumns(_ref) {
20760
21108
  onChange: function onChange(num) {
20761
21109
  updateDataHandle({
20762
21110
  sellPrice: num,
20763
- sellTotal: num && isNumberOrNumberString$1(record.sellCount) ? num * record.sellCount : null
21111
+ sellTotal: num && isNumberOrNumberString$2(record.sellCount) ? num * record.sellCount : null
20764
21112
  }, index);
20765
21113
  }
20766
21114
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -20795,11 +21143,13 @@ var getColumns$7 = function getColumns(_ref) {
20795
21143
  }, {
20796
21144
  dataIndex: 'combinationName',
20797
21145
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20798
- width: 150
21146
+ width: 150,
21147
+ render: renderTextEllipsis
20799
21148
  }, {
20800
21149
  dataIndex: 'combinationCode',
20801
21150
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20802
- width: 150
21151
+ width: 150,
21152
+ render: renderTextEllipsis
20803
21153
  }, {
20804
21154
  dataIndex: 'gift',
20805
21155
  title: "\u662F\u5426\u8D60\u54C1",
@@ -20904,19 +21254,22 @@ var getColumns$9 = function getColumns(_ref) {
20904
21254
  title: "".concat(text, "sku\u540D\u79F0"),
20905
21255
  align: 'center',
20906
21256
  ellipsis: true,
20907
- width: 250
21257
+ width: 250,
21258
+ render: renderTextEllipsis
20908
21259
  }, {
20909
21260
  dataIndex: 'sku',
20910
21261
  title: "".concat(text, "sku\u7F16\u7801"),
20911
21262
  align: 'center',
20912
21263
  ellipsis: true,
20913
- width: 100
21264
+ width: 100,
21265
+ render: renderTextEllipsis
20914
21266
  }, {
20915
21267
  dataIndex: 'name',
20916
21268
  title: "".concat(text, "\u540D\u79F0"),
20917
21269
  align: 'center',
20918
21270
  ellipsis: true,
20919
- width: 250
21271
+ width: 250,
21272
+ render: renderTextEllipsis
20920
21273
  }, {
20921
21274
  dataIndex: 'pic',
20922
21275
  title: "\u56FE\u7247",
@@ -20925,7 +21278,7 @@ var getColumns$9 = function getColumns(_ref) {
20925
21278
  width: 100,
20926
21279
  render: function render(val) {
20927
21280
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20928
- width: 60,
21281
+ width: 30,
20929
21282
  src: val
20930
21283
  });
20931
21284
  }
@@ -20934,7 +21287,8 @@ var getColumns$9 = function getColumns(_ref) {
20934
21287
  title: "".concat(text, "\u7F16\u7801"),
20935
21288
  align: 'center',
20936
21289
  ellipsis: true,
20937
- width: 100
21290
+ width: 100,
21291
+ render: renderTextEllipsis
20938
21292
  }, {
20939
21293
  dataIndex: 'money',
20940
21294
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -21527,8 +21881,6 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21527
21881
  console.log('filterDataSource', filterDataSource === null || filterDataSource === void 0 ? void 0 : filterDataSource.map(function (item) {
21528
21882
  return item === null || item === void 0 ? void 0 : item[uniqueKey];
21529
21883
  }));
21530
- console.log('selectedRowKeys', selectedRowKeys);
21531
- console.log('currentTradeOriginGoods', currentTradeOriginGoods);
21532
21884
  onChangeSelectedKeys(keys.concat(unCurrentTradeOriginGoods));
21533
21885
  };
21534
21886
  var rowSelection = {
@@ -21544,6 +21896,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21544
21896
  type: "link",
21545
21897
  onClick: openModal
21546
21898
  }, buttonTextMapping[type] || '选择订单商品'), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
21899
+ wrapClassName: "goodModal",
21547
21900
  title: "\u8BA2\u5355\u5546\u54C1",
21548
21901
  visible: tradeGoodsVisible,
21549
21902
  footer: null,
@@ -21554,7 +21907,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21554
21907
  }
21555
21908
  }, isGoods && /*#__PURE__*/React__default['default'].createElement(antd.Row, {
21556
21909
  style: {
21557
- marginBottom: '20px'
21910
+ marginBottom: '12px'
21558
21911
  }
21559
21912
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
21560
21913
  span: 12
@@ -21575,11 +21928,13 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21575
21928
  };
21576
21929
  })
21577
21930
  }))), /*#__PURE__*/React__default['default'].createElement(antd.Table, {
21931
+ className: "GoodModalColumns",
21578
21932
  rowKey: uniqueKey,
21579
21933
  rowSelection: rowSelection,
21580
21934
  columns: columns,
21581
21935
  dataSource: filterDataSource,
21582
21936
  pagination: false,
21937
+ size: "small",
21583
21938
  scroll: {
21584
21939
  x: 500,
21585
21940
  y: 500
@@ -21765,7 +22120,8 @@ var GoodItem$1 = function GoodItem(props) {
21765
22120
  columns = getWdtReissueGoodColumns({
21766
22121
  disabled: disabled || columnsOptions.disabled,
21767
22122
  updateHandle: updateHandle,
21768
- operate: columnsOptions.operate
22123
+ operate: columnsOptions.operate,
22124
+ updateDataHandle: updateDataHandle
21769
22125
  });
21770
22126
  }
21771
22127
  break;
@@ -21933,7 +22289,7 @@ var GoodItem$1 = function GoodItem(props) {
21933
22289
  params.rowSelection = rowSelection;
21934
22290
  }
21935
22291
  return params;
21936
- }, [tableSelect, selectedRowKeys]);
22292
+ }, [tableSelect, selectedRowKeys, value]);
21937
22293
  var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
21938
22294
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, !disabled && (showChangeBtn ? /*#__PURE__*/React__default['default'].createElement("div", {
21939
22295
  style: {
@@ -22136,14 +22492,15 @@ var BsGoods = function BsGoods(props) {
22136
22492
  }));
22137
22493
  };
22138
22494
 
22139
- var _excluded$h = ["value", "onChange", "reasonList", "disabled"];
22495
+ var _excluded$h = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22140
22496
  var BsExchange = function BsExchange(props) {
22141
- var _value$bsExchangeType4, _value$bsExchangeType5, _value$bsExchangeType6;
22497
+ var _value$bsExchangeType6, _value$bsExchangeType7, _value$bsExchangeType8;
22142
22498
  var value = props.value,
22143
22499
  onChange = props.onChange,
22144
22500
  _props$reasonList = props.reasonList,
22145
22501
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22146
22502
  disabled = props.disabled,
22503
+ isSettingConfig = props.isSettingConfig,
22147
22504
  other = _objectWithoutProperties(props, _excluded$h);
22148
22505
  var valueRef = React.useRef({});
22149
22506
  React.useEffect(function () {
@@ -22154,14 +22511,15 @@ var BsExchange = function BsExchange(props) {
22154
22511
  var _value$bsExchangeType, _value$bsExchangeType2;
22155
22512
  var newValue = _objectSpread2({}, value);
22156
22513
  if (['2', '4'].includes((_value$bsExchangeType = value.bsExchangeType) === null || _value$bsExchangeType === void 0 ? void 0 : _value$bsExchangeType[0])) {
22157
- newValue.bsExchangeReturnGoods = newValue.bsExchangeReturnGoods.map(function (item) {
22158
- item.bsExchangeReturnGoods = item.bsExchangeReturnGoods.filter(function (t) {
22514
+ var _ref;
22515
+ newValue.bsExchangeReturnGoods = (_ref = (newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
22516
+ item.bsExchangeReturnGoods = ((item === null || item === void 0 ? void 0 : item.bsExchangeReturnGoods) || []).filter(function (t) {
22159
22517
  return t.sku !== data;
22160
22518
  });
22161
22519
  return item;
22162
22520
  });
22163
22521
  } else if (['1', '3'].includes((_value$bsExchangeType2 = value.bsExchangeType) === null || _value$bsExchangeType2 === void 0 ? void 0 : _value$bsExchangeType2[0])) {
22164
- newValue.bsExchangeReturnGoods = newValue.bsExchangeReturnGoods.filter(function (item) {
22522
+ newValue.bsExchangeReturnGoods = ((newValue === null || newValue === void 0 ? void 0 : newValue.bsExchangeReturnGoods) || []).filter(function (item) {
22165
22523
  return item.sku !== data;
22166
22524
  });
22167
22525
  }
@@ -22195,6 +22553,17 @@ var BsExchange = function BsExchange(props) {
22195
22553
  }));
22196
22554
  });
22197
22555
  }, []);
22556
+ React.useEffect(function () {
22557
+ var _value$bsExchangeType3;
22558
+ 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])) {
22559
+ var _value$bsExchangeType4;
22560
+ pubsub__default['default'].publish('type', {
22561
+ val: value === null || value === void 0 ? void 0 : (_value$bsExchangeType4 = value.bsExchangeType) === null || _value$bsExchangeType4 === void 0 ? void 0 : _value$bsExchangeType4[0],
22562
+ goodValue: _objectSpread2({}, value)
22563
+ });
22564
+ }
22565
+ return;
22566
+ }, []);
22198
22567
  var getListHandle = function getListHandle(list, val) {
22199
22568
  var _val$bsExchangeType, _val$bsExchangeType2;
22200
22569
  //固定的sku
@@ -22251,7 +22620,7 @@ var BsExchange = function BsExchange(props) {
22251
22620
  newValue.bsExchangeType = val;
22252
22621
  newValue.bsExchangeReturnGoods = [];
22253
22622
  newValue.bsExchangeGiftGoods = [];
22254
- if (['2', '4'].includes(val[0])) {
22623
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22255
22624
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22256
22625
  }
22257
22626
  pubsub__default['default'].publish('type', {
@@ -22289,8 +22658,8 @@ var BsExchange = function BsExchange(props) {
22289
22658
  };
22290
22659
  //显示选择商品按钮 原单换不显示选择商品
22291
22660
  var showChangeBtn = React.useMemo(function () {
22292
- var _value$bsExchangeType3;
22293
- return ['2', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType3 = value.bsExchangeType) === null || _value$bsExchangeType3 === void 0 ? void 0 : _value$bsExchangeType3[0]) || !!disabled;
22661
+ var _value$bsExchangeType5;
22662
+ return ['2', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType5 = value.bsExchangeType) === null || _value$bsExchangeType5 === void 0 ? void 0 : _value$bsExchangeType5[0]) || !!disabled;
22294
22663
  }, [value === null || value === void 0 ? void 0 : value.bsExchangeType]);
22295
22664
  var copyGoods = function copyGoods(index) {
22296
22665
  var copyHandle = function copyHandle() {
@@ -22307,19 +22676,19 @@ var BsExchange = function BsExchange(props) {
22307
22676
  style: {
22308
22677
  marginBottom: '8px'
22309
22678
  },
22310
- disabled: disabled,
22679
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22311
22680
  allowClear: false,
22312
22681
  options: reasonList,
22313
22682
  value: value === null || value === void 0 ? void 0 : value.bsExchangeType,
22314
22683
  onChange: function onChange(val) {
22315
22684
  return changeTypeHandle(val);
22316
22685
  }
22317
- }), !(value === null || value === void 0 ? void 0 : (_value$bsExchangeType4 = value.bsExchangeType) === null || _value$bsExchangeType4 === void 0 ? void 0 : _value$bsExchangeType4.length) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22686
+ }), !(value === null || value === void 0 ? void 0 : (_value$bsExchangeType6 = value.bsExchangeType) === null || _value$bsExchangeType6 === void 0 ? void 0 : _value$bsExchangeType6.length) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22318
22687
  key: 'bsExchangeGoods'
22319
22688
  }, other), {}, {
22320
22689
  disabled: disabled,
22321
22690
  showChangeBtn: false
22322
- })) : null, ['1', '3'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType5 = value.bsExchangeType) === null || _value$bsExchangeType5 === void 0 ? void 0 : _value$bsExchangeType5[0]) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22691
+ })) : null, ['1', '3'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType7 = value.bsExchangeType) === null || _value$bsExchangeType7 === void 0 ? void 0 : _value$bsExchangeType7[0]) ? /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22323
22692
  key: 'bsExchangeGoods'
22324
22693
  }, other), {}, {
22325
22694
  disabled: disabled,
@@ -22357,7 +22726,7 @@ var BsExchange = function BsExchange(props) {
22357
22726
  return changeReturnHandle(val, index, 'bsExchangeSwapOutGoods');
22358
22727
  }
22359
22728
  })));
22360
- })), ['3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType6 = value.bsExchangeType) === null || _value$bsExchangeType6 === void 0 ? void 0 : _value$bsExchangeType6[0]) ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", null, "\u8D60\u54C1\u4FE1\u606F"), /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22729
+ })), ['3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsExchangeType8 = value.bsExchangeType) === null || _value$bsExchangeType8 === void 0 ? void 0 : _value$bsExchangeType8[0]) ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", null, "\u8D60\u54C1\u4FE1\u606F"), /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
22361
22730
  headerText: "\u8D60\u54C1",
22362
22731
  key: 'bsGiftGoods',
22363
22732
  disabled: disabled,
@@ -22371,7 +22740,7 @@ var BsExchange = function BsExchange(props) {
22371
22740
  }))) : null);
22372
22741
  };
22373
22742
 
22374
- var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
22743
+ var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
22375
22744
  var typeMap = {
22376
22745
  BS_REISSUE_GOODS: {
22377
22746
  key: 'bsReissueGoods',
@@ -22389,28 +22758,40 @@ var typeMap = {
22389
22758
  }
22390
22759
  };
22391
22760
  var BsReissue = function BsReissue(props) {
22392
- var _typeMap$type20, _typeMap$type21, _typeMap$type22;
22761
+ var _typeMap$type21, _typeMap$type22, _typeMap$type23;
22393
22762
  var value = props.value,
22394
22763
  onChange = props.onChange,
22395
22764
  _props$reasonList = props.reasonList,
22396
22765
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22397
22766
  disabled = props.disabled,
22398
22767
  type = props.type,
22768
+ isSettingConfig = props.isSettingConfig,
22399
22769
  other = _objectWithoutProperties(props, _excluded$i);
22400
22770
  var valueRef = React.useRef({});
22401
22771
  React.useEffect(function () {
22402
- var _typeMap$type;
22403
- pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type = typeMap[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.reissueSelectList), function (_, data) {
22404
- var _typeMap$type2;
22405
- // console.log('reissueSelectList', data);
22772
+ var _value$bsReissueType;
22773
+ 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])) {
22774
+ var _typeMap$type, _value$bsReissueType2;
22775
+ pubsub__default['default'].publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type = typeMap[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.reissueType), {
22776
+ val: value === null || value === void 0 ? void 0 : (_value$bsReissueType2 = value.bsReissueType) === null || _value$bsReissueType2 === void 0 ? void 0 : _value$bsReissueType2[0],
22777
+ goodValue: _objectSpread2({}, value)
22778
+ });
22779
+ }
22780
+ return;
22781
+ }, []);
22782
+ React.useEffect(function () {
22783
+ var _typeMap$type2;
22784
+ pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type2 = typeMap[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.reissueSelectList), function (_, data) {
22785
+ var _typeMap$type3;
22786
+ console.log('reissueSelectList', data);
22406
22787
  if (disabled) return;
22407
22788
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22408
22789
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22409
22790
  });
22410
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type2 = typeMap[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.key)] = data === null || data === void 0 ? void 0 : data.list.map(function (item) {
22411
- var _typeMap$type3, _typeMap$type4;
22412
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type3 = typeMap[type]) === null || _typeMap$type3 === void 0 ? void 0 : _typeMap$type3.formatDefaultField.money)] = 0;
22413
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type4 = typeMap[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.formatDefaultField.share)] = 0;
22791
+ 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) {
22792
+ var _typeMap$type4, _typeMap$type5;
22793
+ 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;
22794
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type5 = typeMap[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.formatDefaultField.share)] = 0;
22414
22795
  item.canUpdateNumber = true;
22415
22796
  return item;
22416
22797
  });
@@ -22418,18 +22799,18 @@ var BsReissue = function BsReissue(props) {
22418
22799
  });
22419
22800
  }, []);
22420
22801
  React.useEffect(function () {
22421
- var _typeMap$type5;
22422
- pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type5 = typeMap[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.reissueSelectListReturn), function (_, data) {
22423
- var _typeMap$type6;
22802
+ var _typeMap$type6;
22803
+ pubsub__default['default'].subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type6 = typeMap[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.reissueSelectListReturn), function (_, data) {
22804
+ var _typeMap$type7;
22424
22805
  // console.log('reissueSelectListReturn', data);
22425
22806
  if (disabled) return;
22426
22807
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
22427
22808
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
22428
22809
  });
22429
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type6 = typeMap[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.key)] = data === null || data === void 0 ? void 0 : data.list.map(function (item) {
22430
- var _typeMap$type7, _typeMap$type8;
22431
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type7 = typeMap[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.formatDefaultField.money)] = 0;
22432
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type8 = typeMap[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.formatDefaultField.share)] = 0;
22810
+ 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) {
22811
+ var _typeMap$type8, _typeMap$type9;
22812
+ 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;
22813
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type9 = typeMap[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.formatDefaultField.share)] = 0;
22433
22814
  item.canUpdateNumber = true;
22434
22815
  return item;
22435
22816
  });
@@ -22437,63 +22818,64 @@ var BsReissue = function BsReissue(props) {
22437
22818
  });
22438
22819
  }, []);
22439
22820
  React.useEffect(function () {
22440
- var _typeMap$type9, _typeMap$type12;
22821
+ var _typeMap$type10, _typeMap$type13;
22441
22822
  valueRef.current = value;
22442
- pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type9 = typeMap[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.reissueDeleteGood), function (_, data) {
22823
+ pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type10 = typeMap[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.reissueDeleteGood), function (_, data) {
22443
22824
  if (disabled) return;
22444
22825
  if (value) {
22445
- var _typeMap$type10, _typeMap$type11;
22826
+ var _typeMap$type11, _typeMap$type12;
22446
22827
  var newValue = _objectSpread2({}, value);
22447
- newValue["".concat((_typeMap$type10 = typeMap[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.key)] = newValue === null || newValue === void 0 ? void 0 : newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type11 = typeMap[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key)].filter(function (item) {
22828
+ newValue["".concat((_typeMap$type11 = typeMap[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key)] = newValue === null || newValue === void 0 ? void 0 : newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type12 = typeMap[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.key)].filter(function (item) {
22448
22829
  return item.sku !== data;
22449
22830
  });
22450
22831
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22451
22832
  }
22452
22833
  });
22453
- pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type12 = typeMap[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.changeShopCode), function (type, data) {
22834
+ pubsub__default['default'].subscribeOnce("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type13 = typeMap[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.changeShopCode), function (type, data) {
22454
22835
  onChange(_objectSpread2(_objectSpread2({}, value), {}, {
22455
22836
  shopCode: data.shopCode
22456
22837
  }));
22457
22838
  });
22458
22839
  }, [value, disabled]);
22459
22840
  var changeTypeHandle = function changeTypeHandle(val) {
22460
- var _typeMap$type13, _typeMap$type14, _typeMap$type15;
22841
+ var _typeMap$type14, _typeMap$type15, _typeMap$type16;
22461
22842
  var newValue = _objectSpread2({}, value);
22462
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type13 = typeMap[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.typeName)] = val;
22463
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type14 = typeMap[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key)] = [];
22464
- if (['2', '4'].includes(val[0])) {
22843
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type14 = typeMap[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.typeName)] = val;
22844
+ newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type15 = typeMap[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key)] = [];
22845
+ // isSettingConfig 用于编辑组件时设置补发默认值
22846
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22465
22847
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22466
22848
  valueRef.current = newValue;
22467
22849
  }
22468
- pubsub__default['default'].publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type15 = typeMap[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.reissueType), {
22850
+ pubsub__default['default'].publish("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type16 = typeMap[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.reissueType), {
22469
22851
  val: val[0],
22470
22852
  goodValue: newValue
22471
22853
  });
22472
22854
  };
22473
22855
  var changeGoodHandle = function changeGoodHandle(val) {
22474
- var _typeMap$type16;
22856
+ var _typeMap$type17;
22475
22857
  var newValue = _objectSpread2({}, value);
22476
- newValue["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type16 = typeMap[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.key)] = (val || []).map(function (item) {
22477
- var _typeMap$type17, _typeMap$type18;
22478
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type17 = typeMap[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.formatDefaultField.money)] = 0;
22479
- item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type18 = typeMap[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.formatDefaultField.share)] = 0;
22858
+ 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) {
22859
+ var _typeMap$type18, _typeMap$type19;
22860
+ 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;
22861
+ item["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type19 = typeMap[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.formatDefaultField.share)] = 0;
22480
22862
  return item;
22481
22863
  });
22482
22864
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22483
22865
  };
22484
22866
  //显示选择商品按钮 原单换不显示选择商品
22485
22867
  var showChangeBtn = React.useMemo(function () {
22486
- var _value, _typeMap$type19;
22487
- return ['2', '3', '4'].includes(value === null || value === void 0 ? void 0 : (_value = value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type19 = typeMap[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.typeName)]) === null || _value === void 0 ? void 0 : _value[0]);
22488
- }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type20 = typeMap[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.typeName]]);
22868
+ var _value, _typeMap$type20;
22869
+ 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]);
22870
+ }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type21 = typeMap[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]]);
22489
22871
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
22490
22872
  style: {
22491
22873
  marginBottom: '8px'
22492
22874
  },
22493
- disabled: disabled,
22875
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22494
22876
  allowClear: false,
22495
22877
  options: reasonList,
22496
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type21 = typeMap[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName)],
22878
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type22 = typeMap[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.typeName)],
22497
22879
  onChange: function onChange(val) {
22498
22880
  return changeTypeHandle(val);
22499
22881
  }
@@ -22505,20 +22887,21 @@ var BsReissue = function BsReissue(props) {
22505
22887
  canUpdateNumber: showChangeBtn,
22506
22888
  showChangeBtn: showChangeBtn,
22507
22889
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
22508
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type22 = typeMap[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)],
22890
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type23 = typeMap[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)],
22509
22891
  onChange: function onChange(val) {
22510
22892
  return changeGoodHandle(val);
22511
22893
  }
22512
22894
  })));
22513
22895
  };
22514
22896
 
22515
- var _excluded$j = ["value", "onChange", "reasonList", "disabled"];
22897
+ var _excluded$j = ["value", "onChange", "reasonList", "disabled", "isSettingConfig"];
22516
22898
  var BsReturnGoods = function BsReturnGoods(props) {
22517
22899
  var value = props.value,
22518
22900
  onChange = props.onChange,
22519
22901
  _props$reasonList = props.reasonList,
22520
22902
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
22521
22903
  disabled = props.disabled,
22904
+ isSettingConfig = props.isSettingConfig,
22522
22905
  other = _objectWithoutProperties(props, _excluded$j);
22523
22906
  var valueRef = React.useRef({});
22524
22907
  React.useEffect(function () {
@@ -22543,6 +22926,17 @@ var BsReturnGoods = function BsReturnGoods(props) {
22543
22926
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22544
22927
  });
22545
22928
  }, []);
22929
+ React.useEffect(function () {
22930
+ var _value$bsReturnType;
22931
+ if ((value === null || value === void 0 ? void 0 : (_value$bsReturnType = value.bsReturnType) === null || _value$bsReturnType === void 0 ? void 0 : _value$bsReturnType[0]) === '2') {
22932
+ var _value$bsReturnType2;
22933
+ pubsub__default['default'].publish('returnType', {
22934
+ val: value === null || value === void 0 ? void 0 : (_value$bsReturnType2 = value.bsReturnType) === null || _value$bsReturnType2 === void 0 ? void 0 : _value$bsReturnType2[0],
22935
+ goodValue: _objectSpread2({}, value)
22936
+ });
22937
+ }
22938
+ return;
22939
+ }, []);
22546
22940
  React.useEffect(function () {
22547
22941
  valueRef.current = value;
22548
22942
  pubsub__default['default'].subscribeOnce('returnDeleteGood', function (_, data) {
@@ -22565,7 +22959,7 @@ var BsReturnGoods = function BsReturnGoods(props) {
22565
22959
  var newValue = _objectSpread2({}, value);
22566
22960
  newValue['bsReturnType'] = val;
22567
22961
  newValue.bsReturnGoods = [];
22568
- if (['2', '4'].includes(val[0])) {
22962
+ if (isSettingConfig || ['2', '4'].includes(val[0])) {
22569
22963
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
22570
22964
  valueRef.current = newValue;
22571
22965
  }
@@ -22581,14 +22975,14 @@ var BsReturnGoods = function BsReturnGoods(props) {
22581
22975
  };
22582
22976
  //显示选择商品按钮 原单换不显示选择商品
22583
22977
  var showChangeBtn = React.useMemo(function () {
22584
- var _value$bsReturnType;
22585
- return ['2', '3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsReturnType = value.bsReturnType) === null || _value$bsReturnType === void 0 ? void 0 : _value$bsReturnType[0]);
22978
+ var _value$bsReturnType3;
22979
+ return ['2', '3', '4'].includes(value === null || value === void 0 ? void 0 : (_value$bsReturnType3 = value.bsReturnType) === null || _value$bsReturnType3 === void 0 ? void 0 : _value$bsReturnType3[0]);
22586
22980
  }, [value === null || value === void 0 ? void 0 : value.bsReturnType]);
22587
22981
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
22588
22982
  style: {
22589
22983
  marginBottom: '8px'
22590
22984
  },
22591
- disabled: disabled,
22985
+ disabled: isSettingConfig ? !isSettingConfig : disabled,
22592
22986
  allowClear: false,
22593
22987
  options: reasonList,
22594
22988
  value: value === null || value === void 0 ? void 0 : value.bsReturnType,
@@ -22632,7 +23026,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
22632
23026
  return _objectSpread2(_objectSpread2({}, item), {}, {
22633
23027
  billNo: item.tradeNo,
22634
23028
  billType: kmkfUtils.WDT_ORDER_TYPE_MAP[item.tradeType],
22635
- billTag: item.tagName,
23029
+ billTag: item.tagName || item.tags,
22636
23030
  tradeStatusValue: kmkfUtils.tradeStatusMap === null || kmkfUtils.tradeStatusMap === void 0 ? void 0 : (_tradeStatusMap$data$ = kmkfUtils.tradeStatusMap[data.data.version]) === null || _tradeStatusMap$data$ === void 0 ? void 0 : _tradeStatusMap$data$[item.tradeStatus]
22637
23031
  });
22638
23032
  });
@@ -23318,9 +23712,9 @@ var index$2 = (function (props) {
23318
23712
  }));
23319
23713
  });
23320
23714
 
23321
- 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";
23715
+ 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";
23322
23716
  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"};
23323
- styleInject(css_248z$d);
23717
+ styleInject(css_248z$f);
23324
23718
 
23325
23719
  var CustomizeUpload = function CustomizeUpload(_ref) {
23326
23720
  var _ref$value = _ref.value,
@@ -25215,6 +25609,9 @@ var wdtReissue = function wdtReissue(props) {
25215
25609
  return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderNo]);
25216
25610
  }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrderNo]]);
25217
25611
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Row, {
25612
+ style: {
25613
+ width: '100%'
25614
+ },
25218
25615
  gutter: 8,
25219
25616
  wrap: true
25220
25617
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
@@ -25419,7 +25816,7 @@ var PublicReissue = function PublicReissue(props) {
25419
25816
  (_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
25420
25817
  var _valueRef$current3, _typeMap$type6, _typeMap$type7, _typeMap$type11, _ref3, _typeMap$type12;
25421
25818
  var orders = data || [];
25422
- var showOrderInfo = orders.map(function (orderItem) {
25819
+ var showOrderInfo = orders === null || orders === void 0 ? void 0 : orders.map(function (orderItem) {
25423
25820
  return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
25424
25821
  });
25425
25822
  var typeObj = {};
@@ -25655,8 +26052,8 @@ var PublicReissue = function PublicReissue(props) {
25655
26052
  })));
25656
26053
  };
25657
26054
 
25658
- 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";
25659
- styleInject(css_248z$e);
26055
+ 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";
26056
+ styleInject(css_248z$g);
25660
26057
 
25661
26058
  var TabPane$1 = antd.Tabs.TabPane;
25662
26059
  var Option$2 = antd.Select.Option;
@@ -26672,9 +27069,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
26672
27069
  })));
26673
27070
  };
26674
27071
 
26675
- var css_248z$f = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
27072
+ var css_248z$h = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
26676
27073
  var styles$6 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
26677
- styleInject(css_248z$f);
27074
+ styleInject(css_248z$h);
26678
27075
 
26679
27076
  var _excluded$r = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
26680
27077
  _excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
@@ -27285,9 +27682,9 @@ var GyReturnGoods = function GyReturnGoods(props) {
27285
27682
  })));
27286
27683
  };
27287
27684
 
27288
- 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";
27685
+ 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";
27289
27686
  var styles$7 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
27290
- styleInject(css_248z$g);
27687
+ styleInject(css_248z$i);
27291
27688
 
27292
27689
  var _excluded$t = ["maxCount", "maxSize", "onChange", "value", "disabled", "hostUrl", "canDownload", "actionUrl"];
27293
27690
  var Dragger$1 = antd.Upload.Dragger;