@kmkf-fe-packages/services-components 2.9.0-rc.0 → 2.9.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.
Files changed (127) hide show
  1. package/dist/esm/Hooks/index.d.ts +2 -0
  2. package/dist/esm/Hooks/index.js +2 -0
  3. package/dist/esm/Hooks/useColumnsConfig.d.ts +26 -0
  4. package/dist/esm/Hooks/useColumnsConfig.js +243 -0
  5. package/dist/esm/Hooks/useGoodsSourceFormat.d.ts +29 -0
  6. package/dist/esm/Hooks/useGoodsSourceFormat.js +437 -0
  7. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +1 -1
  8. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +4 -3
  9. package/dist/esm/commonComponents/GlobalContext/index.js +61 -23
  10. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpAddressData.js +14 -11
  11. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.js +14 -12
  12. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.js +12 -9
  13. package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
  14. package/dist/esm/commonComponents/OperationLog/index.js +4 -4
  15. package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +5 -3
  16. package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +23 -19
  17. package/dist/esm/commonComponents/ShopList/index.js +3 -1
  18. package/dist/esm/components/BS/BsGoods/index.js +0 -1
  19. package/dist/esm/components/BS/BsLogistics/index.d.ts +2 -0
  20. package/dist/esm/components/BS/BsLogistics/index.js +50 -9
  21. package/dist/esm/components/BS/BsSystemOrder/index.d.ts +8 -0
  22. package/dist/esm/components/BS/BsSystemOrder/index.js +62 -9
  23. package/dist/esm/components/BS/common/BsHeaderChild.d.ts +9 -8
  24. package/dist/esm/components/BS/common/BsHeaderChild.js +16 -12
  25. package/dist/esm/components/BS/common/BsHeaderGood.js +2 -2
  26. package/dist/esm/components/BS/common/BsHeaderPic.d.ts +2 -0
  27. package/dist/esm/components/BS/common/BsHeaderPic.js +17 -2
  28. package/dist/esm/components/BS/common/BsMemo.js +5 -1
  29. package/dist/esm/components/BS/common/BsType.js +5 -1
  30. package/dist/esm/components/BS/common/SystemOrderNo.js +5 -1
  31. package/dist/esm/components/BS/common/expressCode.js +6 -0
  32. package/dist/esm/components/BS/common/expressCompany.js +20 -1
  33. package/dist/esm/components/BsE3/BsReissueE3/index.js +4 -1
  34. package/dist/esm/components/Cascader/index.d.ts +8 -6
  35. package/dist/esm/components/Cascader/index.js +26 -22
  36. package/dist/esm/components/Common/constants/bs.js +2 -2
  37. package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +6 -2
  38. package/dist/esm/components/Common/constants/defaultColumns.js +2 -2
  39. package/dist/esm/components/Common/constants/wdt.js +104 -0
  40. package/dist/esm/components/Common/index.d.ts +2 -2
  41. package/dist/esm/components/Common/index.js +45 -24
  42. package/dist/esm/components/CommonDataTime/index.d.ts +2 -2
  43. package/dist/esm/components/CommonDataTime/index.js +2 -2
  44. package/dist/esm/components/CommonHeaderGood/index.js +1417 -110
  45. package/dist/esm/components/CommonInput/index.js +11 -3
  46. package/dist/esm/components/CommonMultiStatus/index.js +96 -36
  47. package/dist/esm/components/CommonSystemOrder/index.js +7 -0
  48. package/dist/esm/components/ErpTradeId/components/OrderNum/communication.js +0 -2
  49. package/dist/esm/components/ErpTradeId/index.d.ts +2 -2
  50. package/dist/esm/components/ErpTradeId/index.js +7 -4
  51. package/dist/esm/components/File/index.d.ts +6 -6
  52. package/dist/esm/components/File/index.js +9 -10
  53. package/dist/esm/components/FlowOverallStatusSelect/index.d.ts +40 -0
  54. package/dist/esm/components/FlowOverallStatusSelect/index.js +180 -0
  55. package/dist/esm/components/GY/GyGoods/index.js +5 -1
  56. package/dist/esm/components/GY/GyReissue/index.js +5 -1
  57. package/dist/esm/components/GY/GyReturn/index.js +5 -1
  58. package/dist/esm/components/Input/index.d.ts +4 -4
  59. package/dist/esm/components/Input/index.js +35 -31
  60. package/dist/esm/components/JST/JstSendGood/index.d.ts +10 -0
  61. package/dist/esm/components/JST/JstSendGood/index.js +66 -18
  62. package/dist/esm/components/KM/KmExchange/index.d.ts +35 -0
  63. package/dist/esm/components/KM/KmExchange/index.js +136 -0
  64. package/dist/esm/components/KmErpSendGood/index.js +1 -1
  65. package/dist/esm/components/Logistics/index.d.ts +1 -0
  66. package/dist/esm/components/Logistics/index.js +10 -0
  67. package/dist/esm/components/LogisticsInterception/columnHeader.js +1 -1
  68. package/dist/esm/components/LogisticsInterception/index.d.ts +21 -0
  69. package/dist/esm/components/LogisticsInterception/index.js +30 -7
  70. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.d.ts +45 -0
  71. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.js +97 -0
  72. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +3 -2
  73. package/dist/esm/components/LogisticsMoreInterception/InterceptAddress.js +4 -2
  74. package/dist/esm/components/LogisticsMoreInterception/InterceptApiStatus.js +1 -1
  75. package/dist/esm/components/LogisticsMoreInterception/index.js +1 -0
  76. package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.d.ts +5 -5
  77. package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.js +9 -9
  78. package/dist/esm/components/OrderSubForm/index.d.ts +7 -0
  79. package/dist/esm/components/OrderSubForm/index.js +18 -1
  80. package/dist/esm/components/Payment/index.d.ts +13 -12
  81. package/dist/esm/components/Payment/index.js +31 -11
  82. package/dist/esm/components/PaymentVoucherCode/Preview.js +35 -9
  83. package/dist/esm/components/Picture/index.d.ts +5 -5
  84. package/dist/esm/components/Picture/index.js +20 -20
  85. package/dist/esm/components/PicturePro/PictureName.js +1 -3
  86. package/dist/esm/components/PicturePro/index.d.ts +15 -6
  87. package/dist/esm/components/PicturePro/index.js +43 -28
  88. package/dist/esm/components/PostIng/index.d.ts +5 -0
  89. package/dist/esm/components/PostIng/index.js +42 -8
  90. package/dist/esm/components/Public/AsyncSelect/index.js +4 -7
  91. package/dist/esm/components/Public/Goods/index.d.ts +10 -8
  92. package/dist/esm/components/Public/Goods/index.js +46 -2
  93. package/dist/esm/components/Public/ReissueGoods/index.js +80 -4
  94. package/dist/esm/components/Public/ReturnWarehouse/index.d.ts +51 -0
  95. package/dist/esm/components/Public/ReturnWarehouse/index.js +210 -0
  96. package/dist/esm/components/ReceiverAddress/index.d.ts +7 -6
  97. package/dist/esm/components/ReceiverAddress/index.js +43 -30
  98. package/dist/esm/components/Reissue/Logistics/index.js +2 -2
  99. package/dist/esm/components/Remark/index.d.ts +18 -2
  100. package/dist/esm/components/Remark/index.js +37 -2
  101. package/dist/esm/components/ReturnLogistics/index.d.ts +7 -6
  102. package/dist/esm/components/ReturnLogistics/index.js +34 -17
  103. package/dist/esm/components/Select/index.d.ts +1 -0
  104. package/dist/esm/components/Select/index.js +18 -11
  105. package/dist/esm/components/ShopInput/index.d.ts +5 -5
  106. package/dist/esm/components/ShopInput/index.js +12 -9
  107. package/dist/esm/components/StatusSelect/index.js +22 -2
  108. package/dist/esm/components/SubForm/children/HeaderChildFile.d.ts +30 -0
  109. package/dist/esm/components/SubForm/children/HeaderChildFile.js +117 -0
  110. package/dist/esm/components/SubForm/children/HeaderChildPic.d.ts +30 -0
  111. package/dist/esm/components/SubForm/children/HeaderChildPic.js +116 -0
  112. package/dist/esm/components/SubForm/index.js +78 -6
  113. package/dist/esm/components/TradeId/index.d.ts +6 -5
  114. package/dist/esm/components/TradeId/index.js +31 -15
  115. package/dist/esm/components/WDT/WdtGoods/index.js +2 -1
  116. package/dist/esm/components/WDT/WdtRessuie/index.js +28 -8
  117. package/dist/esm/factory.d.ts +2 -2
  118. package/dist/esm/factory.js +40 -10
  119. package/dist/esm/index.d.ts +4 -0
  120. package/dist/esm/index.js +6 -1
  121. package/dist/esm/service/api.d.ts +3 -0
  122. package/dist/esm/service/api.js +41 -14
  123. package/dist/esm/service/request.js +1 -4
  124. package/dist/esm/type.d.ts +43 -3
  125. package/package.json +4 -4
  126. package/dist/esm/components/Common/constants/gy.d.ts +0 -3
  127. package/dist/esm/components/Common/constants/gy.js +0 -219
@@ -1,6 +1,4 @@
1
1
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
2
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
4
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -10,6 +8,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
8
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
9
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
12
10
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
11
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13
13
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
14
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
15
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -19,6 +19,10 @@ import { isNull, BS_E3_BOOLEAN_STATUS_MAP } from "@kmkf-fe-packages/kmkf-utils";
19
19
  import { BsHeaderPic, BsHeaderChild } from "../BS/common";
20
20
  import ReissueGift from "../BsE3/ReissueGift";
21
21
  import { erpColumnsMap } from "@kmkf-fe-packages/basic-components";
22
+ import { getJstColumns, getKmColumns } from "@kmkf-fe-packages/basic-components";
23
+ var orderGoodsHeaderComponentMap = {
24
+ pic: BsHeaderPic
25
+ };
22
26
  var GoodHeaderMap = {
23
27
  WDT_GOODS: {
24
28
  headerMap: {
@@ -88,6 +92,12 @@ var GoodHeaderMap = {
88
92
  key: "platformSpecId",
89
93
  width: 140
90
94
  },
95
+ brandName: {
96
+ component: BsHeaderChild,
97
+ name: "品牌名称",
98
+ key: "brandName",
99
+ width: 150
100
+ },
91
101
  orderPrice: {
92
102
  component: BsHeaderChild,
93
103
  name: "成交总金额",
@@ -119,6 +129,18 @@ var GoodHeaderMap = {
119
129
  name: "赠品方式",
120
130
  key: "giftType",
121
131
  width: 150
132
+ },
133
+ unitName: {
134
+ component: BsHeaderChild,
135
+ name: "基本单位",
136
+ key: "unitName",
137
+ width: 150
138
+ },
139
+ auxUnitName: {
140
+ component: BsHeaderChild,
141
+ name: "辅助单位",
142
+ key: "auxUnitName",
143
+ width: 150
122
144
  }
123
145
  },
124
146
  itemKey: {
@@ -132,13 +154,170 @@ var GoodHeaderMap = {
132
154
  specName: "商品SKU名称",
133
155
  apiSpecName: "平台规格名称",
134
156
  platformSpecId: "平台规格ID",
157
+ brandName: "品牌名称",
135
158
  orderPrice: "成交总金额",
136
159
  num: "数量",
137
160
  sharePrice: "分摊价",
138
- giftType: "赠品方式"
161
+ giftType: "赠品方式",
162
+ unitName: "基本单位",
163
+ auxUnitName: "辅助单位"
139
164
  },
140
165
  moneyKey: "orderPrice"
141
166
  },
167
+ WDT_AFTERSALE_GOODS: {
168
+ headerMap: {
169
+ oid: {
170
+ component: BsHeaderChild,
171
+ name: "原始子单号",
172
+ key: "oid",
173
+ width: 300
174
+ },
175
+ goodsName: {
176
+ component: BsHeaderChild,
177
+ name: "货品名称",
178
+ key: "goodsName",
179
+ width: 150
180
+ },
181
+ goodsNo: {
182
+ component: BsHeaderChild,
183
+ name: "货品编码",
184
+ key: "goodsNo",
185
+ width: 150
186
+ },
187
+ specName: {
188
+ component: BsHeaderChild,
189
+ name: "规格名称",
190
+ key: "specName",
191
+ width: 150
192
+ },
193
+ specNo: {
194
+ component: BsHeaderChild,
195
+ name: "商家编码",
196
+ key: "specNo",
197
+ width: 150
198
+ },
199
+ specCode: {
200
+ component: BsHeaderChild,
201
+ name: "规格编号",
202
+ key: "specCode",
203
+ width: 150
204
+ },
205
+ barcode: {
206
+ component: BsHeaderChild,
207
+ name: "条码",
208
+ key: "barcode",
209
+ width: 150
210
+ },
211
+ apiGoodsName: {
212
+ component: BsHeaderChild,
213
+ name: "平台货品名称",
214
+ key: "apiGoodsName",
215
+ width: 150
216
+ },
217
+ apiSpecName: {
218
+ component: BsHeaderChild,
219
+ name: "平台规格名称",
220
+ key: "apiSpecName",
221
+ width: 150
222
+ },
223
+ suiteName: {
224
+ component: BsHeaderChild,
225
+ name: "组合装名称",
226
+ key: "suiteName",
227
+ width: 250
228
+ },
229
+ suiteNo: {
230
+ component: BsHeaderChild,
231
+ name: "组合装编号",
232
+ key: "suiteNo",
233
+ width: 150
234
+ },
235
+ stockinNum: {
236
+ component: BsHeaderChild,
237
+ name: "入库数量",
238
+ key: "stockinNum",
239
+ width: 150
240
+ },
241
+ refundNum: {
242
+ component: BsHeaderChild,
243
+ name: "退款数量",
244
+ key: "refundNum",
245
+ width: 150
246
+ },
247
+ totalAmount: {
248
+ component: BsHeaderChild,
249
+ name: "退货总额",
250
+ key: "totalAmount",
251
+ width: 150
252
+ },
253
+ refundAmount: {
254
+ component: BsHeaderChild,
255
+ name: "已退款金额",
256
+ key: "refundAmount",
257
+ width: 150
258
+ },
259
+ num: {
260
+ component: BsHeaderChild,
261
+ name: "实际发出数量",
262
+ key: "num",
263
+ width: 150
264
+ },
265
+ price: {
266
+ component: BsHeaderChild,
267
+ name: "价格",
268
+ key: "price",
269
+ width: 150
270
+ },
271
+ originalPrice: {
272
+ component: BsHeaderChild,
273
+ name: "原价",
274
+ key: "originalPrice",
275
+ width: 150
276
+ },
277
+ giftTypeDesc: {
278
+ component: BsHeaderChild,
279
+ name: "赠品类型",
280
+ key: "giftTypeDesc",
281
+ width: 150
282
+ },
283
+ unitName: {
284
+ component: BsHeaderChild,
285
+ name: "基本单位",
286
+ key: "unitName",
287
+ width: 150
288
+ },
289
+ auxUnitName: {
290
+ component: BsHeaderChild,
291
+ name: "辅助单位",
292
+ key: "auxUnitName",
293
+ width: 150
294
+ }
295
+ },
296
+ itemKey: {
297
+ oid: "原始子单号",
298
+ goodsName: "货品名称",
299
+ goodsNo: "货品编码",
300
+ specName: "规格名称",
301
+ specNo: "商家编码",
302
+ specCode: "规格编号",
303
+ barcode: "条码",
304
+ apiGoodsName: "平台货品名称",
305
+ apiSpecName: "平台规格名称",
306
+ suiteName: "组合装名称",
307
+ suiteNo: "组合装编号",
308
+ stockinNum: "入库数量",
309
+ refundNum: "退款数量",
310
+ totalAmount: "退货总额",
311
+ refundAmount: "已退款金额",
312
+ num: "实际发出数量",
313
+ price: "价格",
314
+ originalPrice: "原价",
315
+ giftTypeDesc: "赠品类型",
316
+ unitName: "基本单位",
317
+ auxUnitName: "辅助单位"
318
+ },
319
+ moneyKey: "totalAmount"
320
+ },
142
321
  WDT_RETURN_GOODS: {
143
322
  headerMap: {
144
323
  goodId: {
@@ -201,6 +380,12 @@ var GoodHeaderMap = {
201
380
  key: "platformSpecId",
202
381
  width: 140
203
382
  },
383
+ brandName: {
384
+ component: BsHeaderChild,
385
+ name: "品牌名称",
386
+ key: "brandName",
387
+ width: 150
388
+ },
204
389
  num: {
205
390
  component: BsHeaderChild,
206
391
  name: "退货数量",
@@ -237,6 +422,18 @@ var GoodHeaderMap = {
237
422
  };
238
423
  return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
239
424
  }
425
+ },
426
+ unitName: {
427
+ component: BsHeaderChild,
428
+ name: "基本单位",
429
+ key: "unitName",
430
+ width: 150
431
+ },
432
+ auxUnitName: {
433
+ component: BsHeaderChild,
434
+ name: "辅助单位",
435
+ key: "auxUnitName",
436
+ width: 150
240
437
  }
241
438
  },
242
439
  itemKey: {
@@ -250,11 +447,14 @@ var GoodHeaderMap = {
250
447
  specName: "商品SKU名称",
251
448
  apiSpecName: "平台规格名称",
252
449
  platformSpecId: "平台规格ID",
450
+ brandName: "品牌名称",
253
451
  num: "退货数量",
254
452
  sharePrice: "分摊价",
255
453
  returnPrice: "退款金额",
256
454
  giftType: "赠品方式",
257
- type: "商品类型"
455
+ type: "商品类型",
456
+ unitName: "基本单位",
457
+ auxUnitName: "辅助单位"
258
458
  },
259
459
  moneyKey: "returnPrice"
260
460
  },
@@ -320,6 +520,12 @@ var GoodHeaderMap = {
320
520
  key: "platformSpecId",
321
521
  width: 140
322
522
  },
523
+ brandName: {
524
+ component: BsHeaderChild,
525
+ name: "品牌名称",
526
+ key: "brandName",
527
+ width: 150
528
+ },
323
529
  num: {
324
530
  component: BsHeaderChild,
325
531
  name: "换出数量",
@@ -356,6 +562,18 @@ var GoodHeaderMap = {
356
562
  name: "赠品方式",
357
563
  key: "giftType",
358
564
  width: 150
565
+ },
566
+ unitName: {
567
+ component: BsHeaderChild,
568
+ name: "基本单位",
569
+ key: "unitName",
570
+ width: 150
571
+ },
572
+ auxUnitName: {
573
+ component: BsHeaderChild,
574
+ name: "辅助单位",
575
+ key: "auxUnitName",
576
+ width: 150
359
577
  }
360
578
  },
361
579
  itemKey: {
@@ -369,11 +587,14 @@ var GoodHeaderMap = {
369
587
  specName: "商品SKU名称",
370
588
  apiSpecName: "平台规格名称",
371
589
  platformSpecId: "平台规格ID",
590
+ brandName: "品牌名称",
372
591
  num: "换出数量",
373
592
  productPrice: "商品单价",
374
593
  exchangePrice: "换出金额",
375
594
  type: "商品类型",
376
- giftType: "赠品方式"
595
+ giftType: "赠品方式",
596
+ unitName: "基本单位",
597
+ auxUnitName: "辅助单位"
377
598
  },
378
599
  moneyKey: "exchangePrice"
379
600
  },
@@ -967,19 +1188,19 @@ var GoodHeaderMap = {
967
1188
  saleBasePrice: {
968
1189
  name: "原价",
969
1190
  transformValue: function transformValue(price) {
970
- return price || price === 0 ? Number(price).toFixed(2) : "";
1191
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
971
1192
  },
972
1193
  renderExport: function renderExport(price) {
973
- return price || price === 0 ? Number(price).toFixed(2) : "";
1194
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
974
1195
  }
975
1196
  },
976
1197
  salePrice: {
977
1198
  name: "单价",
978
1199
  transformValue: function transformValue(price) {
979
- return price || price === 0 ? Number(price).toFixed(2) : "";
1200
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
980
1201
  },
981
1202
  renderExport: function renderExport(price) {
982
- return price || price === 0 ? Number(price).toFixed(2) : "";
1203
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
983
1204
  }
984
1205
  },
985
1206
  qty: "数量",
@@ -987,11 +1208,13 @@ var GoodHeaderMap = {
987
1208
  name: "总金额",
988
1209
  transformValue: function transformValue(val, record, parentName) {
989
1210
  if (!record) return "--";
990
- return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1211
+ var amount = (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1212
+ return Number(amount).toFixed(4).replace(/\.?0+$/, '');
991
1213
  },
992
1214
  renderExport: function renderExport(val, record, parentName) {
993
1215
  if (!record) return "--";
994
- return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1216
+ var amount = (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1217
+ return Number(amount).toFixed(4).replace(/\.?0+$/, '');
995
1218
  }
996
1219
  },
997
1220
  batchId: "批次号",
@@ -1008,6 +1231,22 @@ var GoodHeaderMap = {
1008
1231
  },
1009
1232
  moneyKey: "salePrice"
1010
1233
  },
1234
+ JST_AFTERSALE_GOODS: {
1235
+ headerMap: getJstColumns()["JST_AFTERSALE_GOODS"].reduce(function (acc, item) {
1236
+ acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
1237
+ component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
1238
+ name: item.title,
1239
+ key: item.dataIndex,
1240
+ width: item.width || 150
1241
+ });
1242
+ return acc;
1243
+ }, {}),
1244
+ itemKey: getJstColumns()["JST_AFTERSALE_GOODS"].reduce(function (acc, item) {
1245
+ acc[item.dataIndex] = item.title;
1246
+ return acc;
1247
+ }, {}),
1248
+ moneyKey: "price"
1249
+ },
1011
1250
  JST_REISSUE_GOODS: {
1012
1251
  headerMap: {
1013
1252
  name: "商品名称",
@@ -1021,19 +1260,19 @@ var GoodHeaderMap = {
1021
1260
  saleBasePrice: {
1022
1261
  name: "原价",
1023
1262
  transformValue: function transformValue(price) {
1024
- return price || price === 0 ? Number(price).toFixed(2) : "";
1263
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1025
1264
  },
1026
1265
  renderExport: function renderExport(price) {
1027
- return price || price === 0 ? Number(price).toFixed(2) : "";
1266
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1028
1267
  }
1029
1268
  },
1030
1269
  salePrice: {
1031
1270
  name: "单价",
1032
1271
  transformValue: function transformValue(price) {
1033
- return price || price === 0 ? Number(price).toFixed(2) : "";
1272
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1034
1273
  },
1035
1274
  renderExport: function renderExport(price) {
1036
- return price || price === 0 ? Number(price).toFixed(2) : "";
1275
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1037
1276
  }
1038
1277
  },
1039
1278
  qty: "数量",
@@ -1063,19 +1302,19 @@ var GoodHeaderMap = {
1063
1302
  saleBasePrice: {
1064
1303
  name: "原价",
1065
1304
  transformValue: function transformValue(price) {
1066
- return price || price === 0 ? Number(price).toFixed(2) : "";
1305
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1067
1306
  },
1068
1307
  renderExport: function renderExport(price) {
1069
- return price || price === 0 ? Number(price).toFixed(2) : "";
1308
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1070
1309
  }
1071
1310
  },
1072
1311
  salePrice: {
1073
1312
  name: "单价",
1074
1313
  transformValue: function transformValue(price) {
1075
- return price || price === 0 ? Number(price).toFixed(2) : "";
1314
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1076
1315
  },
1077
1316
  renderExport: function renderExport(price) {
1078
- return price || price === 0 ? Number(price).toFixed(2) : "";
1317
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1079
1318
  }
1080
1319
  },
1081
1320
  qty: "数量",
@@ -1083,11 +1322,13 @@ var GoodHeaderMap = {
1083
1322
  name: "总金额",
1084
1323
  transformValue: function transformValue(val, record, parentName) {
1085
1324
  if (!record) return "--";
1086
- return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1325
+ var amount = (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1326
+ return Number(amount).toFixed(4).replace(/\.?0+$/, '');
1087
1327
  },
1088
1328
  renderExport: function renderExport(val, record, parentName) {
1089
1329
  if (!record) return "--";
1090
- return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1330
+ var amount = (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1331
+ return Number(amount).toFixed(4).replace(/\.?0+$/, '');
1091
1332
  }
1092
1333
  },
1093
1334
  batchId: "批次号",
@@ -1118,19 +1359,19 @@ var GoodHeaderMap = {
1118
1359
  saleBasePrice: {
1119
1360
  name: "原价",
1120
1361
  transformValue: function transformValue(price) {
1121
- return price || price === 0 ? Number(price).toFixed(2) : "";
1362
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1122
1363
  },
1123
1364
  renderExport: function renderExport(price) {
1124
- return price || price === 0 ? Number(price).toFixed(2) : "";
1365
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1125
1366
  }
1126
1367
  },
1127
1368
  salePrice: {
1128
1369
  name: "单价",
1129
1370
  transformValue: function transformValue(price) {
1130
- return price || price === 0 ? Number(price).toFixed(2) : "";
1371
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1131
1372
  },
1132
1373
  renderExport: function renderExport(price) {
1133
- return price || price === 0 ? Number(price).toFixed(2) : "";
1374
+ return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : "";
1134
1375
  }
1135
1376
  },
1136
1377
  qty: "数量",
@@ -1138,11 +1379,13 @@ var GoodHeaderMap = {
1138
1379
  name: "总金额",
1139
1380
  transformValue: function transformValue(val, record, parentName) {
1140
1381
  if (!record) return "--";
1141
- return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1382
+ var amount = (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1383
+ return Number(amount).toFixed(4).replace(/\.?0+$/, '');
1142
1384
  },
1143
1385
  renderExport: function renderExport(val, record, parentName) {
1144
1386
  if (!record) return "--";
1145
- return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1387
+ var amount = (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1388
+ return Number(amount).toFixed(4).replace(/\.?0+$/, '');
1146
1389
  }
1147
1390
  },
1148
1391
  isGift: {
@@ -1164,8 +1407,8 @@ var GoodHeaderMap = {
1164
1407
  name: "商品名称",
1165
1408
  width: 250
1166
1409
  },
1167
- goodsCode: {
1168
- name: "商品编码",
1410
+ wlnSkuName: {
1411
+ name: "sku名称",
1169
1412
  width: 250
1170
1413
  },
1171
1414
  skuCode: {
@@ -1193,7 +1436,7 @@ var GoodHeaderMap = {
1193
1436
  width: 100,
1194
1437
  component: BsHeaderPic
1195
1438
  },
1196
- olnItemCOde: {
1439
+ olnItemCode: {
1197
1440
  name: "线上商品编码",
1198
1441
  width: 150
1199
1442
  },
@@ -1214,12 +1457,32 @@ var GoodHeaderMap = {
1214
1457
  width: 100
1215
1458
  },
1216
1459
  share: "应收款",
1460
+ discountedUnitPrice: {
1461
+ name: "折后单价",
1462
+ width: 250
1463
+ },
1464
+ price: {
1465
+ name: "单价",
1466
+ width: 250
1467
+ },
1468
+ receivable: {
1469
+ name: "销售金额",
1470
+ width: 250
1471
+ },
1217
1472
  type: {
1218
1473
  name: "赠品类型",
1219
- width: 100
1474
+ width: 100,
1475
+ transformValue: function transformValue(val) {
1476
+ if (isNull(val)) return "--";
1477
+ return val ? "赠品" : "非赠品";
1478
+ },
1479
+ renderExport: function renderExport(val) {
1480
+ if (isNull(val)) return "--";
1481
+ return val ? "赠品" : "非赠品";
1482
+ }
1220
1483
  },
1221
1484
  isPackage: {
1222
- width: 100,
1485
+ width: 200,
1223
1486
  name: "是否组合商品",
1224
1487
  transformValue: function transformValue(val) {
1225
1488
  if (isNull(val)) return "--";
@@ -1229,85 +1492,258 @@ var GoodHeaderMap = {
1229
1492
  if (isNull(val)) return "--";
1230
1493
  return val ? "是" : "否";
1231
1494
  }
1495
+ },
1496
+ hasRefund: {
1497
+ width: 100,
1498
+ name: "是否退款",
1499
+ transformValue: function transformValue(val) {
1500
+ if (isNull(val)) return "--";
1501
+ return val ? "是" : "否";
1502
+ },
1503
+ renderExport: function renderExport(val) {
1504
+ if (isNull(val)) return "--";
1505
+ return val ? "是" : "否";
1506
+ }
1507
+ },
1508
+ unit: {
1509
+ name: "单位",
1510
+ width: 100
1511
+ },
1512
+ pkgGoodsName: {
1513
+ name: "原组合商品名称",
1514
+ width: 200
1515
+ },
1516
+ pkgGoodsCode: {
1517
+ name: "原组合商品编码",
1518
+ width: 200
1519
+ },
1520
+ pkgGoodsId: {
1521
+ name: "原组合商品id",
1522
+ width: 200
1232
1523
  }
1233
1524
  },
1234
1525
  moneyKey: "money"
1235
1526
  },
1236
- KM_GOODS: {
1527
+ WLN_REISSUE_GOODS: {
1237
1528
  headerMap: {
1238
- sysSkuPropertiesName: {
1239
- name: "规格名称",
1529
+ wlnItemName: {
1530
+ name: "商品名称",
1240
1531
  width: 250
1241
1532
  },
1242
- sysTitle: {
1243
- name: "系统商品名称",
1244
- width: 150
1245
- },
1246
- title: {
1247
- name: "平台商品名称",
1248
- width: 150
1533
+ wlnSkuName: {
1534
+ name: "sku名称",
1535
+ width: 250
1249
1536
  },
1250
- shortTitle: {
1251
- name: "商品简称",
1252
- width: 150
1537
+ skuCode: {
1538
+ name: "sku编码",
1539
+ width: 250
1253
1540
  },
1254
- sysOuterId: {
1255
- name: "系统商家编码",
1256
- width: 150
1541
+ skuName: {
1542
+ name: "线上sku名称",
1543
+ width: 250
1257
1544
  },
1258
- outerId: {
1259
- name: "商家编码",
1545
+ olnSkuCode: {
1546
+ name: "线上sku编码",
1260
1547
  width: 150
1261
1548
  },
1262
- skuSysId: {
1263
- name: "系统规格ID",
1549
+ sku: {
1550
+ name: "线上sku id",
1264
1551
  width: 150
1265
1552
  },
1266
- itemSysId: {
1267
- name: "系统商品ID",
1268
- width: 150
1553
+ name: {
1554
+ name: "线上商品名称",
1555
+ width: 250
1269
1556
  },
1270
- sysPicPath: {
1271
- name: "商品图片",
1557
+ pic: {
1558
+ name: "线上图片",
1272
1559
  width: 100,
1273
1560
  component: BsHeaderPic
1274
1561
  },
1275
- num: {
1276
- name: "数量",
1562
+ olnItemCode: {
1563
+ name: "线上商品编码",
1277
1564
  width: 150
1278
1565
  },
1279
- payment: {
1280
- name: "实付金额",
1566
+ code: {
1567
+ name: "线上商品id",
1281
1568
  width: 150
1282
1569
  },
1283
- price: {
1284
- name: "商品销售价",
1570
+ barCode: {
1571
+ name: "商品条码",
1285
1572
  width: 150
1286
1573
  },
1287
- type: {
1288
- name: "商品类型",
1289
- width: 100
1290
- }
1291
- },
1292
- moneyKey: "money"
1293
- },
1294
- KM_REISSUE_GOODS: {
1295
- headerMap: {
1296
- sysSkuPropertiesName: {
1297
- name: "规格名称",
1574
+ price: {
1575
+ name: "单价",
1298
1576
  width: 250
1299
1577
  },
1300
- sysTitle: {
1301
- name: "系统商品名称",
1302
- width: 150
1303
- },
1304
- shortTitle: {
1305
- name: "商品简称",
1306
- width: 150
1578
+ number: {
1579
+ name: "数量",
1580
+ width: 100
1307
1581
  },
1308
- title: {
1309
- name: "平台商品名称",
1310
- width: 150
1582
+ money: {
1583
+ name: "实付金额",
1584
+ width: 100
1585
+ },
1586
+ type: {
1587
+ name: "赠品类型",
1588
+ width: 100,
1589
+ transformValue: function transformValue(val) {
1590
+ if (isNull(val)) return "--";
1591
+ return val ? "赠品" : "非赠品";
1592
+ },
1593
+ renderExport: function renderExport(val) {
1594
+ if (isNull(val)) return "--";
1595
+ return val ? "赠品" : "非赠品";
1596
+ }
1597
+ },
1598
+ isPackage: {
1599
+ width: 200,
1600
+ name: "是否组合商品",
1601
+ transformValue: function transformValue(val) {
1602
+ if (isNull(val)) return "--";
1603
+ return val ? "是" : "否";
1604
+ },
1605
+ renderExport: function renderExport(val) {
1606
+ if (isNull(val)) return "--";
1607
+ return val ? "是" : "否";
1608
+ }
1609
+ },
1610
+ hasRefund: {
1611
+ width: 100,
1612
+ name: "是否退款",
1613
+ transformValue: function transformValue(val) {
1614
+ if (isNull(val)) return "--";
1615
+ return val ? "是" : "否";
1616
+ },
1617
+ renderExport: function renderExport(val) {
1618
+ if (isNull(val)) return "--";
1619
+ return val ? "是" : "否";
1620
+ }
1621
+ },
1622
+ unit: {
1623
+ name: "单位",
1624
+ width: 100
1625
+ },
1626
+ pkgGoodsName: {
1627
+ name: "原组合商品名称",
1628
+ width: 200
1629
+ },
1630
+ pkgGoodsCode: {
1631
+ name: "原组合商品编码",
1632
+ width: 200
1633
+ },
1634
+ pkgGoodsId: {
1635
+ name: "原组合商品id",
1636
+ width: 200
1637
+ }
1638
+ },
1639
+ moneyKey: "money"
1640
+ },
1641
+ KM_GOODS: {
1642
+ headerMap: {
1643
+ sysItemOuterId: {
1644
+ name: "系统主商家编码",
1645
+ width: 250
1646
+ },
1647
+ sysSkuPropertiesName: {
1648
+ name: "规格名称",
1649
+ width: 250
1650
+ },
1651
+ sysTitle: {
1652
+ name: "系统商品名称",
1653
+ width: 150
1654
+ },
1655
+ title: {
1656
+ name: "平台商品名称",
1657
+ width: 150
1658
+ },
1659
+ shortTitle: {
1660
+ name: "商品简称",
1661
+ width: 150
1662
+ },
1663
+ sysOuterId: {
1664
+ name: "系统商家编码",
1665
+ width: 150
1666
+ },
1667
+ outerId: {
1668
+ name: "商家编码",
1669
+ width: 150
1670
+ },
1671
+ skuSysId: {
1672
+ name: "系统规格ID",
1673
+ width: 150
1674
+ },
1675
+ skuId: {
1676
+ name: "平台规格ID",
1677
+ width: 150
1678
+ },
1679
+ outerSkuId: {
1680
+ name: "平台规格编码",
1681
+ width: 150
1682
+ },
1683
+ itemSysId: {
1684
+ name: "系统商品ID",
1685
+ width: 150
1686
+ },
1687
+ sysPicPath: {
1688
+ name: "商品图片",
1689
+ width: 100,
1690
+ component: BsHeaderPic,
1691
+ transformValue: function transformValue(val) {
1692
+ return val !== null && val !== void 0 && val.startsWith("http") ? val : "https://erp.superboss.cc".concat(val);
1693
+ }
1694
+ },
1695
+ num: {
1696
+ name: "数量",
1697
+ width: 150
1698
+ },
1699
+ payment: {
1700
+ name: "实付金额",
1701
+ width: 150
1702
+ },
1703
+ price: {
1704
+ name: "商品销售价",
1705
+ width: 150
1706
+ },
1707
+ type: {
1708
+ name: "商品类型",
1709
+ width: 100
1710
+ },
1711
+ supplierName: {
1712
+ name: "供应商名称",
1713
+ width: 150
1714
+ },
1715
+ supplierCode: {
1716
+ name: "供应商编码",
1717
+ width: 150
1718
+ },
1719
+ remark: {
1720
+ name: "备注",
1721
+ width: 200
1722
+ }
1723
+ },
1724
+ moneyKey: "money"
1725
+ },
1726
+ KM_REISSUE_GOODS: {
1727
+ headerMap: {
1728
+ sysItemOuterId: {
1729
+ name: "系统主商家编码",
1730
+ width: 250
1731
+ },
1732
+ sysSkuPropertiesName: {
1733
+ name: "规格名称",
1734
+ width: 250
1735
+ },
1736
+ sysTitle: {
1737
+ name: "系统商品名称",
1738
+ width: 150
1739
+ },
1740
+ shortTitle: {
1741
+ name: "商品简称",
1742
+ width: 150
1743
+ },
1744
+ title: {
1745
+ name: "平台商品名称",
1746
+ width: 150
1311
1747
  },
1312
1748
  outerId: {
1313
1749
  name: "商家编码",
@@ -1345,6 +1781,14 @@ var GoodHeaderMap = {
1345
1781
  name: "商品类型",
1346
1782
  width: 150
1347
1783
  },
1784
+ supplierName: {
1785
+ name: "供应商名称",
1786
+ width: 150
1787
+ },
1788
+ supplierCode: {
1789
+ name: "供应商编码",
1790
+ width: 150
1791
+ },
1348
1792
  sysPicPath: {
1349
1793
  name: "商品图片",
1350
1794
  width: 100,
@@ -1353,37 +1797,900 @@ var GoodHeaderMap = {
1353
1797
  },
1354
1798
  moneyKey: "money"
1355
1799
  },
1356
- SKX_GOODS: {
1800
+ KM_RETURN_GOODS: {
1801
+ headerMap: getKmColumns()["KM_RETURN_GOODS"].reduce(function (acc, item) {
1802
+ acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
1803
+ component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
1804
+ name: item.title,
1805
+ key: item.dataIndex,
1806
+ width: item.width || 150
1807
+ });
1808
+ return acc;
1809
+ }, {}),
1810
+ itemKey: getKmColumns()["KM_RETURN_GOODS"].reduce(function (acc, item) {
1811
+ acc[item.dataIndex] = item.title;
1812
+ return acc;
1813
+ }, {}),
1814
+ moneyKey: "price"
1815
+ },
1816
+ KM_EXCHANGE_GOODS: {
1817
+ headerMap: getKmColumns()["KM_EXCHANGE_GOODS"].reduce(function (acc, item) {
1818
+ acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
1819
+ component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
1820
+ name: item.title,
1821
+ key: item.dataIndex,
1822
+ width: item.width || 150
1823
+ });
1824
+ return acc;
1825
+ }, {}),
1826
+ itemKey: getKmColumns()["KM_EXCHANGE_GOODS"].reduce(function (acc, item) {
1827
+ acc[item.dataIndex] = item.title;
1828
+ return acc;
1829
+ }, {}),
1830
+ moneyKey: "price"
1831
+ },
1832
+ JY_GOODS: {
1357
1833
  headerMap: {
1358
- skuEcode: {
1359
- name: "[SKX]发货单明细-skuEcode",
1360
- width: 200
1834
+ productName: {
1835
+ component: BsHeaderChild,
1836
+ name: "系统商品名称",
1837
+ key: "productName",
1838
+ width: 150
1361
1839
  },
1362
- subOrderId: {
1363
- name: "[SKX]发货单-子订单号",
1364
- width: 300
1840
+ productCode: {
1841
+ component: BsHeaderChild,
1842
+ name: "系统商品编码",
1843
+ key: "productCode",
1844
+ width: 150
1365
1845
  },
1366
- onBillNo: {
1367
- name: "[SKX]ON出库通知单号",
1368
- width: 200
1369
- }
1370
- }
1371
- },
1372
- SKX_RETURN_GOODS: {
1373
- headerMap: {
1374
- returnSkuEcode: {
1375
- name: "[SKX]退货单明细-returnSkuEcode",
1376
- width: 200
1846
+ productId: {
1847
+ component: BsHeaderChild,
1848
+ name: "系统商品ID",
1849
+ key: "productId",
1850
+ width: 150
1377
1851
  },
1378
- returnSubOrderId: {
1379
- name: "[SKX]退货单-子订单号",
1380
- width: 300
1852
+ skuName: {
1853
+ component: BsHeaderChild,
1854
+ name: "系统规格名称",
1855
+ key: "skuName",
1856
+ width: 150
1381
1857
  },
1382
- returnBillNo: {
1383
- name: "[SKX]TH退换货单号",
1384
- width: 200
1385
- }
1386
- }
1858
+ skuCode: {
1859
+ component: BsHeaderChild,
1860
+ name: "系统规格编码",
1861
+ key: "skuCode",
1862
+ width: 150
1863
+ },
1864
+ specId: {
1865
+ component: BsHeaderChild,
1866
+ name: "规格ID",
1867
+ key: "specId",
1868
+ width: 150
1869
+ },
1870
+ // goodsName: {
1871
+ // component: BsHeaderChild,
1872
+ // name: "货品名称",
1873
+ // key: "goodsName",
1874
+ // width: 250,
1875
+ // },
1876
+ // goodsCode: {
1877
+ // component: BsHeaderChild,
1878
+ // name: "货品编号",
1879
+ // key: "goodsCode",
1880
+ // width: 200,
1881
+ // },
1882
+ // goodsId: {
1883
+ // component: BsHeaderChild,
1884
+ // name: "货品ID",
1885
+ // key: "goodsId",
1886
+ // width: 150,
1887
+ // },
1888
+ goodsClass: {
1889
+ component: BsHeaderChild,
1890
+ name: "货品类别",
1891
+ key: "goodsClass",
1892
+ width: 150
1893
+ },
1894
+ code: {
1895
+ component: BsHeaderChild,
1896
+ name: "条码",
1897
+ key: "code",
1898
+ width: 150
1899
+ },
1900
+ // specName: {
1901
+ // component: BsHeaderChild,
1902
+ // name: "规格名称",
1903
+ // key: "specName",
1904
+ // width: 200,
1905
+ // },
1906
+ // specCode: {
1907
+ // component: BsHeaderChild,
1908
+ // name: "规格编号",
1909
+ // key: "specCode",
1910
+ // width: 150,
1911
+ // },
1912
+
1913
+ mallProductName: {
1914
+ component: BsHeaderChild,
1915
+ name: "平台商品名称",
1916
+ key: "mallProductName",
1917
+ width: 250
1918
+ },
1919
+ mallProductOutCode: {
1920
+ component: BsHeaderChild,
1921
+ name: "平台商品编码",
1922
+ key: "mallProductOutCode",
1923
+ width: 150
1924
+ },
1925
+ mallProductId: {
1926
+ component: BsHeaderChild,
1927
+ name: "平台商品ID",
1928
+ key: "mallProductId",
1929
+ width: 250
1930
+ },
1931
+ mallSkuName: {
1932
+ component: BsHeaderChild,
1933
+ name: "平台规格名称",
1934
+ key: "mallSkuName",
1935
+ width: 250
1936
+ },
1937
+ mallSkuId: {
1938
+ component: BsHeaderChild,
1939
+ name: "平台规格ID",
1940
+ key: "mallSkuId",
1941
+ width: 250
1942
+ },
1943
+ sellCount: {
1944
+ component: BsHeaderChild,
1945
+ name: "数量",
1946
+ key: "sellCount",
1947
+ width: 100
1948
+ },
1949
+ sellPrice: {
1950
+ component: BsHeaderChild,
1951
+ name: "单价",
1952
+ key: "sellPrice",
1953
+ width: 150
1954
+ },
1955
+ mallSellingPrice: {
1956
+ component: BsHeaderChild,
1957
+ name: "平台商品价格",
1958
+ key: "mallSellingPrice",
1959
+ width: 150
1960
+ },
1961
+ sellTotal: {
1962
+ component: BsHeaderChild,
1963
+ name: "金额",
1964
+ key: "sellTotal",
1965
+ width: 150
1966
+ },
1967
+ settlementPrice: {
1968
+ component: BsHeaderChild,
1969
+ name: "结算价",
1970
+ key: "settlementPrice",
1971
+ width: 150
1972
+ },
1973
+ divideOrderFee: {
1974
+ component: BsHeaderChild,
1975
+ name: "分摊实付金额",
1976
+ key: "divideOrderFee",
1977
+ width: 150
1978
+ },
1979
+ bfit: {
1980
+ component: BsHeaderChild,
1981
+ name: "是否组合装",
1982
+ key: "bfit",
1983
+ width: 150,
1984
+ transformValue: function transformValue(val) {
1985
+ if (isNull(val)) return "--";
1986
+ return val === "True" ? "是" : "否";
1987
+ },
1988
+ renderExport: function renderExport(val) {
1989
+ if (isNull(val)) return "--";
1990
+ return val === "True" ? "是" : "否";
1991
+ }
1992
+ },
1993
+ combinationName: {
1994
+ component: BsHeaderChild,
1995
+ name: "组合商品名称",
1996
+ key: "combinationName",
1997
+ width: 150
1998
+ },
1999
+ combinationCode: {
2000
+ component: BsHeaderChild,
2001
+ name: "组合商品编码",
2002
+ key: "combinationCode",
2003
+ width: 150
2004
+ },
2005
+ gift: {
2006
+ component: BsHeaderChild,
2007
+ name: "是否赠品",
2008
+ key: "gift",
2009
+ width: 150,
2010
+ transformValue: function transformValue(val) {
2011
+ if (isNull(val)) return "--";
2012
+ return val === "1" ? "是" : "否";
2013
+ },
2014
+ renderExport: function renderExport(val) {
2015
+ if (isNull(val)) return "--";
2016
+ return val === "1" ? "是" : "否";
2017
+ }
2018
+ },
2019
+ skuNote: {
2020
+ component: BsHeaderChild,
2021
+ name: "商品备注",
2022
+ key: "skuNote",
2023
+ width: 150
2024
+ }
2025
+ },
2026
+ itemKey: {
2027
+ // goodsName: "货品名称",
2028
+ // goodsCode: "货品编号",
2029
+ // goodsId: "货品ID",
2030
+ goodsClass: "货品类别",
2031
+ code: "条码",
2032
+ // specName: "规格名称",
2033
+ // specCode: "规格编号",
2034
+ specId: "规格ID",
2035
+ productName: "系统商品名称",
2036
+ productCode: "系统商品编码",
2037
+ productId: "系统商品ID",
2038
+ skuName: "系统规格名称",
2039
+ skuCode: "系统规格编码",
2040
+ mallProductName: "平台商品名称",
2041
+ mallProductOutCode: "平台商品编码",
2042
+ mallProductId: "平台商品ID",
2043
+ mallSkuName: "平台规格名称",
2044
+ mallSkuId: "平台规格ID",
2045
+ sellCount: "数量",
2046
+ sellPrice: "单价",
2047
+ mallSellingPrice: "平台商品价格",
2048
+ sellTotal: "金额",
2049
+ settlementPrice: "结算价",
2050
+ divideOrderFee: "分摊实付金额",
2051
+ bfit: "是否组合装",
2052
+ combinationName: "组合商品名称",
2053
+ combinationCode: "组合商品编码",
2054
+ gift: "是否赠品",
2055
+ skuNote: "商品备注"
2056
+ },
2057
+ moneyKey: "sellTotal"
2058
+ },
2059
+ JY_REISSUE_GOODS: {
2060
+ headerMap: {
2061
+ productName: {
2062
+ component: BsHeaderChild,
2063
+ name: "系统商品名称",
2064
+ key: "productName",
2065
+ width: 150
2066
+ },
2067
+ productCode: {
2068
+ component: BsHeaderChild,
2069
+ name: "系统商品编码",
2070
+ key: "productCode",
2071
+ width: 150
2072
+ },
2073
+ productId: {
2074
+ component: BsHeaderChild,
2075
+ name: "系统商品ID",
2076
+ key: "productId",
2077
+ width: 150
2078
+ },
2079
+ skuName: {
2080
+ component: BsHeaderChild,
2081
+ name: "系统规格名称",
2082
+ key: "skuName",
2083
+ width: 150
2084
+ },
2085
+ skuCode: {
2086
+ component: BsHeaderChild,
2087
+ name: "系统规格编码",
2088
+ key: "skuCode",
2089
+ width: 150
2090
+ },
2091
+ specId: {
2092
+ component: BsHeaderChild,
2093
+ name: "规格ID",
2094
+ key: "specId",
2095
+ width: 150
2096
+ },
2097
+ // goodsName: {
2098
+ // component: BsHeaderChild,
2099
+ // name: "货品名称",
2100
+ // key: "goodsName",
2101
+ // width: 250,
2102
+ // },
2103
+ // goodsCode: {
2104
+ // component: BsHeaderChild,
2105
+ // name: "货品编号",
2106
+ // key: "goodsCode",
2107
+ // width: 200,
2108
+ // },
2109
+ // goodsId: {
2110
+ // component: BsHeaderChild,
2111
+ // name: "货品ID",
2112
+ // key: "goodsId",
2113
+ // width: 150,
2114
+ // },
2115
+ goodsClass: {
2116
+ component: BsHeaderChild,
2117
+ name: "货品类别",
2118
+ key: "goodsClass",
2119
+ width: 150
2120
+ },
2121
+ code: {
2122
+ component: BsHeaderChild,
2123
+ name: "条码",
2124
+ key: "code",
2125
+ width: 150
2126
+ },
2127
+ // specName: {
2128
+ // component: BsHeaderChild,
2129
+ // name: "规格名称",
2130
+ // key: "specName",
2131
+ // width: 200,
2132
+ // },
2133
+ // specCode: {
2134
+ // component: BsHeaderChild,
2135
+ // name: "规格编号",
2136
+ // key: "specCode",
2137
+ // width: 150,
2138
+ // },
2139
+
2140
+ mallProductName: {
2141
+ component: BsHeaderChild,
2142
+ name: "平台商品名称",
2143
+ key: "mallProductName",
2144
+ width: 250
2145
+ },
2146
+ mallProductOutCode: {
2147
+ component: BsHeaderChild,
2148
+ name: "平台商品编码",
2149
+ key: "mallProductOutCode",
2150
+ width: 150
2151
+ },
2152
+ mallProductId: {
2153
+ component: BsHeaderChild,
2154
+ name: "平台商品ID",
2155
+ key: "mallProductId",
2156
+ width: 250
2157
+ },
2158
+ mallSkuName: {
2159
+ component: BsHeaderChild,
2160
+ name: "平台规格名称",
2161
+ key: "mallSkuName",
2162
+ width: 250
2163
+ },
2164
+ mallSkuId: {
2165
+ component: BsHeaderChild,
2166
+ name: "平台规格ID",
2167
+ key: "mallSkuId",
2168
+ width: 250
2169
+ },
2170
+ sellCount: {
2171
+ component: BsHeaderChild,
2172
+ name: "数量",
2173
+ key: "sellCount",
2174
+ width: 100
2175
+ },
2176
+ sellPrice: {
2177
+ component: BsHeaderChild,
2178
+ name: "单价",
2179
+ key: "sellPrice",
2180
+ width: 150
2181
+ },
2182
+ mallSellingPrice: {
2183
+ component: BsHeaderChild,
2184
+ name: "平台商品价格",
2185
+ key: "mallSellingPrice",
2186
+ width: 150
2187
+ },
2188
+ sellTotal: {
2189
+ component: BsHeaderChild,
2190
+ name: "金额",
2191
+ key: "sellTotal",
2192
+ width: 150
2193
+ },
2194
+ bfit: {
2195
+ component: BsHeaderChild,
2196
+ name: "是否组合装",
2197
+ key: "bfit",
2198
+ width: 150,
2199
+ transformValue: function transformValue(val) {
2200
+ if (isNull(val)) return "--";
2201
+ return val === "True" ? "是" : "否";
2202
+ },
2203
+ renderExport: function renderExport(val) {
2204
+ if (isNull(val)) return "--";
2205
+ return val === "True" ? "是" : "否";
2206
+ }
2207
+ },
2208
+ combinationName: {
2209
+ component: BsHeaderChild,
2210
+ name: "组合商品名称",
2211
+ key: "combinationName",
2212
+ width: 150
2213
+ },
2214
+ combinationCode: {
2215
+ component: BsHeaderChild,
2216
+ name: "组合商品编码",
2217
+ key: "combinationCode",
2218
+ width: 150
2219
+ },
2220
+ gift: {
2221
+ component: BsHeaderChild,
2222
+ name: "是否赠品",
2223
+ key: "gift",
2224
+ width: 150,
2225
+ transformValue: function transformValue(val) {
2226
+ if (isNull(val)) return "--";
2227
+ return val === "1" ? "是" : "否";
2228
+ },
2229
+ renderExport: function renderExport(val) {
2230
+ if (isNull(val)) return "--";
2231
+ return val === "1" ? "是" : "否";
2232
+ }
2233
+ }
2234
+ },
2235
+ itemKey: {
2236
+ // goodsName: "货品名称",
2237
+ // goodsCode: "货品编号",
2238
+ // goodsId: "货品ID",
2239
+ goodsClass: "货品类别",
2240
+ code: "条码",
2241
+ // specName: "规格名称",
2242
+ // specCode: "规格编号",
2243
+ specId: "规格ID",
2244
+ productName: "系统商品名称",
2245
+ productCode: "系统商品编码",
2246
+ productId: "系统商品ID",
2247
+ skuName: "系统规格名称",
2248
+ skuCode: "系统规格编码",
2249
+ mallProductName: "平台商品名称",
2250
+ mallProductOutCode: "平台商品编码",
2251
+ mallProductId: "平台商品ID",
2252
+ mallSkuName: "平台规格名称",
2253
+ mallSkuId: "平台规格ID",
2254
+ sellCount: "数量",
2255
+ sellPrice: "单价",
2256
+ mallSellingPrice: "平台商品价格",
2257
+ sellTotal: "金额",
2258
+ divideOrderFee: "分摊实付金额",
2259
+ bfit: "是否组合装",
2260
+ combinationName: "组合商品名称",
2261
+ combinationCode: "组合商品编码",
2262
+ gift: "是否赠品"
2263
+ },
2264
+ moneyKey: "sellTotal"
2265
+ },
2266
+ SKX_GOODS: {
2267
+ headerMap: {
2268
+ skuEcode: {
2269
+ name: "[SKX]发货单明细-skuEcode",
2270
+ width: 250
2271
+ },
2272
+ subOrderId: {
2273
+ name: "[SKX]发货单-子订单号",
2274
+ width: 300
2275
+ },
2276
+ onBillNo: {
2277
+ name: "[SKX]ON出库通知单号",
2278
+ width: 200
2279
+ }
2280
+ }
2281
+ },
2282
+ SKX_RETURN_GOODS: {
2283
+ headerMap: {
2284
+ returnSkuEcode: {
2285
+ name: "[SKX]退货单明细-returnSkuEcode",
2286
+ width: 300
2287
+ },
2288
+ returnSubOrderId: {
2289
+ name: "[SKX]退货单-子订单号",
2290
+ width: 300
2291
+ },
2292
+ returnBillNo: {
2293
+ name: "[SKX]TH退换货单号",
2294
+ width: 200
2295
+ }
2296
+ }
2297
+ },
2298
+ JKY_GOODS: {
2299
+ headerMap: {
2300
+ goodsNo: {
2301
+ component: BsHeaderChild,
2302
+ name: "货品编号",
2303
+ key: "goodsNo",
2304
+ width: 150
2305
+ },
2306
+ goodsName: {
2307
+ component: BsHeaderChild,
2308
+ name: "货品名称",
2309
+ key: "goodsName",
2310
+ width: 150
2311
+ },
2312
+ goodsId: {
2313
+ component: BsHeaderChild,
2314
+ name: "货品ID",
2315
+ key: "goodsId",
2316
+ width: 150
2317
+ },
2318
+ barcode: {
2319
+ component: BsHeaderChild,
2320
+ name: "货品条码",
2321
+ key: "barcode",
2322
+ width: 150
2323
+ },
2324
+ specName: {
2325
+ component: BsHeaderChild,
2326
+ name: "规格名称",
2327
+ key: "specName",
2328
+ width: 150
2329
+ },
2330
+ specId: {
2331
+ component: BsHeaderChild,
2332
+ name: "规格ID",
2333
+ key: "specId",
2334
+ width: 150
2335
+ },
2336
+ skuImgUrl: {
2337
+ component: BsHeaderPic,
2338
+ name: "规格图片",
2339
+ key: "skuImgUrl",
2340
+ width: 150
2341
+ },
2342
+ sellCount: {
2343
+ component: BsHeaderChild,
2344
+ name: "数量",
2345
+ key: "sellCount",
2346
+ width: 100
2347
+ },
2348
+ actualSendCount: {
2349
+ component: BsHeaderChild,
2350
+ name: "实发数量",
2351
+ key: "actualSendCount",
2352
+ width: 150
2353
+ },
2354
+ sellPrice: {
2355
+ component: BsHeaderChild,
2356
+ name: "单价",
2357
+ key: "sellPrice",
2358
+ width: 150
2359
+ },
2360
+ sellTotal: {
2361
+ component: BsHeaderChild,
2362
+ name: "总金额",
2363
+ key: "sellTotal",
2364
+ width: 150
2365
+ },
2366
+ discountTotal: {
2367
+ component: BsHeaderChild,
2368
+ name: "抵扣金额",
2369
+ key: "discountTotal",
2370
+ width: 150
2371
+ },
2372
+ shareFavourableFee: {
2373
+ component: BsHeaderChild,
2374
+ name: "分摊金额",
2375
+ key: "shareFavourableFee",
2376
+ width: 150
2377
+ },
2378
+ shareFavourableAfterFee: {
2379
+ component: BsHeaderChild,
2380
+ name: "分摊后金额",
2381
+ key: "shareFavourableAfterFee",
2382
+ width: 150
2383
+ },
2384
+ customerPrice: {
2385
+ component: BsHeaderChild,
2386
+ name: "终端销售单价",
2387
+ key: "customerPrice",
2388
+ width: 150
2389
+ },
2390
+ customerTotal: {
2391
+ component: BsHeaderChild,
2392
+ name: "终端销售金额",
2393
+ key: "customerTotal",
2394
+ width: 150
2395
+ },
2396
+ divideSellTotal: {
2397
+ component: BsHeaderChild,
2398
+ name: "实付金额",
2399
+ key: "divideSellTotal",
2400
+ width: 150
2401
+ },
2402
+ isGift: {
2403
+ component: BsHeaderChild,
2404
+ name: "是否赠品",
2405
+ key: "isGift",
2406
+ width: 150,
2407
+ transformValue: function transformValue(val) {
2408
+ if (isNull(val)) return "--";
2409
+ return val === "1" ? "是" : "否";
2410
+ },
2411
+ renderExport: function renderExport(val) {
2412
+ if (isNull(val)) return "--";
2413
+ return val === "1" ? "是" : "否";
2414
+ }
2415
+ },
2416
+ isFit: {
2417
+ component: BsHeaderChild,
2418
+ name: "是否组合装",
2419
+ key: "isFit",
2420
+ width: 150,
2421
+ transformValue: function transformValue(val) {
2422
+ if (isNull(val)) return "--";
2423
+ return val === "1" ? "是" : "否";
2424
+ },
2425
+ renderExport: function renderExport(val) {
2426
+ if (isNull(val)) return "--";
2427
+ return val === "1" ? "是" : "否";
2428
+ }
2429
+ },
2430
+ isPresell: {
2431
+ component: BsHeaderChild,
2432
+ name: "是否预售货品",
2433
+ key: "isPresell",
2434
+ width: 150,
2435
+ transformValue: function transformValue(val) {
2436
+ if (isNull(val)) return "--";
2437
+ return val === "1" ? "是" : "否";
2438
+ },
2439
+ renderExport: function renderExport(val) {
2440
+ if (isNull(val)) return "--";
2441
+ return val === "1" ? "是" : "否";
2442
+ }
2443
+ },
2444
+ brandName: {
2445
+ component: BsHeaderChild,
2446
+ name: "品牌",
2447
+ key: "brandName",
2448
+ width: 200
2449
+ },
2450
+ cateName: {
2451
+ component: BsHeaderChild,
2452
+ name: "货品类别",
2453
+ key: "cateName",
2454
+ width: 150
2455
+ },
2456
+ goodsTags: {
2457
+ component: BsHeaderChild,
2458
+ name: "货品标签",
2459
+ key: "goodsTags",
2460
+ width: 250
2461
+ },
2462
+ goodsMemo: {
2463
+ component: BsHeaderChild,
2464
+ name: "货品备注",
2465
+ key: "goodsMemo",
2466
+ width: 250
2467
+ },
2468
+ tradeGoodsNo: {
2469
+ component: BsHeaderChild,
2470
+ name: "交易货品编号",
2471
+ key: "tradeGoodsNo",
2472
+ width: 250
2473
+ },
2474
+ tradeGoodsName: {
2475
+ component: BsHeaderChild,
2476
+ name: "交易货品名称",
2477
+ key: "tradeGoodsName",
2478
+ width: 250
2479
+ },
2480
+ tradeGoodsSpec: {
2481
+ component: BsHeaderChild,
2482
+ name: "交易规格名称",
2483
+ key: "tradeGoodsSpec",
2484
+ width: 250
2485
+ },
2486
+ sourceSubtradeNo: {
2487
+ component: BsHeaderChild,
2488
+ name: "网店子订单号",
2489
+ key: "sourceSubtradeNo",
2490
+ width: 250
2491
+ },
2492
+ platGoodsId: {
2493
+ component: BsHeaderChild,
2494
+ name: "平台商品ID",
2495
+ key: "platGoodsId",
2496
+ width: 250
2497
+ },
2498
+ subTradeId: {
2499
+ component: BsHeaderChild,
2500
+ name: "商品明细ID",
2501
+ key: "subTradeId",
2502
+ width: 250
2503
+ },
2504
+ batchNo: {
2505
+ component: BsHeaderChild,
2506
+ name: "批次号",
2507
+ key: "batchNo",
2508
+ width: 250
2509
+ },
2510
+ sendCount: {
2511
+ component: BsHeaderChild,
2512
+ name: "批次数量",
2513
+ key: "sendCount",
2514
+ width: 250
2515
+ },
2516
+ productDate: {
2517
+ component: BsHeaderChild,
2518
+ name: "生产日期",
2519
+ key: "productDate",
2520
+ width: 250
2521
+ },
2522
+ expireDate: {
2523
+ component: BsHeaderChild,
2524
+ name: "到期日期",
2525
+ key: "expireDate",
2526
+ width: 250
2527
+ }
2528
+ },
2529
+ itemKey: {
2530
+ goodsNo: "货品编号",
2531
+ goodsName: "货品名称",
2532
+ goodsId: "货品ID",
2533
+ barcode: "货品条码",
2534
+ specName: "规格名称",
2535
+ specId: "规格ID",
2536
+ skuImgUrl: "规格图片",
2537
+ sellCount: "数量",
2538
+ actualSendCount: "实发数量",
2539
+ sellPrice: "单价",
2540
+ sellTotal: "金额",
2541
+ discountTotal: "抵扣金额",
2542
+ shareFavourableFee: "分摊金额",
2543
+ shareFavourableAfterFee: "分摊后金额",
2544
+ customerPrice: "终端销售单价",
2545
+ customerTotal: "终端销售金额",
2546
+ divideSellTotal: "实付金额",
2547
+ isGift: "是否赠品",
2548
+ isFit: "是否组合装",
2549
+ isPresell: "是否预售货品",
2550
+ brandName: "品牌",
2551
+ cateName: "货品类别",
2552
+ goodsTags: "货品标签",
2553
+ goodsMemo: "货品备注",
2554
+ tradeGoodsNo: "交易货品编号",
2555
+ tradeGoodsName: "交易货品名称",
2556
+ tradeGoodsSpec: "交易规格名称",
2557
+ sourceSubtradeNo: "网店子订单号",
2558
+ platGoodsId: "平台商品ID",
2559
+ subTradeId: "商品明细ID",
2560
+ batchNo: "批次号",
2561
+ sendCount: "批次数量",
2562
+ productDate: "生产日期",
2563
+ expireDate: "到期日期"
2564
+ },
2565
+ moneyKey: "sellTotal"
2566
+ },
2567
+ JKY_REISSUE_GOODS: {
2568
+ headerMap: {
2569
+ goodsNo: {
2570
+ component: BsHeaderChild,
2571
+ name: "货品编号",
2572
+ key: "goodsNo",
2573
+ width: 150
2574
+ },
2575
+ goodsName: {
2576
+ component: BsHeaderChild,
2577
+ name: "货品名称",
2578
+ key: "goodsName",
2579
+ width: 150
2580
+ },
2581
+ goodsId: {
2582
+ component: BsHeaderChild,
2583
+ name: "货品ID",
2584
+ key: "goodsId",
2585
+ width: 150
2586
+ },
2587
+ barcode: {
2588
+ component: BsHeaderChild,
2589
+ name: "货品条码",
2590
+ key: "barcode",
2591
+ width: 150
2592
+ },
2593
+ specName: {
2594
+ component: BsHeaderChild,
2595
+ name: "规格名称",
2596
+ key: "specName",
2597
+ width: 150
2598
+ },
2599
+ specId: {
2600
+ component: BsHeaderChild,
2601
+ name: "规格ID",
2602
+ key: "specId",
2603
+ width: 150
2604
+ },
2605
+ skuImgUrl: {
2606
+ component: BsHeaderPic,
2607
+ name: "规格图片",
2608
+ key: "skuImgUrl",
2609
+ width: 150
2610
+ },
2611
+ sellCount: {
2612
+ component: BsHeaderChild,
2613
+ name: "发货数量",
2614
+ key: "sellCount",
2615
+ width: 100
2616
+ },
2617
+ sellPrice: {
2618
+ component: BsHeaderChild,
2619
+ name: "单价",
2620
+ key: "sellPrice",
2621
+ width: 150
2622
+ },
2623
+ sellTotal: {
2624
+ component: BsHeaderChild,
2625
+ name: "总金额",
2626
+ key: "sellTotal",
2627
+ width: 150
2628
+ },
2629
+ reason: {
2630
+ component: BsHeaderChild,
2631
+ name: "退换原因",
2632
+ key: "reason",
2633
+ width: 250
2634
+ },
2635
+ isGift: {
2636
+ component: BsHeaderChild,
2637
+ name: "是否赠品",
2638
+ key: "isGift",
2639
+ width: 150,
2640
+ transformValue: function transformValue(val) {
2641
+ if (isNull(val)) return "--";
2642
+ return val === "1" ? "是" : "否";
2643
+ },
2644
+ renderExport: function renderExport(val) {
2645
+ if (isNull(val)) return "--";
2646
+ return val === "1" ? "是" : "否";
2647
+ }
2648
+ },
2649
+ isFit: {
2650
+ component: BsHeaderChild,
2651
+ name: "是否组合装",
2652
+ key: "isFit",
2653
+ width: 150,
2654
+ transformValue: function transformValue(val) {
2655
+ if (isNull(val)) return "--";
2656
+ return val === "1" ? "是" : "否";
2657
+ },
2658
+ renderExport: function renderExport(val) {
2659
+ if (isNull(val)) return "--";
2660
+ return val === "1" ? "是" : "否";
2661
+ }
2662
+ },
2663
+ brandName: {
2664
+ component: BsHeaderChild,
2665
+ name: "品牌",
2666
+ key: "brandName",
2667
+ width: 150
2668
+ },
2669
+ cateName: {
2670
+ component: BsHeaderChild,
2671
+ name: "货品类别",
2672
+ key: "cateName",
2673
+ width: 150
2674
+ }
2675
+ },
2676
+ itemKey: {
2677
+ goodsNo: "货品编号",
2678
+ goodsName: "货品名称",
2679
+ goodsId: "货品ID",
2680
+ barcode: "货品条码",
2681
+ specName: "规格名称",
2682
+ specId: "规格ID",
2683
+ skuImgUrl: "规格图片",
2684
+ sellCount: "发货数量",
2685
+ sellPrice: "单价",
2686
+ sellTotal: "总金额",
2687
+ reason: "退换原因",
2688
+ isGift: "是否赠品",
2689
+ isFit: "是否组合装",
2690
+ brandName: "品牌",
2691
+ cateName: "货品类别"
2692
+ },
2693
+ moneyKey: "sellTotal"
1387
2694
  }
1388
2695
  };
1389
2696
  GoodHeaderMap["WDT_REISSUE_GOODS"] = GoodHeaderMap["WDT_GOODS"];