@kmkf-fe-packages/basic-components 2.2.13-beta.8 → 2.2.13-beta.80

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.
Files changed (26) hide show
  1. package/dist/index.esm.js +1373 -880
  2. package/dist/index.js +1372 -878
  3. package/dist/src/bs/SystemOrder/index.d.ts +5 -0
  4. package/dist/src/bs/component/GoodItem/constants/wdtReissueGoodsColumns.d.ts +2 -1
  5. package/dist/src/bs/component/GoodItem/index.d.ts +2 -0
  6. package/dist/src/bs/component/GoodsModal.d.ts +2 -0
  7. package/dist/src/bs/component/model/BsE3GoodList.d.ts +1 -0
  8. package/dist/src/bs/component/model/Columns/Erp/bse3.d.ts +2 -0
  9. package/dist/src/bs/component/model/Columns/Erp/common.d.ts +2 -0
  10. package/dist/src/bs/component/model/Columns/Erp/gy.d.ts +1 -1
  11. package/dist/src/bs/component/model/Columns/Erp/jst.d.ts +1 -7
  12. package/dist/src/bs/component/model/Columns/Erp/jy.d.ts +5 -5
  13. package/dist/src/bs/component/model/Columns/Erp/km.d.ts +0 -6
  14. package/dist/src/bs/component/model/Columns/Erp/wdt.d.ts +2 -2
  15. package/dist/src/bs/component/model/GyGoodsList.d.ts +2 -0
  16. package/dist/src/bs/component/model/JstGoodsModal/GoodsList.d.ts +1 -0
  17. package/dist/src/bs/component/model/JyGoodsModal/GoodsList.d.ts +15 -14
  18. package/dist/src/bs/component/model/KmGoodsModal/GoodsList.d.ts +1 -0
  19. package/dist/src/bs/component/model/WdtGoodList.d.ts +1 -0
  20. package/dist/src/bs/component/model/WorkOrderList/index.d.ts +1 -0
  21. package/dist/src/bs/component/model/WorkOrderList/useDefaultSearchValue.d.ts +10 -0
  22. package/dist/src/bs/component/model/components/SearchForm/index.d.ts +1 -0
  23. package/dist/src/bs/component/model/type.d.ts +3 -0
  24. package/dist/src/constants/systemOrderColumnsMap.d.ts +68 -0
  25. package/dist/src/index.d.ts +1 -0
  26. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -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'
@@ -13845,7 +13847,7 @@ var jstGoods = function jstGoods(props) {
13845
13847
  onChange: function onChange(val) {
13846
13848
  changeInputHandle(val, 'logisticsCompany');
13847
13849
  },
13848
- value: platformType === 'gy' ? (expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2['logisticsCompany'], false)) ? (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3['logisticsCompany'] : (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4['logisticsCompanyName'] : (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5['logisticsCompany'],
13850
+ value: ['gy', 'jy'].includes(platformType) ? (expressDateInstance === null || expressDateInstance === void 0 ? void 0 : expressDateInstance.getExpressNameByCode((_value$changeIndex2 = value[changeIndex]) === null || _value$changeIndex2 === void 0 ? void 0 : _value$changeIndex2['logisticsCompany'], false)) ? (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3['logisticsCompany'] : (_value$changeIndex4 = value[changeIndex]) === null || _value$changeIndex4 === void 0 ? void 0 : _value$changeIndex4['logisticsCompanyName'] : (_value$changeIndex5 = value[changeIndex]) === null || _value$changeIndex5 === void 0 ? void 0 : _value$changeIndex5['logisticsCompany'],
13849
13851
  showSearch: true,
13850
13852
  dropdownMatchSelectWidth: false,
13851
13853
  filterOption: function filterOption(input, option) {
@@ -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 }\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) {
@@ -14905,123 +14974,138 @@ var getYesOrNo$1 = function getYesOrNo(val) {
14905
14974
  return val ? '是' : '否';
14906
14975
  };
14907
14976
  var jyColumns = [{
14908
- dataIndex: 'productName',
14977
+ dataIndex: 'goodName',
14909
14978
  title: '商品名称',
14910
14979
  width: 250,
14911
- ellipsis: true
14980
+ ellipsis: true,
14981
+ render: renderTextEllipsis
14912
14982
  }, {
14913
- dataIndex: 'productCode',
14983
+ dataIndex: 'goodNo',
14914
14984
  title: '商品编码',
14915
14985
  width: 150,
14916
- ellipsis: true
14986
+ ellipsis: true,
14987
+ render: renderTextEllipsis
14917
14988
  }, {
14918
- dataIndex: 'productId',
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: '商品图片',
14925
14997
  width: 100,
14926
14998
  render: function render(picUrl) {
14927
- return /*#__PURE__*/React__default['default'].createElement("img", {
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
14934
- });
15006
+ }) : null;
14935
15007
  }
14936
15008
  }, {
14937
- dataIndex: 'productShortName',
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
- dataIndex: 'productGroupName',
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
- dataIndex: 'skuName',
15027
+ dataIndex: 'specName',
14953
15028
  title: '规格名称',
14954
15029
  width: 250,
14955
- ellipsis: true
15030
+ ellipsis: true,
15031
+ render: renderTextEllipsis
14956
15032
  }, {
14957
- dataIndex: 'skuCode',
15033
+ dataIndex: 'specNo',
14958
15034
  title: '规格编码',
14959
15035
  width: 150,
14960
- ellipsis: true
15036
+ ellipsis: true,
15037
+ render: renderTextEllipsis
14961
15038
  }, {
14962
- dataIndex: 'skuId',
15039
+ dataIndex: 'specId',
14963
15040
  title: '规格ID',
14964
15041
  width: 250,
14965
- ellipsis: true
15042
+ ellipsis: true,
15043
+ render: renderTextEllipsis
14966
15044
  }, {
14967
- dataIndex: 'barcode',
15045
+ dataIndex: 'specBarcode',
14968
15046
  title: '规格条码',
14969
15047
  width: 150,
14970
- ellipsis: true
15048
+ ellipsis: true,
15049
+ render: renderTextEllipsis
14971
15050
  }, {
14972
- dataIndex: 'skuImage',
15051
+ dataIndex: 'specImgUrl',
14973
15052
  title: '规格图片',
14974
15053
  width: 100,
14975
15054
  render: function render(picUrl) {
14976
- return /*#__PURE__*/React__default['default'].createElement("img", {
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
14983
- });
15062
+ }) : null;
14984
15063
  }
14985
15064
  }, {
14986
- dataIndex: 'color',
15065
+ dataIndex: 'colorName',
14987
15066
  title: "\u989C\u8272",
14988
15067
  ellipsis: true,
14989
- width: 100
15068
+ width: 100,
15069
+ render: renderTextEllipsis
14990
15070
  }, {
14991
- dataIndex: 'size',
15071
+ dataIndex: 'sizeName',
14992
15072
  title: "\u5C3A\u7801",
14993
15073
  ellipsis: true,
14994
- width: 100
15074
+ width: 100,
15075
+ render: renderTextEllipsis
14995
15076
  }, {
14996
- dataIndex: 'markedPrice',
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
- dataIndex: 'sellingPrice',
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
- dataIndex: 'gift',
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
- dataIndex: 'combination',
15103
+ dataIndex: 'skuType',
15020
15104
  title: "\u662F\u5426\u7EC4\u5408\u88C5",
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));
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;
@@ -15943,13 +16034,15 @@ var GoodList$2 = function GoodList(props, ref) {
15943
16034
  marginTop: '4px'
15944
16035
  }
15945
16036
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16037
+ className: "GoodModalColumns",
15946
16038
  rowSelection: rowSelection,
15947
16039
  rowKey: "specNo",
15948
16040
  columns: columns,
15949
16041
  scroll: {
15950
16042
  x: '100%',
15951
16043
  y: 250
15952
- }
16044
+ },
16045
+ size: "small"
15953
16046
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
15954
16047
  getPopupContainer: function getPopupContainer(triggerNode) {
15955
16048
  return triggerNode.parentElement;
@@ -16187,13 +16280,15 @@ var GoodList$3 = function GoodList(props, ref) {
16187
16280
  marginTop: '4px'
16188
16281
  }
16189
16282
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16283
+ className: "GoodModalColumns",
16190
16284
  rowSelection: rowSelection,
16191
16285
  rowKey: rowCheckKey,
16192
16286
  columns: columns,
16193
16287
  scroll: {
16194
16288
  x: '100%',
16195
16289
  y: 250
16196
- }
16290
+ },
16291
+ size: "small"
16197
16292
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16198
16293
  getPopupContainer: function getPopupContainer(triggerNode) {
16199
16294
  return triggerNode.parentElement;
@@ -16428,7 +16523,8 @@ var GoodList$4 = function GoodList(props, ref) {
16428
16523
  style: {
16429
16524
  marginTop: '4px'
16430
16525
  }
16431
- }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
16526
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({
16527
+ className: "GoodModalColumns",
16432
16528
  rowSelection: rowSelection,
16433
16529
  rowKey: "id",
16434
16530
  columns: columns,
@@ -16436,7 +16532,9 @@ var GoodList$4 = function GoodList(props, ref) {
16436
16532
  x: '100%',
16437
16533
  y: 250
16438
16534
  }
16439
- }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16535
+ }, tableProps), {}, {
16536
+ size: "small"
16537
+ }))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
16440
16538
  getPopupContainer: function getPopupContainer(triggerNode) {
16441
16539
  return triggerNode.parentElement;
16442
16540
  },
@@ -16648,8 +16746,8 @@ function multiSelect() {
16648
16746
  };
16649
16747
  }
16650
16748
 
16651
- 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";
16652
- styleInject(css_248z$b);
16749
+ 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";
16750
+ styleInject(css_248z$d);
16653
16751
 
16654
16752
  var _excluded$e = ["children"];
16655
16753
  var Cell = function Cell(_ref) {
@@ -16750,8 +16848,8 @@ var HighPerformanceTable = function HighPerformanceTable(_ref2) {
16750
16848
  })));
16751
16849
  };
16752
16850
 
16753
- 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";
16754
- styleInject(css_248z$c);
16851
+ 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";
16852
+ styleInject(css_248z$e);
16755
16853
 
16756
16854
  var TrimInput = function TrimInput(props) {
16757
16855
  var handleBlur = function handleBlur(e) {
@@ -17308,11 +17406,12 @@ var SearchHeader = function SearchHeader(_ref) {
17308
17406
  timeOptions = _ref.timeOptions,
17309
17407
  ShopList = _ref.ShopList,
17310
17408
  onSubmit = _ref.onSubmit;
17409
+ console.log('allFields', allFields);
17311
17410
  // const fixedFieldsOptions = useMemo(() => {
17312
17411
  // return allFields.filter(item => fixedFields?.includes(item.id));
17313
17412
  // }, [fixedFields, allFields]);
17314
17413
  return /*#__PURE__*/React__default['default'].createElement("div", {
17315
- className: 'search-header-wrap'
17414
+ className: "search-header-wrap"
17316
17415
  }, /*#__PURE__*/React__default['default'].createElement("div", {
17317
17416
  className: "".concat(status ? 'is-open' : 'not-open')
17318
17417
  }, /*#__PURE__*/React__default['default'].createElement("div", {
@@ -17469,6 +17568,9 @@ var WorkorderList = function WorkorderList(props, ref) {
17469
17568
  return selectedList.map(function (workOrderData) {
17470
17569
  return goodsSourceFormat.workOrderDataToGoods(workOrderData, props.erp);
17471
17570
  });
17571
+ },
17572
+ setDefaultSearchValue: function setDefaultSearchValue(value) {
17573
+ value && form.setFieldsValue(_objectSpread2({}, value));
17472
17574
  }
17473
17575
  };
17474
17576
  });
@@ -17747,21 +17849,116 @@ var WorkorderList = function WorkorderList(props, ref) {
17747
17849
  };
17748
17850
  var WorkorderList$1 = /*#__PURE__*/React.forwardRef(WorkorderList);
17749
17851
 
17750
- // interface GoodModelProps {
17751
- // shopId: number | string;
17752
- // maxLength: number;
17753
- // shopList: any[];
17754
- // width?: string | number;
17755
- // shopCode?: string;
17756
- // companyKey: string;
17757
- // onSubmit: (...args: any[]) => any;
17758
- // }
17852
+ var goodClassTransformValue = function goodClassTransformValue(value, config) {
17853
+ var label = '';
17854
+ var options = (config === null || config === void 0 ? void 0 : config.options) || [];
17855
+ var labelList = kmkfUtils.findLabelBySelectValue(value, options);
17856
+ var labelItem = labelList === null || labelList === void 0 ? void 0 : labelList.pop();
17857
+ label = labelItem === null || labelItem === void 0 ? void 0 : labelItem.label;
17858
+ return {
17859
+ type: 'anylike',
17860
+ keywords: label
17861
+ };
17862
+ };
17863
+ var goodTypeTransformValue = function goodTypeTransformValue(value) {
17864
+ return (value === null || value === void 0 ? void 0 : value.value) ? [value === null || value === void 0 ? void 0 : value.value] : '';
17865
+ };
17866
+ var relationComponentUniqueKeyMap = {
17867
+ //小白熊自定义组件
17868
+ PCE2Z5TXEVPL5D26I7KMBKMB: {
17869
+ //补发类型
17870
+ goodType: {
17871
+ relationComponentKey: '6hldjQ9aMz',
17872
+ reflectKey: 'C7M9rWJMjD_radio',
17873
+ transformValue: function transformValue(value) {
17874
+ return goodTypeTransformValue(value);
17875
+ }
17876
+ },
17877
+ // 产品分类
17878
+ goodClass: {
17879
+ relationComponentKey: '8gozpyUFtA',
17880
+ reflectKey: '2h8KRbxMjD_input',
17881
+ transformValue: function transformValue(value, config) {
17882
+ return goodClassTransformValue(value, config);
17883
+ }
17884
+ }
17885
+ },
17886
+ // 测马奔腾
17887
+ SZF4ZGWZSNW6PYXMCIFEWBXT: {
17888
+ goodType: {
17889
+ relationComponentKey: 'abVTwFX34E',
17890
+ reflectKey: 'ipOHnYquYB_radio',
17891
+ transformValue: function transformValue(value) {
17892
+ return goodTypeTransformValue(value);
17893
+ }
17894
+ },
17895
+ goodClass: {
17896
+ relationComponentKey: 'U0es1pIDaE',
17897
+ reflectKey: 'K1puYheEaE_input',
17898
+ transformValue: function transformValue(value, config) {
17899
+ return goodClassTransformValue(value, config);
17900
+ }
17901
+ }
17902
+ }
17903
+ };
17904
+ // 该方法只用于小白熊定制,当管易商品/管易补发/管易退换货组件的数据来源于关联工单数据,且其补发类型自定义组件选了值,根据该值填充到商品库弹框中类型筛选项
17905
+ var useDefaultSearchValue = (function (props) {
17906
+ var _Object$entries;
17907
+ var form = props.form,
17908
+ _props$companyKey = props.companyKey,
17909
+ companyKey = _props$companyKey === void 0 ? '' : _props$companyKey,
17910
+ source = props.source,
17911
+ erp = props.erp,
17912
+ _props$templateDetail = props.templateDetail,
17913
+ templateDetail = _props$templateDetail === void 0 ? {} : _props$templateDetail;
17914
+ if (source !== 'workOrder' || erp !== 'gy') {
17915
+ return '';
17916
+ }
17917
+ var result = {};
17918
+ var relationComponentKeyMap = relationComponentUniqueKeyMap === null || relationComponentUniqueKeyMap === void 0 ? void 0 : relationComponentUniqueKeyMap[companyKey];
17919
+ if (!relationComponentKeyMap) {
17920
+ return '';
17921
+ }
17922
+ (_Object$entries = Object.entries(relationComponentKeyMap || {})) === null || _Object$entries === void 0 ? void 0 : _Object$entries.forEach(function (_ref) {
17923
+ var _templateDetail$compo;
17924
+ var _ref2 = _slicedToArray(_ref, 2),
17925
+ key = _ref2[0],
17926
+ value = _ref2[1];
17927
+ var matchComponent = templateDetail === null || templateDetail === void 0 ? void 0 : (_templateDetail$compo = templateDetail.componentDtoList) === null || _templateDetail$compo === void 0 ? void 0 : _templateDetail$compo.find(function (item) {
17928
+ return item.uniqueKey === value.relationComponentKey;
17929
+ });
17930
+ if (!matchComponent) {
17931
+ return;
17932
+ }
17933
+ var relationComponentValue = form === null || form === void 0 ? void 0 : form.getFieldValue(value.relationComponentKey);
17934
+ if (relationComponentValue) {
17935
+ if ((value === null || value === void 0 ? void 0 : value.transformValue) && typeof (value === null || value === void 0 ? void 0 : value.transformValue) === 'function') {
17936
+ var _value$transformValue;
17937
+ var newValue = value === null || value === void 0 ? void 0 : (_value$transformValue = value.transformValue) === null || _value$transformValue === void 0 ? void 0 : _value$transformValue.call(value, relationComponentValue, (matchComponent === null || matchComponent === void 0 ? void 0 : matchComponent.componentConfig) || {});
17938
+ if (newValue) {
17939
+ result[value.reflectKey] = newValue;
17940
+ }
17941
+ } else {
17942
+ result[value.reflectKey] = relationComponentValue;
17943
+ }
17944
+ }
17945
+ });
17946
+ return result;
17947
+ });
17948
+
17759
17949
  var GyGoodsModal$1 = function GyGoodsModal(props, ref) {
17760
- var _props$goodsSource;
17950
+ var _props$goodsSource2;
17761
17951
  var _useState = React.useState(),
17762
17952
  _useState2 = _slicedToArray(_useState, 2),
17763
17953
  seletedGooods = _useState2[0],
17764
17954
  setSeletedGooods = _useState2[1];
17955
+ var onSubmit = props.onSubmit,
17956
+ width = props.width;
17957
+ var _useState3 = React.useState(false),
17958
+ _useState4 = _slicedToArray(_useState3, 2),
17959
+ visible = _useState4[0],
17960
+ setVisible = _useState4[1];
17961
+ var goodsListRef = React.useRef(null);
17765
17962
  React.useImperativeHandle(ref, function () {
17766
17963
  return {
17767
17964
  open: function open(shopCode, options) {
@@ -17770,19 +17967,28 @@ var GyGoodsModal$1 = function GyGoodsModal(props, ref) {
17770
17967
  }
17771
17968
  };
17772
17969
  });
17773
- var onSubmit = props.onSubmit,
17774
- width = props.width;
17775
- var _useState3 = React.useState(false),
17776
- _useState4 = _slicedToArray(_useState3, 2),
17777
- visible = _useState4[0],
17778
- setVisible = _useState4[1];
17779
- var goodsListRef = React.useRef(null);
17970
+ React.useEffect(function () {
17971
+ if (visible && goodsListRef.current) {
17972
+ var _props$goodsSource;
17973
+ var defaultSearchValue = useDefaultSearchValue({
17974
+ form: props === null || props === void 0 ? void 0 : props.form,
17975
+ companyKey: props === null || props === void 0 ? void 0 : props.companyKey,
17976
+ source: (_props$goodsSource = props.goodsSource) === null || _props$goodsSource === void 0 ? void 0 : _props$goodsSource.source,
17977
+ erp: 'gy',
17978
+ templateDetail: props === null || props === void 0 ? void 0 : props.templateDetail
17979
+ });
17980
+ if (defaultSearchValue) {
17981
+ var _goodsListRef$current, _goodsListRef$current2;
17982
+ (_goodsListRef$current = goodsListRef.current) === null || _goodsListRef$current === void 0 ? void 0 : (_goodsListRef$current2 = _goodsListRef$current.setDefaultSearchValue) === null || _goodsListRef$current2 === void 0 ? void 0 : _goodsListRef$current2.call(_goodsListRef$current, defaultSearchValue);
17983
+ }
17984
+ }
17985
+ }, [visible]);
17780
17986
  var _onCancel = function onCancel() {
17781
17987
  setVisible(false);
17782
17988
  };
17783
17989
  var onOk = function onOk() {
17784
- var _goodsListRef$current;
17785
- var selectedList = ((_goodsListRef$current = goodsListRef.current) === null || _goodsListRef$current === void 0 ? void 0 : _goodsListRef$current.getSelectGoodList()) || [];
17990
+ var _goodsListRef$current3;
17991
+ var selectedList = ((_goodsListRef$current3 = goodsListRef.current) === null || _goodsListRef$current3 === void 0 ? void 0 : _goodsListRef$current3.getSelectGoodList()) || [];
17786
17992
  onSubmit(selectedList);
17787
17993
  _onCancel();
17788
17994
  };
@@ -17797,7 +18003,7 @@ var GyGoodsModal$1 = function GyGoodsModal(props, ref) {
17797
18003
  },
17798
18004
  onOk: onOk,
17799
18005
  wrapClassName: "goodModal"
17800
- }, ((_props$goodsSource = props.goodsSource) === null || _props$goodsSource === void 0 ? void 0 : _props$goodsSource.source) === 'workOrder' ? /*#__PURE__*/React__default['default'].createElement(WorkorderList$1, {
18006
+ }, ((_props$goodsSource2 = props.goodsSource) === null || _props$goodsSource2 === void 0 ? void 0 : _props$goodsSource2.source) === 'workOrder' ? /*#__PURE__*/React__default['default'].createElement(WorkorderList$1, {
17801
18007
  erp: "gy",
17802
18008
  goodsSource: props.goodsSource,
17803
18009
  seletedGooods: seletedGooods,
@@ -17836,10 +18042,12 @@ var getTableData$5 = function getTableData(_ref, formData) {
17836
18042
  };
17837
18043
  var searchFormData$4 = [{
17838
18044
  label: '规格名称',
17839
- name: 'specName'
18045
+ name: 'skuName',
18046
+ dataIndex: 'specName'
17840
18047
  }, {
17841
18048
  label: '规格编码',
17842
- name: 'specCode'
18049
+ name: 'skuCode',
18050
+ dataIndex: 'specNo'
17843
18051
  }, {
17844
18052
  label: '商品名称',
17845
18053
  name: 'goodName'
@@ -17885,29 +18093,29 @@ var GoodList$5 = function GoodList(props, ref) {
17885
18093
  fixed: true,
17886
18094
  onSelect: function onSelect(record, selected) {
17887
18095
  if (selected) {
17888
- setSelectIds([].concat(_toConsumableArray(selectIds), [record.goodNo]));
18096
+ setSelectIds([].concat(_toConsumableArray(selectIds), [record.id]));
17889
18097
  setSelect([].concat(_toConsumableArray(selectList), [record]));
17890
18098
  } else {
17891
18099
  setSelectIds(selectIds.filter(function (t) {
17892
- return t !== record.goodNo;
18100
+ return t !== record.id;
17893
18101
  }));
17894
18102
  setSelect(selectList.filter(function (t) {
17895
- return t.goodNo !== record.goodNo;
18103
+ return t.id !== record.id;
17896
18104
  }));
17897
18105
  }
17898
18106
  },
17899
18107
  onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
17900
18108
  if (selected) {
17901
18109
  setSelectIds([].concat(_toConsumableArray(selectIds), _toConsumableArray(changeRows.map(function (t) {
17902
- return t.goodNo;
18110
+ return t.id;
17903
18111
  }))));
17904
18112
  setSelect([].concat(_toConsumableArray(selectList), _toConsumableArray(changeRows)));
17905
18113
  } else {
17906
18114
  setSelectIds(lodash.difference(selectIds, changeRows.map(function (t) {
17907
- return t.goodNo;
18115
+ return t.id;
17908
18116
  })));
17909
18117
  var list = lodash.differenceWith(selectList, changeRows, function (arrVal, othVal) {
17910
- return arrVal.goodNo !== othVal.goodNo;
18118
+ return arrVal.id !== othVal.id;
17911
18119
  });
17912
18120
  setSelect(list);
17913
18121
  }
@@ -17915,9 +18123,9 @@ var GoodList$5 = function GoodList(props, ref) {
17915
18123
  getCheckboxProps: function getCheckboxProps(record) {
17916
18124
  var options = {
17917
18125
  disabled: (props.selectedRows || []).map(function (row) {
17918
- return row.goodNo || row.skuId;
17919
- }).includes(record.goodNo || record.skuId),
17920
- name: record.goodNo
18126
+ return row.id || row.specId;
18127
+ }).includes(record.id || record.specId),
18128
+ name: record.id
17921
18129
  };
17922
18130
  return options;
17923
18131
  }
@@ -17925,10 +18133,10 @@ var GoodList$5 = function GoodList(props, ref) {
17925
18133
  var showTable = function showTable() {
17926
18134
  var handleDelete = function handleDelete(record) {
17927
18135
  setSelectIds(selectIds.filter(function (t) {
17928
- return t !== record.goodNo;
18136
+ return t !== record.id;
17929
18137
  }));
17930
18138
  setSelect(selectList.filter(function (t) {
17931
- return t.goodNo !== record.goodNo;
18139
+ return t.id !== record.id;
17932
18140
  }));
17933
18141
  };
17934
18142
  var showColumns = [{
@@ -17952,7 +18160,7 @@ var GoodList$5 = function GoodList(props, ref) {
17952
18160
  }
17953
18161
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, {
17954
18162
  columns: showColumns,
17955
- rowKey: 'goodNo',
18163
+ rowKey: 'id',
17956
18164
  dataSource: selectList,
17957
18165
  scroll: {
17958
18166
  x: '100%',
@@ -17980,13 +18188,15 @@ var GoodList$5 = function GoodList(props, ref) {
17980
18188
  marginTop: '4px'
17981
18189
  }
17982
18190
  }, /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2({
18191
+ className: "GoodModalColumns",
17983
18192
  rowSelection: rowSelection,
17984
- rowKey: "goodNo",
18193
+ rowKey: "id",
17985
18194
  columns: columns,
17986
18195
  scroll: {
17987
18196
  x: '100%',
17988
18197
  y: 250
17989
- }
18198
+ },
18199
+ size: "small"
17990
18200
  }, tableProps))), /*#__PURE__*/React__default['default'].createElement(antd.Popover, {
17991
18201
  getPopupContainer: function getPopupContainer(triggerNode) {
17992
18202
  return triggerNode.parentElement;
@@ -18057,57 +18267,68 @@ var getColumns = function getColumns(_ref) {
18057
18267
  BS_E3_REISSUE_GOODS: [{
18058
18268
  dataIndex: 'sku',
18059
18269
  title: "SKU",
18060
- width: 150
18270
+ width: 150,
18271
+ render: renderTextEllipsis
18061
18272
  }, {
18062
18273
  dataIndex: 'skuId',
18063
18274
  title: "SKU ID",
18064
- width: 150
18275
+ width: 150,
18276
+ render: renderTextEllipsis
18065
18277
  }, {
18066
18278
  dataIndex: 'goodsName',
18067
18279
  title: "\u5546\u54C1\u540D\u79F0",
18068
- width: 150
18280
+ width: 150,
18281
+ render: renderTextEllipsis
18069
18282
  }, {
18070
18283
  dataIndex: 'goodsShortName',
18071
18284
  title: "\u5546\u54C1\u7B80\u79F0",
18072
- width: 150
18285
+ width: 150,
18286
+ render: renderTextEllipsis
18073
18287
  }, {
18074
18288
  dataIndex: 'picPath',
18075
18289
  title: "\u5546\u54C1\u56FE\u7247",
18076
18290
  width: 150,
18077
18291
  render: function render(val) {
18078
18292
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18079
- width: 60,
18293
+ width: 30,
18080
18294
  src: val
18081
18295
  });
18082
18296
  }
18083
18297
  }, {
18084
18298
  dataIndex: 'goodsSn',
18085
18299
  title: "\u8D27\u53F7",
18086
- width: 150
18300
+ width: 150,
18301
+ render: renderTextEllipsis
18087
18302
  }, {
18088
18303
  dataIndex: 'goodsId',
18089
18304
  title: "\u8D27\u53F7ID",
18090
- width: 150
18305
+ width: 150,
18306
+ render: renderTextEllipsis
18091
18307
  }, {
18092
18308
  dataIndex: 'colorName',
18093
18309
  title: "\u989C\u8272\u540D\u79F0",
18094
- width: 150
18310
+ width: 150,
18311
+ render: renderTextEllipsis
18095
18312
  }, {
18096
18313
  dataIndex: 'colorCode',
18097
18314
  title: "\u989C\u8272\u4EE3\u7801",
18098
- width: 150
18315
+ width: 150,
18316
+ render: renderTextEllipsis
18099
18317
  }, {
18100
18318
  dataIndex: 'sizeName',
18101
18319
  title: "\u5C3A\u7801\u540D\u79F0",
18102
- width: 150
18320
+ width: 150,
18321
+ render: renderTextEllipsis
18103
18322
  }, {
18104
18323
  dataIndex: 'sizeCode',
18105
18324
  title: "\u5C3A\u7801\u4EE3\u7801",
18106
- width: 150
18325
+ width: 150,
18326
+ render: renderTextEllipsis
18107
18327
  }, {
18108
18328
  dataIndex: 'brandName',
18109
18329
  title: "\u54C1\u724C\u540D\u79F0",
18110
- width: 150
18330
+ width: 150,
18331
+ render: renderTextEllipsis
18111
18332
  }, {
18112
18333
  dataIndex: 'goodsNumber',
18113
18334
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18134,25 +18355,29 @@ var getColumns = function getColumns(_ref) {
18134
18355
  title: "SKU",
18135
18356
  align: 'center',
18136
18357
  ellipsis: true,
18137
- width: 150
18358
+ width: 150,
18359
+ render: renderTextEllipsis
18138
18360
  }, {
18139
18361
  dataIndex: 'skuId',
18140
18362
  title: "SKU ID",
18141
18363
  align: 'center',
18142
18364
  ellipsis: true,
18143
- width: 150
18365
+ width: 150,
18366
+ render: renderTextEllipsis
18144
18367
  }, {
18145
18368
  dataIndex: 'goodsName',
18146
18369
  title: "\u5546\u54C1\u540D\u79F0",
18147
18370
  align: 'center',
18148
18371
  ellipsis: true,
18149
- width: 150
18372
+ width: 150,
18373
+ render: renderTextEllipsis
18150
18374
  }, {
18151
18375
  dataIndex: 'goodsShortName',
18152
18376
  title: "\u5546\u54C1\u7B80\u79F0",
18153
18377
  align: 'center',
18154
18378
  ellipsis: true,
18155
- width: 100
18379
+ width: 100,
18380
+ render: renderTextEllipsis
18156
18381
  }, {
18157
18382
  dataIndex: 'picPath',
18158
18383
  title: "\u5546\u54C1\u56FE\u7247",
@@ -18161,7 +18386,7 @@ var getColumns = function getColumns(_ref) {
18161
18386
  width: 100,
18162
18387
  render: function render(val) {
18163
18388
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18164
- width: 60,
18389
+ width: 30,
18165
18390
  src: val
18166
18391
  });
18167
18392
  }
@@ -18170,43 +18395,50 @@ var getColumns = function getColumns(_ref) {
18170
18395
  title: "\u8D27\u53F7",
18171
18396
  align: 'center',
18172
18397
  ellipsis: true,
18173
- width: 150
18398
+ width: 150,
18399
+ render: renderTextEllipsis
18174
18400
  }, {
18175
18401
  dataIndex: 'goodsId',
18176
18402
  title: "\u8D27\u53F7ID",
18177
18403
  align: 'center',
18178
18404
  ellipsis: true,
18179
- width: 150
18405
+ width: 150,
18406
+ render: renderTextEllipsis
18180
18407
  }, {
18181
18408
  dataIndex: 'colorName',
18182
18409
  title: "\u989C\u8272\u540D\u79F0",
18183
18410
  align: 'center',
18184
18411
  ellipsis: true,
18185
- width: 100
18412
+ width: 100,
18413
+ render: renderTextEllipsis
18186
18414
  }, {
18187
18415
  dataIndex: 'colorCode',
18188
18416
  title: "\u989C\u8272\u4EE3\u7801",
18189
18417
  align: 'center',
18190
18418
  ellipsis: true,
18191
- width: 150
18419
+ width: 150,
18420
+ render: renderTextEllipsis
18192
18421
  }, {
18193
18422
  dataIndex: 'sizeName',
18194
18423
  title: "\u5C3A\u7801\u540D\u79F0",
18195
18424
  align: 'center',
18196
18425
  ellipsis: true,
18197
- width: 100
18426
+ width: 100,
18427
+ render: renderTextEllipsis
18198
18428
  }, {
18199
18429
  dataIndex: 'sizeCode',
18200
18430
  title: "\u5C3A\u7801\u4EE3\u7801",
18201
18431
  align: 'center',
18202
18432
  ellipsis: true,
18203
- width: 100
18433
+ width: 100,
18434
+ render: renderTextEllipsis
18204
18435
  }, {
18205
18436
  dataIndex: 'brandName',
18206
18437
  title: "\u54C1\u724C\u540D\u79F0",
18207
18438
  align: 'center',
18208
18439
  ellipsis: true,
18209
- width: 150
18440
+ width: 150,
18441
+ render: renderTextEllipsis
18210
18442
  }, {
18211
18443
  dataIndex: 'goodsNumber',
18212
18444
  title: "\u5546\u54C1\u6570\u91CF",
@@ -18287,7 +18519,8 @@ var getColumns = function getColumns(_ref) {
18287
18519
  title: "\u5957\u9910SKU",
18288
18520
  align: 'center',
18289
18521
  ellipsis: true,
18290
- width: 150
18522
+ width: 150,
18523
+ render: renderTextEllipsis
18291
18524
  }, {
18292
18525
  dataIndex: 'tcGoodsNumber',
18293
18526
  title: "\u5957\u9910\u5957\u6570",
@@ -18347,19 +18580,22 @@ var getColumns$1 = function getColumns(_ref) {
18347
18580
  title: "".concat(text, "sku\u540D\u79F0"),
18348
18581
  align: 'center',
18349
18582
  ellipsis: true,
18350
- width: 250
18583
+ width: 250,
18584
+ render: renderTextEllipsis
18351
18585
  }, {
18352
18586
  dataIndex: 'sku',
18353
18587
  title: "".concat(text, "sku\u7F16\u7801"),
18354
18588
  align: 'center',
18355
18589
  ellipsis: true,
18356
- width: 100
18590
+ width: 100,
18591
+ render: renderTextEllipsis
18357
18592
  }, {
18358
18593
  dataIndex: 'name',
18359
18594
  title: "".concat(text, "\u540D\u79F0"),
18360
18595
  align: 'center',
18361
18596
  ellipsis: true,
18362
- width: 250
18597
+ width: 250,
18598
+ render: renderTextEllipsis
18363
18599
  }, {
18364
18600
  dataIndex: 'pic',
18365
18601
  title: "\u56FE\u7247",
@@ -18368,7 +18604,7 @@ var getColumns$1 = function getColumns(_ref) {
18368
18604
  width: 100,
18369
18605
  render: function render(val) {
18370
18606
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
18371
- width: 60,
18607
+ width: 30,
18372
18608
  src: val
18373
18609
  });
18374
18610
  }
@@ -18377,7 +18613,8 @@ var getColumns$1 = function getColumns(_ref) {
18377
18613
  title: "".concat(text, "\u7F16\u7801"),
18378
18614
  align: 'center',
18379
18615
  ellipsis: true,
18380
- width: 100
18616
+ width: 100,
18617
+ render: renderTextEllipsis
18381
18618
  }, {
18382
18619
  dataIndex: 'money',
18383
18620
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -18405,10 +18642,10 @@ var getColumns$1 = function getColumns(_ref) {
18405
18642
  }
18406
18643
  }, {
18407
18644
  dataIndex: 'share',
18408
- title: "\u5206\u644A\u4EF7",
18645
+ title: "\u5747\u644A\u5355\u4EF7",
18409
18646
  align: 'center',
18410
18647
  ellipsis: true,
18411
- width: 70
18648
+ width: 120
18412
18649
  }, {
18413
18650
  dataIndex: 'type',
18414
18651
  title: "\u8D60\u54C1\u7C7B\u578B",
@@ -18420,13 +18657,15 @@ var getColumns$1 = function getColumns(_ref) {
18420
18657
  title: "\u6279\u6B21\u53F7",
18421
18658
  align: 'center',
18422
18659
  ellipsis: true,
18423
- width: 100
18660
+ width: 100,
18661
+ render: renderTextEllipsis
18424
18662
  }, {
18425
18663
  dataIndex: 'expireDate',
18426
18664
  title: "\u6709\u6548\u671F",
18427
18665
  align: 'center',
18428
18666
  ellipsis: true,
18429
- width: 100
18667
+ width: 100,
18668
+ render: renderTextEllipsis
18430
18669
  }]
18431
18670
  };
18432
18671
  };
@@ -18441,12 +18680,17 @@ var renderGiftType = function renderGiftType(val) {
18441
18680
  6: '天猫优仓赠品',
18442
18681
  7: '淘宝CRM会员送赠'
18443
18682
  };
18444
- return /*#__PURE__*/React__default['default'].createElement("span", null, giftTypeMap[val]);
18683
+ return renderTextEllipsis(giftTypeMap[val]);
18684
+ };
18685
+ var isNumberOrNumberString = function isNumberOrNumberString(value) {
18686
+ if (typeof value === 'number') return true;
18687
+ if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
18688
+ return false;
18445
18689
  };
18446
18690
  var renderFieldMap = {
18447
18691
  num: function num(_ref) {
18448
18692
  var disabled = _ref.disabled,
18449
- updateHandle = _ref.updateHandle;
18693
+ updateDataHandle = _ref.updateDataHandle;
18450
18694
  return function (val, record, index) {
18451
18695
  return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
18452
18696
  style: {
@@ -18456,19 +18700,40 @@ var renderFieldMap = {
18456
18700
  min: 1,
18457
18701
  precision: 0,
18458
18702
  onChange: function onChange(num) {
18459
- return updateHandle(num, index, 'num');
18703
+ updateDataHandle({
18704
+ num: num,
18705
+ orderPrice: num && isNumberOrNumberString(record.sharePrice) ? num * record.price : null
18706
+ }, index);
18460
18707
  }
18461
18708
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
18462
18709
  };
18463
18710
  },
18464
18711
  giftType: function giftType() {
18465
18712
  return renderGiftType;
18713
+ },
18714
+ orderPrice: function orderPrice(_ref2) {
18715
+ var disabled = _ref2.disabled,
18716
+ updateHandle = _ref2.updateHandle;
18717
+ return function (val, record, index) {
18718
+ return !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
18719
+ style: {
18720
+ width: 70
18721
+ },
18722
+ value: val,
18723
+ min: 1,
18724
+ precision: 2,
18725
+ onChange: function onChange(num) {
18726
+ return updateHandle(num, index, 'orderPrice');
18727
+ }
18728
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null);
18729
+ };
18466
18730
  }
18467
18731
  };
18468
- var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18469
- var disabled = _ref2.disabled,
18470
- updateHandle = _ref2.updateHandle,
18471
- operate = _ref2.operate;
18732
+ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref3) {
18733
+ var disabled = _ref3.disabled,
18734
+ updateHandle = _ref3.updateHandle,
18735
+ updateDataHandle = _ref3.updateDataHandle,
18736
+ operate = _ref3.operate;
18472
18737
  return getColumnsMap$1()['WDT_REISSUE_GOODS'].map(function (item) {
18473
18738
  var newItem = _objectSpread2({
18474
18739
  align: 'center',
@@ -18478,7 +18743,8 @@ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18478
18743
  return _objectSpread2(_objectSpread2({}, newItem), {}, {
18479
18744
  render: renderFieldMap === null || renderFieldMap === void 0 ? void 0 : renderFieldMap[item.dataIndex]({
18480
18745
  disabled: disabled,
18481
- updateHandle: updateHandle
18746
+ updateHandle: updateHandle,
18747
+ updateDataHandle: updateDataHandle
18482
18748
  })
18483
18749
  });
18484
18750
  }
@@ -18486,25 +18752,37 @@ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
18486
18752
  });
18487
18753
  };
18488
18754
 
18755
+ function toNum(value) {
18756
+ if (typeof value === 'string') {
18757
+ return value ? +value : void 0;
18758
+ }
18759
+ if (typeof value === 'number') {
18760
+ return value;
18761
+ }
18762
+ return void 0;
18763
+ }
18489
18764
  var getColumns$2 = function getColumns(_ref) {
18490
18765
  var _ref$text = _ref.text,
18491
18766
  text = _ref$text === void 0 ? '' : _ref$text,
18492
18767
  disabled = _ref.disabled,
18493
- updateHandle = _ref.updateHandle;
18768
+ updateHandle = _ref.updateHandle,
18769
+ updateDataHandle = _ref.updateDataHandle;
18494
18770
  return {
18495
18771
  //旺店通补发商品信息
18496
18772
  WDT_REISSUE_GOODS: [{
18497
18773
  dataIndex: 'goodId',
18498
18774
  title: "\u5546\u54C1ID",
18499
- width: 120,
18775
+ width: 250,
18500
18776
  align: 'center',
18501
- ellipsis: true
18777
+ ellipsis: true,
18778
+ render: renderTextEllipsis
18502
18779
  }, {
18503
18780
  dataIndex: 'goodNo',
18504
18781
  title: "\u5546\u54C1\u7F16\u7801",
18505
18782
  align: 'center',
18506
18783
  ellipsis: true,
18507
- width: 180
18784
+ width: 180,
18785
+ render: renderTextEllipsis
18508
18786
  }, {
18509
18787
  dataIndex: 'goodName',
18510
18788
  title: "\u5546\u54C1\u540D\u79F0",
@@ -18519,24 +18797,30 @@ var getColumns$2 = function getColumns(_ref) {
18519
18797
  dataIndex: 'apiGoodsName',
18520
18798
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18521
18799
  width: 200,
18522
- align: 'center'
18800
+ align: 'center',
18801
+ ellipsis: true,
18802
+ render: renderTextEllipsis
18523
18803
  }, {
18524
18804
  dataIndex: 'platformGoodsId',
18525
18805
  title: "\u5E73\u53F0\u5546\u54C1ID",
18526
18806
  width: 180,
18527
- align: 'center'
18807
+ align: 'center',
18808
+ ellipsis: true,
18809
+ render: renderTextEllipsis
18528
18810
  }, {
18529
18811
  dataIndex: 'specId',
18530
18812
  title: "SKUID",
18531
18813
  align: 'center',
18532
18814
  ellipsis: true,
18533
- width: 150
18815
+ width: 150,
18816
+ render: renderTextEllipsis
18534
18817
  }, {
18535
18818
  dataIndex: 'specNo',
18536
18819
  title: "\u5546\u54C1SKU\u7F16\u7801",
18537
18820
  align: 'center',
18538
18821
  ellipsis: true,
18539
- width: 180
18822
+ width: 180,
18823
+ render: renderTextEllipsis
18540
18824
  }, {
18541
18825
  dataIndex: 'specName',
18542
18826
  title: "\u5546\u54C1SKU\u540D\u79F0",
@@ -18551,23 +18835,50 @@ var getColumns$2 = function getColumns(_ref) {
18551
18835
  dataIndex: 'apiSpecName',
18552
18836
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18553
18837
  width: 200,
18554
- align: 'center'
18838
+ align: 'center',
18839
+ ellipsis: true,
18840
+ render: renderTextEllipsis
18555
18841
  }, {
18556
18842
  dataIndex: 'platformSpecId',
18557
18843
  title: "\u5E73\u53F0\u89C4\u683CID",
18558
18844
  width: 180,
18559
- align: 'center'
18845
+ align: 'center',
18846
+ ellipsis: true,
18847
+ render: renderTextEllipsis
18848
+ }, {
18849
+ dataIndex: 'brandName',
18850
+ title: "\u54C1\u724C\u540D\u79F0",
18851
+ width: 180,
18852
+ align: 'center',
18853
+ ellipsis: true,
18854
+ render: renderTextEllipsis
18560
18855
  }, {
18561
18856
  dataIndex: 'orderPrice',
18562
- title: "\u6210\u4EA4\u603B\u91D1\u989D",
18563
- render: function render(val, record) {
18564
- return (record.num || record.num === 0) && (val || val === 0) ? Number(val * record.num).toFixed(2) : null;
18565
- },
18857
+ title: "\u8865\u53D1\u91D1\u989D",
18858
+ align: 'center',
18859
+ // render: (val: number, record: any) => {
18860
+ // return (record.num || record.num === 0) && (val || val === 0)
18861
+ // ? Number(val * record.num).toFixed(2)
18862
+ // : null;
18863
+ // },
18566
18864
  width: 200
18567
18865
  }, {
18568
18866
  dataIndex: 'num',
18569
18867
  title: "\u6570\u91CF",
18570
- width: 100
18868
+ width: 100,
18869
+ validator: function validator(_rule, value) {
18870
+ var goodsName = '';
18871
+ if (((value === null || value === void 0 ? void 0 : value.wdtReissueGoods) || []).some(function (goods) {
18872
+ var num = toNum(goods === null || goods === void 0 ? void 0 : goods.num);
18873
+ var res = typeof num === 'number' ? num < 1 : true;
18874
+ if (res) {
18875
+ goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
18876
+ }
18877
+ return res;
18878
+ })) {
18879
+ return Promise.reject("".concat(goodsName, "\u6570\u91CF\u5FC5\u987B\u5927\u4E8E0"));
18880
+ }
18881
+ }
18571
18882
  }, {
18572
18883
  dataIndex: 'sharePrice',
18573
18884
  title: "\u5206\u644A\u4EF7",
@@ -18584,13 +18895,15 @@ var getColumns$2 = function getColumns(_ref) {
18584
18895
  title: "\u5546\u54C1ID",
18585
18896
  align: 'center',
18586
18897
  ellipsis: true,
18587
- width: 70
18898
+ width: 250,
18899
+ render: renderTextEllipsis
18588
18900
  }, {
18589
18901
  dataIndex: 'goodNo',
18590
18902
  title: "\u5546\u54C1\u7F16\u7801",
18591
18903
  align: 'center',
18592
18904
  ellipsis: true,
18593
- width: 180
18905
+ width: 180,
18906
+ render: renderTextEllipsis
18594
18907
  }, {
18595
18908
  dataIndex: 'goodName',
18596
18909
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18605,24 +18918,30 @@ var getColumns$2 = function getColumns(_ref) {
18605
18918
  dataIndex: 'apiGoodsName',
18606
18919
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18607
18920
  width: 200,
18608
- align: 'center'
18921
+ align: 'center',
18922
+ ellipsis: true,
18923
+ render: renderTextEllipsis
18609
18924
  }, {
18610
18925
  dataIndex: 'platformGoodsId',
18611
18926
  title: "\u5E73\u53F0\u5546\u54C1ID",
18612
18927
  width: 180,
18613
- align: 'center'
18928
+ align: 'center',
18929
+ ellipsis: true,
18930
+ render: renderTextEllipsis
18614
18931
  }, {
18615
18932
  dataIndex: 'specId',
18616
18933
  title: "".concat(text, "SKUID"),
18617
18934
  align: 'center',
18618
18935
  ellipsis: true,
18619
- width: 100
18936
+ width: 150,
18937
+ render: renderTextEllipsis
18620
18938
  }, {
18621
18939
  dataIndex: 'specNo',
18622
18940
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18623
18941
  align: 'center',
18624
18942
  ellipsis: true,
18625
- width: 180
18943
+ width: 180,
18944
+ render: renderTextEllipsis
18626
18945
  }, {
18627
18946
  dataIndex: 'specName',
18628
18947
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18637,12 +18956,23 @@ var getColumns$2 = function getColumns(_ref) {
18637
18956
  dataIndex: 'apiSpecName',
18638
18957
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18639
18958
  width: 200,
18640
- align: 'center'
18959
+ align: 'center',
18960
+ ellipsis: true,
18961
+ render: renderTextEllipsis
18641
18962
  }, {
18642
18963
  dataIndex: 'platformSpecId',
18643
18964
  title: "\u5E73\u53F0\u89C4\u683CID",
18644
18965
  width: 180,
18645
- align: 'center'
18966
+ align: 'center',
18967
+ ellipsis: true,
18968
+ render: renderTextEllipsis
18969
+ }, {
18970
+ dataIndex: 'brandName',
18971
+ title: "\u54C1\u724C\u540D\u79F0",
18972
+ width: 180,
18973
+ align: 'center',
18974
+ ellipsis: true,
18975
+ render: renderTextEllipsis
18646
18976
  }, {
18647
18977
  dataIndex: 'orderPrice',
18648
18978
  title: "\u6210\u4EA4\u603B\u91D1\u989D",
@@ -18682,8 +19012,7 @@ var getColumns$2 = function getColumns(_ref) {
18682
19012
  title: "\u8D60\u54C1\u65B9\u5F0F",
18683
19013
  align: 'center',
18684
19014
  ellipsis: true,
18685
- width: 100,
18686
- render: renderGiftType
19015
+ width: 100
18687
19016
  }],
18688
19017
  //旺店通退货商品信息
18689
19018
  WDT_RETURN_GOODS: [{
@@ -18691,13 +19020,15 @@ var getColumns$2 = function getColumns(_ref) {
18691
19020
  title: "\u5546\u54C1ID",
18692
19021
  align: 'center',
18693
19022
  ellipsis: true,
18694
- width: 70
19023
+ width: 250,
19024
+ render: renderTextEllipsis
18695
19025
  }, {
18696
19026
  dataIndex: 'goodNo',
18697
19027
  title: "\u5546\u54C1\u7F16\u7801",
18698
19028
  align: 'center',
18699
19029
  ellipsis: true,
18700
- width: 180
19030
+ width: 180,
19031
+ render: renderTextEllipsis
18701
19032
  }, {
18702
19033
  dataIndex: 'goodName',
18703
19034
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18712,24 +19043,30 @@ var getColumns$2 = function getColumns(_ref) {
18712
19043
  dataIndex: 'apiGoodsName',
18713
19044
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18714
19045
  width: 200,
18715
- align: 'center'
19046
+ align: 'center',
19047
+ ellipsis: true,
19048
+ render: renderTextEllipsis
18716
19049
  }, {
18717
19050
  dataIndex: 'platformGoodsId',
18718
19051
  title: "\u5E73\u53F0\u5546\u54C1ID",
18719
19052
  width: 180,
18720
- align: 'center'
19053
+ align: 'center',
19054
+ ellipsis: true,
19055
+ render: renderTextEllipsis
18721
19056
  }, {
18722
19057
  dataIndex: 'specId',
18723
19058
  title: "".concat(text, "SKUID"),
18724
19059
  align: 'center',
18725
19060
  ellipsis: true,
18726
- width: 100
19061
+ width: 100,
19062
+ render: renderTextEllipsis
18727
19063
  }, {
18728
19064
  dataIndex: 'specNo',
18729
19065
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18730
19066
  align: 'center',
18731
19067
  ellipsis: true,
18732
- width: 180
19068
+ width: 180,
19069
+ render: renderTextEllipsis
18733
19070
  }, {
18734
19071
  dataIndex: 'specName',
18735
19072
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18744,12 +19081,23 @@ var getColumns$2 = function getColumns(_ref) {
18744
19081
  dataIndex: 'apiSpecName',
18745
19082
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18746
19083
  width: 200,
18747
- align: 'center'
19084
+ align: 'center',
19085
+ ellipsis: true,
19086
+ render: renderTextEllipsis
18748
19087
  }, {
18749
19088
  dataIndex: 'platformSpecId',
18750
19089
  title: "\u5E73\u53F0\u89C4\u683CID",
18751
19090
  width: 180,
18752
- align: 'center'
19091
+ align: 'center',
19092
+ ellipsis: true,
19093
+ render: renderTextEllipsis
19094
+ }, {
19095
+ dataIndex: 'brandName',
19096
+ title: "\u54C1\u724C\u540D\u79F0",
19097
+ width: 180,
19098
+ align: 'center',
19099
+ ellipsis: true,
19100
+ render: renderTextEllipsis
18753
19101
  }, {
18754
19102
  dataIndex: 'num',
18755
19103
  title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
@@ -18836,13 +19184,15 @@ var getColumns$2 = function getColumns(_ref) {
18836
19184
  title: "\u5546\u54C1ID",
18837
19185
  align: 'center',
18838
19186
  ellipsis: true,
18839
- width: 70
19187
+ width: 250,
19188
+ render: renderTextEllipsis
18840
19189
  }, {
18841
19190
  dataIndex: 'goodNo',
18842
19191
  title: "\u5546\u54C1\u7F16\u7801",
18843
19192
  align: 'center',
18844
19193
  ellipsis: true,
18845
- width: 180
19194
+ width: 180,
19195
+ render: renderTextEllipsis
18846
19196
  }, {
18847
19197
  dataIndex: 'goodName',
18848
19198
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
@@ -18857,24 +19207,30 @@ var getColumns$2 = function getColumns(_ref) {
18857
19207
  dataIndex: 'apiGoodsName',
18858
19208
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
18859
19209
  width: 200,
18860
- align: 'center'
19210
+ align: 'center',
19211
+ ellipsis: true,
19212
+ render: renderTextEllipsis
18861
19213
  }, {
18862
19214
  dataIndex: 'platformGoodsId',
18863
19215
  title: "\u5E73\u53F0\u5546\u54C1ID",
18864
19216
  width: 180,
18865
- align: 'center'
19217
+ align: 'center',
19218
+ ellipsis: true,
19219
+ render: renderTextEllipsis
18866
19220
  }, {
18867
19221
  dataIndex: 'specId',
18868
19222
  title: "".concat(text, "SKUID"),
18869
19223
  align: 'center',
18870
19224
  ellipsis: true,
18871
- width: 100
19225
+ width: 100,
19226
+ render: renderTextEllipsis
18872
19227
  }, {
18873
19228
  dataIndex: 'specNo',
18874
19229
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
18875
19230
  align: 'center',
18876
19231
  ellipsis: true,
18877
- width: 180
19232
+ width: 180,
19233
+ render: renderTextEllipsis
18878
19234
  }, {
18879
19235
  dataIndex: 'specName',
18880
19236
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
@@ -18889,12 +19245,23 @@ var getColumns$2 = function getColumns(_ref) {
18889
19245
  dataIndex: 'apiSpecName',
18890
19246
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
18891
19247
  width: 200,
18892
- align: 'center'
19248
+ align: 'center',
19249
+ ellipsis: true,
19250
+ render: renderTextEllipsis
18893
19251
  }, {
18894
19252
  dataIndex: 'platformSpecId',
18895
19253
  title: "\u5E73\u53F0\u89C4\u683CID",
18896
19254
  width: 180,
18897
- align: 'center'
19255
+ align: 'center',
19256
+ ellipsis: true,
19257
+ render: renderTextEllipsis
19258
+ }, {
19259
+ dataIndex: 'brandName',
19260
+ title: "\u54C1\u724C\u540D\u79F0",
19261
+ width: 180,
19262
+ align: 'center',
19263
+ ellipsis: true,
19264
+ render: renderTextEllipsis
18898
19265
  }, {
18899
19266
  dataIndex: 'num',
18900
19267
  title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
@@ -18994,43 +19361,50 @@ var getColumns$3 = function getColumns(_ref) {
18994
19361
  title: "\u5546\u54C1\u540D\u79F0",
18995
19362
  align: 'center',
18996
19363
  ellipsis: true,
18997
- width: 250
19364
+ width: 250,
19365
+ render: renderTextEllipsis
18998
19366
  }, {
18999
19367
  dataIndex: 'goodsCode',
19000
19368
  title: "\u5546\u54C1\u7F16\u7801",
19001
19369
  align: 'center',
19002
19370
  ellipsis: true,
19003
- width: 250
19371
+ width: 250,
19372
+ render: renderTextEllipsis
19004
19373
  }, {
19005
19374
  dataIndex: 'skuCode',
19006
19375
  title: "sku\u7F16\u7801",
19007
19376
  align: 'center',
19008
19377
  ellipsis: true,
19009
- width: 250
19378
+ width: 250,
19379
+ render: renderTextEllipsis
19010
19380
  }, {
19011
19381
  dataIndex: 'skuName',
19012
19382
  title: "\u7EBF\u4E0Asku\u540D\u79F0",
19013
19383
  align: 'center',
19014
19384
  ellipsis: true,
19015
- width: 250
19385
+ width: 250,
19386
+ render: renderTextEllipsis
19016
19387
  }, {
19017
19388
  dataIndex: 'olnSkuCode',
19018
19389
  title: "\u7EBF\u4E0Asku\u7F16\u7801",
19019
19390
  align: 'center',
19020
19391
  ellipsis: true,
19021
- width: 150
19392
+ width: 150,
19393
+ render: renderTextEllipsis
19022
19394
  }, {
19023
19395
  dataIndex: 'sku',
19024
19396
  title: "\u7EBF\u4E0Asku id",
19025
19397
  align: 'center',
19026
19398
  ellipsis: true,
19027
- width: 150
19399
+ width: 150,
19400
+ render: renderTextEllipsis
19028
19401
  }, {
19029
19402
  dataIndex: 'name',
19030
19403
  title: "\u7EBF\u4E0A\u5546\u54C1\u540D\u79F0",
19031
19404
  align: 'center',
19032
19405
  ellipsis: true,
19033
- width: 250
19406
+ width: 250,
19407
+ render: renderTextEllipsis
19034
19408
  }, {
19035
19409
  dataIndex: 'pic',
19036
19410
  title: "\u7EBF\u4E0A\u56FE\u7247",
@@ -19039,7 +19413,7 @@ var getColumns$3 = function getColumns(_ref) {
19039
19413
  width: 100,
19040
19414
  render: function render(val) {
19041
19415
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19042
- width: 60,
19416
+ width: 30,
19043
19417
  src: val
19044
19418
  });
19045
19419
  }
@@ -19048,25 +19422,29 @@ var getColumns$3 = function getColumns(_ref) {
19048
19422
  title: "\u7EBF\u4E0A\u5546\u54C1\u7F16\u7801",
19049
19423
  align: 'center',
19050
19424
  ellipsis: true,
19051
- width: 150
19425
+ width: 150,
19426
+ render: renderTextEllipsis
19052
19427
  }, {
19053
19428
  dataIndex: 'code',
19054
19429
  title: "\u7EBF\u4E0A\u5546\u54C1id",
19055
19430
  align: 'center',
19056
19431
  ellipsis: true,
19057
- width: 150
19432
+ width: 150,
19433
+ render: renderTextEllipsis
19058
19434
  }, {
19059
19435
  dataIndex: 'barCode',
19060
19436
  title: "\u5546\u54C1\u6761\u7801",
19061
19437
  align: 'center',
19062
19438
  ellipsis: true,
19063
- width: 150
19439
+ width: 150,
19440
+ render: renderTextEllipsis
19064
19441
  }, {
19065
19442
  dataIndex: 'money',
19066
19443
  title: "\u5B9E\u4ED8\u91D1\u989D",
19067
19444
  align: 'center',
19068
19445
  ellipsis: true,
19069
- width: 100
19446
+ width: 100,
19447
+ render: renderTextEllipsis
19070
19448
  }, {
19071
19449
  dataIndex: 'number',
19072
19450
  title: "".concat(text, "\u6570\u91CF"),
@@ -19091,13 +19469,15 @@ var getColumns$3 = function getColumns(_ref) {
19091
19469
  title: "\u5E94\u6536\u6B3E",
19092
19470
  align: 'center',
19093
19471
  ellipsis: true,
19094
- width: 70
19472
+ width: 70,
19473
+ render: renderTextEllipsis
19095
19474
  }, {
19096
19475
  dataIndex: 'type',
19097
19476
  title: "\u8D60\u54C1\u7C7B\u578B",
19098
19477
  align: 'center',
19099
19478
  ellipsis: true,
19100
- width: 100
19479
+ width: 100,
19480
+ render: renderTextEllipsis
19101
19481
  }, {
19102
19482
  dataIndex: 'isPackage',
19103
19483
  title: "\u662F\u5426\u7EC4\u5408\u5546\u54C1",
@@ -19123,7 +19503,7 @@ var getColumns$3 = function getColumns(_ref) {
19123
19503
  };
19124
19504
  };
19125
19505
 
19126
- var isNumberOrNumberString = function isNumberOrNumberString(value) {
19506
+ var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
19127
19507
  if (typeof value === 'number') return true;
19128
19508
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
19129
19509
  return false;
@@ -19132,7 +19512,7 @@ var getYesOrNo$3 = function getYesOrNo(val) {
19132
19512
  if (kmkfUtils.isNull(val)) return null;
19133
19513
  return val ? '是' : '否';
19134
19514
  };
19135
- function toNum(value) {
19515
+ function toNum$1(value) {
19136
19516
  if (typeof value === 'string') {
19137
19517
  return value ? +value : void 0;
19138
19518
  }
@@ -19151,27 +19531,32 @@ var getColumns$4 = function getColumns(_ref) {
19151
19531
  GY_GOODS: [{
19152
19532
  dataIndex: 'goodName',
19153
19533
  title: "\u5546\u54C1\u540D\u79F0",
19154
- width: 150
19534
+ width: 150,
19535
+ render: renderTextEllipsis
19155
19536
  }, {
19156
19537
  dataIndex: 'goodShortName',
19157
19538
  title: "\u5546\u54C1\u7B80\u79F0",
19158
- width: 150
19539
+ width: 150,
19540
+ render: renderTextEllipsis
19159
19541
  }, {
19160
19542
  dataIndex: 'goodNo',
19161
19543
  title: "\u5546\u54C1\u7F16\u7801",
19162
- width: 200
19544
+ width: 200,
19545
+ render: renderTextEllipsis
19163
19546
  }, {
19164
19547
  dataIndex: 'specName',
19165
19548
  title: "SKU\u540D\u79F0",
19166
19549
  align: 'center',
19167
19550
  ellipsis: true,
19168
- width: 250
19551
+ width: 250,
19552
+ render: renderTextEllipsis
19169
19553
  }, {
19170
19554
  dataIndex: 'specNo',
19171
19555
  title: "SKU\u7F16\u7801",
19172
19556
  align: 'center',
19173
19557
  ellipsis: true,
19174
- width: 150
19558
+ width: 150,
19559
+ render: renderTextEllipsis
19175
19560
  }, {
19176
19561
  dataIndex: 'qty',
19177
19562
  title: "\u6570\u91CF",
@@ -19187,8 +19572,8 @@ var getColumns$4 = function getColumns(_ref) {
19187
19572
  onChange: function onChange(num) {
19188
19573
  updateDataHandle({
19189
19574
  qty: num,
19190
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19191
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19575
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19576
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19192
19577
  }, index);
19193
19578
  }
19194
19579
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19208,7 +19593,7 @@ var getColumns$4 = function getColumns(_ref) {
19208
19593
  onChange: function onChange(num) {
19209
19594
  updateDataHandle({
19210
19595
  price: num,
19211
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19596
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19212
19597
  }, index);
19213
19598
  }
19214
19599
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19262,7 +19647,8 @@ var getColumns$4 = function getColumns(_ref) {
19262
19647
  }, {
19263
19648
  dataIndex: 'skuNote',
19264
19649
  title: "\u5546\u54C1\u5907\u6CE8",
19265
- width: 150
19650
+ width: 150,
19651
+ render: renderTextEllipsis
19266
19652
  }].map(function (item) {
19267
19653
  return _objectSpread2(_objectSpread2({}, item), {}, {
19268
19654
  align: 'center',
@@ -19273,27 +19659,32 @@ var getColumns$4 = function getColumns(_ref) {
19273
19659
  GY_REISSUE_GOODS: [{
19274
19660
  dataIndex: 'goodName',
19275
19661
  title: "\u5546\u54C1\u540D\u79F0",
19276
- width: 150
19662
+ width: 150,
19663
+ render: renderTextEllipsis
19277
19664
  }, {
19278
19665
  dataIndex: 'goodShortName',
19279
19666
  title: "\u5546\u54C1\u7B80\u79F0",
19280
- width: 150
19667
+ width: 150,
19668
+ render: renderTextEllipsis
19281
19669
  }, {
19282
19670
  dataIndex: 'goodNo',
19283
19671
  title: "\u5546\u54C1\u7F16\u7801",
19284
- width: 200
19672
+ width: 200,
19673
+ render: renderTextEllipsis
19285
19674
  }, {
19286
19675
  dataIndex: 'specName',
19287
19676
  title: "SKU\u540D\u79F0",
19288
19677
  align: 'center',
19289
19678
  ellipsis: true,
19290
- width: 250
19679
+ width: 250,
19680
+ render: renderTextEllipsis
19291
19681
  }, {
19292
19682
  dataIndex: 'specNo',
19293
19683
  title: "SKU\u7F16\u7801",
19294
19684
  align: 'center',
19295
19685
  ellipsis: true,
19296
- width: 150
19686
+ width: 150,
19687
+ render: renderTextEllipsis
19297
19688
  }, {
19298
19689
  dataIndex: 'qty',
19299
19690
  title: "\u6570\u91CF",
@@ -19301,7 +19692,7 @@ var getColumns$4 = function getColumns(_ref) {
19301
19692
  validator: function validator(_rule, value) {
19302
19693
  var goodsName = '';
19303
19694
  if (((value === null || value === void 0 ? void 0 : value.gyReissueGoods) || []).some(function (goods) {
19304
- var qty = toNum(goods === null || goods === void 0 ? void 0 : goods.qty);
19695
+ var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
19305
19696
  var res = typeof qty === 'number' ? qty < 1 : true;
19306
19697
  if (res) {
19307
19698
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -19322,8 +19713,8 @@ var getColumns$4 = function getColumns(_ref) {
19322
19713
  onChange: function onChange(num) {
19323
19714
  updateDataHandle({
19324
19715
  qty: num,
19325
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19326
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19716
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19717
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19327
19718
  }, index);
19328
19719
  }
19329
19720
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19343,7 +19734,7 @@ var getColumns$4 = function getColumns(_ref) {
19343
19734
  onChange: function onChange(num) {
19344
19735
  updateDataHandle({
19345
19736
  price: num,
19346
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19737
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19347
19738
  }, index);
19348
19739
  }
19349
19740
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19389,27 +19780,32 @@ var getColumns$4 = function getColumns(_ref) {
19389
19780
  GY_RETURN_GOODS: [{
19390
19781
  dataIndex: 'goodName',
19391
19782
  title: "\u5546\u54C1\u540D\u79F0",
19392
- width: 150
19783
+ width: 150,
19784
+ render: renderTextEllipsis
19393
19785
  }, {
19394
19786
  dataIndex: 'goodShortName',
19395
19787
  title: "\u5546\u54C1\u7B80\u79F0",
19396
- width: 150
19788
+ width: 150,
19789
+ render: renderTextEllipsis
19397
19790
  }, {
19398
19791
  dataIndex: 'goodNo',
19399
19792
  title: "\u5546\u54C1\u7F16\u7801",
19400
- width: 200
19793
+ width: 200,
19794
+ render: renderTextEllipsis
19401
19795
  }, {
19402
19796
  dataIndex: 'specName',
19403
19797
  title: "SKU\u540D\u79F0",
19404
19798
  align: 'center',
19405
19799
  ellipsis: true,
19406
- width: 250
19800
+ width: 250,
19801
+ render: renderTextEllipsis
19407
19802
  }, {
19408
19803
  dataIndex: 'specNo',
19409
19804
  title: "SKU\u7F16\u7801",
19410
19805
  align: 'center',
19411
19806
  ellipsis: true,
19412
- width: 150
19807
+ width: 150,
19808
+ render: renderTextEllipsis
19413
19809
  }, {
19414
19810
  dataIndex: 'qty',
19415
19811
  title: "\u6570\u91CF",
@@ -19417,7 +19813,7 @@ var getColumns$4 = function getColumns(_ref) {
19417
19813
  validator: function validator(_rule, value) {
19418
19814
  var goodsName = '';
19419
19815
  if (((value === null || value === void 0 ? void 0 : value.gyReturnGoods) || []).some(function (goods) {
19420
- var qty = toNum(goods === null || goods === void 0 ? void 0 : goods.qty);
19816
+ var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
19421
19817
  var res = typeof qty === 'number' ? qty < 1 : true;
19422
19818
  if (res) {
19423
19819
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -19438,8 +19834,8 @@ var getColumns$4 = function getColumns(_ref) {
19438
19834
  onChange: function onChange(num) {
19439
19835
  updateDataHandle({
19440
19836
  qty: num,
19441
- amount: num && isNumberOrNumberString(record.price) ? num * record.price : null,
19442
- originAmount: num && isNumberOrNumberString(record.originPrice) ? num * record.originPrice : null
19837
+ amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
19838
+ originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
19443
19839
  }, index);
19444
19840
  }
19445
19841
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19459,7 +19855,7 @@ var getColumns$4 = function getColumns(_ref) {
19459
19855
  onChange: function onChange(num) {
19460
19856
  updateDataHandle({
19461
19857
  price: num,
19462
- amount: num && isNumberOrNumberString(record.qty) ? num * record.qty : null
19858
+ amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
19463
19859
  }, index);
19464
19860
  }
19465
19861
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -19518,7 +19914,7 @@ var fillAttrs = function fillAttrs(item) {
19518
19914
  if (!item.align) item.align = 'center';
19519
19915
  return item;
19520
19916
  };
19521
- function toNum$1(value) {
19917
+ function toNum$2(value) {
19522
19918
  if (typeof value === 'string') {
19523
19919
  return value ? +value : void 0;
19524
19920
  }
@@ -19538,19 +19934,22 @@ var getColumns$5 = function getColumns() {
19538
19934
  title: '商品名称',
19539
19935
  width: 150,
19540
19936
  ellipsis: true,
19541
- align: 'center'
19937
+ align: 'center',
19938
+ render: renderTextEllipsis
19542
19939
  }, {
19543
19940
  dataIndex: 'skuId',
19544
19941
  title: '商品编码',
19545
19942
  width: 150,
19546
19943
  ellipsis: true,
19547
- align: 'center'
19944
+ align: 'center',
19945
+ render: renderTextEllipsis
19548
19946
  }, {
19549
19947
  dataIndex: 'iId',
19550
19948
  title: '款式编码',
19551
19949
  width: 150,
19552
19950
  ellipsis: true,
19553
- align: 'center'
19951
+ align: 'center',
19952
+ render: renderTextEllipsis
19554
19953
  }, {
19555
19954
  dataIndex: 'pic',
19556
19955
  title: '商品图片',
@@ -19559,7 +19958,7 @@ var getColumns$5 = function getColumns() {
19559
19958
  width: 100,
19560
19959
  render: function render(val) {
19561
19960
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19562
- width: 60,
19961
+ width: 30,
19563
19962
  src: val
19564
19963
  });
19565
19964
  }
@@ -19568,7 +19967,8 @@ var getColumns$5 = function getColumns() {
19568
19967
  title: '规格值',
19569
19968
  width: 150,
19570
19969
  ellipsis: true,
19571
- align: 'center'
19970
+ align: 'center',
19971
+ render: renderTextEllipsis
19572
19972
  }, {
19573
19973
  dataIndex: 'saleBasePrice',
19574
19974
  title: '原价',
@@ -19630,7 +20030,8 @@ var getColumns$5 = function getColumns() {
19630
20030
  title: '批次号',
19631
20031
  width: 150,
19632
20032
  ellipsis: true,
19633
- align: 'center'
20033
+ align: 'center',
20034
+ render: renderTextEllipsis
19634
20035
  }, {
19635
20036
  dataIndex: 'isGift',
19636
20037
  title: '是否赠品',
@@ -19657,26 +20058,30 @@ var getColumns$5 = function getColumns() {
19657
20058
  title: '子订单号',
19658
20059
  width: 240,
19659
20060
  ellipsis: true,
19660
- align: 'center'
20061
+ align: 'center',
20062
+ render: renderTextEllipsis
19661
20063
  }],
19662
20064
  JST_REISSUE_GOODS: [{
19663
20065
  dataIndex: 'name',
19664
20066
  title: '商品名称',
19665
20067
  width: 150,
19666
20068
  ellipsis: true,
19667
- align: 'center'
20069
+ align: 'center',
20070
+ render: renderTextEllipsis
19668
20071
  }, {
19669
20072
  dataIndex: 'skuId',
19670
20073
  title: '商品编码',
19671
20074
  width: 150,
19672
20075
  ellipsis: true,
19673
- align: 'center'
20076
+ align: 'center',
20077
+ render: renderTextEllipsis
19674
20078
  }, {
19675
20079
  dataIndex: 'iId',
19676
20080
  title: '款式编码',
19677
20081
  width: 150,
19678
20082
  ellipsis: true,
19679
- align: 'center'
20083
+ align: 'center',
20084
+ render: renderTextEllipsis
19680
20085
  }, {
19681
20086
  dataIndex: 'pic',
19682
20087
  title: '商品图片',
@@ -19685,7 +20090,7 @@ var getColumns$5 = function getColumns() {
19685
20090
  width: 100,
19686
20091
  render: function render(val) {
19687
20092
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19688
- width: 60,
20093
+ width: 30,
19689
20094
  src: val
19690
20095
  });
19691
20096
  }
@@ -19694,7 +20099,8 @@ var getColumns$5 = function getColumns() {
19694
20099
  title: '规格值',
19695
20100
  width: 150,
19696
20101
  ellipsis: true,
19697
- align: 'center'
20102
+ align: 'center',
20103
+ render: renderTextEllipsis
19698
20104
  }, {
19699
20105
  dataIndex: 'saleBasePrice',
19700
20106
  title: '原价',
@@ -19710,19 +20116,21 @@ var getColumns$5 = function getColumns() {
19710
20116
  ellipsis: true,
19711
20117
  align: 'center',
19712
20118
  width: 120,
19713
- validator: function validator(_rule, value) {
19714
- var goodsName = '';
19715
- if (((value === null || value === void 0 ? void 0 : value.jstReissueGoods) || []).some(function (goods) {
19716
- var v = toNum$1(goods === null || goods === void 0 ? void 0 : goods.salePrice);
19717
- var res = typeof v === 'number' ? v < 0 : true;
19718
- if (res) {
19719
- goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
19720
- }
19721
- return res;
19722
- })) {
19723
- return Promise.reject("".concat(goodsName, "\u5355\u4EF7\u4E3A\u5927\u4E8E\u7B49\u4E8E0\u7684\u6570"));
19724
- }
19725
- },
20119
+ // validator: (_rule: any, value: any) => {
20120
+ // let goodsName = '';
20121
+ // if (
20122
+ // (value?.jstReissueGoods || []).some((goods: any) => {
20123
+ // const v = toNum(goods?.salePrice);
20124
+ // const res = typeof v === 'number' ? v < 0 : true;
20125
+ // if (res) {
20126
+ // goodsName = goods?.name ? `[${goods?.name}]` : '';
20127
+ // }
20128
+ // return res;
20129
+ // })
20130
+ // ) {
20131
+ // return Promise.reject(`${goodsName}单价为大于等于0的数`);
20132
+ // }
20133
+ // },
19726
20134
  render: function render(val, record, index) {
19727
20135
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
19728
20136
  style: {
@@ -19745,7 +20153,7 @@ var getColumns$5 = function getColumns() {
19745
20153
  validator: function validator(_rule, value) {
19746
20154
  var goodsName = '';
19747
20155
  if (((value === null || value === void 0 ? void 0 : value.jstReissueGoods) || []).some(function (goods) {
19748
- var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
20156
+ var qty = toNum$2(goods === null || goods === void 0 ? void 0 : goods.qty);
19749
20157
  var res = typeof qty === 'number' ? qty < 1 : true;
19750
20158
  if (res) {
19751
20159
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19804,31 +20212,35 @@ var getColumns$5 = function getColumns() {
19804
20212
  onChange: function onChange(e) {
19805
20213
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
19806
20214
  }
19807
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20215
+ }) : renderTextEllipsis(val);
19808
20216
  }
19809
20217
  }],
19810
20218
  JST_RETURN_GOODS: [{
19811
20219
  dataIndex: 'name',
19812
- title: '商品名称'
20220
+ title: '商品名称',
20221
+ render: renderTextEllipsis
19813
20222
  }, {
19814
20223
  dataIndex: 'skuId',
19815
- title: '商品编码'
20224
+ title: '商品编码',
20225
+ render: renderTextEllipsis
19816
20226
  }, {
19817
20227
  dataIndex: 'iId',
19818
- title: '款式编码'
20228
+ title: '款式编码',
20229
+ render: renderTextEllipsis
19819
20230
  }, {
19820
20231
  dataIndex: 'pic',
19821
20232
  title: '商品图片',
19822
20233
  width: 100,
19823
20234
  render: function render(val) {
19824
20235
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19825
- width: 60,
20236
+ width: 30,
19826
20237
  src: val
19827
20238
  });
19828
20239
  }
19829
20240
  }, {
19830
20241
  dataIndex: 'propertiesValue',
19831
- title: '规格值'
20242
+ title: '规格值',
20243
+ render: renderTextEllipsis
19832
20244
  }, {
19833
20245
  dataIndex: 'saleBasePrice',
19834
20246
  title: '原价',
@@ -19842,7 +20254,7 @@ var getColumns$5 = function getColumns() {
19842
20254
  validator: function validator(_rule, value) {
19843
20255
  var goodsName = '';
19844
20256
  if (((value === null || value === void 0 ? void 0 : value.jstReturnGoods) || []).some(function (goods) {
19845
- var v = toNum$1(goods === null || goods === void 0 ? void 0 : goods.salePrice);
20257
+ var v = toNum$2(goods === null || goods === void 0 ? void 0 : goods.salePrice);
19846
20258
  var res = typeof v === 'number' ? v < 0 : true;
19847
20259
  if (res) {
19848
20260
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19872,7 +20284,7 @@ var getColumns$5 = function getColumns() {
19872
20284
  validator: function validator(_rule, value) {
19873
20285
  var goodsName = '';
19874
20286
  if (((value === null || value === void 0 ? void 0 : value.jstReturnGoods) || []).some(function (goods) {
19875
- var qty = toNum$1(goods === null || goods === void 0 ? void 0 : goods.qty);
20287
+ var qty = toNum$2(goods === null || goods === void 0 ? void 0 : goods.qty);
19876
20288
  var res = typeof qty === 'number' ? qty < 1 : true;
19877
20289
  if (res) {
19878
20290
  goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
@@ -19903,7 +20315,8 @@ var getColumns$5 = function getColumns() {
19903
20315
  }
19904
20316
  }, {
19905
20317
  dataIndex: 'batchId',
19906
- title: '批次号'
20318
+ title: '批次号',
20319
+ render: renderTextEllipsis
19907
20320
  }, {
19908
20321
  dataIndex: 'isGift',
19909
20322
  title: '是否赠品',
@@ -19935,35 +20348,40 @@ var getColumns$5 = function getColumns() {
19935
20348
  onChange: function onChange(e) {
19936
20349
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
19937
20350
  }
19938
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20351
+ }) : renderTextEllipsis(val);
19939
20352
  }
19940
20353
  }, {
19941
20354
  dataIndex: 'outerOiId',
19942
20355
  title: '子订单号',
19943
- width: 240
20356
+ width: 240,
20357
+ render: renderTextEllipsis
19944
20358
  }].map(fillAttrs),
19945
20359
  JST_EXCHANGE_GOODS: [{
19946
20360
  dataIndex: 'name',
19947
- title: '商品名称'
20361
+ title: '商品名称',
20362
+ render: renderTextEllipsis
19948
20363
  }, {
19949
20364
  dataIndex: 'skuId',
19950
- title: '商品编码'
20365
+ title: '商品编码',
20366
+ render: renderTextEllipsis
19951
20367
  }, {
19952
20368
  dataIndex: 'iId',
19953
- title: '款式编码'
20369
+ title: '款式编码',
20370
+ render: renderTextEllipsis
19954
20371
  }, {
19955
20372
  dataIndex: 'pic',
19956
20373
  title: '商品图片',
19957
20374
  width: 100,
19958
20375
  render: function render(val) {
19959
20376
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
19960
- width: 60,
20377
+ width: 30,
19961
20378
  src: val
19962
20379
  });
19963
20380
  }
19964
20381
  }, {
19965
20382
  dataIndex: 'propertiesValue',
19966
- title: '规格值'
20383
+ title: '规格值',
20384
+ render: renderTextEllipsis
19967
20385
  }, {
19968
20386
  dataIndex: 'saleBasePrice',
19969
20387
  title: '原价',
@@ -20041,13 +20459,13 @@ var getColumns$5 = function getColumns() {
20041
20459
  onChange: function onChange(e) {
20042
20460
  return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(e.target.value, index, 'remark');
20043
20461
  }
20044
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20462
+ }) : renderTextEllipsis(val);
20045
20463
  }
20046
20464
  }].map(fillAttrs)
20047
20465
  };
20048
20466
  };
20049
20467
 
20050
- function toNum$2(value) {
20468
+ function toNum$3(value) {
20051
20469
  if (typeof value === 'string') {
20052
20470
  return value ? +value : void 0;
20053
20471
  }
@@ -20064,42 +20482,50 @@ var getColumns$6 = function getColumns(_ref) {
20064
20482
  KM_GOODS: [{
20065
20483
  dataIndex: 'skuPropertiesName',
20066
20484
  title: "\u89C4\u683C\u540D\u79F0",
20067
- width: 250
20485
+ width: 250,
20486
+ render: renderTextEllipsis
20068
20487
  }, {
20069
20488
  dataIndex: 'sysTitle',
20070
20489
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20071
- width: 150
20490
+ width: 150,
20491
+ render: renderTextEllipsis
20072
20492
  }, {
20073
20493
  dataIndex: 'title',
20074
20494
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20075
- width: 150
20495
+ width: 150,
20496
+ render: renderTextEllipsis
20076
20497
  }, {
20077
20498
  dataIndex: 'shortTitle',
20078
20499
  title: "\u5546\u54C1\u7B80\u79F0",
20079
- width: 150
20500
+ width: 150,
20501
+ render: renderTextEllipsis
20080
20502
  }, {
20081
20503
  dataIndex: 'sysOuterId',
20082
20504
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20083
- width: 150
20505
+ width: 150,
20506
+ render: renderTextEllipsis
20084
20507
  }, {
20085
20508
  dataIndex: 'skuSysId',
20086
20509
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20087
- width: 150
20510
+ width: 150,
20511
+ render: renderTextEllipsis
20088
20512
  }, {
20089
20513
  dataIndex: 'skuId',
20090
20514
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20091
- width: 170
20515
+ width: 170,
20516
+ render: renderTextEllipsis
20092
20517
  }, {
20093
20518
  dataIndex: 'itemSysId',
20094
20519
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20095
- width: 150
20520
+ width: 150,
20521
+ render: renderTextEllipsis
20096
20522
  }, {
20097
20523
  dataIndex: 'sysPicPath',
20098
20524
  title: "\u5546\u54C1\u56FE\u7247",
20099
20525
  width: 100,
20100
20526
  render: function render(val) {
20101
20527
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20102
- width: 60,
20528
+ width: 30,
20103
20529
  src: val
20104
20530
  });
20105
20531
  }
@@ -20147,7 +20573,8 @@ var getColumns$6 = function getColumns(_ref) {
20147
20573
  }, {
20148
20574
  dataIndex: 'type',
20149
20575
  title: "\u5546\u54C1\u7C7B\u578B",
20150
- width: 150
20576
+ width: 150,
20577
+ render: renderTextEllipsis
20151
20578
  }].map(function (item) {
20152
20579
  return _objectSpread2(_objectSpread2({}, item), {}, {
20153
20580
  align: 'center',
@@ -20157,35 +20584,43 @@ var getColumns$6 = function getColumns(_ref) {
20157
20584
  KM_REISSUE_GOODS: [{
20158
20585
  dataIndex: 'skuPropertiesName',
20159
20586
  title: "\u89C4\u683C\u540D\u79F0",
20160
- width: 250
20587
+ width: 250,
20588
+ render: renderTextEllipsis
20161
20589
  }, {
20162
20590
  dataIndex: 'sysTitle',
20163
20591
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20164
- width: 150
20592
+ width: 150,
20593
+ render: renderTextEllipsis
20165
20594
  }, {
20166
20595
  dataIndex: 'shortTitle',
20167
20596
  title: "\u5546\u54C1\u7B80\u79F0",
20168
- width: 150
20597
+ width: 150,
20598
+ render: renderTextEllipsis
20169
20599
  }, {
20170
20600
  dataIndex: 'title',
20171
20601
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20172
- width: 150
20602
+ width: 150,
20603
+ render: renderTextEllipsis
20173
20604
  }, {
20174
20605
  dataIndex: 'sysOuterId',
20175
20606
  title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
20176
- width: 150
20607
+ width: 150,
20608
+ render: renderTextEllipsis
20177
20609
  }, {
20178
20610
  dataIndex: 'itemSysId',
20179
20611
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20180
- width: 150
20612
+ width: 150,
20613
+ render: renderTextEllipsis
20181
20614
  }, {
20182
20615
  dataIndex: 'skuSysId',
20183
20616
  title: "\u7CFB\u7EDF\u89C4\u683CID",
20184
- width: 150
20617
+ width: 150,
20618
+ render: renderTextEllipsis
20185
20619
  }, {
20186
20620
  dataIndex: 'skuId',
20187
20621
  title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
20188
- width: 170
20622
+ width: 170,
20623
+ render: renderTextEllipsis
20189
20624
  }, {
20190
20625
  dataIndex: 'realNum',
20191
20626
  title: "\u5B9E\u9645\u8865\u53D1\u6570\u91CF",
@@ -20193,7 +20628,7 @@ var getColumns$6 = function getColumns(_ref) {
20193
20628
  validator: function validator(_rule, value) {
20194
20629
  var title = '';
20195
20630
  if (((value === null || value === void 0 ? void 0 : value.kmReissueGoods) || []).some(function (goods) {
20196
- var realNum = toNum$2(goods === null || goods === void 0 ? void 0 : goods.realNum);
20631
+ var realNum = toNum$3(goods === null || goods === void 0 ? void 0 : goods.realNum);
20197
20632
  var res = typeof realNum === 'number' ? realNum < 1 : true;
20198
20633
  if (res) {
20199
20634
  title = (goods === null || goods === void 0 ? void 0 : goods.goodName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.goodName, "]") : '';
@@ -20260,14 +20695,15 @@ var getColumns$6 = function getColumns(_ref) {
20260
20695
  }, {
20261
20696
  dataIndex: 'type',
20262
20697
  title: "\u5546\u54C1\u7C7B\u578B",
20263
- width: 150
20698
+ width: 150,
20699
+ render: renderTextEllipsis
20264
20700
  }, {
20265
20701
  dataIndex: 'sysPicPath',
20266
20702
  title: "\u5546\u54C1\u56FE\u7247",
20267
20703
  width: 100,
20268
20704
  render: function render(val) {
20269
20705
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20270
- width: 60,
20706
+ width: 30,
20271
20707
  src: val
20272
20708
  });
20273
20709
  }
@@ -20280,15 +20716,20 @@ var getColumns$6 = function getColumns(_ref) {
20280
20716
  };
20281
20717
  };
20282
20718
 
20283
- var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
20719
+ var isNumberOrNumberString$2 = function isNumberOrNumberString(value) {
20284
20720
  if (typeof value === 'number') return true;
20285
20721
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
20286
20722
  return false;
20287
20723
  };
20288
- var getYesOrNo$4 = function getYesOrNo(val) {
20289
- if (kmkfUtils.isNull(val)) return null;
20290
- return val ? '是' : '否';
20291
- };
20724
+ function toNum$4(value) {
20725
+ if (typeof value === 'string') {
20726
+ return value ? +value : void 0;
20727
+ }
20728
+ if (typeof value === 'number') {
20729
+ return value;
20730
+ }
20731
+ return void 0;
20732
+ }
20292
20733
  var getColumns$7 = function getColumns(_ref) {
20293
20734
  var _ref$text = _ref.text,
20294
20735
  disabled = _ref.disabled,
@@ -20297,107 +20738,350 @@ var getColumns$7 = function getColumns(_ref) {
20297
20738
  return {
20298
20739
  //巨益商品信息
20299
20740
  JY_GOODS: [{
20300
- dataIndex: 'goodsName',
20301
- title: "\u8D27\u54C1\u540D\u79F0",
20302
- width: 150
20741
+ dataIndex: 'productName',
20742
+ title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20743
+ align: 'center',
20744
+ ellipsis: true,
20745
+ width: 150,
20746
+ render: renderTextEllipsis
20747
+ }, {
20748
+ dataIndex: 'productCode',
20749
+ title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20750
+ align: 'center',
20751
+ ellipsis: true,
20752
+ width: 150,
20753
+ render: renderTextEllipsis
20754
+ }, {
20755
+ dataIndex: 'productId',
20756
+ title: "\u7CFB\u7EDF\u5546\u54C1ID",
20757
+ align: 'center',
20758
+ ellipsis: true,
20759
+ width: 150,
20760
+ render: renderTextEllipsis
20761
+ }, {
20762
+ dataIndex: 'skuName',
20763
+ title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20764
+ align: 'center',
20765
+ ellipsis: true,
20766
+ width: 150,
20767
+ render: renderTextEllipsis
20768
+ }, {
20769
+ dataIndex: 'skuCode',
20770
+ title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20771
+ align: 'center',
20772
+ ellipsis: true,
20773
+ width: 150,
20774
+ render: renderTextEllipsis
20775
+ }, {
20776
+ dataIndex: 'specId',
20777
+ title: "\u89C4\u683CID",
20778
+ align: 'center',
20779
+ ellipsis: true,
20780
+ width: 150,
20781
+ render: renderTextEllipsis
20782
+ },
20783
+ // {
20784
+ // dataIndex: 'goodsName',
20785
+ // title: `货品名称`,
20786
+ // width: 250,
20787
+ // },
20788
+ // {
20789
+ // dataIndex: 'goodsCode',
20790
+ // title: `货品编号`,
20791
+ // width: 200,
20792
+ // },
20793
+ // {
20794
+ // dataIndex: 'goodsId',
20795
+ // title: `货品ID`,
20796
+ // width: 150,
20797
+ // },
20798
+ {
20799
+ dataIndex: 'goodsClass',
20800
+ title: "\u8D27\u54C1\u7C7B\u522B",
20801
+ width: 150,
20802
+ render: renderTextEllipsis
20803
+ }, {
20804
+ dataIndex: 'code',
20805
+ title: "\u6761\u7801",
20806
+ width: 150,
20807
+ render: renderTextEllipsis
20808
+ },
20809
+ // {
20810
+ // dataIndex: 'specName',
20811
+ // title: `规格名称`,
20812
+ // align: 'center',
20813
+ // ellipsis: true,
20814
+ // width: 200,
20815
+ // },
20816
+ // {
20817
+ // dataIndex: 'specCode',
20818
+ // title: `规格编号`,
20819
+ // align: 'center',
20820
+ // ellipsis: true,
20821
+ // width: 150,
20822
+ // },
20823
+ {
20824
+ dataIndex: 'mallProductName',
20825
+ title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20826
+ align: 'center',
20827
+ ellipsis: true,
20828
+ width: 250,
20829
+ render: renderTextEllipsis
20830
+ }, {
20831
+ dataIndex: 'mallProductOutCode',
20832
+ title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20833
+ align: 'center',
20834
+ ellipsis: true,
20835
+ width: 150,
20836
+ render: renderTextEllipsis
20837
+ }, {
20838
+ dataIndex: 'mallProductId',
20839
+ title: "\u5E73\u53F0\u5546\u54C1ID",
20840
+ align: 'center',
20841
+ ellipsis: true,
20842
+ width: 250,
20843
+ render: renderTextEllipsis
20844
+ }, {
20845
+ dataIndex: 'mallSkuName',
20846
+ title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20847
+ align: 'center',
20848
+ ellipsis: true,
20849
+ width: 250,
20850
+ render: renderTextEllipsis
20851
+ }, {
20852
+ dataIndex: 'mallSkuId',
20853
+ title: "\u5E73\u53F0\u89C4\u683CID",
20854
+ align: 'center',
20855
+ ellipsis: true,
20856
+ width: 250,
20857
+ render: renderTextEllipsis
20858
+ }, {
20859
+ dataIndex: 'sellCount',
20860
+ title: "\u6570\u91CF",
20861
+ width: 100,
20862
+ render: function render(val, record, index) {
20863
+ return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
20864
+ style: {
20865
+ width: 70
20866
+ },
20867
+ value: val,
20868
+ min: 1,
20869
+ precision: 0,
20870
+ onChange: function onChange(num) {
20871
+ updateDataHandle({
20872
+ sellCount: num,
20873
+ sellTotal: num && isNumberOrNumberString$2(record.sellPrice) ? num * record.sellPrice : null
20874
+ }, index);
20875
+ }
20876
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20877
+ }
20878
+ }, {
20879
+ dataIndex: 'sellPrice',
20880
+ title: "\u5355\u4EF7",
20881
+ width: 150,
20882
+ render: function render(val, record, index) {
20883
+ return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
20884
+ style: {
20885
+ width: 130
20886
+ },
20887
+ value: val,
20888
+ min: 0,
20889
+ precision: 2,
20890
+ onChange: function onChange(num) {
20891
+ updateDataHandle({
20892
+ sellPrice: num,
20893
+ sellTotal: num && isNumberOrNumberString$2(record.sellCount) ? num * record.sellCount : null
20894
+ }, index);
20895
+ }
20896
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
20897
+ }
20303
20898
  }, {
20304
- dataIndex: 'goodsCode',
20305
- title: "\u8D27\u54C1\u7F16\u53F7",
20306
- width: 200
20899
+ dataIndex: 'mallSellingPrice',
20900
+ title: "\u5E73\u53F0\u5546\u54C1\u4EF7\u683C",
20901
+ width: 150
20307
20902
  }, {
20308
- dataIndex: 'goodsId',
20309
- title: "\u8D27\u54C1ID",
20903
+ dataIndex: 'sellTotal',
20904
+ title: "\u91D1\u989D",
20310
20905
  width: 150
20311
20906
  }, {
20312
- dataIndex: 'goodsClass',
20313
- title: "\u8D27\u54C1\u7C7B\u522B",
20907
+ dataIndex: 'settlementPrice',
20908
+ title: "\u7ED3\u7B97\u4EF7",
20314
20909
  width: 150
20315
20910
  }, {
20316
- dataIndex: 'code',
20317
- title: "\u6761\u7801",
20911
+ dataIndex: 'divideOrderFee',
20912
+ title: "\u5206\u644A\u5B9E\u4ED8\u91D1\u989D",
20318
20913
  width: 150
20319
20914
  }, {
20320
- dataIndex: 'specName',
20321
- title: "\u89C4\u683C\u540D\u79F0",
20322
- align: 'center',
20323
- ellipsis: true,
20324
- width: 200
20915
+ dataIndex: 'bfit',
20916
+ title: "\u662F\u5426\u7EC4\u5408\u88C5",
20917
+ width: 150,
20918
+ render: function render(val, record, index) {
20919
+ return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
20920
+ dropdownStyle: {
20921
+ zIndex: 2000
20922
+ },
20923
+ getPopupContainer: function getPopupContainer() {
20924
+ return document.body;
20925
+ },
20926
+ value: val,
20927
+ onChange: function onChange(value) {
20928
+ updateHandle(value, index, 'bfit');
20929
+ },
20930
+ options: [{
20931
+ label: '是',
20932
+ value: 'True'
20933
+ }, {
20934
+ label: '否',
20935
+ value: 'False'
20936
+ }]
20937
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, val === 'True' ? '是' : '否');
20938
+ }
20325
20939
  }, {
20326
- dataIndex: 'specCode',
20327
- title: "\u89C4\u683C\u7F16\u53F7",
20328
- align: 'center',
20329
- ellipsis: true,
20330
- width: 150
20940
+ dataIndex: 'combinationName',
20941
+ title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20942
+ width: 150,
20943
+ render: renderTextEllipsis
20331
20944
  }, {
20332
- dataIndex: 'specId',
20333
- title: "\u89C4\u683CID",
20334
- align: 'center',
20335
- ellipsis: true,
20336
- width: 150
20945
+ dataIndex: 'combinationCode',
20946
+ title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20947
+ width: 150,
20948
+ render: renderTextEllipsis
20337
20949
  }, {
20950
+ dataIndex: 'gift',
20951
+ title: "\u662F\u5426\u8D60\u54C1",
20952
+ width: 150,
20953
+ render: function render(val, record, index) {
20954
+ return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
20955
+ dropdownStyle: {
20956
+ zIndex: 2000
20957
+ },
20958
+ getPopupContainer: function getPopupContainer() {
20959
+ return document.body;
20960
+ },
20961
+ value: val,
20962
+ onChange: function onChange(value) {
20963
+ updateHandle(value, index, 'gift');
20964
+ },
20965
+ options: [{
20966
+ label: '是',
20967
+ value: '1'
20968
+ }, {
20969
+ label: '否',
20970
+ value: '0'
20971
+ }]
20972
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, val === '1' ? '是' : '否');
20973
+ }
20974
+ }].map(function (item) {
20975
+ return _objectSpread2(_objectSpread2({}, item), {}, {
20976
+ align: 'center',
20977
+ ellipsis: true
20978
+ });
20979
+ }),
20980
+ // 巨益补发商品信息
20981
+ JY_REISSUE_GOODS: [{
20338
20982
  dataIndex: 'productName',
20339
20983
  title: "\u7CFB\u7EDF\u5546\u54C1\u540D\u79F0",
20340
20984
  align: 'center',
20341
20985
  ellipsis: true,
20342
- width: 150
20986
+ width: 150,
20987
+ render: renderTextEllipsis
20343
20988
  }, {
20344
20989
  dataIndex: 'productCode',
20345
20990
  title: "\u7CFB\u7EDF\u5546\u54C1\u7F16\u7801",
20346
20991
  align: 'center',
20347
20992
  ellipsis: true,
20348
- width: 150
20993
+ width: 150,
20994
+ render: renderTextEllipsis
20349
20995
  }, {
20350
20996
  dataIndex: 'productId',
20351
20997
  title: "\u7CFB\u7EDF\u5546\u54C1ID",
20352
20998
  align: 'center',
20353
20999
  ellipsis: true,
20354
- width: 150
21000
+ width: 150,
21001
+ render: renderTextEllipsis
20355
21002
  }, {
20356
21003
  dataIndex: 'skuName',
20357
21004
  title: "\u7CFB\u7EDF\u89C4\u683C\u540D\u79F0",
20358
21005
  align: 'center',
20359
21006
  ellipsis: true,
20360
- width: 150
21007
+ width: 150,
21008
+ render: renderTextEllipsis
20361
21009
  }, {
20362
21010
  dataIndex: 'skuCode',
20363
21011
  title: "\u7CFB\u7EDF\u89C4\u683C\u7F16\u7801",
20364
21012
  align: 'center',
20365
21013
  ellipsis: true,
20366
- width: 150
21014
+ width: 150,
21015
+ render: renderTextEllipsis
21016
+ }, {
21017
+ dataIndex: 'specId',
21018
+ title: "\u89C4\u683CID",
21019
+ align: 'center',
21020
+ ellipsis: true,
21021
+ width: 150,
21022
+ render: renderTextEllipsis
21023
+ }, {
21024
+ dataIndex: 'goodsClass',
21025
+ title: "\u8D27\u54C1\u7C7B\u522B",
21026
+ width: 150,
21027
+ render: renderTextEllipsis
21028
+ }, {
21029
+ dataIndex: 'code',
21030
+ title: "\u6761\u7801",
21031
+ width: 150,
21032
+ render: renderTextEllipsis
20367
21033
  }, {
20368
21034
  dataIndex: 'mallProductName',
20369
21035
  title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
20370
21036
  align: 'center',
20371
21037
  ellipsis: true,
20372
- width: 150
21038
+ width: 150,
21039
+ render: renderTextEllipsis
20373
21040
  }, {
20374
21041
  dataIndex: 'mallProductOutCode',
20375
21042
  title: "\u5E73\u53F0\u5546\u54C1\u7F16\u7801",
20376
21043
  align: 'center',
20377
21044
  ellipsis: true,
20378
- width: 150
21045
+ width: 150,
21046
+ render: renderTextEllipsis
20379
21047
  }, {
20380
21048
  dataIndex: 'mallProductId',
20381
21049
  title: "\u5E73\u53F0\u5546\u54C1ID",
20382
21050
  align: 'center',
20383
21051
  ellipsis: true,
20384
- width: 150
21052
+ width: 150,
21053
+ render: renderTextEllipsis
20385
21054
  }, {
20386
21055
  dataIndex: 'mallSkuName',
20387
21056
  title: "\u5E73\u53F0\u89C4\u683C\u540D\u79F0",
20388
21057
  align: 'center',
20389
21058
  ellipsis: true,
20390
- width: 150
21059
+ width: 150,
21060
+ render: renderTextEllipsis
20391
21061
  }, {
20392
21062
  dataIndex: 'mallSkuId',
20393
21063
  title: "\u5E73\u53F0\u89C4\u683CID",
20394
21064
  align: 'center',
20395
21065
  ellipsis: true,
20396
- width: 150
21066
+ width: 150,
21067
+ render: renderTextEllipsis
20397
21068
  }, {
20398
21069
  dataIndex: 'sellCount',
20399
21070
  title: "\u6570\u91CF",
20400
21071
  width: 100,
21072
+ validator: function validator(_rule, value) {
21073
+ var productName = '';
21074
+ if (((value === null || value === void 0 ? void 0 : value.jyReissueGoods) || []).some(function (goods) {
21075
+ var qty = toNum$4(goods === null || goods === void 0 ? void 0 : goods.sellCount);
21076
+ var res = typeof qty === 'number' ? qty < 1 : true;
21077
+ if (res) {
21078
+ productName = (goods === null || goods === void 0 ? void 0 : goods.productName) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.productName, "]") : '';
21079
+ }
21080
+ return res;
21081
+ })) {
21082
+ return Promise.reject("".concat(productName, "\u6570\u91CF\u5FC5\u987B\u5927\u4E8E0"));
21083
+ }
21084
+ },
20401
21085
  render: function render(val, record, index) {
20402
21086
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
20403
21087
  style: {
@@ -20408,9 +21092,8 @@ var getColumns$7 = function getColumns(_ref) {
20408
21092
  precision: 0,
20409
21093
  onChange: function onChange(num) {
20410
21094
  updateDataHandle({
20411
- qty: num,
20412
- amount: num && isNumberOrNumberString$1(record.price) ? num * record.price : null,
20413
- originAmount: num && isNumberOrNumberString$1(record.originPrice) ? num * record.originPrice : null
21095
+ sellCount: num,
21096
+ sellTotal: num && isNumberOrNumberString$2(record.sellPrice) ? num * record.sellPrice : null
20414
21097
  }, index);
20415
21098
  }
20416
21099
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -20429,8 +21112,8 @@ var getColumns$7 = function getColumns(_ref) {
20429
21112
  precision: 2,
20430
21113
  onChange: function onChange(num) {
20431
21114
  updateDataHandle({
20432
- price: num,
20433
- amount: num && isNumberOrNumberString$1(record.qty) ? num * record.qty : null
21115
+ sellPrice: num,
21116
+ sellTotal: num && isNumberOrNumberString$2(record.sellCount) ? num * record.sellCount : null
20434
21117
  }, index);
20435
21118
  }
20436
21119
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, val);
@@ -20443,59 +21126,65 @@ var getColumns$7 = function getColumns(_ref) {
20443
21126
  dataIndex: 'sellTotal',
20444
21127
  title: "\u91D1\u989D",
20445
21128
  width: 150
20446
- }, {
20447
- dataIndex: 'settlementPrice',
20448
- title: "\u7ED3\u7B97\u4EF7",
20449
- width: 150
20450
- }, {
20451
- dataIndex: 'divideOrderFee',
20452
- title: "\u5206\u644A\u5B9E\u4ED8\u91D1\u989D",
20453
- width: 150
20454
21129
  }, {
20455
21130
  dataIndex: 'bfit',
20456
21131
  title: "\u662F\u5426\u7EC4\u5408\u88C5",
20457
21132
  width: 150,
20458
21133
  render: function render(val, record, index) {
20459
21134
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
21135
+ dropdownStyle: {
21136
+ zIndex: 2000
21137
+ },
21138
+ getPopupContainer: function getPopupContainer() {
21139
+ return document.body;
21140
+ },
20460
21141
  value: val,
20461
21142
  onChange: function onChange(value) {
20462
21143
  updateHandle(value, index, 'bfit');
20463
21144
  },
20464
21145
  options: [{
20465
21146
  label: '是',
20466
- value: 1
21147
+ value: 'True'
20467
21148
  }, {
20468
21149
  label: '否',
20469
- value: 0
21150
+ value: 'False'
20470
21151
  }]
20471
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$4(val));
21152
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, val === 'True' ? '是' : '否');
20472
21153
  }
20473
21154
  }, {
20474
21155
  dataIndex: 'combinationName',
20475
21156
  title: "\u7EC4\u5408\u5546\u54C1\u540D\u79F0",
20476
- width: 150
21157
+ width: 150,
21158
+ render: renderTextEllipsis
20477
21159
  }, {
20478
21160
  dataIndex: 'combinationCode',
20479
21161
  title: "\u7EC4\u5408\u5546\u54C1\u7F16\u7801",
20480
- width: 150
21162
+ width: 150,
21163
+ render: renderTextEllipsis
20481
21164
  }, {
20482
21165
  dataIndex: 'gift',
20483
21166
  title: "\u662F\u5426\u8D60\u54C1",
20484
21167
  width: 150,
20485
21168
  render: function render(val, record, index) {
20486
21169
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
21170
+ dropdownStyle: {
21171
+ zIndex: 2000
21172
+ },
21173
+ getPopupContainer: function getPopupContainer() {
21174
+ return document.body;
21175
+ },
20487
21176
  value: val,
20488
21177
  onChange: function onChange(value) {
20489
21178
  updateHandle(value, index, 'gift');
20490
21179
  },
20491
21180
  options: [{
20492
21181
  label: '是',
20493
- value: 1
21182
+ value: '1'
20494
21183
  }, {
20495
21184
  label: '否',
20496
- value: 0
21185
+ value: '0'
20497
21186
  }]
20498
- }) : /*#__PURE__*/React__default['default'].createElement("span", null, getYesOrNo$4(val));
21187
+ }) : /*#__PURE__*/React__default['default'].createElement("span", null, val === '1' ? '是' : '否');
20499
21188
  }
20500
21189
  }].map(function (item) {
20501
21190
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -20503,300 +21192,6 @@ var getColumns$7 = function getColumns(_ref) {
20503
21192
  ellipsis: true
20504
21193
  });
20505
21194
  })
20506
- //巨益补发商品信息
20507
- // JY_REISSUE_GOODS: [
20508
- // {
20509
- // dataIndex: 'goodName',
20510
- // title: `商品名称`,
20511
- // width: 150,
20512
- // },
20513
- // {
20514
- // dataIndex: 'goodShortName',
20515
- // title: `商品简称`,
20516
- // width: 150,
20517
- // },
20518
- // {
20519
- // dataIndex: 'goodNo',
20520
- // title: `商品编码`,
20521
- // width: 200,
20522
- // },
20523
- // {
20524
- // dataIndex: 'specName',
20525
- // title: `SKU名称`,
20526
- // align: 'center',
20527
- // ellipsis: true,
20528
- // width: 250,
20529
- // },
20530
- // {
20531
- // dataIndex: 'specNo',
20532
- // title: `SKU编码`,
20533
- // align: 'center',
20534
- // ellipsis: true,
20535
- // width: 150,
20536
- // },
20537
- // {
20538
- // dataIndex: 'qty',
20539
- // title: `数量`,
20540
- // width: 100,
20541
- // validator: (_rule: any, value: any) => {
20542
- // let goodsName = '';
20543
- // if (
20544
- // (value?.gyReissueGoods || []).some((goods: any) => {
20545
- // const qty = toNum(goods?.qty);
20546
- // const res = typeof qty === 'number' ? qty < 1 : true;
20547
- // if (res) {
20548
- // goodsName = goods?.goodName ? `[${goods?.goodName}]` : '';
20549
- // }
20550
- // return res;
20551
- // })
20552
- // ) {
20553
- // return Promise.reject(`${goodsName}数量必须大于0`);
20554
- // }
20555
- // },
20556
- // render: (val: any, record: any, index: number) =>
20557
- // !disabled ? (
20558
- // <InputNumber
20559
- // style={{ width: 70 }}
20560
- // value={val}
20561
- // min={1}
20562
- // precision={0}
20563
- // onChange={(num) => {
20564
- // updateDataHandle(
20565
- // {
20566
- // qty: num,
20567
- // amount:
20568
- // num && isNumberOrNumberString(record.price)
20569
- // ? num * record.price
20570
- // : null,
20571
- // originAmount:
20572
- // num && isNumberOrNumberString(record.originPrice)
20573
- // ? num * record.originPrice
20574
- // : null,
20575
- // },
20576
- // index,
20577
- // );
20578
- // }}
20579
- // ></InputNumber>
20580
- // ) : (
20581
- // <span>{val}</span>
20582
- // ),
20583
- // },
20584
- // {
20585
- // dataIndex: 'price',
20586
- // title: `实际单价`,
20587
- // width: 150,
20588
- // render: (val: any, record: any, index: number) =>
20589
- // !disabled ? (
20590
- // <InputNumber
20591
- // style={{ width: 130 }}
20592
- // value={val}
20593
- // min={0}
20594
- // precision={2}
20595
- // onChange={(num) => {
20596
- // updateDataHandle(
20597
- // {
20598
- // price: num,
20599
- // amount:
20600
- // num && isNumberOrNumberString(record.qty)
20601
- // ? num * record.qty
20602
- // : null,
20603
- // },
20604
- // index,
20605
- // );
20606
- // }}
20607
- // ></InputNumber>
20608
- // ) : (
20609
- // <span>{val}</span>
20610
- // ),
20611
- // },
20612
- // {
20613
- // dataIndex: 'amount',
20614
- // title: `实际金额`,
20615
- // width: 150,
20616
- // },
20617
- // {
20618
- // dataIndex: 'originPrice',
20619
- // title: `标准单价`,
20620
- // width: 150,
20621
- // },
20622
- // {
20623
- // dataIndex: 'originAmount',
20624
- // title: `标准金额`,
20625
- // width: 150,
20626
- // },
20627
- // {
20628
- // dataIndex: 'isGift',
20629
- // title: `是否赠品`,
20630
- // width: 150,
20631
- // render: (val: number, record: any, index: number) =>
20632
- // record.canEdit && !disabled ? (
20633
- // <Select
20634
- // value={val}
20635
- // onChange={(value) => {
20636
- // updateHandle(value, index, 'isGift');
20637
- // }}
20638
- // options={[
20639
- // { label: '是', value: 1 },
20640
- // { label: '否', value: 0 },
20641
- // ]}
20642
- // />
20643
- // ) : (
20644
- // <span>{getYesOrNo(val)}</span>
20645
- // ),
20646
- // },
20647
- // ].map((item) => ({ ...item, align: 'center', ellipsis: true })),
20648
- // //巨益退货商品信息
20649
- // JY_RETURN_GOODS: [
20650
- // {
20651
- // dataIndex: 'goodName',
20652
- // title: `商品名称`,
20653
- // width: 150,
20654
- // },
20655
- // {
20656
- // dataIndex: 'goodShortName',
20657
- // title: `商品简称`,
20658
- // width: 150,
20659
- // },
20660
- // {
20661
- // dataIndex: 'goodNo',
20662
- // title: `商品编码`,
20663
- // width: 200,
20664
- // },
20665
- // {
20666
- // dataIndex: 'specName',
20667
- // title: `SKU名称`,
20668
- // align: 'center',
20669
- // ellipsis: true,
20670
- // width: 250,
20671
- // },
20672
- // {
20673
- // dataIndex: 'specNo',
20674
- // title: `SKU编码`,
20675
- // align: 'center',
20676
- // ellipsis: true,
20677
- // width: 150,
20678
- // },
20679
- // {
20680
- // dataIndex: 'qty',
20681
- // title: `数量`,
20682
- // width: 100,
20683
- // validator: (_rule: any, value: any) => {
20684
- // let goodsName = '';
20685
- // if (
20686
- // (value?.gyReturnGoods || []).some((goods: any) => {
20687
- // const qty = toNum(goods?.qty);
20688
- // const res = typeof qty === 'number' ? qty < 1 : true;
20689
- // if (res) {
20690
- // goodsName = goods?.goodName ? `[${goods?.goodName}]` : '';
20691
- // }
20692
- // return res;
20693
- // })
20694
- // ) {
20695
- // return Promise.reject(`${goodsName}数量必须大于0`);
20696
- // }
20697
- // },
20698
- // render: (val: any, record: any, index: number) =>
20699
- // !disabled ? (
20700
- // <InputNumber
20701
- // style={{ width: 70 }}
20702
- // value={val}
20703
- // min={1}
20704
- // precision={0}
20705
- // onChange={(num) => {
20706
- // updateDataHandle(
20707
- // {
20708
- // qty: num,
20709
- // amount:
20710
- // num && isNumberOrNumberString(record.price)
20711
- // ? num * record.price
20712
- // : null,
20713
- // originAmount:
20714
- // num && isNumberOrNumberString(record.originPrice)
20715
- // ? num * record.originPrice
20716
- // : null,
20717
- // },
20718
- // index,
20719
- // );
20720
- // }}
20721
- // ></InputNumber>
20722
- // ) : (
20723
- // <span>{val}</span>
20724
- // ),
20725
- // },
20726
- // {
20727
- // dataIndex: 'price',
20728
- // title: `实际单价`,
20729
- // width: 150,
20730
- // render: (val: any, record: any, index: number) =>
20731
- // !disabled ? (
20732
- // <InputNumber
20733
- // style={{ width: 130 }}
20734
- // value={val}
20735
- // min={0}
20736
- // precision={2}
20737
- // onChange={(num) => {
20738
- // updateDataHandle(
20739
- // {
20740
- // price: num,
20741
- // amount:
20742
- // num && isNumberOrNumberString(record.qty)
20743
- // ? num * record.qty
20744
- // : null,
20745
- // },
20746
- // index,
20747
- // );
20748
- // }}
20749
- // ></InputNumber>
20750
- // ) : (
20751
- // <span>{val}</span>
20752
- // ),
20753
- // },
20754
- // {
20755
- // dataIndex: 'amount',
20756
- // title: `实际金额`,
20757
- // width: 150,
20758
- // },
20759
- // {
20760
- // dataIndex: 'originPrice',
20761
- // title: `标准单价`,
20762
- // width: 150,
20763
- // },
20764
- // {
20765
- // dataIndex: 'originAmount',
20766
- // title: `标准金额`,
20767
- // width: 150,
20768
- // },
20769
- // {
20770
- // dataIndex: 'discountFee',
20771
- // title: `让利金额`,
20772
- // width: 150,
20773
- // },
20774
- // {
20775
- // dataIndex: 'amountAfter',
20776
- // title: `让利后金额`,
20777
- // width: 150,
20778
- // },
20779
- // {
20780
- // dataIndex: 'isGift',
20781
- // title: `是否赠品`,
20782
- // width: 150,
20783
- // render: (val: number, record: any, index: number) =>
20784
- // record.canEdit && !disabled ? (
20785
- // <Select
20786
- // value={val}
20787
- // onChange={(value) => {
20788
- // updateHandle(value, index, 'isGift');
20789
- // }}
20790
- // options={[
20791
- // { label: '是', value: 1 },
20792
- // { label: '否', value: 0 },
20793
- // ]}
20794
- // />
20795
- // ) : (
20796
- // <span>{getYesOrNo(val)}</span>
20797
- // ),
20798
- // },
20799
- // ].map((item) => ({ ...item, align: 'center', ellipsis: true })),
20800
21195
  };
20801
21196
  };
20802
21197
 
@@ -20876,19 +21271,22 @@ var getColumns$9 = function getColumns(_ref) {
20876
21271
  title: "".concat(text, "sku\u540D\u79F0"),
20877
21272
  align: 'center',
20878
21273
  ellipsis: true,
20879
- width: 250
21274
+ width: 250,
21275
+ render: renderTextEllipsis
20880
21276
  }, {
20881
21277
  dataIndex: 'sku',
20882
21278
  title: "".concat(text, "sku\u7F16\u7801"),
20883
21279
  align: 'center',
20884
21280
  ellipsis: true,
20885
- width: 100
21281
+ width: 100,
21282
+ render: renderTextEllipsis
20886
21283
  }, {
20887
21284
  dataIndex: 'name',
20888
21285
  title: "".concat(text, "\u540D\u79F0"),
20889
21286
  align: 'center',
20890
21287
  ellipsis: true,
20891
- width: 250
21288
+ width: 250,
21289
+ render: renderTextEllipsis
20892
21290
  }, {
20893
21291
  dataIndex: 'pic',
20894
21292
  title: "\u56FE\u7247",
@@ -20897,7 +21295,7 @@ var getColumns$9 = function getColumns(_ref) {
20897
21295
  width: 100,
20898
21296
  render: function render(val) {
20899
21297
  return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
20900
- width: 60,
21298
+ width: 30,
20901
21299
  src: val
20902
21300
  });
20903
21301
  }
@@ -20906,7 +21304,8 @@ var getColumns$9 = function getColumns(_ref) {
20906
21304
  title: "".concat(text, "\u7F16\u7801"),
20907
21305
  align: 'center',
20908
21306
  ellipsis: true,
20909
- width: 100
21307
+ width: 100,
21308
+ render: renderTextEllipsis
20910
21309
  }, {
20911
21310
  dataIndex: 'money',
20912
21311
  title: "\u5B9E\u4ED8\u91D1\u989D",
@@ -20934,10 +21333,10 @@ var getColumns$9 = function getColumns(_ref) {
20934
21333
  }
20935
21334
  }, {
20936
21335
  dataIndex: 'share',
20937
- title: "\u5206\u644A\u4EF7",
21336
+ title: "\u5747\u644A\u5355\u4EF7",
20938
21337
  align: 'center',
20939
21338
  ellipsis: true,
20940
- width: 70
21339
+ width: 120
20941
21340
  }, {
20942
21341
  dataIndex: 'type',
20943
21342
  title: "\u8D60\u54C1\u7C7B\u578B",
@@ -20987,7 +21386,8 @@ var getColumnsMap$1 = function getColumnsMap(args) {
20987
21386
  })), getColumns$7({
20988
21387
  text: text,
20989
21388
  disabled: disabled,
20990
- updateHandle: updateHandle
21389
+ updateHandle: updateHandle,
21390
+ updateDataHandle: updateDataHandle
20991
21391
  })), getColumns$8({
20992
21392
  text: text,
20993
21393
  disabled: disabled,
@@ -21206,12 +21606,35 @@ var processJyGoods = function processJyGoods(_ref2) {
21206
21606
  var list = _ref2.list,
21207
21607
  canUpdateNumber = _ref2.canUpdateNumber;
21208
21608
  return list.map(function (item) {
21609
+ var goodName = item.goodName,
21610
+ goodNo = item.goodNo,
21611
+ goodId = item.goodId,
21612
+ specName = item.specName,
21613
+ specNo = item.specNo,
21614
+ specBarcode = item.specBarcode,
21615
+ retailPrice = item.retailPrice,
21616
+ isGift = item.isGift,
21617
+ skuType = item.skuType;
21209
21618
  return _objectSpread2(_objectSpread2({}, item), {}, {
21619
+ goodsName: goodName,
21620
+ goodsCode: goodNo,
21621
+ goodsId: goodId,
21622
+ code: specBarcode,
21623
+ specCode: specNo,
21624
+ productName: goodName,
21625
+ productCode: goodNo,
21626
+ productId: goodId,
21627
+ skuName: specName,
21628
+ skuCode: specNo,
21629
+ combinationName: goodName,
21630
+ combinationCode: goodNo,
21631
+ gift: isGift ? '1' : '0',
21632
+ bfit: skuType === 'combine' ? 'True' : 'False',
21210
21633
  uuid: kmkfUtils.uuid(),
21211
21634
  canDelete: true,
21212
21635
  sellCount: 1,
21213
- sellPrice: 0,
21214
- sellTotal: 0,
21636
+ sellPrice: retailPrice,
21637
+ sellTotal: (retailPrice * 1).toFixed(2),
21215
21638
  canEdit: true,
21216
21639
  canUpdateNumber: canUpdateNumber
21217
21640
  });
@@ -21402,6 +21825,7 @@ var GoodsModalMap = {
21402
21825
  KM_GOODS: KmGoodsModal,
21403
21826
  KM_REISSUE_GOODS: KmGoodsModal,
21404
21827
  JY_GOODS: JyGoodsModal$1,
21828
+ JY_REISSUE_GOODS: JyGoodsModal$1,
21405
21829
  OTHER_GOODS: GoodsModal$2
21406
21830
  };
21407
21831
  var systemOrderNoMap = {
@@ -21411,7 +21835,8 @@ var systemOrderNoMap = {
21411
21835
  BS_E3_GOODS: 'orderSn',
21412
21836
  JST_GOODS: 'oId',
21413
21837
  WLN_GOODS: 'tradeNo',
21414
- JY_GOODS: 'tradeNo'
21838
+ JY_GOODS: 'tradeNo',
21839
+ JY_REISSUE_GOODS: 'tradeNo'
21415
21840
  };
21416
21841
  var SelectTradeGoods = function SelectTradeGoods(_ref) {
21417
21842
  var columns = _ref.columns,
@@ -21469,6 +21894,10 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21469
21894
  return item === null || item === void 0 ? void 0 : item[uniqueKey];
21470
21895
  }));
21471
21896
  var handleChangeSelectedKeys = function handleChangeSelectedKeys(keys) {
21897
+ console.log('handleChangeSelectedKeys', keys, unCurrentTradeOriginGoods);
21898
+ console.log('filterDataSource', filterDataSource === null || filterDataSource === void 0 ? void 0 : filterDataSource.map(function (item) {
21899
+ return item === null || item === void 0 ? void 0 : item[uniqueKey];
21900
+ }));
21472
21901
  onChangeSelectedKeys(keys.concat(unCurrentTradeOriginGoods));
21473
21902
  };
21474
21903
  var rowSelection = {
@@ -21494,7 +21923,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21494
21923
  }
21495
21924
  }, isGoods && /*#__PURE__*/React__default['default'].createElement(antd.Row, {
21496
21925
  style: {
21497
- marginBottom: '20px'
21926
+ marginBottom: '12px'
21498
21927
  }
21499
21928
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
21500
21929
  span: 12
@@ -21515,11 +21944,13 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
21515
21944
  };
21516
21945
  })
21517
21946
  }))), /*#__PURE__*/React__default['default'].createElement(antd.Table, {
21947
+ className: "GoodModalColumns",
21518
21948
  rowKey: uniqueKey,
21519
21949
  rowSelection: rowSelection,
21520
21950
  columns: columns,
21521
21951
  dataSource: filterDataSource,
21522
21952
  pagination: false,
21953
+ size: "small",
21523
21954
  scroll: {
21524
21955
  x: 500,
21525
21956
  y: 500
@@ -21592,13 +22023,15 @@ var GoodItem$1 = function GoodItem(props) {
21592
22023
  tradeGoods = props.tradeGoods,
21593
22024
  form = props.form,
21594
22025
  systemOrders = props.systemOrders,
21595
- selectedSystemOrders = props.selectedSystemOrders;
22026
+ selectedSystemOrders = props.selectedSystemOrders,
22027
+ _props$templateDetail = props.templateDetail,
22028
+ templateDetail = _props$templateDetail === void 0 ? {} : _props$templateDetail;
21596
22029
  var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
21597
22030
  // 监听聚水潭退货商品
21598
22031
  var jstReturnGoods = antd.Form === null || antd.Form === void 0 ? void 0 : antd.Form.useWatch('3979edfd6d', form);
21599
22032
  var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
21600
22033
  // 判断是否为商品信息组件
21601
- var isGoods = type && ['WDT_GOODS', 'BS_E3_GOODS', 'GY_GOODS', 'JST_GOODS', 'WLN_GOODS', 'KM_GOODS', 'JY_GOODS'].includes(type) || false;
22034
+ var isGoods = type && ['WDT_GOODS', 'BS_E3_GOODS', 'GY_GOODS', 'JST_GOODS', 'WLN_GOODS', 'KM_GOODS', 'JY_GOODS', 'JY_REISSUE_GOODS'].includes(type) || false;
21602
22035
  var refModal = React.useRef();
21603
22036
  console.debug('表格数据', value);
21604
22037
  var handleDelete = function handleDelete(record, index) {
@@ -21686,6 +22119,7 @@ var GoodItem$1 = function GoodItem(props) {
21686
22119
  case 'KM_GOODS':
21687
22120
  case 'KM_REISSUE_GOODS':
21688
22121
  case 'JY_GOODS':
22122
+ case 'JY_REISSUE_GOODS':
21689
22123
  case 'SKX_GOODS':
21690
22124
  case 'SKX_RETURN_GOODS':
21691
22125
  {
@@ -21702,7 +22136,8 @@ var GoodItem$1 = function GoodItem(props) {
21702
22136
  columns = getWdtReissueGoodColumns({
21703
22137
  disabled: disabled || columnsOptions.disabled,
21704
22138
  updateHandle: updateHandle,
21705
- operate: columnsOptions.operate
22139
+ operate: columnsOptions.operate,
22140
+ updateDataHandle: updateDataHandle
21706
22141
  });
21707
22142
  }
21708
22143
  break;
@@ -21732,8 +22167,9 @@ var GoodItem$1 = function GoodItem(props) {
21732
22167
  var COLUMNS_INFO = COLUMNS_MAP(text);
21733
22168
  return COLUMNS_INFO(type);
21734
22169
  };
21735
- var newColumns = React.useMemo(function () {
21736
- var initBaseInfoColumns = GOODS_INFO_COLUMNS();
22170
+ var getShowFilterColumns = React.useCallback(function (_ref2) {
22171
+ var showHeader = _ref2.showHeader,
22172
+ initBaseInfoColumns = _ref2.initBaseInfoColumns;
21737
22173
  var baseInfoColumns = [];
21738
22174
  var isStringArray = Array.isArray(showHeader) && typeof showHeader[0] === 'string';
21739
22175
  var isObjectArray = Array.isArray(showHeader) && Object.prototype.toString.call(showHeader[0]) === '[object Object]';
@@ -21753,6 +22189,14 @@ var GoodItem$1 = function GoodItem(props) {
21753
22189
  return undefined;
21754
22190
  }).filter(Boolean);
21755
22191
  }
22192
+ return baseInfoColumns;
22193
+ }, [showHeader]);
22194
+ var newColumns = React.useMemo(function () {
22195
+ var initBaseInfoColumns = GOODS_INFO_COLUMNS();
22196
+ var baseInfoColumns = getShowFilterColumns({
22197
+ showHeader: showHeader,
22198
+ initBaseInfoColumns: initBaseInfoColumns
22199
+ });
21756
22200
  var columnList = [{
21757
22201
  dataIndex: '',
21758
22202
  title: '序号',
@@ -21789,8 +22233,16 @@ var GoodItem$1 = function GoodItem(props) {
21789
22233
  return columnList;
21790
22234
  }, [showHeader, value, disabled, hoveredRowIndex]);
21791
22235
  var orderModalColumns = React.useMemo(function () {
21792
- var list = newColumns.filter(function (col) {
21793
- return !['操作', '序号'].includes(col.title);
22236
+ var initBaseInfoColumns = COLUMNS_MAP('', {
22237
+ operate: false,
22238
+ disabled: true
22239
+ })(type);
22240
+ var baseInfoColumns = getShowFilterColumns({
22241
+ showHeader: showHeader,
22242
+ initBaseInfoColumns: initBaseInfoColumns
22243
+ });
22244
+ var list = baseInfoColumns.filter(function (col) {
22245
+ return !['操作'].includes(col.title);
21794
22246
  });
21795
22247
  return [{
21796
22248
  dataIndex: '',
@@ -21802,7 +22254,7 @@ var GoodItem$1 = function GoodItem(props) {
21802
22254
  return /*#__PURE__*/React__default['default'].createElement("span", null, index + 1);
21803
22255
  }
21804
22256
  }].concat(_toConsumableArray(list));
21805
- }, [newColumns]);
22257
+ }, [showHeader, value, disabled, hoveredRowIndex]);
21806
22258
  var orderColumns = React.useMemo(function () {
21807
22259
  var columns = COLUMNS_MAP('', {
21808
22260
  operate: false,
@@ -21915,7 +22367,9 @@ var GoodItem$1 = function GoodItem(props) {
21915
22367
  maxLength: maxLength,
21916
22368
  companyKey: companyKey,
21917
22369
  goodsSource: goodsSource,
21918
- useGoodsSourceFormat: useGoodsSourceFormat
22370
+ useGoodsSourceFormat: useGoodsSourceFormat,
22371
+ form: form,
22372
+ templateDetail: templateDetail
21919
22373
  }));
21920
22374
  };
21921
22375
 
@@ -22550,7 +23004,7 @@ var getWdtOrderListSingleton = function getWdtOrderListSingleton(orderNo) {
22550
23004
  return _objectSpread2(_objectSpread2({}, item), {}, {
22551
23005
  billNo: item.tradeNo,
22552
23006
  billType: kmkfUtils.WDT_ORDER_TYPE_MAP[item.tradeType],
22553
- billTag: item.tagName,
23007
+ billTag: item.tagName || item.tags,
22554
23008
  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]
22555
23009
  });
22556
23010
  });
@@ -22794,15 +23248,21 @@ var getJyOrderListSingleton = function getJyOrderListSingleton(orderNo) {
22794
23248
  extendRequest('/qy/gdfw/order/jyOrderDetail', {
22795
23249
  method: 'post',
22796
23250
  data: {
22797
- tid: orderNo
23251
+ billNo: orderNo
22798
23252
  }
22799
23253
  }).then(function (res) {
22800
23254
  if (res === null || res === void 0 ? void 0 : res.success) {
22801
- var _res$data;
22802
- if (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) {
22803
- res.data.trades = kmkfUtils.filterJyOrders(res === null || res === void 0 ? void 0 : res.data, orderNo);
23255
+ var _res$data, _res$data$tradeOrderD, _res$data3;
23256
+ if (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : (_res$data$tradeOrderD = _res$data.tradeOrderDetails) === null || _res$data$tradeOrderD === void 0 ? void 0 : _res$data$tradeOrderD.length) {
23257
+ var _filterJyOrders, _res$data2;
23258
+ res.data.trades = (_filterJyOrders = kmkfUtils.filterJyOrders(res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.tradeOrderDetails, orderNo)) === null || _filterJyOrders === void 0 ? void 0 : _filterJyOrders.map(function (item) {
23259
+ return _objectSpread2(_objectSpread2({}, item), {}, {
23260
+ tradeType: kmkfUtils.JY_ORDER_TYPE_MAP[item.tradeType],
23261
+ tradeStatus: kmkfUtils.JY_ORDER_STATUS_MAP[item.tradeStatus]
23262
+ });
23263
+ });
22804
23264
  }
22805
- resolve(res.data);
23265
+ resolve(((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.trades) || []);
22806
23266
  // 延迟10秒清除,保证订单的时效性
22807
23267
  setTimeout(function () {
22808
23268
  singletonMap$6.delete(orderNo);
@@ -22893,7 +23353,9 @@ var index$2 = (function (props) {
22893
23353
  var value = props.value,
22894
23354
  _onChange = props.onChange,
22895
23355
  disabled = props.disabled,
22896
- type = props.type;
23356
+ type = props.type,
23357
+ _props$showHeader = props.showHeader,
23358
+ showHeader = _props$showHeader === void 0 ? [] : _props$showHeader;
22897
23359
  var onceRef = React.useRef(false);
22898
23360
  var valueRef = React.useRef(null);
22899
23361
  React.useEffect(function () {
@@ -22921,8 +23383,12 @@ var index$2 = (function (props) {
22921
23383
  }
22922
23384
  }, [value, type]);
22923
23385
  var columns = React.useMemo(function () {
22924
- return columnsMap[type] || [];
22925
- }, [type]);
23386
+ var baseInfoColumns = kmkfUtils.getSystemShowHead({
23387
+ columns: columnsMap[type] || [],
23388
+ showHeader: showHeader
23389
+ });
23390
+ return baseInfoColumns || [];
23391
+ }, [type, showHeader]);
22926
23392
  var getOrderList = /*#__PURE__*/function () {
22927
23393
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
22928
23394
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -23002,17 +23468,8 @@ var index$2 = (function (props) {
23002
23468
  });
23003
23469
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23004
23470
  orders: trades,
23005
- showOrderInfo: trades.map(function (_ref4) {
23006
- var billNo = _ref4.billNo,
23007
- billType = _ref4.billType,
23008
- billTag = _ref4.billTag,
23009
- tradeStatusValue = _ref4.tradeStatusValue;
23010
- return {
23011
- billNo: billNo,
23012
- billType: billType,
23013
- billTag: billTag,
23014
- tradeStatusValue: tradeStatusValue
23015
- };
23471
+ showOrderInfo: trades.map(function (item) {
23472
+ return _objectSpread2({}, item);
23016
23473
  })
23017
23474
  }));
23018
23475
  });
@@ -23028,7 +23485,7 @@ var index$2 = (function (props) {
23028
23485
  };
23029
23486
  }();
23030
23487
  var getBsE3OrderList = /*#__PURE__*/function () {
23031
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(orderNo) {
23488
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(orderNo) {
23032
23489
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
23033
23490
  while (1) switch (_context4.prev = _context4.next) {
23034
23491
  case 0:
@@ -23049,11 +23506,11 @@ var index$2 = (function (props) {
23049
23506
  }, _callee4);
23050
23507
  }));
23051
23508
  return function getBsE3OrderList(_x4) {
23052
- return _ref5.apply(this, arguments);
23509
+ return _ref4.apply(this, arguments);
23053
23510
  };
23054
23511
  }();
23055
23512
  var getJstOrderList = /*#__PURE__*/function () {
23056
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(orderNo) {
23513
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(orderNo) {
23057
23514
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
23058
23515
  while (1) switch (_context5.prev = _context5.next) {
23059
23516
  case 0:
@@ -23072,21 +23529,21 @@ var index$2 = (function (props) {
23072
23529
  }, _callee5);
23073
23530
  }));
23074
23531
  return function getJstOrderList(_x5) {
23075
- return _ref6.apply(this, arguments);
23532
+ return _ref5.apply(this, arguments);
23076
23533
  };
23077
23534
  }();
23078
23535
  var getKmOrderList = /*#__PURE__*/function () {
23079
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(orderNo) {
23536
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(orderNo) {
23080
23537
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
23081
23538
  while (1) switch (_context6.prev = _context6.next) {
23082
23539
  case 0:
23083
23540
  kmUtils.getOrderListSingleton(orderNo).then(function (trades) {
23084
23541
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23085
23542
  orders: trades,
23086
- showOrderInfo: trades.map(function (_ref8) {
23087
- var billNo = _ref8.billNo,
23088
- billType = _ref8.billType,
23089
- billTag = _ref8.billTag;
23543
+ showOrderInfo: trades.map(function (_ref7) {
23544
+ var billNo = _ref7.billNo,
23545
+ billType = _ref7.billType,
23546
+ billTag = _ref7.billTag;
23090
23547
  return {
23091
23548
  billNo: billNo,
23092
23549
  billType: billType,
@@ -23103,11 +23560,11 @@ var index$2 = (function (props) {
23103
23560
  }, _callee6);
23104
23561
  }));
23105
23562
  return function getKmOrderList(_x6) {
23106
- return _ref7.apply(this, arguments);
23563
+ return _ref6.apply(this, arguments);
23107
23564
  };
23108
23565
  }();
23109
23566
  var getGyOrderList = /*#__PURE__*/function () {
23110
- var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(orderNo) {
23567
+ var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(orderNo) {
23111
23568
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
23112
23569
  while (1) switch (_context7.prev = _context7.next) {
23113
23570
  case 0:
@@ -23117,16 +23574,16 @@ var index$2 = (function (props) {
23117
23574
  });
23118
23575
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23119
23576
  orders: trades,
23120
- showOrderInfo: trades.map(function (_ref10) {
23121
- var billNo = _ref10.billNo,
23122
- billType = _ref10.billType,
23123
- billTag = _ref10.billTag,
23124
- tradeTagName = _ref10.tradeTagName,
23125
- deliveryState = _ref10.deliveryState,
23126
- vipCode = _ref10.vipCode,
23127
- shopCode = _ref10.shopCode,
23128
- cancel = _ref10.cancel,
23129
- rest = _objectWithoutProperties(_ref10, _excluded$k);
23577
+ showOrderInfo: trades.map(function (_ref9) {
23578
+ var billNo = _ref9.billNo,
23579
+ billType = _ref9.billType,
23580
+ billTag = _ref9.billTag,
23581
+ tradeTagName = _ref9.tradeTagName,
23582
+ deliveryState = _ref9.deliveryState,
23583
+ vipCode = _ref9.vipCode,
23584
+ shopCode = _ref9.shopCode,
23585
+ cancel = _ref9.cancel,
23586
+ rest = _objectWithoutProperties(_ref9, _excluded$k);
23130
23587
  return _objectSpread2(_objectSpread2({}, rest), {}, {
23131
23588
  billNo: billNo,
23132
23589
  billType: billType,
@@ -23149,11 +23606,11 @@ var index$2 = (function (props) {
23149
23606
  }, _callee7);
23150
23607
  }));
23151
23608
  return function getGyOrderList(_x7) {
23152
- return _ref9.apply(this, arguments);
23609
+ return _ref8.apply(this, arguments);
23153
23610
  };
23154
23611
  }();
23155
23612
  var getJyOrderList = /*#__PURE__*/function () {
23156
- var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(orderNo) {
23613
+ var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(orderNo) {
23157
23614
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
23158
23615
  while (1) switch (_context8.prev = _context8.next) {
23159
23616
  case 0:
@@ -23163,9 +23620,9 @@ var index$2 = (function (props) {
23163
23620
  });
23164
23621
  _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
23165
23622
  orders: trades,
23166
- showOrderInfo: trades.map(function (_ref12) {
23167
- var shopCode = _ref12.shopCode,
23168
- rest = _objectWithoutProperties(_ref12, _excluded2);
23623
+ showOrderInfo: trades.map(function (_ref11) {
23624
+ var shopCode = _ref11.shopCode,
23625
+ rest = _objectWithoutProperties(_ref11, _excluded2);
23169
23626
  return _objectSpread2(_objectSpread2({}, rest), {}, {
23170
23627
  shopCode: shopCode
23171
23628
  });
@@ -23180,7 +23637,7 @@ var index$2 = (function (props) {
23180
23637
  }, _callee8);
23181
23638
  }));
23182
23639
  return function getJyOrderList(_x8) {
23183
- return _ref11.apply(this, arguments);
23640
+ return _ref10.apply(this, arguments);
23184
23641
  };
23185
23642
  }();
23186
23643
  var rowSelection = {
@@ -23224,7 +23681,8 @@ var index$2 = (function (props) {
23224
23681
  size: "small",
23225
23682
  pagination: false,
23226
23683
  scroll: {
23227
- x: 'max-content'
23684
+ x: '100%',
23685
+ y: 500
23228
23686
  },
23229
23687
  locale: {
23230
23688
  emptyText: '暂无数据'
@@ -23232,9 +23690,9 @@ var index$2 = (function (props) {
23232
23690
  }));
23233
23691
  });
23234
23692
 
23235
- 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";
23693
+ 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";
23236
23694
  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"};
23237
- styleInject(css_248z$d);
23695
+ styleInject(css_248z$f);
23238
23696
 
23239
23697
  var CustomizeUpload = function CustomizeUpload(_ref) {
23240
23698
  var _ref$value = _ref.value,
@@ -25021,21 +25479,12 @@ var wdtReissue = function wdtReissue(props) {
25021
25479
  while (1) switch (_context.prev = _context.next) {
25022
25480
  case 0:
25023
25481
  (_typeMap$type5 = typeMap$1[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
25024
- var _typeMap$type6, _ref3, _typeMap$type7;
25482
+ var _typeMap$type6, _ref2, _typeMap$type7;
25025
25483
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
25026
- var showOrderInfo = orders.map(function (_ref2) {
25027
- var billNo = _ref2.billNo,
25028
- billType = _ref2.billType,
25029
- billTag = _ref2.billTag,
25030
- tradeStatusValue = _ref2.tradeStatusValue;
25031
- return {
25032
- billNo: billNo,
25033
- billType: billType,
25034
- billTag: billTag,
25035
- tradeStatusValue: tradeStatusValue
25036
- };
25484
+ var showOrderInfo = orders.map(function (item) {
25485
+ return _objectSpread2({}, item);
25037
25486
  });
25038
- var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type7 = typeMap$1[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder]) || {}), {}, {
25487
+ var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref2 = valueRef.current || {}) === null || _ref2 === void 0 ? void 0 : _ref2[(_typeMap$type7 = typeMap$1[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder]) || {}), {}, {
25039
25488
  showOrderInfo: showOrderInfo,
25040
25489
  orders: orders
25041
25490
  })));
@@ -25081,10 +25530,10 @@ var wdtReissue = function wdtReissue(props) {
25081
25530
  mode: mode
25082
25531
  }))));
25083
25532
  };
25084
- var getGoodDetails = function getGoodDetails(_ref4) {
25533
+ var getGoodDetails = function getGoodDetails(_ref3) {
25085
25534
  var _typeMap$type14, _typeMap$type15, _order$goodDetails;
25086
- var mode = _ref4.mode,
25087
- sysOrderNo = _ref4.sysOrderNo;
25535
+ var mode = _ref3.mode,
25536
+ sysOrderNo = _ref3.sysOrderNo;
25088
25537
  var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type14 = typeMap$1[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.systemOrder];
25089
25538
  var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type15 = typeMap$1[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.systemOrderNo];
25090
25539
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
@@ -25138,6 +25587,9 @@ var wdtReissue = function wdtReissue(props) {
25138
25587
  return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderNo]);
25139
25588
  }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrderNo]]);
25140
25589
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Row, {
25590
+ style: {
25591
+ width: '100%'
25592
+ },
25141
25593
  gutter: 8,
25142
25594
  wrap: true
25143
25595
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
@@ -25267,10 +25719,25 @@ var typeMap$2 = {
25267
25719
  outerOiIdKey: '',
25268
25720
  goodDetailsKey: 'subOrders',
25269
25721
  uniqueKey: 'id'
25722
+ },
25723
+ JY_REISSUE_GOODS: {
25724
+ compType: '补发',
25725
+ key: 'jyReissueGoods',
25726
+ typeName: 'jyReissueType',
25727
+ systemOrder: 'jySystemOrder',
25728
+ systemOrderNo: 'jySystemOrderNo',
25729
+ getOrderList: jyUtils.getJyOrderListSingleton,
25730
+ updateGoodsHandle: kmkfUtils.updateJyGoodsHandle,
25731
+ alwaysShowChooseErpGoodsBtn: true,
25732
+ orderTypeKey: 'orderType',
25733
+ oIdKey: 'tradeNo',
25734
+ outerOiIdKey: '',
25735
+ goodDetailsKey: 'subOrderDetails',
25736
+ isShowSelectTradeGoods: true
25270
25737
  }
25271
25738
  };
25272
25739
  var PublicReissue = function PublicReissue(props) {
25273
- var _typeMap$type33, _typeMap$type38, _typeMap$type39, _typeMap$type40, _typeMap$type41, _value$typeMap$type$s7, _typeMap$type42, _typeMap$type43, _typeMap$type44, _typeMap$type45, _typeMap$type46, _typeMap$type47, _typeMap$type48, _typeMap$type49;
25740
+ var _typeMap$type34, _typeMap$type40, _typeMap$type41, _typeMap$type42, _typeMap$type43, _value$typeMap$type$s8, _typeMap$type44, _typeMap$type45, _typeMap$type46, _typeMap$type47, _typeMap$type48, _typeMap$type49, _typeMap$type50, _typeMap$type51, _typeMap$type52, _value$typeMap$type$s9, _typeMap$type53, _typeMap$type54, _typeMap$type55;
25274
25741
  var value = props.value,
25275
25742
  onChange = props.onChange,
25276
25743
  _props$reasonList = props.reasonList,
@@ -25327,7 +25794,7 @@ var PublicReissue = function PublicReissue(props) {
25327
25794
  (_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
25328
25795
  var _valueRef$current3, _typeMap$type6, _typeMap$type7, _typeMap$type11, _ref3, _typeMap$type12;
25329
25796
  var orders = data || [];
25330
- var showOrderInfo = orders.map(function (orderItem) {
25797
+ var showOrderInfo = orders === null || orders === void 0 ? void 0 : orders.map(function (orderItem) {
25331
25798
  return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
25332
25799
  });
25333
25800
  var typeObj = {};
@@ -25387,9 +25854,11 @@ var PublicReissue = function PublicReissue(props) {
25387
25854
  }))));
25388
25855
  };
25389
25856
  var getGoodDetails = function getGoodDetails(_ref4) {
25390
- var _typeMap$type18, _typeMap$type19, _order$typeMap$type$g, _typeMap$type20, _typeMap$type21;
25857
+ var _typeMap$type18, _typeMap$type19, _value$typeMap$type$s6, _typeMap$type20, _typeMap$type21, _typeMap$type22;
25391
25858
  var mode = _ref4.mode,
25392
- sysOrderNo = _ref4.sysOrderNo;
25859
+ sysOrderNo = _ref4.sysOrderNo,
25860
+ _ref4$isAllOrders = _ref4.isAllOrders,
25861
+ isAllOrders = _ref4$isAllOrders === void 0 ? false : _ref4$isAllOrders;
25393
25862
  var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type18 = typeMap$2[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.systemOrder];
25394
25863
  var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type19 = typeMap$2[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.systemOrderNo];
25395
25864
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
@@ -25403,39 +25872,48 @@ var PublicReissue = function PublicReissue(props) {
25403
25872
  orderBackGoodsLevel: props.orderBackGoodsLevel,
25404
25873
  canEdit: true
25405
25874
  };
25875
+ } else if (['JY_REISSUE_GOODS', 'JY_RETURN_GOODS'].includes(type)) {
25876
+ orderRest = {
25877
+ canEdit: true
25878
+ };
25406
25879
  }
25407
- var goodDetails = (order === null || order === void 0 ? void 0 : (_order$typeMap$type$g = order[typeMap$2[type].goodDetailsKey]) === null || _order$typeMap$type$g === void 0 ? void 0 : _order$typeMap$type$g.length) ? typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type20 = typeMap$2[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.updateGoodsHandle([order], orderRest)) : (_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.updateGoodsHandle([order], orderRest) : [];
25880
+ var orders = isAllOrders ? (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type20 = typeMap$2[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.orders) || [] : [order];
25881
+ var hasGoodDetails = orders === null || orders === void 0 ? void 0 : orders.some(function (order) {
25882
+ var _order$typeMap$type$g;
25883
+ return order === null || order === void 0 ? void 0 : (_order$typeMap$type$g = order[typeMap$2[type].goodDetailsKey]) === null || _order$typeMap$type$g === void 0 ? void 0 : _order$typeMap$type$g.length;
25884
+ });
25885
+ var goodDetails = hasGoodDetails ? typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.updateGoodsHandle(orders, orderRest)) : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.updateGoodsHandle(orders, orderRest) : [];
25408
25886
  var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
25409
- var list = mode ? goodDetails.filter(function (goodItem) {
25887
+ var list = mode && !isAllOrders ? goodDetails.filter(function (goodItem) {
25410
25888
  return !orderNo || goodItem[typeMap$2[type].outerOiIdKey] === orderNo;
25411
25889
  }) : goodDetails;
25412
25890
  return list;
25413
25891
  };
25414
25892
  var changeGoodHandle = function changeGoodHandle(val) {
25415
- var _typeMap$type22;
25893
+ var _typeMap$type23;
25416
25894
  var newValue = _objectSpread2({}, value);
25417
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = val || [];
25895
+ newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)] = val || [];
25418
25896
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
25419
25897
  };
25420
25898
  var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
25421
- var _typeMap$type23, _typeMap$type24, _value$typeMap$type$t2, _typeMap$type29, _value$typeMap$type$t3, _typeMap$type31;
25899
+ var _typeMap$type24, _typeMap$type25, _value$typeMap$type$t2, _typeMap$type30, _value$typeMap$type$t3, _typeMap$type32;
25422
25900
  var newValue = _objectSpread2({}, value);
25423
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.systemOrderNo)] = val;
25424
- if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type24 = typeMap$2[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.systemOrderBillType) {
25425
- var _value$typeMap$type$s6, _typeMap$type25, _typeMap$type27, _typeMap$type28;
25426
- var orders = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type25 = typeMap$2[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.orders) || [];
25901
+ newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type24 = typeMap$2[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.systemOrderNo)] = val;
25902
+ if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type25 = typeMap$2[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderBillType) {
25903
+ var _value$typeMap$type$s7, _typeMap$type26, _typeMap$type28, _typeMap$type29;
25904
+ var orders = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$type26 = typeMap$2[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrder]) === null || _value$typeMap$type$s7 === void 0 ? void 0 : _value$typeMap$type$s7.orders) || [];
25427
25905
  var targetOrder = val && orders.find(function (oItem) {
25428
- var _typeMap$type26;
25429
- return oItem[(_typeMap$type26 = typeMap$2[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.oIdKey] === val;
25906
+ var _typeMap$type27;
25907
+ return oItem[(_typeMap$type27 = typeMap$2[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.oIdKey] === val;
25430
25908
  });
25431
- newValue[(_typeMap$type27 = typeMap$2[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.systemOrderBillType] = targetOrder === null || targetOrder === void 0 ? void 0 : targetOrder[(_typeMap$type28 = typeMap$2[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.orderTypeKey];
25432
- }
25433
- if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type29 = typeMap$2[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0])) {
25434
- var _typeMap$type30;
25435
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type30 = typeMap$2[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.key)] = [];
25436
- } else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type31 = typeMap$2[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
25437
- var _typeMap$type32;
25438
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type32 = typeMap$2[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.key)] = getGoodDetails({
25909
+ newValue[(_typeMap$type28 = typeMap$2[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.systemOrderBillType] = targetOrder === null || targetOrder === void 0 ? void 0 : targetOrder[(_typeMap$type29 = typeMap$2[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.orderTypeKey];
25910
+ }
25911
+ if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type30 = typeMap$2[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0])) {
25912
+ var _typeMap$type31;
25913
+ newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type31 = typeMap$2[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.key)] = [];
25914
+ } else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type32 = typeMap$2[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
25915
+ var _typeMap$type33;
25916
+ newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type33 = typeMap$2[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.key)] = getGoodDetails({
25439
25917
  mode: isStrict,
25440
25918
  sysOrderNo: val
25441
25919
  });
@@ -25443,26 +25921,27 @@ var PublicReissue = function PublicReissue(props) {
25443
25921
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue, 'systemOrder');
25444
25922
  };
25445
25923
  //显示选择商品按钮
25446
- var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type33 = typeMap$2[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.systemOrderNo]);
25924
+ var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type34 = typeMap$2[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.systemOrderNo]);
25447
25925
  var selectedGoodsChange = React.useCallback(function (skuList) {
25448
- var _typeMap$type34, _typeMap$type35, _uniqBy, _typeMap$type36;
25926
+ var _typeMap$type35, _typeMap$type36, _typeMap$type37, _uniqBy, _typeMap$type38;
25449
25927
  var newValue = _objectSpread2({}, value);
25450
25928
  // 原订单商品
25451
25929
  var originTradeGoodList = getGoodDetails({
25452
- mode: isStrict
25930
+ mode: isStrict,
25931
+ isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type35 = typeMap$2[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.isShowSelectTradeGoods
25453
25932
  }) || [];
25454
25933
  // 当前选中的所有商品【包含了原订单+商品库】
25455
- var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type34 = typeMap$2[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.key)]) || [];
25456
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type35 = typeMap$2[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.key)] = (_uniqBy = lodash.uniqBy(originTradeGoodList.concat(currentSelectGoodList), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type36 = typeMap$2[type]) === null || _typeMap$type36 === void 0 ? void 0 : _typeMap$type36.uniqueKey) || 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
25457
- var _typeMap$type37;
25458
- return skuList.includes(item[typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type37 = typeMap$2[type]) === null || _typeMap$type37 === void 0 ? void 0 : _typeMap$type37.uniqueKey]);
25934
+ var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type36 = typeMap$2[type]) === null || _typeMap$type36 === void 0 ? void 0 : _typeMap$type36.key)]) || [];
25935
+ newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type37 = typeMap$2[type]) === null || _typeMap$type37 === void 0 ? void 0 : _typeMap$type37.key)] = (_uniqBy = lodash.uniqBy(originTradeGoodList.concat(currentSelectGoodList), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type38 = typeMap$2[type]) === null || _typeMap$type38 === void 0 ? void 0 : _typeMap$type38.uniqueKey) || 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
25936
+ var _typeMap$type39;
25937
+ return skuList.includes(item[(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type39 = typeMap$2[type]) === null || _typeMap$type39 === void 0 ? void 0 : _typeMap$type39.uniqueKey) || 'uuid']);
25459
25938
  });
25460
25939
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
25461
- }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type38 = typeMap$2[type]) === null || _typeMap$type38 === void 0 ? void 0 : _typeMap$type38.key)], isStrict]);
25940
+ }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.key)], isStrict]);
25462
25941
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Row, {
25463
25942
  gutter: 8,
25464
25943
  wrap: true,
25465
- id: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type39 = typeMap$2[type]) === null || _typeMap$type39 === void 0 ? void 0 : _typeMap$type39.key) || "".concat(Date.now())
25944
+ id: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type41 = typeMap$2[type]) === null || _typeMap$type41 === void 0 ? void 0 : _typeMap$type41.key) || "".concat(Date.now())
25466
25945
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
25467
25946
  className: "gutter-row",
25468
25947
  xs: {
@@ -25478,12 +25957,12 @@ var PublicReissue = function PublicReissue(props) {
25478
25957
  },
25479
25958
  disabled: disabled,
25480
25959
  allowClear: false,
25481
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.systemOrderNo)],
25960
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.systemOrderNo)],
25482
25961
  onChange: function onChange(val) {
25483
25962
  return changeSystemOrderHandle(val);
25484
25963
  },
25485
- placeholder: "\u9009\u62E9".concat((typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type41 = typeMap$2[type]) === null || _typeMap$type41 === void 0 ? void 0 : _typeMap$type41.compType) || '', "\u7CFB\u7EDF\u5355")
25486
- }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.systemOrder]) === null || _value$typeMap$type$s7 === void 0 ? void 0 : _value$typeMap$type$s7.showOrderInfo) || []).map(function (item) {
25964
+ placeholder: "\u9009\u62E9".concat((typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type43 = typeMap$2[type]) === null || _typeMap$type43 === void 0 ? void 0 : _typeMap$type43.compType) || '', "\u7CFB\u7EDF\u5355")
25965
+ }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s8 = value[(_typeMap$type44 = typeMap$2[type]) === null || _typeMap$type44 === void 0 ? void 0 : _typeMap$type44.systemOrder]) === null || _value$typeMap$type$s8 === void 0 ? void 0 : _value$typeMap$type$s8.showOrderInfo) || []).map(function (item) {
25487
25966
  return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
25488
25967
  key: item[typeMap$2[type].oIdKey],
25489
25968
  value: item[typeMap$2[type].oIdKey],
@@ -25505,11 +25984,11 @@ var PublicReissue = function PublicReissue(props) {
25505
25984
  disabled: isSettingConfig ? !isSettingConfig : disabled,
25506
25985
  allowClear: false,
25507
25986
  options: reasonList,
25508
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type43 = typeMap$2[type]) === null || _typeMap$type43 === void 0 ? void 0 : _typeMap$type43.typeName)],
25987
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type45 = typeMap$2[type]) === null || _typeMap$type45 === void 0 ? void 0 : _typeMap$type45.typeName)],
25509
25988
  onChange: function onChange(val) {
25510
25989
  return changeTypeHandle(val);
25511
25990
  }
25512
- })), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type44 = typeMap$2[type]) === null || _typeMap$type44 === void 0 ? void 0 : _typeMap$type44.systemOrderBillType) && !isSettingConfig && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
25991
+ })), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type46 = typeMap$2[type]) === null || _typeMap$type46 === void 0 ? void 0 : _typeMap$type46.systemOrderBillType) && !isSettingConfig && /*#__PURE__*/React__default['default'].createElement(antd.Col, {
25513
25992
  className: "gutter-row",
25514
25993
  xs: {
25515
25994
  span: 11
@@ -25518,7 +25997,7 @@ var PublicReissue = function PublicReissue(props) {
25518
25997
  span: 6
25519
25998
  }
25520
25999
  }, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
25521
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type45 = typeMap$2[type]) === null || _typeMap$type45 === void 0 ? void 0 : _typeMap$type45.systemOrderBillType)],
26000
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type47 = typeMap$2[type]) === null || _typeMap$type47 === void 0 ? void 0 : _typeMap$type47.systemOrderBillType)],
25522
26001
  disabled: disabled,
25523
26002
  readOnly: true
25524
26003
  }))), /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
@@ -25527,29 +26006,32 @@ var PublicReissue = function PublicReissue(props) {
25527
26006
  type: type,
25528
26007
  disabled: disabled,
25529
26008
  canUpdateNumber: showChangeBtn,
25530
- showChangeBtn: showChangeBtn,
25531
- alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type46 = typeMap$2[type]) === null || _typeMap$type46 === void 0 ? void 0 : _typeMap$type46.alwaysShowChooseErpGoodsBtn,
25532
- showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type47 = typeMap$2[type]) === null || _typeMap$type47 === void 0 ? void 0 : _typeMap$type47.showErpGoodsBtn,
26009
+ showChangeBtn: showChangeBtn || (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type48 = typeMap$2[type]) === null || _typeMap$type48 === void 0 ? void 0 : _typeMap$type48.isShowSelectTradeGoods),
26010
+ alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type49 = typeMap$2[type]) === null || _typeMap$type49 === void 0 ? void 0 : _typeMap$type49.alwaysShowChooseErpGoodsBtn,
26011
+ showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type50 = typeMap$2[type]) === null || _typeMap$type50 === void 0 ? void 0 : _typeMap$type50.showErpGoodsBtn,
25533
26012
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
25534
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type48 = typeMap$2[type]) === null || _typeMap$type48 === void 0 ? void 0 : _typeMap$type48.key)],
26013
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type51 = typeMap$2[type]) === null || _typeMap$type51 === void 0 ? void 0 : _typeMap$type51.key)],
25535
26014
  onChange: function onChange(val) {
25536
26015
  return changeGoodHandle(val);
25537
26016
  },
25538
26017
  onModeChange: handleModeChange,
25539
26018
  showModeBtn: false,
25540
26019
  isStrict: isStrict,
26020
+ isShowSelectTradeGoods: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type52 = typeMap$2[type]) === null || _typeMap$type52 === void 0 ? void 0 : _typeMap$type52.isShowSelectTradeGoods,
26021
+ systemOrders: value === null || value === void 0 ? void 0 : (_value$typeMap$type$s9 = value[(_typeMap$type53 = typeMap$2[type]) === null || _typeMap$type53 === void 0 ? void 0 : _typeMap$type53.systemOrder]) === null || _value$typeMap$type$s9 === void 0 ? void 0 : _value$typeMap$type$s9.orders,
25541
26022
  tradeGoods: {
25542
26023
  originDataSource: getGoodDetails({
25543
- mode: isStrict
26024
+ mode: isStrict,
26025
+ isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type54 = typeMap$2[type]) === null || _typeMap$type54 === void 0 ? void 0 : _typeMap$type54.isShowSelectTradeGoods
25544
26026
  }),
25545
- uniqueKey: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type49 = typeMap$2[type]) === null || _typeMap$type49 === void 0 ? void 0 : _typeMap$type49.uniqueKey) || 'uuid',
26027
+ uniqueKey: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type55 = typeMap$2[type]) === null || _typeMap$type55 === void 0 ? void 0 : _typeMap$type55.uniqueKey) || 'uuid',
25546
26028
  selectedGoodsChange: selectedGoodsChange
25547
26029
  }
25548
26030
  })));
25549
26031
  };
25550
26032
 
25551
- 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";
25552
- styleInject(css_248z$e);
26033
+ 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";
26034
+ styleInject(css_248z$g);
25553
26035
 
25554
26036
  var TabPane$1 = antd.Tabs.TabPane;
25555
26037
  var Option$2 = antd.Select.Option;
@@ -26565,9 +27047,9 @@ var bsE3Reissue = function bsE3Reissue(props) {
26565
27047
  })));
26566
27048
  };
26567
27049
 
26568
- var css_248z$f = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
27050
+ var css_248z$h = ".index-module_systemNoDisabled__1s7aJ.ant-select-item-option-disabled {\n color: #dadada !important;\n}\n";
26569
27051
  var styles$6 = {"systemNoDisabled":"index-module_systemNoDisabled__1s7aJ"};
26570
- styleInject(css_248z$f);
27052
+ styleInject(css_248z$h);
26571
27053
 
26572
27054
  var _excluded$r = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
26573
27055
  _excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
@@ -27178,9 +27660,9 @@ var GyReturnGoods = function GyReturnGoods(props) {
27178
27660
  })));
27179
27661
  };
27180
27662
 
27181
- 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";
27663
+ 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";
27182
27664
  var styles$7 = {"imageBox":"index-module_imageBox__1f2AI","addBtn":"index-module_addBtn__1DY59","tips":"index-module_tips__1XQjf"};
27183
- styleInject(css_248z$g);
27665
+ styleInject(css_248z$i);
27184
27666
 
27185
27667
  var _excluded$t = ["maxCount", "maxSize", "onChange", "value", "disabled", "hostUrl", "canDownload", "actionUrl"];
27186
27668
  var Dragger$1 = antd.Upload.Dragger;
@@ -27803,6 +28285,17 @@ var SkxGoods = function SkxGoods(props) {
27803
28285
  }));
27804
28286
  };
27805
28287
 
28288
+ var SYSTEM_ORDER_COLUMNS_MAP = {
28289
+ BS_SYSTEM_ORDER: kmkfUtils.BS_SYSTEM_ORDER_CONFIG.columns,
28290
+ KM_SYSTEM_ORDER: kmkfUtils.KM_SYSTEM_ORDER_CONFIG.columns,
28291
+ WLN_SYSTEM_ORDER: kmkfUtils.WLN_SYSTEM_ORDER_CONFIG.columns,
28292
+ WDT_SYSTEM_ORDER: kmkfUtils.WDT_SYSTEM_ORDER_CONFIG.columns,
28293
+ BS_E3_SYSTEM_ORDER: kmkfUtils.BS_E3_SYSTEM_ORDER_CONFIG.columns,
28294
+ GY_SYSTEM_ORDER: kmkfUtils.GY_SYSTEM_ORDER_CONFIG.columns,
28295
+ JST_SYSTEM_ORDER: kmkfUtils.JST_SYSTEM_ORDER_CONFIG.columns,
28296
+ JY_SYSTEM_ORDER: kmkfUtils.JY_SYSTEM_ORDER_CONFIG.columns
28297
+ };
28298
+
27806
28299
  exports.Address = ApaasAddress;
27807
28300
  exports.AliPay = AliPay;
27808
28301
  exports.ApaasAddress = Province;
@@ -27863,6 +28356,7 @@ exports.Payment = Payment;
27863
28356
  exports.PublicReissue = PublicReissue;
27864
28357
  exports.Remark = RemarkInput;
27865
28358
  exports.ReturnLogistics = ExpressLogistics;
28359
+ exports.SYSTEM_ORDER_COLUMNS_MAP = SYSTEM_ORDER_COLUMNS_MAP;
27866
28360
  exports.ShopName = ShopNameSelect;
27867
28361
  exports.SkxGoods = SkxGoods;
27868
28362
  exports.SkxIdInputSelect = IdInputSelect;