@kmkf-fe-packages/services-components 1.22.6 → 1.23.0

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.
@@ -16,11 +16,11 @@ import { Form, Button, Modal, Tooltip, Space, Image, Popover, Table, message, Ty
16
16
  import React, { useState, useMemo } from "react";
17
17
  import { ExpressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, BS_E3_ORDER_STATUS_MAP } from "@kmkf-fe-packages/kmkf-utils";
18
18
  import { getAlipayBillReceipt } from "../../service/api";
19
- import { CopyToClipboard } from 'react-copy-to-clipboard';
19
+ import { CopyToClipboard } from "react-copy-to-clipboard";
20
20
  import styles from "./index.module.less";
21
21
  import defaultImg from "./img/default-img.png";
22
22
  import CopyText from "../../commonComponents/CopyText";
23
- import { KM_SYSTEM_ORDER_CONFIG } from '@kmkf-fe-packages/kmkf-utils';
23
+ import { KM_SYSTEM_ORDER_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
24
24
  var Paragraph = Typography.Paragraph;
25
25
  export var getFormItem = function getFormItem(_ref) {
26
26
  var name = _ref.name,
@@ -39,7 +39,7 @@ export var getFormItem = function getFormItem(_ref) {
39
39
  return /*#__PURE__*/React.createElement("div", {
40
40
  className: "form-item--wrap",
41
41
  style: {
42
- position: 'relative'
42
+ position: "relative"
43
43
  }
44
44
  }, /*#__PURE__*/React.createElement(Form.Item, {
45
45
  name: name,
@@ -54,58 +54,71 @@ export var showImage = function showImage(_ref2) {
54
54
  type = _ref2.type,
55
55
  index = _ref2.index,
56
56
  showHeader = _ref2.showHeader;
57
- var picUrl = item.picUrl ? (item === null || item === void 0 ? void 0 : item.platform) !== 'tabao' ? item.picUrl : item.picUrl + '_40x40.jpg' : defaultImg;
57
+ var picUrl = item.picUrl ? (item === null || item === void 0 ? void 0 : item.platform) !== "tabao" ? item.picUrl : item.picUrl + "_40x40.jpg" : defaultImg;
58
+ var showHeaderMap = useMemo(function () {
59
+ var isStringArray = Array.isArray(showHeader) && typeof showHeader[0] === "string";
60
+ var isObjectArray = Array.isArray(showHeader) && Object.prototype.toString.call(showHeader[0]) === "[object Object]";
61
+ var dataIndexList = [];
62
+ if (isStringArray) {
63
+ dataIndexList = showHeader;
64
+ } else if (isObjectArray) {
65
+ dataIndexList = showHeader.map(function (item) {
66
+ return item.dataIndex;
67
+ });
68
+ }
69
+ return dataIndexList;
70
+ }, [showHeader]);
58
71
  return /*#__PURE__*/React.createElement("div", {
59
72
  className: styles.goodImgBox,
60
73
  key: index
61
- }, type === 'itemCode' && !showHeader.includes('picUrl') ? null : (item === null || item === void 0 ? void 0 : item.platform) === 'taobao' ? /*#__PURE__*/React.createElement("a", {
74
+ }, type === "itemCode" && !showHeaderMap.includes("picUrl") ? null : (item === null || item === void 0 ? void 0 : item.platform) === "taobao" ? /*#__PURE__*/React.createElement("a", {
62
75
  target: "_blank",
63
- href: item.numIid ? "https://item.taobao.com/item.htm?id=".concat(item.numIid) : 'javascript:void(0);'
76
+ href: item.numIid ? "https://item.taobao.com/item.htm?id=".concat(item.numIid) : "javascript:void(0);"
64
77
  }, /*#__PURE__*/React.createElement("img", {
65
78
  style: {
66
- width: '40px',
67
- height: '40px',
68
- objectFit: 'contain'
79
+ width: "40px",
80
+ height: "40px",
81
+ objectFit: "contain"
69
82
  },
70
83
  src: picUrl
71
84
  })) : /*#__PURE__*/React.createElement("img", {
72
85
  style: {
73
- width: '40px',
74
- height: '40px',
75
- objectFit: 'contain'
86
+ width: "40px",
87
+ height: "40px",
88
+ objectFit: "contain"
76
89
  },
77
90
  src: picUrl
78
91
  }), /*#__PURE__*/React.createElement("div", {
79
92
  className: styles.options
80
- }, type === 'itemId' && /*#__PURE__*/React.createElement(TextTool, {
81
- title: '商品id',
93
+ }, type === "itemId" && /*#__PURE__*/React.createElement(TextTool, {
94
+ title: "商品id",
82
95
  text: item.numIid
83
- }), type === 'itemCode' && /*#__PURE__*/React.createElement(React.Fragment, null, showHeader.includes('title') && /*#__PURE__*/React.createElement(TextTool, {
84
- title: '商品名称',
96
+ }), type === "itemCode" && /*#__PURE__*/React.createElement(React.Fragment, null, showHeaderMap.includes("title") && /*#__PURE__*/React.createElement(TextTool, {
97
+ title: "商品名称",
85
98
  text: item.title
86
- }), showHeader.includes('outerId') && /*#__PURE__*/React.createElement(TextTool, {
87
- title: '商品编码',
99
+ }), showHeaderMap.includes("outerId") && /*#__PURE__*/React.createElement(TextTool, {
100
+ title: "商品编码",
88
101
  text: item.outerId
89
- }), showHeader.includes('numIid') && /*#__PURE__*/React.createElement(TextTool, {
90
- title: '商品id',
102
+ }), showHeaderMap.includes("numIid") && /*#__PURE__*/React.createElement(TextTool, {
103
+ title: "商品id",
91
104
  text: item.numIid
92
- }), showHeader.includes('skuId') && /*#__PURE__*/React.createElement(TextTool, {
93
- title: 'SKU ID',
105
+ }), showHeaderMap.includes("skuId") && /*#__PURE__*/React.createElement(TextTool, {
106
+ title: "SKU ID",
94
107
  text: item.skuId
95
- }), showHeader.includes('outerSkuId') && /*#__PURE__*/React.createElement(TextTool, {
96
- title: 'SKU 编码',
108
+ }), showHeaderMap.includes("outerSkuId") && /*#__PURE__*/React.createElement(TextTool, {
109
+ title: "SKU 编码",
97
110
  text: item.outerSkuId
98
- }), showHeader.includes('propertiesName') && /*#__PURE__*/React.createElement(TextTool, {
99
- title: 'SKU 信息',
111
+ }), showHeaderMap.includes("propertiesName") && /*#__PURE__*/React.createElement(TextTool, {
112
+ title: "SKU 信息",
100
113
  text: item.propertiesName
101
- })), (type === 'itemThird' || type === 'jstItemThird') && (item.itemId || item.supplierItemOuterId) && /*#__PURE__*/React.createElement(TextTool, {
102
- title: '供应商编码',
114
+ })), (type === "itemThird" || type === "jstItemThird") && (item.itemId || item.supplierItemOuterId) && /*#__PURE__*/React.createElement(TextTool, {
115
+ title: "供应商编码",
103
116
  text: item.itemId || item.supplierItemOuterId
104
- }), (type === 'itemThird' || type === 'jstItemThird') && item.supplierName && /*#__PURE__*/React.createElement(TextTool, {
105
- title: '供应商名称',
117
+ }), (type === "itemThird" || type === "jstItemThird") && item.supplierName && /*#__PURE__*/React.createElement(TextTool, {
118
+ title: "供应商名称",
106
119
  text: item.supplierName
107
- }), type !== 'itemCode' && item.propertiesName && /*#__PURE__*/React.createElement(TextTool, {
108
- title: '规格',
120
+ }), type !== "itemCode" && item.propertiesName && /*#__PURE__*/React.createElement(TextTool, {
121
+ title: "规格",
109
122
  text: item.propertiesName
110
123
  })));
111
124
  };
@@ -118,9 +131,9 @@ var TextTool = function TextTool(_ref3) {
118
131
  title: text
119
132
  }, /*#__PURE__*/React.createElement("div", {
120
133
  style: {
121
- overflow: 'hidden',
122
- whiteSpace: 'nowrap',
123
- textOverflow: 'ellipsis'
134
+ overflow: "hidden",
135
+ whiteSpace: "nowrap",
136
+ textOverflow: "ellipsis"
124
137
  }
125
138
  }, title, ":", text));
126
139
  };
@@ -136,6 +149,19 @@ export var ShowTotalImage = function ShowTotalImage(_ref4) {
136
149
  _useState2 = _slicedToArray(_useState, 2),
137
150
  visible = _useState2[0],
138
151
  setVisible = _useState2[1];
152
+ var showHeaderMap = useMemo(function () {
153
+ var isStringArray = Array.isArray(showHeader) && typeof showHeader[0] === "string";
154
+ var isObjectArray = Array.isArray(showHeader) && Object.prototype.toString.call(showHeader[0]) === "[object Object]";
155
+ var dataIndexList = [];
156
+ if (isStringArray) {
157
+ dataIndexList = showHeader;
158
+ } else if (isObjectArray) {
159
+ dataIndexList = showHeader.map(function (item) {
160
+ return item.dataIndex;
161
+ });
162
+ }
163
+ return dataIndexList;
164
+ }, [showHeader]);
139
165
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
140
166
  type: "link",
141
167
  onClick: function onClick() {
@@ -150,62 +176,62 @@ export var ShowTotalImage = function ShowTotalImage(_ref4) {
150
176
  title: "\u6240\u6709\u9009\u62E9\u5B9D\u8D1D"
151
177
  }, /*#__PURE__*/React.createElement("div", {
152
178
  style: {
153
- display: 'flex',
154
- flexWrap: 'wrap'
179
+ display: "flex",
180
+ flexWrap: "wrap"
155
181
  }
156
182
  }, allImage.map(function (i, index) {
157
183
  return /*#__PURE__*/React.createElement("div", {
158
184
  style: {
159
- width: '50%'
185
+ width: "50%"
160
186
  },
161
187
  key: index
162
- }, type === 'itemCode' && !showHeader.includes('picUrl') ? null : /*#__PURE__*/React.createElement("a", {
163
- href: i.link || ((i === null || i === void 0 ? void 0 : i.platform) === 'taobao' && i.numIid ? "https://item.taobao.com/item.htm?id=".concat(i.numIid) : 'javascript:void(0);'),
188
+ }, type === "itemCode" && !showHeaderMap.includes("picUrl") ? null : /*#__PURE__*/React.createElement("a", {
189
+ href: i.link || ((i === null || i === void 0 ? void 0 : i.platform) === "taobao" && i.numIid ? "https://item.taobao.com/item.htm?id=".concat(i.numIid) : "javascript:void(0);"),
164
190
  target: "__blank",
165
191
  style: {
166
- marginRight: '12px',
167
- marginTop: '8px',
168
- padding: '2px',
169
- border: '1px dashed #ccc',
170
- display: 'inline-block'
192
+ marginRight: "12px",
193
+ marginTop: "8px",
194
+ padding: "2px",
195
+ border: "1px dashed #ccc",
196
+ display: "inline-block"
171
197
  }
172
198
  }, /*#__PURE__*/React.createElement("img", {
173
199
  alt: "",
174
200
  src: i.picUrl || defaultImg,
175
201
  style: {
176
- width: '72px',
177
- height: '72px',
178
- objectFit: 'contain'
202
+ width: "72px",
203
+ height: "72px",
204
+ objectFit: "contain"
179
205
  }
180
- })), /*#__PURE__*/React.createElement("div", null, type === 'itemId' && /*#__PURE__*/React.createElement(TextTool, {
181
- title: '商品id',
206
+ })), /*#__PURE__*/React.createElement("div", null, type === "itemId" && /*#__PURE__*/React.createElement(TextTool, {
207
+ title: "商品id",
182
208
  text: i.numIid
183
- }), type === 'itemCode' && /*#__PURE__*/React.createElement(React.Fragment, null, showHeader.includes('title') && /*#__PURE__*/React.createElement(TextTool, {
184
- title: '商品名称',
209
+ }), type === "itemCode" && /*#__PURE__*/React.createElement(React.Fragment, null, showHeaderMap.includes("title") && /*#__PURE__*/React.createElement(TextTool, {
210
+ title: "商品名称",
185
211
  text: i.title
186
- }), showHeader.includes('outerId') && /*#__PURE__*/React.createElement(TextTool, {
187
- title: '商品编码',
212
+ }), showHeaderMap.includes("outerId") && /*#__PURE__*/React.createElement(TextTool, {
213
+ title: "商品编码",
188
214
  text: i.outerId
189
- }), showHeader.includes('numIid') && /*#__PURE__*/React.createElement(TextTool, {
190
- title: '商品id',
215
+ }), showHeaderMap.includes("numIid") && /*#__PURE__*/React.createElement(TextTool, {
216
+ title: "商品id",
191
217
  text: i.numIid
192
- }), showHeader.includes('skuId') && /*#__PURE__*/React.createElement(TextTool, {
193
- title: 'SKU ID',
218
+ }), showHeaderMap.includes("skuId") && /*#__PURE__*/React.createElement(TextTool, {
219
+ title: "SKU ID",
194
220
  text: i.skuId
195
- }), showHeader.includes('outerSkuId') && /*#__PURE__*/React.createElement(TextTool, {
196
- title: 'SKU 编码',
221
+ }), showHeaderMap.includes("outerSkuId") && /*#__PURE__*/React.createElement(TextTool, {
222
+ title: "SKU 编码",
197
223
  text: i.outerSkuId
198
- }), showHeader.includes('propertiesName') && /*#__PURE__*/React.createElement(TextTool, {
199
- title: 'SKU 信息',
224
+ }), showHeaderMap.includes("propertiesName") && /*#__PURE__*/React.createElement(TextTool, {
225
+ title: "SKU 信息",
200
226
  text: i.propertiesName
201
- })), (type === 'itemThird' || type === 'jstItemThird') && (i.itemId || i.supplierItemOuterId) && /*#__PURE__*/React.createElement(TextTool, {
202
- title: '供应商编码',
227
+ })), (type === "itemThird" || type === "jstItemThird") && (i.itemId || i.supplierItemOuterId) && /*#__PURE__*/React.createElement(TextTool, {
228
+ title: "供应商编码",
203
229
  text: i.itemId || i.supplierItemOuterId
204
- }), (type === 'itemThird' || type === 'jstItemThird') && i.supplierName && /*#__PURE__*/React.createElement(TextTool, {
205
- title: '供应商名称',
230
+ }), (type === "itemThird" || type === "jstItemThird") && i.supplierName && /*#__PURE__*/React.createElement(TextTool, {
231
+ title: "供应商名称",
206
232
  text: i.supplierName
207
- }), type !== 'itemCode' && i.propertiesName && /*#__PURE__*/React.createElement(TextTool, {
208
- title: '规格',
233
+ }), type !== "itemCode" && i.propertiesName && /*#__PURE__*/React.createElement(TextTool, {
234
+ title: "规格",
209
235
  text: i.propertiesName
210
236
  })));
211
237
  }))));
@@ -215,21 +241,34 @@ export var GoodImage = function GoodImage(_ref5) {
215
241
  var _list$slice;
216
242
  var list = _ref5.list,
217
243
  _ref5$type = _ref5.type,
218
- type = _ref5$type === void 0 ? '' : _ref5$type,
244
+ type = _ref5$type === void 0 ? "" : _ref5$type,
219
245
  _ref5$showHeader = _ref5.showHeader,
220
246
  showHeader = _ref5$showHeader === void 0 ? [] : _ref5$showHeader;
221
247
  var total = (list === null || list === void 0 ? void 0 : list.length) || 0;
222
248
  var initShowTotal = 3;
249
+ var showHeaderMap = useMemo(function () {
250
+ var isStringArray = Array.isArray(showHeader) && typeof showHeader[0] === "string";
251
+ var isObjectArray = Array.isArray(showHeader) && Object.prototype.toString.call(showHeader[0]) === "[object Object]";
252
+ var dataIndexList = [];
253
+ if (isStringArray) {
254
+ dataIndexList = showHeader;
255
+ } else if (isObjectArray) {
256
+ dataIndexList = showHeader.map(function (item) {
257
+ return item.dataIndex;
258
+ });
259
+ }
260
+ return dataIndexList;
261
+ }, [showHeader]);
223
262
  return (list === null || list === void 0 ? void 0 : list.length) > 0 ? /*#__PURE__*/React.createElement("div", {
224
263
  style: {
225
- display: type === 'itemSelect' ? 'flex' : 'block'
264
+ display: type === "itemSelect" ? "flex" : "block"
226
265
  }
227
266
  }, list === null || list === void 0 ? void 0 : (_list$slice = list.slice(0, initShowTotal)) === null || _list$slice === void 0 ? void 0 : _list$slice.map(function (item, index) {
228
267
  return showImage({
229
268
  item: item,
230
269
  type: type,
231
270
  index: index,
232
- showHeader: showHeader
271
+ showHeader: showHeaderMap
233
272
  });
234
273
  }), total > initShowTotal && /*#__PURE__*/React.createElement(ShowTotalImage, {
235
274
  total: total,
@@ -241,12 +280,12 @@ export var GoodImage = function GoodImage(_ref5) {
241
280
  var content = function content(item, index) {
242
281
  return /*#__PURE__*/React.createElement("div", {
243
282
  style: {
244
- maxHeight: '300px',
245
- overflowY: 'auto'
283
+ maxHeight: "300px",
284
+ overflowY: "auto"
246
285
  }
247
286
  }, /*#__PURE__*/React.createElement("div", {
248
287
  style: {
249
- textAlign: 'center'
288
+ textAlign: "center"
250
289
  }
251
290
  }, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F"), item.sid && /*#__PURE__*/React.createElement("span", null, "(\u7CFB\u7EDF\u5355\u53F7:", item.sid, ")")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
252
291
  return /*#__PURE__*/React.createElement("div", {
@@ -263,7 +302,7 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
263
302
  list = _ref6$list === void 0 ? [] : _ref6$list,
264
303
  type = _ref6.type,
265
304
  _ref6$platformType = _ref6.platformType,
266
- platformType = _ref6$platformType === void 0 ? 'default' : _ref6$platformType;
305
+ platformType = _ref6$platformType === void 0 ? "default" : _ref6$platformType;
267
306
  var getSendName = function getSendName(item) {
268
307
  return SendDataCenter.getInstance(platformType).getSendNameByCode(item.sendName);
269
308
  };
@@ -278,14 +317,14 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
278
317
  }, /*#__PURE__*/React.createElement("span", {
279
318
  key: index,
280
319
  style: {
281
- color: '#1890ff',
282
- cursor: 'pointer'
320
+ color: "#1890ff",
321
+ cursor: "pointer"
283
322
  }
284
323
  }, "\u5305\u88F9".concat(index + 1), ":")), type === 1 ? /*#__PURE__*/React.createElement("span", null, company && item.logisticsCode ? /*#__PURE__*/React.createElement(React.Fragment, null, company, "/", /*#__PURE__*/React.createElement(CopyText, {
285
324
  text: item.logisticsCode
286
325
  })) : company ? company : item.logisticsCode ? /*#__PURE__*/React.createElement(CopyText, {
287
326
  text: item.logisticsCode
288
- }) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join('/') : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item)].join("/") : item.sendId ? item.sendId : getSendName(item)) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || '') : null));
327
+ }) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join("/") : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item)].join("/") : item.sendId ? item.sendId : getSendName(item)) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || "") : null));
289
328
  }) : null;
290
329
  };
291
330
  export var BsExpressRender = function BsExpressRender(_ref7) {
@@ -306,10 +345,10 @@ export var BsExpressRender = function BsExpressRender(_ref7) {
306
345
  }, /*#__PURE__*/React.createElement("span", {
307
346
  key: index,
308
347
  style: {
309
- color: '#1890ff',
310
- cursor: 'pointer'
348
+ color: "#1890ff",
349
+ cursor: "pointer"
311
350
  }
312
- }, "\u5305\u88F9", ":")), showField === 'company' ? /*#__PURE__*/React.createElement("span", null, company ? company : null) : null, showField === 'code' ? /*#__PURE__*/React.createElement("span", null, item.logisticsCode ? /*#__PURE__*/React.createElement(CopyText, {
351
+ }, "\u5305\u88F9", ":")), showField === "company" ? /*#__PURE__*/React.createElement("span", null, company ? company : null) : null, showField === "code" ? /*#__PURE__*/React.createElement("span", null, item.logisticsCode ? /*#__PURE__*/React.createElement(CopyText, {
313
352
  text: item.logisticsCode
314
353
  }) : null) : null));
315
354
  }) : null;
@@ -324,17 +363,19 @@ export var CommonOrderContent = function CommonOrderContent(_ref8) {
324
363
  _ref8$isShowPopover = _ref8.isShowPopover,
325
364
  isShowPopover = _ref8$isShowPopover === void 0 ? true : _ref8$isShowPopover;
326
365
  var orderContent = function orderContent(item, index) {
366
+ var _item$platformId;
367
+ var leftText = item.platformId ? "平台售后单号" : "系统订单号" + (index + 1);
327
368
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
328
369
  style: {
329
- textAlign: 'center'
370
+ textAlign: "center"
330
371
  }
331
- }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7", index + 1, "\uFF1A", item.systemOrderId));
372
+ }, leftText, "\uFF1A", (_item$platformId = item.platformId) !== null && _item$platformId !== void 0 ? _item$platformId : item.systemOrderId));
332
373
  };
333
374
  return list !== null && list !== void 0 && list.length ? (list || []).map(function (item, index) {
334
375
  var _options$find;
335
376
  var color = ((_options$find = options.find(function (it) {
336
377
  return item[valueKey] === it.value;
337
- })) === null || _options$find === void 0 ? void 0 : _options$find.color) || '#000';
378
+ })) === null || _options$find === void 0 ? void 0 : _options$find.color) || "#000";
338
379
  var currentOption = options.find(function (option) {
339
380
  return item[valueKey] === option.value;
340
381
  });
@@ -346,14 +387,14 @@ export var CommonOrderContent = function CommonOrderContent(_ref8) {
346
387
  }, /*#__PURE__*/React.createElement("span", {
347
388
  key: index,
348
389
  style: {
349
- color: '#1890ff',
350
- cursor: 'pointer'
390
+ color: "#1890ff",
391
+ cursor: "pointer"
351
392
  }
352
- }, "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1), ":")) : null, /*#__PURE__*/React.createElement("span", {
393
+ }, "".concat(item.platformId ? "平台售后单号" : "系统订单号" + (index + 1)), ":")) : null, /*#__PURE__*/React.createElement("span", {
353
394
  style: {
354
395
  color: color
355
396
  }
356
- }, currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || '')), item.reason && (item === null || item === void 0 ? void 0 : item[valueKey]) !== '成功' && /*#__PURE__*/React.createElement("div", {
397
+ }, currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "")), item.reason && (item === null || item === void 0 ? void 0 : item[valueKey]) !== "成功" && /*#__PURE__*/React.createElement("div", {
357
398
  className: "c-red"
358
399
  }, item.reason));
359
400
  }) : null;
@@ -365,22 +406,22 @@ export var BsGoodImage = function BsGoodImage(_ref9) {
365
406
  index = _ref9.index;
366
407
  var picUrl = item.picUrl || defaultImg;
367
408
  var keyMap = {
368
- name: 'bs名称',
369
- code: 'bs编码',
370
- skuId: 'bssku编码',
371
- money: 'bs实付金额',
372
- number: 'bs数量',
373
- share: 'bs分摊价',
374
- type: 'bs赠品类型'
409
+ name: "bs名称",
410
+ code: "bs编码",
411
+ skuId: "bssku编码",
412
+ money: "bs实付金额",
413
+ number: "bs数量",
414
+ share: "bs分摊价",
415
+ type: "bs赠品类型"
375
416
  };
376
417
  return /*#__PURE__*/React.createElement("div", {
377
418
  className: styles.goodImgBox,
378
419
  key: index
379
420
  }, /*#__PURE__*/React.createElement("img", {
380
421
  style: {
381
- width: '40px',
382
- height: '40px',
383
- objectFit: 'contain'
422
+ width: "40px",
423
+ height: "40px",
424
+ objectFit: "contain"
384
425
  },
385
426
  src: picUrl
386
427
  }), /*#__PURE__*/React.createElement("div", {
@@ -402,11 +443,11 @@ export var BsExchangeList = function BsExchangeList(_ref10) {
402
443
  return /*#__PURE__*/React.createElement(React.Fragment, null, BsGoodsTable({
403
444
  list: (item === null || item === void 0 ? void 0 : item.bsExchangeReturnGoods) || [],
404
445
  showHeader: showHeader,
405
- text: '退回'
446
+ text: "退回"
406
447
  }), BsGoodsTable({
407
448
  list: item === null || item === void 0 ? void 0 : item.bsExchangeSwapOutGoods,
408
449
  showHeader: showHeader,
409
- text: '换出'
450
+ text: "换出"
410
451
  }));
411
452
  }));
412
453
  };
@@ -423,31 +464,31 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
423
464
  var list = _ref11.list,
424
465
  showHeader = _ref11.showHeader,
425
466
  _ref11$text = _ref11.text,
426
- text = _ref11$text === void 0 ? '' : _ref11$text,
467
+ text = _ref11$text === void 0 ? "" : _ref11$text,
427
468
  type = _ref11.type;
428
469
  //商品信息
429
470
  var COLUMNS_MAP = function COLUMNS_MAP() {
430
- var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
471
+ var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
431
472
  return function (type) {
432
473
  var columns = [];
433
474
  switch (type) {
434
- case 'ITEM_ENCODE':
475
+ case "ITEM_ENCODE":
435
476
  columns = [{
436
- dataIndex: 'title',
437
- title: '商品名称',
438
- align: 'center',
477
+ dataIndex: "title",
478
+ title: "商品名称",
479
+ align: "center",
439
480
  ellipsis: true,
440
481
  width: 200
441
482
  }, {
442
- dataIndex: 'outerId',
443
- title: '商品编码',
444
- align: 'center',
483
+ dataIndex: "outerId",
484
+ title: "商品编码",
485
+ align: "center",
445
486
  ellipsis: true,
446
487
  width: 140
447
488
  }, {
448
- dataIndex: 'picUrl',
449
- title: '图片',
450
- align: 'center',
489
+ dataIndex: "picUrl",
490
+ title: "图片",
491
+ align: "center",
451
492
  ellipsis: true,
452
493
  width: 100,
453
494
  render: function render(val) {
@@ -457,73 +498,73 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
457
498
  });
458
499
  }
459
500
  }, {
460
- dataIndex: 'numIid',
461
- title: '商品id',
462
- align: 'center',
501
+ dataIndex: "numIid",
502
+ title: "商品id",
503
+ align: "center",
463
504
  ellipsis: true,
464
505
  width: 200
465
506
  }, {
466
- dataIndex: 'skuId',
467
- title: 'SKU ID',
468
- align: 'center',
507
+ dataIndex: "skuId",
508
+ title: "SKU ID",
509
+ align: "center",
469
510
  ellipsis: true,
470
511
  width: 200
471
512
  }, {
472
- dataIndex: 'outerSkuId',
473
- title: 'SKU 编码',
474
- align: 'center',
513
+ dataIndex: "outerSkuId",
514
+ title: "SKU 编码",
515
+ align: "center",
475
516
  ellipsis: true,
476
517
  width: 100
477
518
  }, {
478
- dataIndex: 'propertiesName',
479
- title: 'SKU 信息',
480
- align: 'center',
519
+ dataIndex: "propertiesName",
520
+ title: "SKU 信息",
521
+ align: "center",
481
522
  ellipsis: true,
482
523
  width: 200
483
524
  }];
484
525
  break;
485
- case 'WDT_REISSUE_GOODS':
486
- case 'WDT_GOODS':
526
+ case "WDT_REISSUE_GOODS":
527
+ case "WDT_GOODS":
487
528
  columns = [{
488
- dataIndex: 'goodId',
529
+ dataIndex: "goodId",
489
530
  title: "\u5546\u54C1ID",
490
- align: 'center',
531
+ align: "center",
491
532
  ellipsis: true,
492
533
  width: 70
493
534
  }, {
494
- dataIndex: 'goodNo',
535
+ dataIndex: "goodNo",
495
536
  title: "\u5546\u54C1\u7F16\u7801",
496
- align: 'center',
537
+ align: "center",
497
538
  ellipsis: true,
498
539
  width: 180
499
540
  }, {
500
- dataIndex: 'goodName',
541
+ dataIndex: "goodName",
501
542
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
502
- align: 'center',
543
+ align: "center",
503
544
  ellipsis: true,
504
545
  width: 250
505
546
  }, {
506
- dataIndex: 'specId',
547
+ dataIndex: "specId",
507
548
  title: "".concat(text, "SKUID"),
508
- align: 'center',
549
+ align: "center",
509
550
  ellipsis: true,
510
551
  width: 100
511
552
  }, {
512
- dataIndex: 'specNo',
553
+ dataIndex: "specNo",
513
554
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
514
- align: 'center',
555
+ align: "center",
515
556
  ellipsis: true,
516
557
  width: 180
517
558
  }, {
518
- dataIndex: 'specName',
559
+ dataIndex: "specName",
519
560
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
520
- align: 'center',
561
+ align: "center",
521
562
  ellipsis: true,
522
563
  width: 250
523
564
  }, {
524
- dataIndex: 'imgUrl',
565
+ dataIndex: "imgUrl",
525
566
  title: "\u56FE\u7247",
526
- align: 'center',
567
+ align: "center",
527
568
  ellipsis: true,
528
569
  width: 100,
529
570
  render: function render(val) {
@@ -533,15 +574,15 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
533
574
  });
534
575
  }
535
576
  }, {
536
- dataIndex: 'orderPrice',
577
+ dataIndex: "orderPrice",
537
578
  title: "\u5B9E\u4ED8\u603B\u91D1\u989D",
538
- align: 'center',
579
+ align: "center",
539
580
  ellipsis: true,
540
581
  width: 100
541
582
  }, {
542
- dataIndex: 'num',
583
+ dataIndex: "num",
543
584
  title: "".concat(text, "\u6570\u91CF"),
544
- align: 'center',
585
+ align: "center",
545
586
  ellipsis: true,
546
587
  width: 100
547
588
  },
@@ -553,242 +594,242 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
553
594
  // width: 100,
554
595
  // },
555
596
  {
556
- dataIndex: 'sharePrice',
597
+ dataIndex: "sharePrice",
557
598
  title: "\u5206\u644A\u4EF7",
558
- align: 'center',
599
+ align: "center",
559
600
  ellipsis: true,
560
601
  width: 70
561
602
  }, {
562
- dataIndex: 'giftType',
603
+ dataIndex: "giftType",
563
604
  title: "\u8D60\u54C1\u65B9\u5F0F",
564
- align: 'center',
605
+ align: "center",
565
606
  ellipsis: true,
566
607
  width: 100,
567
608
  render: function render(val) {
568
609
  var giftTypeMap = {
569
- 0: '非赠品',
570
- 1: '自动赠送',
571
- 2: '手工赠送',
572
- 3: '回购自动送赠品',
573
- 4: '前N有礼送赠品',
574
- 6: '天猫优仓赠品',
575
- 7: '淘宝CRM会员送赠'
610
+ 0: "非赠品",
611
+ 1: "自动赠送",
612
+ 2: "手工赠送",
613
+ 3: "回购自动送赠品",
614
+ 4: "前N有礼送赠品",
615
+ 6: "天猫优仓赠品",
616
+ 7: "淘宝CRM会员送赠"
576
617
  };
577
618
  return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
578
619
  }
579
620
  }];
580
621
  break;
581
- case 'WDT_RETURN_GOODS':
622
+ case "WDT_RETURN_GOODS":
582
623
  {
583
624
  columns = [{
584
- dataIndex: 'goodId',
625
+ dataIndex: "goodId",
585
626
  title: "\u5546\u54C1ID",
586
- align: 'center',
627
+ align: "center",
587
628
  ellipsis: true,
588
629
  width: 70
589
630
  }, {
590
- dataIndex: 'goodNo',
631
+ dataIndex: "goodNo",
591
632
  title: "\u5546\u54C1\u7F16\u7801",
592
- align: 'center',
633
+ align: "center",
593
634
  ellipsis: true,
594
635
  width: 180
595
636
  }, {
596
- dataIndex: 'goodName',
637
+ dataIndex: "goodName",
597
638
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
598
- align: 'center',
639
+ align: "center",
599
640
  ellipsis: true,
600
641
  width: 250
601
642
  }, {
602
- dataIndex: 'specId',
643
+ dataIndex: "specId",
603
644
  title: "".concat(text, "SKUID"),
604
- align: 'center',
645
+ align: "center",
605
646
  ellipsis: true,
606
647
  width: 100
607
648
  }, {
608
- dataIndex: 'specNo',
649
+ dataIndex: "specNo",
609
650
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
610
- align: 'center',
651
+ align: "center",
611
652
  ellipsis: true,
612
653
  width: 180
613
654
  }, {
614
- dataIndex: 'specName',
655
+ dataIndex: "specName",
615
656
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
616
- align: 'center',
657
+ align: "center",
617
658
  ellipsis: true,
618
659
  width: 250
619
660
  }, {
620
- dataIndex: 'num',
661
+ dataIndex: "num",
621
662
  title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
622
- align: 'center',
663
+ align: "center",
623
664
  ellipsis: true,
624
665
  width: 100
625
666
  }, {
626
- dataIndex: 'sharePrice',
667
+ dataIndex: "sharePrice",
627
668
  title: "\u5206\u644A\u4EF7",
628
- align: 'center',
669
+ align: "center",
629
670
  ellipsis: true,
630
671
  width: 80
631
672
  }, {
632
- dataIndex: 'returnPrice',
673
+ dataIndex: "returnPrice",
633
674
  title: "".concat(text, "\u9000\u8D27\u91D1\u989D"),
634
- align: 'center',
675
+ align: "center",
635
676
  ellipsis: true,
636
677
  width: 100
637
678
  }, {
638
- dataIndex: 'giftType',
679
+ dataIndex: "giftType",
639
680
  title: "\u8D60\u54C1\u65B9\u5F0F",
640
- align: 'center',
681
+ align: "center",
641
682
  ellipsis: true,
642
683
  width: 100,
643
684
  render: function render(val) {
644
685
  var giftTypeMap = {
645
- 0: '非赠品',
646
- 1: '自动赠送',
647
- 2: '手工赠送',
648
- 3: '回购自动送赠品',
649
- 4: '前N有礼送赠品',
650
- 6: '天猫优仓赠品',
651
- 7: '淘宝CRM会员送赠'
686
+ 0: "非赠品",
687
+ 1: "自动赠送",
688
+ 2: "手工赠送",
689
+ 3: "回购自动送赠品",
690
+ 4: "前N有礼送赠品",
691
+ 6: "天猫优仓赠品",
692
+ 7: "淘宝CRM会员送赠"
652
693
  };
653
694
  return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
654
695
  }
655
696
  }, {
656
- dataIndex: 'type',
697
+ dataIndex: "type",
657
698
  title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
658
- align: 'center',
699
+ align: "center",
659
700
  ellipsis: true,
660
701
  width: 100,
661
702
  render: function render(val) {
662
703
  var typeMap = {
663
- '1': '单品',
664
- '2': '组合装'
704
+ "1": "单品",
705
+ "2": "组合装"
665
706
  };
666
707
  return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
667
708
  }
668
709
  }];
669
710
  }
670
711
  break;
671
- case 'WDT_EXCHANGE_GOODS':
712
+ case "WDT_EXCHANGE_GOODS":
672
713
  {
673
714
  columns = [{
674
- dataIndex: 'goodId',
715
+ dataIndex: "goodId",
675
716
  title: "\u5546\u54C1ID",
676
- align: 'center',
717
+ align: "center",
677
718
  ellipsis: true,
678
719
  width: 70
679
720
  }, {
680
- dataIndex: 'goodNo',
721
+ dataIndex: "goodNo",
681
722
  title: "\u5546\u54C1\u7F16\u7801",
682
- align: 'center',
723
+ align: "center",
683
724
  ellipsis: true,
684
725
  width: 180
685
726
  }, {
686
- dataIndex: 'goodName',
727
+ dataIndex: "goodName",
687
728
  title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
688
- align: 'center',
729
+ align: "center",
689
730
  ellipsis: true,
690
731
  width: 250
691
732
  }, {
692
- dataIndex: 'specId',
733
+ dataIndex: "specId",
693
734
  title: "".concat(text, "SKUID"),
694
- align: 'center',
735
+ align: "center",
695
736
  ellipsis: true,
696
737
  width: 100
697
738
  }, {
698
- dataIndex: 'specNo',
739
+ dataIndex: "specNo",
699
740
  title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
700
- align: 'center',
741
+ align: "center",
701
742
  ellipsis: true,
702
743
  width: 180
703
744
  }, {
704
- dataIndex: 'specName',
745
+ dataIndex: "specName",
705
746
  title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
706
- align: 'center',
747
+ align: "center",
707
748
  ellipsis: true,
708
749
  width: 250
709
750
  }, {
710
- dataIndex: 'num',
751
+ dataIndex: "num",
711
752
  title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
712
- align: 'center',
753
+ align: "center",
713
754
  ellipsis: true,
714
755
  width: 100
715
756
  }, {
716
- dataIndex: 'price',
757
+ dataIndex: "price",
717
758
  title: "".concat(text, "\u5546\u54C1\u5355\u4EF7"),
718
- align: 'center',
759
+ align: "center",
719
760
  ellipsis: true,
720
761
  width: 100
721
762
  }, {
722
- dataIndex: 'exchangePrice',
763
+ dataIndex: "exchangePrice",
723
764
  title: "".concat(text, "\u6362\u51FA\u91D1\u989D"),
724
- align: 'center',
765
+ align: "center",
725
766
  ellipsis: true,
726
767
  width: 100
727
768
  }, {
728
- dataIndex: 'giftType',
769
+ dataIndex: "giftType",
729
770
  title: "\u8D60\u54C1\u65B9\u5F0F",
730
- align: 'center',
771
+ align: "center",
731
772
  ellipsis: true,
732
773
  width: 100,
733
774
  render: function render(val) {
734
775
  var giftTypeMap = {
735
- 0: '非赠品',
736
- 1: '自动赠送',
737
- 2: '手工赠送',
738
- 3: '回购自动送赠品',
739
- 4: '前N有礼送赠品',
740
- 6: '天猫优仓赠品',
741
- 7: '淘宝CRM会员送赠'
776
+ 0: "非赠品",
777
+ 1: "自动赠送",
778
+ 2: "手工赠送",
779
+ 3: "回购自动送赠品",
780
+ 4: "前N有礼送赠品",
781
+ 6: "天猫优仓赠品",
782
+ 7: "淘宝CRM会员送赠"
742
783
  };
743
784
  return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
744
785
  }
745
786
  }, {
746
- dataIndex: 'type',
787
+ dataIndex: "type",
747
788
  title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
748
- align: 'center',
789
+ align: "center",
749
790
  ellipsis: true,
750
791
  width: 100,
751
792
  render: function render(val) {
752
793
  var typeMap = {
753
- '1': '单品',
754
- '2': '组合装'
794
+ "1": "单品",
795
+ "2": "组合装"
755
796
  };
756
797
  return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
757
798
  }
758
799
  }];
759
800
  }
760
801
  break;
761
- case 'BS_E3_REISSUE_GOODS':
762
- case 'BS_E3_GOODS':
802
+ case "BS_E3_REISSUE_GOODS":
803
+ case "BS_E3_GOODS":
763
804
  {
764
805
  columns = [{
765
- dataIndex: 'sku',
806
+ dataIndex: "sku",
766
807
  title: "SKU",
767
- align: 'center',
808
+ align: "center",
768
809
  ellipsis: true,
769
810
  width: 150
770
811
  }, {
771
- dataIndex: 'skuId',
812
+ dataIndex: "skuId",
772
813
  title: "SKU ID",
773
- align: 'center',
814
+ align: "center",
774
815
  ellipsis: true,
775
816
  width: 150
776
817
  }, {
777
- dataIndex: 'goodsName',
818
+ dataIndex: "goodsName",
778
819
  title: "\u5546\u54C1\u540D\u79F0",
779
- align: 'center',
820
+ align: "center",
780
821
  ellipsis: true,
781
822
  width: 150
782
823
  }, {
783
- dataIndex: 'goodsShortName',
824
+ dataIndex: "goodsShortName",
784
825
  title: "\u5546\u54C1\u7B80\u79F0",
785
- align: 'center',
826
+ align: "center",
786
827
  ellipsis: true,
787
828
  width: 100
788
829
  }, {
789
- dataIndex: 'picPath',
830
+ dataIndex: "picPath",
790
831
  title: "\u5546\u54C1\u56FE\u7247",
791
- align: 'center',
832
+ align: "center",
792
833
  ellipsis: true,
793
834
  width: 100,
794
835
  render: function render(val) {
@@ -798,105 +839,105 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
798
839
  });
799
840
  }
800
841
  }, {
801
- dataIndex: 'goodsSn',
842
+ dataIndex: "goodsSn",
802
843
  title: "\u8D27\u53F7",
803
- align: 'center',
844
+ align: "center",
804
845
  ellipsis: true,
805
846
  width: 150
806
847
  }, {
807
- dataIndex: 'goodsId',
848
+ dataIndex: "goodsId",
808
849
  title: "\u8D27\u53F7ID",
809
- align: 'center',
850
+ align: "center",
810
851
  ellipsis: true,
811
852
  width: 150
812
853
  }, {
813
- dataIndex: 'colorName',
854
+ dataIndex: "colorName",
814
855
  title: "\u989C\u8272\u540D\u79F0",
815
- align: 'center',
856
+ align: "center",
816
857
  ellipsis: true,
817
858
  width: 100
818
859
  }, {
819
- dataIndex: 'colorCode',
860
+ dataIndex: "colorCode",
820
861
  title: "\u989C\u8272\u4EE3\u7801",
821
- align: 'center',
862
+ align: "center",
822
863
  ellipsis: true,
823
864
  width: 150
824
865
  }, {
825
- dataIndex: 'sizeName',
866
+ dataIndex: "sizeName",
826
867
  title: "\u5C3A\u7801\u540D\u79F0",
827
- align: 'center',
868
+ align: "center",
828
869
  ellipsis: true,
829
870
  width: 100
830
871
  }, {
831
- dataIndex: 'sizeCode',
872
+ dataIndex: "sizeCode",
832
873
  title: "\u5C3A\u7801\u4EE3\u7801",
833
- align: 'center',
874
+ align: "center",
834
875
  ellipsis: true,
835
876
  width: 100
836
877
  }, {
837
- dataIndex: 'brandName',
878
+ dataIndex: "brandName",
838
879
  title: "\u54C1\u724C\u540D\u79F0",
839
- align: 'center',
880
+ align: "center",
840
881
  ellipsis: true,
841
882
  width: 150
842
883
  }, {
843
- dataIndex: 'goodsNumber',
884
+ dataIndex: "goodsNumber",
844
885
  title: "\u5546\u54C1\u6570\u91CF",
845
- align: 'center',
886
+ align: "center",
846
887
  ellipsis: true,
847
888
  width: 100
848
889
  }, {
849
- dataIndex: 'goodsPrice',
890
+ dataIndex: "goodsPrice",
850
891
  title: "\u5546\u54C1\u5355\u4EF7",
851
- align: 'center',
892
+ align: "center",
852
893
  ellipsis: true,
853
894
  width: 120
854
895
  }, {
855
- dataIndex: 'shopPrice',
896
+ dataIndex: "shopPrice",
856
897
  title: "\u5546\u54C1\u7F51\u5E97\u552E\u4EF7",
857
- align: 'center',
898
+ align: "center",
858
899
  ellipsis: true,
859
900
  width: 120
860
901
  }, {
861
- dataIndex: 'sharePrice',
902
+ dataIndex: "sharePrice",
862
903
  title: "\u5206\u644A\u4EF7",
863
- align: 'center',
904
+ align: "center",
864
905
  ellipsis: true,
865
906
  width: 120
866
907
  }, {
867
- dataIndex: 'sharePayment',
908
+ dataIndex: "sharePayment",
868
909
  title: "\u5206\u644A\u5B9E\u4ED8\u91D1\u989D",
869
- align: 'center',
910
+ align: "center",
870
911
  ellipsis: true,
871
912
  width: 120
872
913
  }, {
873
- dataIndex: 'payment',
914
+ dataIndex: "payment",
874
915
  title: "\u5B9E\u4ED8\u91D1\u989D",
875
- align: 'center',
916
+ align: "center",
876
917
  ellipsis: true,
877
918
  width: 120
878
919
  }, {
879
- dataIndex: 'tcSku',
920
+ dataIndex: "tcSku",
880
921
  title: "\u5957\u9910SKU",
881
- align: 'center',
922
+ align: "center",
882
923
  ellipsis: true,
883
924
  width: 150
884
925
  }, {
885
- dataIndex: 'tcGoodsNumber',
926
+ dataIndex: "tcGoodsNumber",
886
927
  title: "\u5957\u9910\u5957\u6570",
887
- align: 'center',
928
+ align: "center",
888
929
  ellipsis: true,
889
930
  width: 100
890
931
  }, {
891
- dataIndex: 'taoCanSingleSl',
932
+ dataIndex: "taoCanSingleSl",
892
933
  title: "\u5355\u4E2A\u5957\u9910\u6570\u91CF",
893
- align: 'center',
934
+ align: "center",
894
935
  ellipsis: true,
895
936
  width: 100
896
937
  }, {
897
- dataIndex: 'isGift',
938
+ dataIndex: "isGift",
898
939
  title: "\u662F\u5426\u8D60\u54C1",
899
- align: 'center',
940
+ align: "center",
900
941
  ellipsis: true,
901
942
  width: 100,
902
943
  render: function render(val) {
@@ -905,35 +946,35 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
905
946
  }];
906
947
  }
907
948
  break;
908
- case 'BS_GOODS':
949
+ case "BS_GOODS":
909
950
  columns = [{
910
- dataIndex: 'mark',
951
+ dataIndex: "mark",
911
952
  title: "\u5546\u54C1\u6807\u8BB0",
912
- align: 'center',
953
+ align: "center",
913
954
  ellipsis: true,
914
955
  width: 100
915
956
  }, {
916
- dataIndex: 'skuName',
957
+ dataIndex: "skuName",
917
958
  title: "".concat(text, "sku\u540D\u79F0"),
918
- align: 'center',
959
+ align: "center",
919
960
  ellipsis: true,
920
961
  width: 200
921
962
  }, {
922
- dataIndex: 'sku',
963
+ dataIndex: "sku",
923
964
  title: "".concat(text, "sku\u7F16\u7801"),
924
- align: 'center',
965
+ align: "center",
925
966
  ellipsis: true,
926
967
  width: 100
927
968
  }, {
928
- dataIndex: 'name',
969
+ dataIndex: "name",
929
970
  title: "".concat(text, "\u540D\u79F0"),
930
- align: 'center',
971
+ align: "center",
931
972
  ellipsis: true,
932
973
  width: 200
933
974
  }, {
934
- dataIndex: 'pic',
975
+ dataIndex: "pic",
935
976
  title: "\u56FE\u7247",
936
- align: 'center',
977
+ align: "center",
937
978
  ellipsis: true,
938
979
  width: 100,
939
980
  render: function render(val) {
@@ -943,78 +984,78 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
943
984
  });
944
985
  }
945
986
  }, {
946
- dataIndex: 'code',
987
+ dataIndex: "code",
947
988
  title: "".concat(text, "\u7F16\u7801"),
948
- align: 'center',
989
+ align: "center",
949
990
  ellipsis: true,
950
991
  width: 100
951
992
  }, {
952
- dataIndex: 'money',
993
+ dataIndex: "money",
953
994
  title: "\u5B9E\u4ED8\u91D1\u989D",
954
- align: 'center',
995
+ align: "center",
955
996
  ellipsis: true,
956
997
  width: 100
957
998
  }, {
958
- dataIndex: 'number',
999
+ dataIndex: "number",
959
1000
  title: "".concat(text, "\u6570\u91CF"),
960
- align: 'center',
1001
+ align: "center",
961
1002
  ellipsis: true,
962
1003
  width: 100
963
1004
  }, {
964
- dataIndex: 'share',
1005
+ dataIndex: "share",
965
1006
  title: "\u5206\u644A\u4EF7",
966
- align: 'center',
1007
+ align: "center",
967
1008
  ellipsis: true,
968
1009
  width: 70
969
1010
  }, {
970
- dataIndex: 'type',
1011
+ dataIndex: "type",
971
1012
  title: "\u8D60\u54C1\u7C7B\u578B",
972
- align: 'center',
1013
+ align: "center",
973
1014
  ellipsis: true,
974
1015
  width: 100
975
1016
  }, {
976
- dataIndex: 'batch',
1017
+ dataIndex: "batch",
977
1018
  title: "\u6279\u6B21\u53F7",
978
- align: 'center',
1019
+ align: "center",
979
1020
  ellipsis: true,
980
1021
  width: 100
981
1022
  }, {
982
- dataIndex: 'expireDate',
1023
+ dataIndex: "expireDate",
983
1024
  title: "\u6709\u6548\u671F",
984
- align: 'center',
1025
+ align: "center",
985
1026
  ellipsis: true,
986
1027
  width: 100
987
1028
  }];
988
1029
  break;
989
1030
  default:
990
1031
  columns = [{
991
- dataIndex: 'mark',
1032
+ dataIndex: "mark",
992
1033
  title: "\u5546\u54C1\u6807\u8BB0",
993
- align: 'center',
1034
+ align: "center",
994
1035
  ellipsis: true,
995
1036
  width: 100
996
1037
  }, {
997
- dataIndex: 'skuName',
1038
+ dataIndex: "skuName",
998
1039
  title: "".concat(text, "sku\u540D\u79F0"),
999
- align: 'center',
1040
+ align: "center",
1000
1041
  ellipsis: true,
1001
1042
  width: 200
1002
1043
  }, {
1003
- dataIndex: 'sku',
1044
+ dataIndex: "sku",
1004
1045
  title: "".concat(text, "sku\u7F16\u7801"),
1005
- align: 'center',
1046
+ align: "center",
1006
1047
  ellipsis: true,
1007
1048
  width: 100
1008
1049
  }, {
1009
- dataIndex: 'name',
1050
+ dataIndex: "name",
1010
1051
  title: "".concat(text, "\u540D\u79F0"),
1011
- align: 'center',
1052
+ align: "center",
1012
1053
  ellipsis: true,
1013
1054
  width: 200
1014
1055
  }, {
1015
- dataIndex: 'pic',
1056
+ dataIndex: "pic",
1016
1057
  title: "\u56FE\u7247",
1017
- align: 'center',
1058
+ align: "center",
1018
1059
  ellipsis: true,
1019
1060
  width: 100,
1020
1061
  render: function render(val) {
@@ -1024,33 +1065,33 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
1024
1065
  });
1025
1066
  }
1026
1067
  }, {
1027
- dataIndex: 'code',
1068
+ dataIndex: "code",
1028
1069
  title: "".concat(text, "\u7F16\u7801"),
1029
- align: 'center',
1070
+ align: "center",
1030
1071
  ellipsis: true,
1031
1072
  width: 100
1032
1073
  }, {
1033
- dataIndex: 'money',
1074
+ dataIndex: "money",
1034
1075
  title: "\u5B9E\u4ED8\u91D1\u989D",
1035
- align: 'center',
1076
+ align: "center",
1036
1077
  ellipsis: true,
1037
1078
  width: 100
1038
1079
  }, {
1039
- dataIndex: 'number',
1080
+ dataIndex: "number",
1040
1081
  title: "".concat(text, "\u6570\u91CF"),
1041
- align: 'center',
1082
+ align: "center",
1042
1083
  ellipsis: true,
1043
1084
  width: 100
1044
1085
  }, {
1045
- dataIndex: 'share',
1086
+ dataIndex: "share",
1046
1087
  title: "\u5206\u644A\u4EF7",
1047
- align: 'center',
1088
+ align: "center",
1048
1089
  ellipsis: true,
1049
1090
  width: 70
1050
1091
  }, {
1051
- dataIndex: 'type',
1092
+ dataIndex: "type",
1052
1093
  title: "\u8D60\u54C1\u7C7B\u578B",
1053
- align: 'center',
1094
+ align: "center",
1054
1095
  ellipsis: true,
1055
1096
  width: 100
1056
1097
  }];
@@ -1060,7 +1101,7 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
1060
1101
  };
1061
1102
  //商品信息
1062
1103
  var GOODS_INFO_COLUMNS = function GOODS_INFO_COLUMNS() {
1063
- var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
1104
+ var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
1064
1105
  var COLUMNS_INFO = COLUMNS_MAP(text);
1065
1106
  return COLUMNS_INFO(type);
1066
1107
  };
@@ -1068,31 +1109,47 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
1068
1109
  // return
1069
1110
  // }
1070
1111
  var newColumns = useMemo(function () {
1112
+ var initBaseInfoColumns = GOODS_INFO_COLUMNS();
1113
+ var baseInfoColumns = [];
1114
+ var isStringArray = Array.isArray(showHeader) && typeof showHeader[0] === "string";
1115
+ var isObjectArray = Array.isArray(showHeader) && Object.prototype.toString.call(showHeader[0]) === "[object Object]";
1116
+ if (isStringArray) {
1117
+ baseInfoColumns = initBaseInfoColumns.filter(function (col) {
1118
+ return showHeader.includes(col.dataIndex);
1119
+ });
1120
+ } else if (isObjectArray) {
1121
+ baseInfoColumns = showHeader.filter(function (col) {
1122
+ return col.show !== false;
1123
+ }).map(function (col) {
1124
+ var currentCol = initBaseInfoColumns.find(function (item) {
1125
+ return item.dataIndex === col.dataIndex;
1126
+ });
1127
+ return currentCol ? currentCol : undefined;
1128
+ }).filter(Boolean);
1129
+ }
1071
1130
  var columnList = [{
1072
- dataIndex: '',
1073
- title: '序号',
1074
- align: 'center',
1131
+ dataIndex: "",
1132
+ title: "序号",
1133
+ align: "center",
1075
1134
  ellipsis: true,
1076
1135
  width: 50,
1077
1136
  render: function render(val, record, index) {
1078
1137
  return /*#__PURE__*/React.createElement("span", null, index + 1);
1079
1138
  }
1080
- }].concat(_toConsumableArray(GOODS_INFO_COLUMNS(text).filter(function (t) {
1081
- return showHeader.includes(t === null || t === void 0 ? void 0 : t.dataIndex);
1082
- })));
1139
+ }].concat(_toConsumableArray(baseInfoColumns));
1083
1140
  return columnList;
1084
1141
  }, [showHeader, list]);
1085
1142
  return /*#__PURE__*/React.createElement(Table, {
1086
1143
  columns: newColumns,
1087
1144
  dataSource: list,
1088
- rowKey: 'uuid',
1145
+ rowKey: "uuid",
1089
1146
  size: "small",
1090
1147
  pagination: false,
1091
1148
  scroll: {
1092
- x: '100%'
1149
+ x: "100%"
1093
1150
  },
1094
1151
  locale: {
1095
- emptyText: '暂无数据'
1152
+ emptyText: "暂无数据"
1096
1153
  }
1097
1154
  });
1098
1155
  };
@@ -1105,15 +1162,15 @@ export var FileRender = function FileRender(_ref12) {
1105
1162
  _useState4 = _slicedToArray(_useState3, 2),
1106
1163
  visible = _useState4[0],
1107
1164
  setVisible = _useState4[1];
1108
- var _useState5 = useState(''),
1165
+ var _useState5 = useState(""),
1109
1166
  _useState6 = _slicedToArray(_useState5, 2),
1110
1167
  fileUrl = _useState6[0],
1111
1168
  setFileUrl = _useState6[1];
1112
- var _useState7 = useState(''),
1169
+ var _useState7 = useState(""),
1113
1170
  _useState8 = _slicedToArray(_useState7, 2),
1114
1171
  fileType = _useState8[0],
1115
1172
  setFileType = _useState8[1];
1116
- var _useState9 = useState(''),
1173
+ var _useState9 = useState(""),
1117
1174
  _useState10 = _slicedToArray(_useState9, 2),
1118
1175
  fileName = _useState10[0],
1119
1176
  setFileName = _useState10[1];
@@ -1122,24 +1179,24 @@ export var FileRender = function FileRender(_ref12) {
1122
1179
  downloading = _useState12[0],
1123
1180
  setDownloading = _useState12[1];
1124
1181
  var handleCancel = function handleCancel() {
1125
- setFileUrl('');
1126
- setFileName('');
1182
+ setFileUrl("");
1183
+ setFileName("");
1127
1184
  setVisible(false);
1128
1185
  setDownloading(false);
1129
1186
  };
1130
1187
  var onPreview = function onPreview(file) {
1131
1188
  var _file$url;
1132
- var fileArr = file === null || file === void 0 ? void 0 : (_file$url = file.url) === null || _file$url === void 0 ? void 0 : _file$url.split('.');
1189
+ var fileArr = file === null || file === void 0 ? void 0 : (_file$url = file.url) === null || _file$url === void 0 ? void 0 : _file$url.split(".");
1133
1190
  var fileType = fileArr[fileArr.length - 1];
1134
- if (['png', 'jpg', 'jpeg', 'gif', 'bmp', 'svg'].includes(fileType.toLowerCase())) {
1191
+ if (["png", "jpg", "jpeg", "gif", "bmp", "svg"].includes(fileType.toLowerCase())) {
1135
1192
  setFileUrl(file === null || file === void 0 ? void 0 : file.url);
1136
1193
  setFileName(file === null || file === void 0 ? void 0 : file.name);
1137
- setFileType('pic');
1194
+ setFileType("pic");
1138
1195
  setVisible(true);
1139
- } else if (['mp4', 'avi', 'mpeg', 'asf', 'mov', '3gp', 'wmv', 'rmvb'].includes(fileType.toLowerCase())) {
1196
+ } else if (["mp4", "avi", "mpeg", "asf", "mov", "3gp", "wmv", "rmvb"].includes(fileType.toLowerCase())) {
1140
1197
  setFileUrl(file === null || file === void 0 ? void 0 : file.url);
1141
1198
  setFileName(file === null || file === void 0 ? void 0 : file.name);
1142
- setFileType('video');
1199
+ setFileType("video");
1143
1200
  setVisible(true);
1144
1201
  } else {
1145
1202
  window.open(file === null || file === void 0 ? void 0 : file.url);
@@ -1150,9 +1207,9 @@ export var FileRender = function FileRender(_ref12) {
1150
1207
  fetch(url).then(function (res) {
1151
1208
  return res.blob();
1152
1209
  }).then(function (blob) {
1153
- var a = document.createElement('a');
1210
+ var a = document.createElement("a");
1154
1211
  document.body.appendChild(a);
1155
- a.style.display = 'none';
1212
+ a.style.display = "none";
1156
1213
  var url = window.URL.createObjectURL(blob);
1157
1214
  a.href = url;
1158
1215
  a.download = name;
@@ -1166,9 +1223,9 @@ export var FileRender = function FileRender(_ref12) {
1166
1223
  return /*#__PURE__*/React.createElement(React.Fragment, null, fileList.map(function (item) {
1167
1224
  return /*#__PURE__*/React.createElement("a", {
1168
1225
  style: {
1169
- color: '#1890ff',
1170
- cursor: 'pointer',
1171
- display: 'block'
1226
+ color: "#1890ff",
1227
+ cursor: "pointer",
1228
+ display: "block"
1172
1229
  },
1173
1230
  onClick: function onClick(e) {
1174
1231
  e.preventDefault();
@@ -1190,20 +1247,20 @@ export var FileRender = function FileRender(_ref12) {
1190
1247
  }, "\u4E0B\u8F7D") : /*#__PURE__*/React.createElement(CopyToClipboard, {
1191
1248
  text: fileUrl,
1192
1249
  onCopy: function onCopy() {
1193
- message.success('复制成功');
1250
+ message.success("复制成功");
1194
1251
  }
1195
1252
  }, /*#__PURE__*/React.createElement(Button, {
1196
1253
  type: "link"
1197
- }, "\u4E0B\u8F7D\u5730\u5740")), fileType === 'pic' ? /*#__PURE__*/React.createElement("img", {
1254
+ }, "\u4E0B\u8F7D\u5730\u5740")), fileType === "pic" ? /*#__PURE__*/React.createElement("img", {
1198
1255
  alt: "example",
1199
1256
  style: {
1200
- width: '100%'
1257
+ width: "100%"
1201
1258
  },
1202
1259
  src: fileUrl
1203
1260
  }) : /*#__PURE__*/React.createElement("video", {
1204
1261
  style: {
1205
- width: '100%',
1206
- height: '100%'
1262
+ width: "100%",
1263
+ height: "100%"
1207
1264
  },
1208
1265
  autoPlay: true,
1209
1266
  controls: true,
@@ -1215,20 +1272,20 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
1215
1272
  type = _ref13.type;
1216
1273
  var columnMap = {
1217
1274
  BS_SYSTEM_ORDER: [{
1218
- dataIndex: 'billType',
1219
- title: '订单类型'
1275
+ dataIndex: "billType",
1276
+ title: "订单类型"
1220
1277
  }, {
1221
- dataIndex: 'billNo',
1222
- title: '系统订单号'
1278
+ dataIndex: "billNo",
1279
+ title: "系统订单号"
1223
1280
  }, {
1224
- dataIndex: 'billTag',
1225
- title: '标签'
1281
+ dataIndex: "billTag",
1282
+ title: "标签"
1226
1283
  }, {
1227
- title: '主播名称',
1228
- dataIndex: 'authorName'
1284
+ title: "主播名称",
1285
+ dataIndex: "authorName"
1229
1286
  }, {
1230
- title: '主播ID',
1231
- dataIndex: 'authorId'
1287
+ title: "主播ID",
1288
+ dataIndex: "authorId"
1232
1289
  }
1233
1290
  // {
1234
1291
  // title: '直播活动',
@@ -1238,24 +1295,24 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
1238
1295
 
1239
1296
  KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
1240
1297
  WLN_SYSTEM_ORDER: [{
1241
- dataIndex: 'billType',
1242
- title: '单据类型'
1298
+ dataIndex: "billType",
1299
+ title: "单据类型"
1243
1300
  }, {
1244
- dataIndex: 'billNo',
1245
- title: '系统订单号'
1301
+ dataIndex: "billNo",
1302
+ title: "系统订单号"
1246
1303
  }, {
1247
- dataIndex: 'billTag',
1248
- title: '标签'
1304
+ dataIndex: "billTag",
1305
+ title: "标签"
1249
1306
  }],
1250
1307
  WDT_SYSTEM_ORDER: [{
1251
- dataIndex: 'billType',
1252
- title: '订单类型'
1308
+ dataIndex: "billType",
1309
+ title: "订单类型"
1253
1310
  }, {
1254
- dataIndex: 'billNo',
1255
- title: '系统订单号'
1311
+ dataIndex: "billNo",
1312
+ title: "系统订单号"
1256
1313
  }, {
1257
- dataIndex: 'billTag',
1258
- title: '订单标签'
1314
+ dataIndex: "billTag",
1315
+ title: "订单标签"
1259
1316
  }],
1260
1317
  BS_E3_SYSTEM_ORDER: [{
1261
1318
  title: "系统订单号",
@@ -1326,16 +1383,16 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
1326
1383
  }]
1327
1384
  };
1328
1385
  var rowKeyMap = {
1329
- BS_SYSTEM_ORDER: 'billNo',
1330
- KM_SYSTEM_ORDER: 'billNo',
1331
- WLN_SYSTEM_ORDER: 'billNo',
1332
- WDT_SYSTEM_ORDER: 'billNo',
1333
- BS_E3_SYSTEM_ORDER: 'orderSn'
1386
+ BS_SYSTEM_ORDER: "billNo",
1387
+ KM_SYSTEM_ORDER: "billNo",
1388
+ WLN_SYSTEM_ORDER: "billNo",
1389
+ WDT_SYSTEM_ORDER: "billNo",
1390
+ BS_E3_SYSTEM_ORDER: "orderSn"
1334
1391
  };
1335
1392
  var rowSelection = {
1336
1393
  selectedRowKeys: (value === null || value === void 0 ? void 0 : value.selectIds) || ((value === null || value === void 0 ? void 0 : value.showOrderInfo) || []).reduce(function (prv, next) {
1337
1394
  if (next.select) {
1338
- prv.push(next[rowKeyMap[type]] || 'billNo');
1395
+ prv.push(next[rowKeyMap[type]] || "billNo");
1339
1396
  }
1340
1397
  return prv;
1341
1398
  }, []),
@@ -1351,14 +1408,14 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
1351
1408
  dataSource: (value === null || value === void 0 ? void 0 : value.showOrderInfo) || [],
1352
1409
  columns: columnMap[type] || [],
1353
1410
  rowSelection: rowSelection,
1354
- rowKey: rowKeyMap[type] || 'billNo',
1411
+ rowKey: rowKeyMap[type] || "billNo",
1355
1412
  size: "small",
1356
1413
  pagination: false,
1357
1414
  scroll: {
1358
- x: '100%'
1415
+ x: "100%"
1359
1416
  },
1360
1417
  locale: {
1361
- emptyText: '暂无数据'
1418
+ emptyText: "暂无数据"
1362
1419
  }
1363
1420
  });
1364
1421
  };
@@ -1378,19 +1435,19 @@ export var MsgContent = function MsgContent(_ref14) {
1378
1435
  _ref14$options = _ref14.options,
1379
1436
  options = _ref14$options === void 0 ? [] : _ref14$options;
1380
1437
  var msgTypeCh = {
1381
- ding: '钉钉',
1382
- wechat: '微信',
1383
- qq: 'QQ',
1384
- qywx: '企业微信',
1385
- YZDKH: '邮政拦截',
1386
- YT: '圆通拦截',
1387
- feishu: '飞书'
1438
+ ding: "钉钉",
1439
+ wechat: "微信",
1440
+ qq: "QQ",
1441
+ qywx: "企业微信",
1442
+ YZDKH: "邮政拦截",
1443
+ YT: "圆通拦截",
1444
+ feishu: "飞书"
1388
1445
  };
1389
1446
  var getColorByStatus = function getColorByStatus(value) {
1390
1447
  var _options$find2;
1391
1448
  return ((_options$find2 = options.find(function (innerItem) {
1392
1449
  return value === innerItem.label || value === innerItem.oldValue;
1393
- })) === null || _options$find2 === void 0 ? void 0 : _options$find2.color) || '#000';
1450
+ })) === null || _options$find2 === void 0 ? void 0 : _options$find2.color) || "#000";
1394
1451
  };
1395
1452
  var detailContent = function detailContent(item) {
1396
1453
  var _item$msgReceivers;
@@ -1412,14 +1469,14 @@ export var MsgContent = function MsgContent(_ref14) {
1412
1469
  }, "\u5931\u8D25\u539F\u56E0\uFF1A", item.failReason)));
1413
1470
  };
1414
1471
  return /*#__PURE__*/React.createElement(Space, {
1415
- direction: !horizontal ? 'vertical' : 'horizontal'
1472
+ direction: !horizontal ? "vertical" : "horizontal"
1416
1473
  }, Array.isArray(list) ? (list || []).map(function (item, index) {
1417
1474
  var _item$msgReceivers2;
1418
1475
  var color = getColorByStatus(item[valueKey]);
1419
1476
  var currentOption = options.find(function (option) {
1420
1477
  return item[valueKey] === option.value;
1421
1478
  });
1422
- var key = item.msgType || 'ding';
1479
+ var key = item.msgType || "ding";
1423
1480
  var formatMsgContent = /*#__PURE__*/React.createElement("span", {
1424
1481
  key: index
1425
1482
  }, msgTypeCh[key], "-", item.ruleName, "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
@@ -1447,7 +1504,7 @@ export var AlipayBill = function AlipayBill(props) {
1447
1504
  _useState14 = _slicedToArray(_useState13, 2),
1448
1505
  visible = _useState14[0],
1449
1506
  setVisible = _useState14[1];
1450
- var _useState15 = useState(''),
1507
+ var _useState15 = useState(""),
1451
1508
  _useState16 = _slicedToArray(_useState15, 2),
1452
1509
  msg = _useState16[0],
1453
1510
  setMsg = _useState16[1];
@@ -1472,7 +1529,7 @@ export var AlipayBill = function AlipayBill(props) {
1472
1529
  data = res.data, msg = res.message;
1473
1530
  if (data) {
1474
1531
  setHasUrl(true);
1475
- if (['fxg'].includes(platform)) {
1532
+ if (["fxg"].includes(platform)) {
1476
1533
  setMsg(data);
1477
1534
  setVisible(true);
1478
1535
  } else {
@@ -1499,8 +1556,8 @@ export var AlipayBill = function AlipayBill(props) {
1499
1556
  };
1500
1557
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
1501
1558
  style: {
1502
- color: '#1890ff',
1503
- cursor: 'pointer'
1559
+ color: "#1890ff",
1560
+ cursor: "pointer"
1504
1561
  },
1505
1562
  onClick: voucherHandle
1506
1563
  }, value), /*#__PURE__*/React.createElement(Modal, {
@@ -1508,7 +1565,7 @@ export var AlipayBill = function AlipayBill(props) {
1508
1565
  visible: visible,
1509
1566
  footer: false,
1510
1567
  onCancel: closeHandle
1511
- }, ['fxg'].includes(platform) && hasUrl ? /*#__PURE__*/React.createElement("div", null, "\u8BF7\u590D\u5236\u94FE\u63A5\u5728\u6D4F\u89C8\u5668\u4E0A\u6253\u5F00\uFF0C\u94FE\u63A5\uFF1A", /*#__PURE__*/React.createElement(Paragraph, {
1568
+ }, ["fxg"].includes(platform) && hasUrl ? /*#__PURE__*/React.createElement("div", null, "\u8BF7\u590D\u5236\u94FE\u63A5\u5728\u6D4F\u89C8\u5668\u4E0A\u6253\u5F00\uFF0C\u94FE\u63A5\uFF1A", /*#__PURE__*/React.createElement(Paragraph, {
1512
1569
  copyable: true
1513
1570
  }, msg)) : msg));
1514
1571
  };