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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -8101,8 +8101,6 @@ var updateWorkTypeKeys = {
8101
8101
  BS_DEPOSIT: 'bsDeposit',
8102
8102
  NEW_PAYMENT_STATUS: 'newPaymentStatus',
8103
8103
  BUSINESS_ORDER_NO: 'businessOrderNo',
8104
- REPAIR_ORDER_SN: 'repairOrderSn',
8105
- REPAIR_ORDER_ID: 'repairOrderId',
8106
8104
  PAYMENT_VOUCHER_CODE: 'paymentVoucherCode',
8107
8105
  ACTUAL_RECEIPT_PAYMENT: 'actualReceiptPayment',
8108
8106
  WDT_SHOP: 'shopCode'
@@ -8454,10 +8452,7 @@ var processLogisticsTrajectory = function processLogisticsTrajectory(getValue) {
8454
8452
  var map = subFields.reduce(function (cur, nxt) {
8455
8453
  return nxt === 'trajectoryApiStatus' ? _objectSpread2(_objectSpread2({}, cur), {}, _defineProperty({}, nxt, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_trajectoryApiStatus")), {}))) : _objectSpread2(_objectSpread2({}, cur), {}, _defineProperty({}, nxt, getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
8456
8454
  }, {});
8457
- var mapChild = subFields.reduce(function (cur, nxt) {
8458
- return nxt === 'trajectoryApiStatus' ? _objectSpread2(_objectSpread2({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey, "_trajectoryApiStatus"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_trajectoryApiStatus")), {}))) : _objectSpread2(_objectSpread2({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey, "_").concat(nxt), getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
8459
- }, {});
8460
- return _objectSpread2(_defineProperty({}, nex.uniqueKey, map), mapChild);
8455
+ return _defineProperty({}, nex.uniqueKey, map);
8461
8456
  };
8462
8457
  };
8463
8458
  var processLogisticsTrajectoryMore = function processLogisticsTrajectoryMore(getValue) {
@@ -8481,12 +8476,12 @@ var processItemSelectThird = function processItemSelectThird(getValue) {
8481
8476
  };
8482
8477
  var processEnterPrisePayment = function processEnterPrisePayment(getValue) {
8483
8478
  return function (nex, config) {
8484
- var _ref33;
8479
+ var _ref34;
8485
8480
  var subFields = ['enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentRefundFee', 'enterprisePaymentStatus', 'enterprisePaymentTid'];
8486
8481
  var map = subFields.reduce(function (cur, nxt) {
8487
8482
  return _objectSpread2(_objectSpread2({}, cur), {}, _defineProperty({}, nxt, getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
8488
8483
  }, {});
8489
- return _ref33 = {}, _defineProperty(_ref33, nex.uniqueKey, map), _defineProperty(_ref33, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref33, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref33, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref33, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref33, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref33, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref33, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref33;
8484
+ return _ref34 = {}, _defineProperty(_ref34, nex.uniqueKey, map), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref34;
8490
8485
  };
8491
8486
  };
8492
8487
  var processJstLogistics = function processJstLogistics(getValue) {
@@ -8585,10 +8580,6 @@ var processCallBackStatus = function processCallBackStatus(getValue) {
8585
8580
  RETURN_EXCHANGE_GOODS_REVIEW_STATUS: {
8586
8581
  status: 'returnExchangeGoodsReviewStatusValue',
8587
8582
  reason: 'returnExchangeGoodsReviewStatusReason'
8588
- },
8589
- REPAIR_ORDER_STATUS: {
8590
- status: 'repairOrderStatusValue',
8591
- reason: 'repairOrderStatusReason'
8592
8583
  }
8593
8584
  };
8594
8585
  return _defineProperty({}, nex.uniqueKey, {
@@ -9249,14 +9240,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
9249
9240
  };
9250
9241
  var processLabel = function processLabel(getValue) {
9251
9242
  return function (nex, config) {
9252
- var _ref73;
9253
- return _ref73 = {}, _defineProperty(_ref73, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref73, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref73;
9243
+ var _ref74;
9244
+ return _ref74 = {}, _defineProperty(_ref74, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref74, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref74;
9254
9245
  };
9255
9246
  };
9256
9247
  var processMemberLevel = function processMemberLevel(getValue) {
9257
9248
  return function (nex, config) {
9258
- var _ref74;
9259
- return _ref74 = {}, _defineProperty(_ref74, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref74, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref74;
9249
+ var _ref75;
9250
+ return _ref75 = {}, _defineProperty(_ref75, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref75, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref75;
9260
9251
  };
9261
9252
  };
9262
9253
  var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
@@ -9353,7 +9344,6 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
9353
9344
  AGREE_RETURN_GOODS_STATUS: processCallBackStatus,
9354
9345
  REJECT_RETURN_GOODS_STATUS: processCallBackStatus,
9355
9346
  RETURN_EXCHANGE_GOODS_REVIEW_STATUS: processCallBackStatus,
9356
- REPAIR_ORDER_STATUS: processCallBackStatus,
9357
9347
  RETURN_GOODS_STATUS: processSceneStatus,
9358
9348
  EXCHANGE_STATUS: processSceneStatus,
9359
9349
  WAREHOUSING_STATUS: processSceneStatus,
@@ -9433,8 +9423,6 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
9433
9423
  BS_DEPOSIT: processSingleField,
9434
9424
  NEW_PAYMENT_STATUS: processSingleField,
9435
9425
  BUSINESS_ORDER_NO: processSingleField,
9436
- REPAIR_ORDER_SN: processSingleField,
9437
- REPAIR_ORDER_ID: processSingleField,
9438
9426
  PAYMENT_VOUCHER_CODE: processSingleField,
9439
9427
  BS_E3_REISSUE_GOODS: processBsE3ReissueGoods(templateColumns),
9440
9428
  ACTUAL_RECEIPT_PAYMENT: processSingleField,
@@ -9551,6 +9539,7 @@ var FileRender = function FileRender(_ref) {
9551
9539
  cursor: 'pointer'
9552
9540
  },
9553
9541
  onClick: function onClick(e) {
9542
+ console.log('onPreview');
9554
9543
  e.preventDefault();
9555
9544
  onPreview(item);
9556
9545
  },
@@ -9646,9 +9635,6 @@ var PictureRender = function PictureRender(_ref2) {
9646
9635
  }));
9647
9636
  }));
9648
9637
  };
9649
- var LogisticsCompanyRender = function LogisticsCompanyRender(value) {
9650
- return ExpressData.getInstance().getExpressNameByCode(value) || value;
9651
- };
9652
9638
  var MultipleSelectRender = function MultipleSelectRender(_ref5) {
9653
9639
  var _ref5$value = _ref5.value,
9654
9640
  value = _ref5$value === void 0 ? [] : _ref5$value;
@@ -9683,16 +9669,6 @@ var renderMap = {
9683
9669
  });
9684
9670
  }
9685
9671
  };
9686
- var renderSplitMap = {
9687
- //物流轨迹-物流公司
9688
- jbCFrJV4m7_trajectoryCompany: function jbCFrJV4m7_trajectoryCompany(value) {
9689
- return LogisticsCompanyRender(value);
9690
- },
9691
- //退货物流-物流公司
9692
- '0qFEv9GEyd_returnLogisticsCompany': function qFEv9GEyd_returnLogisticsCompany(value) {
9693
- return LogisticsCompanyRender(value);
9694
- }
9695
- };
9696
9672
  var EditPictureRender = function EditPictureRender(_ref6) {
9697
9673
  var _ref6$val = _ref6.val,
9698
9674
  val = _ref6$val === void 0 ? [] : _ref6$val,
@@ -9786,13 +9762,13 @@ var EditFileRender = function EditFileRender(_ref7) {
9786
9762
  }));
9787
9763
  };
9788
9764
  var EditRenderMap = {
9789
- INPUT: function INPUT(_ref9) {
9790
- var val = _ref9.val,
9791
- record = _ref9.record,
9792
- index = _ref9.index,
9793
- t = _ref9.t,
9794
- updateHandle = _ref9.updateHandle,
9795
- disabled = _ref9.disabled;
9765
+ INPUT: function INPUT(_ref8) {
9766
+ var val = _ref8.val,
9767
+ record = _ref8.record,
9768
+ index = _ref8.index,
9769
+ t = _ref8.t,
9770
+ updateHandle = _ref8.updateHandle,
9771
+ disabled = _ref8.disabled;
9796
9772
  var precisionValue = t.precision === 'nolimit' ? undefined : t.precision;
9797
9773
  return !t.isEdit && !disabled ? t.isNumber ? /*#__PURE__*/React.createElement(InputNumber, {
9798
9774
  style: {
@@ -9815,13 +9791,13 @@ var EditRenderMap = {
9815
9791
  }
9816
9792
  }) : /*#__PURE__*/React.createElement("div", null, val);
9817
9793
  },
9818
- TEXTAREA: function TEXTAREA(_ref10) {
9819
- var val = _ref10.val,
9820
- record = _ref10.record,
9821
- index = _ref10.index,
9822
- t = _ref10.t,
9823
- updateHandle = _ref10.updateHandle,
9824
- disabled = _ref10.disabled;
9794
+ TEXTAREA: function TEXTAREA(_ref9) {
9795
+ var val = _ref9.val,
9796
+ record = _ref9.record,
9797
+ index = _ref9.index,
9798
+ t = _ref9.t,
9799
+ updateHandle = _ref9.updateHandle,
9800
+ disabled = _ref9.disabled;
9825
9801
  var precisionValue = t.precision === 'nolimit' ? undefined : t.precision;
9826
9802
  return !t.isEdit && !disabled ? t.isNumber ? /*#__PURE__*/React.createElement(InputNumber, {
9827
9803
  style: {
@@ -9844,7 +9820,25 @@ var EditRenderMap = {
9844
9820
  }
9845
9821
  }) : /*#__PURE__*/React.createElement("div", null, val);
9846
9822
  },
9847
- PICTURE: function PICTURE(_ref11) {
9823
+ PICTURE: function PICTURE(_ref10) {
9824
+ var val = _ref10.val,
9825
+ record = _ref10.record,
9826
+ index = _ref10.index,
9827
+ t = _ref10.t,
9828
+ updateHandle = _ref10.updateHandle,
9829
+ disabled = _ref10.disabled,
9830
+ platform = _ref10.platform;
9831
+ return /*#__PURE__*/React.createElement(EditPictureRender, {
9832
+ val: val,
9833
+ t: t,
9834
+ disabled: disabled,
9835
+ index: index,
9836
+ updateHandle: updateHandle,
9837
+ hostUrl: hostUrl,
9838
+ platform: platform
9839
+ });
9840
+ },
9841
+ FILE: function FILE(_ref11) {
9848
9842
  var val = _ref11.val,
9849
9843
  record = _ref11.record,
9850
9844
  index = _ref11.index,
@@ -9852,7 +9846,7 @@ var EditRenderMap = {
9852
9846
  updateHandle = _ref11.updateHandle,
9853
9847
  disabled = _ref11.disabled,
9854
9848
  platform = _ref11.platform;
9855
- return /*#__PURE__*/React.createElement(EditPictureRender, {
9849
+ return /*#__PURE__*/React.createElement(EditFileRender, {
9856
9850
  val: val,
9857
9851
  t: t,
9858
9852
  disabled: disabled,
@@ -9862,25 +9856,30 @@ var EditRenderMap = {
9862
9856
  platform: platform
9863
9857
  });
9864
9858
  },
9865
- FILE: function FILE(_ref12) {
9859
+ RADIO: function RADIO(_ref12) {
9866
9860
  var val = _ref12.val,
9867
9861
  record = _ref12.record,
9868
9862
  index = _ref12.index,
9869
9863
  t = _ref12.t,
9870
9864
  updateHandle = _ref12.updateHandle,
9871
9865
  disabled = _ref12.disabled,
9872
- platform = _ref12.platform;
9873
- return /*#__PURE__*/React.createElement(EditFileRender, {
9874
- val: val,
9875
- t: t,
9876
- disabled: disabled,
9877
- index: index,
9878
- updateHandle: updateHandle,
9879
- hostUrl: hostUrl,
9880
- platform: platform
9881
- });
9866
+ componentDto = _ref12.componentDto;
9867
+ return /*#__PURE__*/React.createElement(ApaasSelect, _objectSpread2(_objectSpread2({
9868
+ getPopupContainer: function getPopupContainer() {
9869
+ return document.getElementById('subform');
9870
+ }
9871
+ }, componentDto === null || componentDto === void 0 ? void 0 : componentDto.componentConfig), {}, {
9872
+ value: val,
9873
+ disabled: t.isEdit || disabled,
9874
+ allowClear: true,
9875
+ placement: "topLeft",
9876
+ listHeight: 120,
9877
+ onChange: function onChange(e) {
9878
+ return updateHandle(e, index, t.key);
9879
+ }
9880
+ }));
9882
9881
  },
9883
- RADIO: function RADIO(_ref13) {
9882
+ SELECT: function SELECT(_ref13) {
9884
9883
  var val = _ref13.val,
9885
9884
  record = _ref13.record,
9886
9885
  index = _ref13.index,
@@ -9903,7 +9902,7 @@ var EditRenderMap = {
9903
9902
  }
9904
9903
  }));
9905
9904
  },
9906
- SELECT: function SELECT(_ref14) {
9905
+ CHECKBOX: function CHECKBOX(_ref14) {
9907
9906
  var val = _ref14.val,
9908
9907
  record = _ref14.record,
9909
9908
  index = _ref14.index,
@@ -9911,22 +9910,21 @@ var EditRenderMap = {
9911
9910
  updateHandle = _ref14.updateHandle,
9912
9911
  disabled = _ref14.disabled,
9913
9912
  componentDto = _ref14.componentDto;
9914
- return /*#__PURE__*/React.createElement(ApaasSelect, _objectSpread2(_objectSpread2({
9913
+ return /*#__PURE__*/React.createElement(ApaasMultipleSelect, _objectSpread2(_objectSpread2({
9915
9914
  getPopupContainer: function getPopupContainer() {
9916
9915
  return document.getElementById('subform');
9917
9916
  }
9918
9917
  }, componentDto === null || componentDto === void 0 ? void 0 : componentDto.componentConfig), {}, {
9919
9918
  value: val,
9920
- disabled: t.isEdit || disabled,
9921
- allowClear: true,
9922
9919
  placement: "topLeft",
9923
9920
  listHeight: 120,
9921
+ disabled: t.isEdit || disabled,
9924
9922
  onChange: function onChange(e) {
9925
9923
  return updateHandle(e, index, t.key);
9926
9924
  }
9927
9925
  }));
9928
9926
  },
9929
- CHECKBOX: function CHECKBOX(_ref15) {
9927
+ BASIC_MULT_SELECT: function BASIC_MULT_SELECT(_ref15) {
9930
9928
  var val = _ref15.val,
9931
9929
  record = _ref15.record,
9932
9930
  index = _ref15.index,
@@ -9947,59 +9945,6 @@ var EditRenderMap = {
9947
9945
  return updateHandle(e, index, t.key);
9948
9946
  }
9949
9947
  }));
9950
- },
9951
- BASIC_MULT_SELECT: function BASIC_MULT_SELECT(_ref16) {
9952
- var val = _ref16.val,
9953
- record = _ref16.record,
9954
- index = _ref16.index,
9955
- t = _ref16.t,
9956
- updateHandle = _ref16.updateHandle,
9957
- disabled = _ref16.disabled,
9958
- componentDto = _ref16.componentDto;
9959
- return /*#__PURE__*/React.createElement(ApaasMultipleSelect, _objectSpread2(_objectSpread2({
9960
- getPopupContainer: function getPopupContainer() {
9961
- return document.getElementById('subform');
9962
- }
9963
- }, componentDto === null || componentDto === void 0 ? void 0 : componentDto.componentConfig), {}, {
9964
- value: val,
9965
- placement: "topLeft",
9966
- listHeight: 120,
9967
- disabled: t.isEdit || disabled,
9968
- onChange: function onChange(e) {
9969
- return updateHandle(e, index, t.key);
9970
- }
9971
- }));
9972
- }
9973
- };
9974
- var EditSplitRenderMap = {
9975
- jbCFrJV4m7_trajectoryCompany: function jbCFrJV4m7_trajectoryCompany(_ref17) {
9976
- var val = _ref17.val,
9977
- index = _ref17.index,
9978
- t = _ref17.t,
9979
- updateHandle = _ref17.updateHandle,
9980
- disabled = _ref17.disabled;
9981
- return /*#__PURE__*/React.createElement(ApaasLogistics, {
9982
- value: val,
9983
- onChange: function onChange(e) {
9984
- return updateHandle(e, index, t.key);
9985
- },
9986
- disabled: disabled
9987
- });
9988
- },
9989
- //退货物流-物流公司
9990
- '0qFEv9GEyd_returnLogisticsCompany': function qFEv9GEyd_returnLogisticsCompany(_ref18) {
9991
- var val = _ref18.val,
9992
- index = _ref18.index,
9993
- t = _ref18.t,
9994
- updateHandle = _ref18.updateHandle,
9995
- disabled = _ref18.disabled;
9996
- return /*#__PURE__*/React.createElement(ApaasLogistics, {
9997
- value: val,
9998
- onChange: function onChange(e) {
9999
- return updateHandle(e, index, t.key);
10000
- },
10001
- disabled: disabled
10002
- });
10003
9948
  }
10004
9949
  };
10005
9950
 
@@ -10053,8 +9998,8 @@ var SubForm = function SubForm(props) {
10053
9998
  tableHeader = props.tableHeader,
10054
9999
  disabled = props.disabled,
10055
10000
  platform = props.platform,
10056
- maxCount = props.maxCount,
10057
- manual = props.manual;
10001
+ manual = props.manual,
10002
+ maxCount = props.maxCount;
10058
10003
  var ref = useRef(null);
10059
10004
  var isRequest = useRef(false);
10060
10005
  var _useState = useState(false),
@@ -10129,6 +10074,7 @@ var SubForm = function SubForm(props) {
10129
10074
  return deleteHandle(record.uuid);
10130
10075
  }
10131
10076
  });
10077
+ // return <div style={{ width: 25 }}>{index + 1}</div>;
10132
10078
  }
10133
10079
  }].concat(_toConsumableArray(newTableHeader.map(function (t) {
10134
10080
  return {
@@ -10141,39 +10087,27 @@ var SubForm = function SubForm(props) {
10141
10087
  ellipsis: true,
10142
10088
  width: t.width,
10143
10089
  render: function render(val, record, index) {
10144
- if (EditRenderMap[t.workOrderComponentType]) {
10145
- return EditRenderMap[t.workOrderComponentType]({
10146
- val: val,
10147
- record: record,
10148
- index: index,
10149
- t: t,
10150
- updateHandle: updateHandle,
10151
- disabled: disabled,
10152
- componentDto: componentDtoList.find(function (item) {
10153
- return item.uniqueKey === t.key;
10154
- }),
10155
- platform: platform
10156
- });
10157
- } else if (EditSplitRenderMap[t.key]) {
10158
- return EditSplitRenderMap[t.key]({
10159
- val: val,
10160
- index: index,
10161
- t: t,
10162
- updateHandle: updateHandle,
10163
- disabled: disabled
10164
- });
10165
- } else {
10166
- return /*#__PURE__*/React.createElement(Input, {
10167
- style: {
10168
- width: '100%'
10169
- },
10170
- value: val,
10171
- onChange: function onChange(e) {
10172
- var _e$target;
10173
- return updateHandle(e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value, index, t.key);
10174
- }
10175
- });
10176
- }
10090
+ return EditRenderMap[t.workOrderComponentType] ? EditRenderMap[t.workOrderComponentType]({
10091
+ val: val,
10092
+ record: record,
10093
+ index: index,
10094
+ t: t,
10095
+ updateHandle: updateHandle,
10096
+ disabled: disabled,
10097
+ componentDto: componentDtoList.find(function (item) {
10098
+ return item.uniqueKey === t.key;
10099
+ }),
10100
+ platform: platform
10101
+ }) : /*#__PURE__*/React.createElement(Input, {
10102
+ style: {
10103
+ width: '100%'
10104
+ },
10105
+ value: val,
10106
+ onChange: function onChange(e) {
10107
+ var _e$target;
10108
+ return updateHandle(e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value, index, t.key);
10109
+ }
10110
+ });
10177
10111
  }
10178
10112
  };
10179
10113
  })), [disabled ? {} : {
@@ -10223,10 +10157,6 @@ var SubForm = function SubForm(props) {
10223
10157
  item.render = function (val) {
10224
10158
  return renderMap[t.workOrderComponentType](val, platform);
10225
10159
  };
10226
- } else if (renderSplitMap[t.key]) {
10227
- item.render = function (val) {
10228
- return renderSplitMap[t.key](val);
10229
- };
10230
10160
  }
10231
10161
  return item;
10232
10162
  })));
@@ -10241,11 +10171,7 @@ var SubForm = function SubForm(props) {
10241
10171
  if (['PICTURE', 'FILE', 'BASIC_MULT_SELECT', 'CHECKBOX'].includes(next.workOrderComponentType)) {
10242
10172
  item.defaultValue = [];
10243
10173
  }
10244
- if (!['LOGISTICS_TRAJECTORY', 'RETURN_LOGISTICS_SELECT'].includes(next.workOrderComponentType)) {
10245
- prv["".concat(next.key, "_").concat(WidgetMap[next.workOrderComponentType])] = item;
10246
- } else {
10247
- prv["".concat(next.key)] = item;
10248
- }
10174
+ prv["".concat(next.key, "_").concat(WidgetMap[next.workOrderComponentType])] = item;
10249
10175
  return prv;
10250
10176
  }, {});
10251
10177
  }, [newTableHeader]);
@@ -10262,7 +10188,7 @@ var SubForm = function SubForm(props) {
10262
10188
  }).map(function (item) {
10263
10189
  return {
10264
10190
  label: item.name,
10265
- value: WidgetMap[item.workOrderComponentType] ? "".concat(item.key, "_").concat(WidgetMap[item.workOrderComponentType]) : item.key
10191
+ value: "".concat(item.key, "_").concat(WidgetMap[item.workOrderComponentType])
10266
10192
  };
10267
10193
  });
10268
10194
  setSelectKey(options === null || options === void 0 ? void 0 : (_options$ = options[0]) === null || _options$ === void 0 ? void 0 : _options$.value);
@@ -10304,7 +10230,6 @@ var SubForm = function SubForm(props) {
10304
10230
  _ref2$componentList,
10305
10231
  componentList,
10306
10232
  params,
10307
- queryComponents,
10308
10233
  res,
10309
10234
  data,
10310
10235
  success,
@@ -10337,25 +10262,15 @@ var SubForm = function SubForm(props) {
10337
10262
  }]
10338
10263
  };
10339
10264
  if (selectKey && inputValue) {
10340
- queryComponents = [{
10265
+ params.queryComponents = [{
10341
10266
  key: 'flowStatus',
10342
10267
  symbol: 'in',
10343
10268
  value: flowStatus
10269
+ }, {
10270
+ key: selectKey,
10271
+ symbol: 'in',
10272
+ value: [inputValue]
10344
10273
  }];
10345
- if (['0qFEv9GEyd_returnLogisticsCode', 'jbCFrJV4m7_trajectoryCode'].includes(selectKey)) {
10346
- queryComponents.push({
10347
- key: selectKey,
10348
- symbol: 'like',
10349
- value: inputValue
10350
- });
10351
- } else {
10352
- queryComponents.push({
10353
- key: selectKey,
10354
- symbol: 'in',
10355
- value: [inputValue]
10356
- });
10357
- }
10358
- params.queryComponents = queryComponents;
10359
10274
  }
10360
10275
  _context.next = 7;
10361
10276
  return extendRequest('/qy/view/workOrderList', {
@@ -10551,21 +10466,7 @@ var SubForm = function SubForm(props) {
10551
10466
  placement: "bottom",
10552
10467
  visible: open,
10553
10468
  onVisibleChange: handleOpenChange
10554
- }, ['0qFEv9GEyd_returnLogisticsCompany', 'jbCFrJV4m7_trajectoryCompany'].includes(selectKey) ? /*#__PURE__*/React.createElement(ApaasLogistics, {
10555
- value: undefined,
10556
- onChange: function onChange(val) {
10557
- onChangeInput(val);
10558
- },
10559
- placeholder: "\u8BF7\u9009\u62E9\u7269\u6D41\u516C\u53F8",
10560
- showSearch: true,
10561
- allowClear: true,
10562
- style: {
10563
- width: '180px'
10564
- },
10565
- filterOption: function filterOption(input, option) {
10566
- return option.label.includes(input);
10567
- }
10568
- }) : /*#__PURE__*/React.createElement(Input, {
10469
+ }, /*#__PURE__*/React.createElement(Input, {
10569
10470
  placeholder: "\u8F93\u5165\u5173\u952E\u8BCD\u67E5\u8BE2",
10570
10471
  allowClear: true,
10571
10472
  onChange: function onChange(e) {
@@ -13541,7 +13442,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
13541
13442
  if (disabled) {
13542
13443
  return;
13543
13444
  }
13544
- if (['KYE', 'SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
13445
+ if (['SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
13545
13446
  return;
13546
13447
  } else if (!(newCompany && trajectoryCode)) {
13547
13448
  return;
@@ -13677,7 +13578,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
13677
13578
  value: value === null || value === void 0 ? void 0 : value.trajectorySnapshot
13678
13579
  });
13679
13580
  };
13680
- return /*#__PURE__*/React.createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO', 'KYE'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React.createElement(LogisticsSnapshot, null) : null);
13581
+ return /*#__PURE__*/React.createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React.createElement(LogisticsSnapshot, null) : null);
13681
13582
  };
13682
13583
 
13683
13584
  var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
@@ -16059,7 +15960,6 @@ var getTableData$2 = function getTableData(_ref, formData) {
16059
15960
  var current = _ref.current,
16060
15961
  pageSize = _ref.pageSize;
16061
15962
  var data = {
16062
- goodShortName: formData.goodShortName || null,
16063
15963
  goodNo: formData.goodNo || null,
16064
15964
  goodName: formData.goodName || null,
16065
15965
  skuCode: formData.skuCode || null,
@@ -19037,8 +18937,7 @@ var getColumns$2 = function getColumns(_ref) {
19037
18937
  title: "\u5E73\u53F0\u89C4\u683CID",
19038
18938
  width: 180,
19039
18939
  align: 'center',
19040
- ellipsis: true,
19041
- render: renderTextEllipsis
18940
+ ellipsis: true
19042
18941
  }, {
19043
18942
  dataIndex: 'brandName',
19044
18943
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19172,8 +19071,7 @@ var getColumns$2 = function getColumns(_ref) {
19172
19071
  title: "\u5E73\u53F0\u89C4\u683CID",
19173
19072
  width: 180,
19174
19073
  align: 'center',
19175
- ellipsis: true,
19176
- render: renderTextEllipsis
19074
+ ellipsis: true
19177
19075
  }, {
19178
19076
  dataIndex: 'brandName',
19179
19077
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19312,8 +19210,7 @@ var getColumns$2 = function getColumns(_ref) {
19312
19210
  title: "\u5E73\u53F0\u89C4\u683CID",
19313
19211
  width: 180,
19314
19212
  align: 'center',
19315
- ellipsis: true,
19316
- render: renderTextEllipsis
19213
+ ellipsis: true
19317
19214
  }, {
19318
19215
  dataIndex: 'brandName',
19319
19216
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19490,8 +19387,7 @@ var getColumns$2 = function getColumns(_ref) {
19490
19387
  title: "\u5E73\u53F0\u89C4\u683CID",
19491
19388
  width: 180,
19492
19389
  align: 'center',
19493
- ellipsis: true,
19494
- render: renderTextEllipsis
19390
+ ellipsis: true
19495
19391
  }, {
19496
19392
  dataIndex: 'brandName',
19497
19393
  title: "\u54C1\u724C\u540D\u79F0",
@@ -20443,7 +20339,7 @@ var getColumns$5 = function getColumns() {
20443
20339
  ellipsis: true,
20444
20340
  align: 'center',
20445
20341
  render: function render(val, record, index) {
20446
- return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20342
+ return (record.qty || 0) * (+record.salePrice || 0);
20447
20343
  }
20448
20344
  }, {
20449
20345
  dataIndex: 'batchId',
@@ -20731,7 +20627,7 @@ var getColumns$5 = function getColumns() {
20731
20627
  dataIndex: 'saleAmount',
20732
20628
  title: '总金额',
20733
20629
  render: function render(val, record) {
20734
- return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20630
+ return (record.qty || 0) * (+record.salePrice || 0);
20735
20631
  }
20736
20632
  }, {
20737
20633
  dataIndex: 'batchId',
@@ -20846,7 +20742,7 @@ var getColumns$5 = function getColumns() {
20846
20742
  dataIndex: 'saleAmount',
20847
20743
  title: '总金额',
20848
20744
  render: function render(val, record) {
20849
- return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20745
+ return (record.qty || 0) * (+record.salePrice || 0);
20850
20746
  }
20851
20747
  }, {
20852
20748
  dataIndex: 'isGift',
@@ -21093,12 +20989,7 @@ var getColumns$6 = function getColumns(_ref) {
21093
20989
  render: renderTextEllipsis
21094
20990
  }, {
21095
20991
  dataIndex: 'skuId',
21096
- title: "\u5E73\u53F0\u89C4\u683CID",
21097
- width: 170,
21098
- render: renderTextEllipsis
21099
- }, {
21100
- dataIndex: 'outerSkuId',
21101
- title: "\u5E73\u53F0\u89C4\u683C\u7F16\u7801",
20992
+ title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
21102
20993
  width: 170,
21103
20994
  render: renderTextEllipsis
21104
20995
  }, {
@@ -21205,12 +21096,7 @@ var getColumns$6 = function getColumns(_ref) {
21205
21096
  render: renderTextEllipsis
21206
21097
  }, {
21207
21098
  dataIndex: 'skuId',
21208
- title: "\u5E73\u53F0\u89C4\u683CID",
21209
- width: 170,
21210
- render: renderTextEllipsis
21211
- }, {
21212
- dataIndex: 'outerSkuId',
21213
- title: "\u5E73\u53F0\u89C4\u683C\u7F16\u7801",
21099
+ title: "\u5E73\u53F0\u89C4\u683C\u7F16\u53F7",
21214
21100
  width: 170,
21215
21101
  render: renderTextEllipsis
21216
21102
  }, {
@@ -21724,12 +21610,6 @@ var getColumns$7 = function getColumns(_ref) {
21724
21610
  width: 150,
21725
21611
  render: function render(val, record, index) {
21726
21612
  return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
21727
- dropdownStyle: {
21728
- zIndex: 2000
21729
- },
21730
- getPopupContainer: function getPopupContainer() {
21731
- return document.body;
21732
- },
21733
21613
  value: val,
21734
21614
  onChange: function onChange(value) {
21735
21615
  updateHandle(value, index, 'bfit');
@@ -21759,12 +21639,6 @@ var getColumns$7 = function getColumns(_ref) {
21759
21639
  width: 150,
21760
21640
  render: function render(val, record, index) {
21761
21641
  return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
21762
- dropdownStyle: {
21763
- zIndex: 2000
21764
- },
21765
- getPopupContainer: function getPopupContainer() {
21766
- return document.body;
21767
- },
21768
21642
  value: val,
21769
21643
  onChange: function onChange(value) {
21770
21644
  updateHandle(value, index, 'gift');
@@ -22550,7 +22424,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
22550
22424
  }
22551
22425
  }, isShowSelect && /*#__PURE__*/React.createElement(Row, {
22552
22426
  style: {
22553
- marginBottom: '12px'
22427
+ marginBottom: '20px'
22554
22428
  }
22555
22429
  }, /*#__PURE__*/React.createElement(Col, {
22556
22430
  span: 12
@@ -27474,7 +27348,7 @@ var MsgStatus = function MsgStatus(props) {
27474
27348
  onClick: function onClick() {
27475
27349
  return setChangeIndex(index);
27476
27350
  }
27477
- }, msgTypeCh[key] || key, item.ruleName);
27351
+ }, msgTypeCh[key], item.ruleName);
27478
27352
  }))) : null, type === 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
27479
27353
  showSearch: true,
27480
27354
  value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
@@ -28052,7 +27926,7 @@ var GyReissue = function GyReissue(props) {
28052
27926
  span: 12
28053
27927
  },
28054
27928
  sm: {
28055
- span: 4
27929
+ span: 6
28056
27930
  }
28057
27931
  }, /*#__PURE__*/React.createElement(Cascader, {
28058
27932
  style: {
@@ -28355,7 +28229,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
28355
28229
  span: 12
28356
28230
  },
28357
28231
  sm: {
28358
- span: 4
28232
+ span: 6
28359
28233
  }
28360
28234
  }, /*#__PURE__*/React.createElement(Cascader, {
28361
28235
  style: {
@@ -29031,4 +28905,4 @@ var SYSTEM_ORDER_COLUMNS_MAP = {
29031
28905
  WDT_RETURN_BILL_NO: WDT_RETURN_BILL_NO_CONFIG.columns
29032
28906
  };
29033
28907
 
29034
- export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasImage, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, ApaasUploadAsync$1 as ApaasUploadAsync, ApaasUploadFile, index as ApaasUploadProAsync, AsyncSelect, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$2 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, CopyTextIcon, ExpressLogistics, Goods, index$3 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, KmVideo, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, OrderSubForm, utils as OrderSubFormUtils, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, SYSTEM_ORDER_COLUMNS_MAP, ShopNameSelect as ShopName, SkxGoods, IdInputSelect as SkxIdInputSelect, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, erpColumnsMap, erpFormValidator, index$1 as erpModalColumnsMap, getColumns$4 as getGyColumns, getColumns$5 as getJstColumns, getColumns$7 as getJyColumns, getColumns$6 as getKmColumns, getColumns$8 as getSkxColumns, getColumns$2 as getWdtColumns, getColumns$3 as getWlnColumns, orderSubFormConstants, renderMap, renderSplitMap };
28908
+ export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasImage, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, ApaasUploadAsync$1 as ApaasUploadAsync, ApaasUploadFile, index as ApaasUploadProAsync, AsyncSelect, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$2 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, CopyTextIcon, ExpressLogistics, Goods, index$3 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, KmVideo, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, OrderSubForm, utils as OrderSubFormUtils, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, SYSTEM_ORDER_COLUMNS_MAP, ShopNameSelect as ShopName, SkxGoods, IdInputSelect as SkxIdInputSelect, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, erpColumnsMap, erpFormValidator, index$1 as erpModalColumnsMap, getColumns$4 as getGyColumns, getColumns$5 as getJstColumns, getColumns$7 as getJyColumns, getColumns$6 as getKmColumns, getColumns$8 as getSkxColumns, getColumns$2 as getWdtColumns, getColumns$3 as getWlnColumns, orderSubFormConstants, renderMap };