@kmkf-fe-packages/services-components 2.4.0-rc.0 → 2.4.1

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 (123) 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 +441 -0
  7. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +1 -1
  8. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +4 -2
  9. package/dist/esm/commonComponents/GlobalContext/index.js +10 -3
  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 +11 -9
  13. package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
  14. package/dist/esm/commonComponents/OperationLog/index.js +4 -2
  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/BsLogistics/index.d.ts +7 -2
  19. package/dist/esm/components/BS/BsLogistics/index.js +61 -8
  20. package/dist/esm/components/BS/BsSystemOrder/index.d.ts +8 -0
  21. package/dist/esm/components/BS/BsSystemOrder/index.js +56 -9
  22. package/dist/esm/components/BS/common/BsHeaderChild.d.ts +4 -4
  23. package/dist/esm/components/BS/common/BsHeaderChild.js +8 -8
  24. package/dist/esm/components/BS/common/BsHeaderGood.js +2 -2
  25. package/dist/esm/components/BS/common/BsHeaderPic.d.ts +2 -0
  26. package/dist/esm/components/BS/common/BsHeaderPic.js +20 -10
  27. package/dist/esm/components/BS/common/BsMemo.js +4 -1
  28. package/dist/esm/components/BS/common/BsType.js +4 -1
  29. package/dist/esm/components/BS/common/SystemOrderNo.js +4 -1
  30. package/dist/esm/components/BS/common/expressCode.d.ts +4 -1
  31. package/dist/esm/components/BS/common/expressCode.js +16 -4
  32. package/dist/esm/components/BS/common/expressCompany.d.ts +5 -2
  33. package/dist/esm/components/BS/common/expressCompany.js +31 -5
  34. package/dist/esm/components/BsE3/BsReissueE3/index.js +4 -1
  35. package/dist/esm/components/Cascader/index.d.ts +8 -6
  36. package/dist/esm/components/Cascader/index.js +26 -22
  37. package/dist/esm/components/Common/constants/bs.js +2 -2
  38. package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +6 -2
  39. package/dist/esm/components/Common/constants/defaultColumns.js +2 -2
  40. package/dist/esm/components/Common/constants/wdt.js +104 -0
  41. package/dist/esm/components/Common/index.d.ts +3 -3
  42. package/dist/esm/components/Common/index.js +49 -28
  43. package/dist/esm/components/CommonDataTime/index.d.ts +2 -2
  44. package/dist/esm/components/CommonDataTime/index.js +2 -2
  45. package/dist/esm/components/CommonHeaderGood/index.js +1165 -18
  46. package/dist/esm/components/CommonInput/index.js +11 -3
  47. package/dist/esm/components/CommonMultiStatus/index.js +73 -36
  48. package/dist/esm/components/ErpTradeId/index.d.ts +2 -2
  49. package/dist/esm/components/ErpTradeId/index.js +7 -4
  50. package/dist/esm/components/File/index.d.ts +6 -6
  51. package/dist/esm/components/File/index.js +9 -10
  52. package/dist/esm/components/FlowOverallStatusSelect/index.d.ts +40 -0
  53. package/dist/esm/components/FlowOverallStatusSelect/index.js +180 -0
  54. package/dist/esm/components/GY/GyGoods/index.js +5 -1
  55. package/dist/esm/components/GY/GyReissue/index.js +5 -1
  56. package/dist/esm/components/GY/GyReturn/index.js +5 -1
  57. package/dist/esm/components/Input/index.d.ts +4 -4
  58. package/dist/esm/components/Input/index.js +35 -31
  59. package/dist/esm/components/JST/JstSendGood/index.js +17 -1
  60. package/dist/esm/components/KM/KmExchange/index.d.ts +35 -0
  61. package/dist/esm/components/KM/KmExchange/index.js +136 -0
  62. package/dist/esm/components/KmErpSendGood/index.js +1 -1
  63. package/dist/esm/components/Logistics/index.d.ts +1 -0
  64. package/dist/esm/components/Logistics/index.js +10 -0
  65. package/dist/esm/components/LogisticsInterception/columnHeader.js +1 -1
  66. package/dist/esm/components/LogisticsInterception/index.d.ts +20 -0
  67. package/dist/esm/components/LogisticsInterception/index.js +10 -5
  68. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.d.ts +45 -0
  69. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.js +97 -0
  70. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +3 -2
  71. package/dist/esm/components/LogisticsMoreInterception/InterceptAddress.js +4 -2
  72. package/dist/esm/components/LogisticsMoreInterception/InterceptApiStatus.js +1 -1
  73. package/dist/esm/components/LogisticsMoreInterception/index.js +1 -0
  74. package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.d.ts +5 -5
  75. package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.js +9 -9
  76. package/dist/esm/components/OrderSubForm/index.d.ts +56 -0
  77. package/dist/esm/components/OrderSubForm/index.js +285 -0
  78. package/dist/esm/components/Payment/index.d.ts +13 -12
  79. package/dist/esm/components/Payment/index.js +31 -11
  80. package/dist/esm/components/PaymentVoucherCode/Preview.js +35 -9
  81. package/dist/esm/components/Picture/index.d.ts +5 -5
  82. package/dist/esm/components/Picture/index.js +20 -20
  83. package/dist/esm/components/PicturePro/index.d.ts +15 -6
  84. package/dist/esm/components/PicturePro/index.js +42 -25
  85. package/dist/esm/components/PostIng/index.d.ts +5 -0
  86. package/dist/esm/components/PostIng/index.js +42 -8
  87. package/dist/esm/components/Public/Goods/index.d.ts +10 -8
  88. package/dist/esm/components/Public/Goods/index.js +42 -2
  89. package/dist/esm/components/Public/ReissueGoods/index.js +62 -4
  90. package/dist/esm/components/Public/ReturnWarehouse/index.d.ts +51 -0
  91. package/dist/esm/components/Public/ReturnWarehouse/index.js +210 -0
  92. package/dist/esm/components/ReceiverAddress/index.d.ts +7 -6
  93. package/dist/esm/components/ReceiverAddress/index.js +41 -27
  94. package/dist/esm/components/Reissue/Logistics/index.js +2 -2
  95. package/dist/esm/components/Remark/index.d.ts +18 -2
  96. package/dist/esm/components/Remark/index.js +37 -2
  97. package/dist/esm/components/ReturnLogistics/index.d.ts +7 -6
  98. package/dist/esm/components/ReturnLogistics/index.js +34 -17
  99. package/dist/esm/components/SKX/SkxGoods/index.js +4 -0
  100. package/dist/esm/components/SKX/SkxIdInputSelect/index.js +4 -0
  101. package/dist/esm/components/Select/index.d.ts +1 -0
  102. package/dist/esm/components/Select/index.js +22 -11
  103. package/dist/esm/components/ShopInput/index.d.ts +5 -5
  104. package/dist/esm/components/ShopInput/index.js +12 -9
  105. package/dist/esm/components/StatusSelect/index.js +4 -0
  106. package/dist/esm/components/SubForm/children/HeaderChildFile.d.ts +30 -0
  107. package/dist/esm/components/SubForm/children/HeaderChildFile.js +117 -0
  108. package/dist/esm/components/SubForm/children/HeaderChildPic.d.ts +30 -0
  109. package/dist/esm/components/SubForm/children/HeaderChildPic.js +116 -0
  110. package/dist/esm/components/SubForm/index.js +78 -6
  111. package/dist/esm/components/TradeId/index.d.ts +5 -5
  112. package/dist/esm/components/TradeId/index.js +17 -14
  113. package/dist/esm/components/WDT/WdtRessuie/index.js +28 -8
  114. package/dist/esm/factory.d.ts +2 -2
  115. package/dist/esm/factory.js +37 -7
  116. package/dist/esm/index.d.ts +5 -0
  117. package/dist/esm/index.js +7 -1
  118. package/dist/esm/service/api.d.ts +3 -0
  119. package/dist/esm/service/api.js +34 -1
  120. package/dist/esm/type.d.ts +38 -0
  121. package/package.json +4 -4
  122. package/dist/esm/components/Common/constants/gy.d.ts +0 -3
  123. 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
  },
@@ -1008,6 +1229,22 @@ var GoodHeaderMap = {
1008
1229
  },
1009
1230
  moneyKey: "salePrice"
1010
1231
  },
1232
+ JST_AFTERSALE_GOODS: {
1233
+ headerMap: getJstColumns()["JST_AFTERSALE_GOODS"].reduce(function (acc, item) {
1234
+ acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
1235
+ component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
1236
+ name: item.title,
1237
+ key: item.dataIndex,
1238
+ width: item.width || 150
1239
+ });
1240
+ return acc;
1241
+ }, {}),
1242
+ itemKey: getJstColumns()["JST_AFTERSALE_GOODS"].reduce(function (acc, item) {
1243
+ acc[item.dataIndex] = item.title;
1244
+ return acc;
1245
+ }, {}),
1246
+ moneyKey: "price"
1247
+ },
1011
1248
  JST_REISSUE_GOODS: {
1012
1249
  headerMap: {
1013
1250
  name: "商品名称",
@@ -1263,6 +1500,14 @@ var GoodHeaderMap = {
1263
1500
  name: "系统规格ID",
1264
1501
  width: 150
1265
1502
  },
1503
+ skuId: {
1504
+ name: "平台规格ID",
1505
+ width: 150
1506
+ },
1507
+ outerSkuId: {
1508
+ name: "平台规格编码",
1509
+ width: 150
1510
+ },
1266
1511
  itemSysId: {
1267
1512
  name: "系统商品ID",
1268
1513
  width: 150
@@ -1270,7 +1515,10 @@ var GoodHeaderMap = {
1270
1515
  sysPicPath: {
1271
1516
  name: "商品图片",
1272
1517
  width: 100,
1273
- component: BsHeaderPic
1518
+ component: BsHeaderPic,
1519
+ transformValue: function transformValue(val) {
1520
+ return val !== null && val !== void 0 && val.startsWith("http") ? val : "https://erp.superboss.cc".concat(val);
1521
+ }
1274
1522
  },
1275
1523
  num: {
1276
1524
  name: "数量",
@@ -1287,6 +1535,18 @@ var GoodHeaderMap = {
1287
1535
  type: {
1288
1536
  name: "商品类型",
1289
1537
  width: 100
1538
+ },
1539
+ supplierName: {
1540
+ name: "供应商名称",
1541
+ width: 150
1542
+ },
1543
+ supplierCode: {
1544
+ name: "供应商编码",
1545
+ width: 150
1546
+ },
1547
+ remark: {
1548
+ name: "备注",
1549
+ width: 200
1290
1550
  }
1291
1551
  },
1292
1552
  moneyKey: "money"
@@ -1345,6 +1605,14 @@ var GoodHeaderMap = {
1345
1605
  name: "商品类型",
1346
1606
  width: 150
1347
1607
  },
1608
+ supplierName: {
1609
+ name: "供应商名称",
1610
+ width: 150
1611
+ },
1612
+ supplierCode: {
1613
+ name: "供应商编码",
1614
+ width: 150
1615
+ },
1348
1616
  sysPicPath: {
1349
1617
  name: "商品图片",
1350
1618
  width: 100,
@@ -1353,21 +1621,900 @@ var GoodHeaderMap = {
1353
1621
  },
1354
1622
  moneyKey: "money"
1355
1623
  },
1356
- SKX_GOODS: {
1624
+ KM_RETURN_GOODS: {
1625
+ headerMap: getKmColumns()["KM_RETURN_GOODS"].reduce(function (acc, item) {
1626
+ acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
1627
+ component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
1628
+ name: item.title,
1629
+ key: item.dataIndex,
1630
+ width: item.width || 150
1631
+ });
1632
+ return acc;
1633
+ }, {}),
1634
+ itemKey: getKmColumns()["KM_RETURN_GOODS"].reduce(function (acc, item) {
1635
+ acc[item.dataIndex] = item.title;
1636
+ return acc;
1637
+ }, {}),
1638
+ moneyKey: "price"
1639
+ },
1640
+ KM_EXCHANGE_GOODS: {
1641
+ headerMap: getKmColumns()["KM_EXCHANGE_GOODS"].reduce(function (acc, item) {
1642
+ acc[item.dataIndex] = _objectSpread(_objectSpread({}, item.headerMapping || {}), {}, {
1643
+ component: orderGoodsHeaderComponentMap[item.headerComponentType] || BsHeaderChild,
1644
+ name: item.title,
1645
+ key: item.dataIndex,
1646
+ width: item.width || 150
1647
+ });
1648
+ return acc;
1649
+ }, {}),
1650
+ itemKey: getKmColumns()["KM_EXCHANGE_GOODS"].reduce(function (acc, item) {
1651
+ acc[item.dataIndex] = item.title;
1652
+ return acc;
1653
+ }, {}),
1654
+ moneyKey: "price"
1655
+ },
1656
+ JY_GOODS: {
1357
1657
  headerMap: {
1358
- skuEcode: {
1359
- name: "[SKX]发货单明细-skuEcode",
1360
- width: 200
1658
+ productName: {
1659
+ component: BsHeaderChild,
1660
+ name: "系统商品名称",
1661
+ key: "productName",
1662
+ width: 150
1361
1663
  },
1362
- subOrderId: {
1363
- name: "[SKX]发货单-子订单号",
1364
- width: 300
1664
+ productCode: {
1665
+ component: BsHeaderChild,
1666
+ name: "系统商品编码",
1667
+ key: "productCode",
1668
+ width: 150
1365
1669
  },
1366
- onBillNo: {
1367
- name: "[SKX]ON出库通知单号",
1368
- width: 200
1369
- }
1370
- }
1670
+ productId: {
1671
+ component: BsHeaderChild,
1672
+ name: "系统商品ID",
1673
+ key: "productId",
1674
+ width: 150
1675
+ },
1676
+ skuName: {
1677
+ component: BsHeaderChild,
1678
+ name: "系统规格名称",
1679
+ key: "skuName",
1680
+ width: 150
1681
+ },
1682
+ skuCode: {
1683
+ component: BsHeaderChild,
1684
+ name: "系统规格编码",
1685
+ key: "skuCode",
1686
+ width: 150
1687
+ },
1688
+ specId: {
1689
+ component: BsHeaderChild,
1690
+ name: "规格ID",
1691
+ key: "specId",
1692
+ width: 150
1693
+ },
1694
+ // goodsName: {
1695
+ // component: BsHeaderChild,
1696
+ // name: "货品名称",
1697
+ // key: "goodsName",
1698
+ // width: 250,
1699
+ // },
1700
+ // goodsCode: {
1701
+ // component: BsHeaderChild,
1702
+ // name: "货品编号",
1703
+ // key: "goodsCode",
1704
+ // width: 200,
1705
+ // },
1706
+ // goodsId: {
1707
+ // component: BsHeaderChild,
1708
+ // name: "货品ID",
1709
+ // key: "goodsId",
1710
+ // width: 150,
1711
+ // },
1712
+ goodsClass: {
1713
+ component: BsHeaderChild,
1714
+ name: "货品类别",
1715
+ key: "goodsClass",
1716
+ width: 150
1717
+ },
1718
+ code: {
1719
+ component: BsHeaderChild,
1720
+ name: "条码",
1721
+ key: "code",
1722
+ width: 150
1723
+ },
1724
+ // specName: {
1725
+ // component: BsHeaderChild,
1726
+ // name: "规格名称",
1727
+ // key: "specName",
1728
+ // width: 200,
1729
+ // },
1730
+ // specCode: {
1731
+ // component: BsHeaderChild,
1732
+ // name: "规格编号",
1733
+ // key: "specCode",
1734
+ // width: 150,
1735
+ // },
1736
+
1737
+ mallProductName: {
1738
+ component: BsHeaderChild,
1739
+ name: "平台商品名称",
1740
+ key: "mallProductName",
1741
+ width: 250
1742
+ },
1743
+ mallProductOutCode: {
1744
+ component: BsHeaderChild,
1745
+ name: "平台商品编码",
1746
+ key: "mallProductOutCode",
1747
+ width: 150
1748
+ },
1749
+ mallProductId: {
1750
+ component: BsHeaderChild,
1751
+ name: "平台商品ID",
1752
+ key: "mallProductId",
1753
+ width: 250
1754
+ },
1755
+ mallSkuName: {
1756
+ component: BsHeaderChild,
1757
+ name: "平台规格名称",
1758
+ key: "mallSkuName",
1759
+ width: 250
1760
+ },
1761
+ mallSkuId: {
1762
+ component: BsHeaderChild,
1763
+ name: "平台规格ID",
1764
+ key: "mallSkuId",
1765
+ width: 250
1766
+ },
1767
+ sellCount: {
1768
+ component: BsHeaderChild,
1769
+ name: "数量",
1770
+ key: "sellCount",
1771
+ width: 100
1772
+ },
1773
+ sellPrice: {
1774
+ component: BsHeaderChild,
1775
+ name: "单价",
1776
+ key: "sellPrice",
1777
+ width: 150
1778
+ },
1779
+ mallSellingPrice: {
1780
+ component: BsHeaderChild,
1781
+ name: "平台商品价格",
1782
+ key: "mallSellingPrice",
1783
+ width: 150
1784
+ },
1785
+ sellTotal: {
1786
+ component: BsHeaderChild,
1787
+ name: "金额",
1788
+ key: "sellTotal",
1789
+ width: 150
1790
+ },
1791
+ settlementPrice: {
1792
+ component: BsHeaderChild,
1793
+ name: "结算价",
1794
+ key: "settlementPrice",
1795
+ width: 150
1796
+ },
1797
+ divideOrderFee: {
1798
+ component: BsHeaderChild,
1799
+ name: "分摊实付金额",
1800
+ key: "divideOrderFee",
1801
+ width: 150
1802
+ },
1803
+ bfit: {
1804
+ component: BsHeaderChild,
1805
+ name: "是否组合装",
1806
+ key: "bfit",
1807
+ width: 150,
1808
+ transformValue: function transformValue(val) {
1809
+ if (isNull(val)) return "--";
1810
+ return val === "True" ? "是" : "否";
1811
+ },
1812
+ renderExport: function renderExport(val) {
1813
+ if (isNull(val)) return "--";
1814
+ return val === "True" ? "是" : "否";
1815
+ }
1816
+ },
1817
+ combinationName: {
1818
+ component: BsHeaderChild,
1819
+ name: "组合商品名称",
1820
+ key: "combinationName",
1821
+ width: 150
1822
+ },
1823
+ combinationCode: {
1824
+ component: BsHeaderChild,
1825
+ name: "组合商品编码",
1826
+ key: "combinationCode",
1827
+ width: 150
1828
+ },
1829
+ gift: {
1830
+ component: BsHeaderChild,
1831
+ name: "是否赠品",
1832
+ key: "gift",
1833
+ width: 150,
1834
+ transformValue: function transformValue(val) {
1835
+ if (isNull(val)) return "--";
1836
+ return val === "1" ? "是" : "否";
1837
+ },
1838
+ renderExport: function renderExport(val) {
1839
+ if (isNull(val)) return "--";
1840
+ return val === "1" ? "是" : "否";
1841
+ }
1842
+ },
1843
+ skuNote: {
1844
+ component: BsHeaderChild,
1845
+ name: "商品备注",
1846
+ key: "skuNote",
1847
+ width: 150
1848
+ }
1849
+ },
1850
+ itemKey: {
1851
+ // goodsName: "货品名称",
1852
+ // goodsCode: "货品编号",
1853
+ // goodsId: "货品ID",
1854
+ goodsClass: "货品类别",
1855
+ code: "条码",
1856
+ // specName: "规格名称",
1857
+ // specCode: "规格编号",
1858
+ specId: "规格ID",
1859
+ productName: "系统商品名称",
1860
+ productCode: "系统商品编码",
1861
+ productId: "系统商品ID",
1862
+ skuName: "系统规格名称",
1863
+ skuCode: "系统规格编码",
1864
+ mallProductName: "平台商品名称",
1865
+ mallProductOutCode: "平台商品编码",
1866
+ mallProductId: "平台商品ID",
1867
+ mallSkuName: "平台规格名称",
1868
+ mallSkuId: "平台规格ID",
1869
+ sellCount: "数量",
1870
+ sellPrice: "单价",
1871
+ mallSellingPrice: "平台商品价格",
1872
+ sellTotal: "金额",
1873
+ settlementPrice: "结算价",
1874
+ divideOrderFee: "分摊实付金额",
1875
+ bfit: "是否组合装",
1876
+ combinationName: "组合商品名称",
1877
+ combinationCode: "组合商品编码",
1878
+ gift: "是否赠品",
1879
+ skuNote: "商品备注"
1880
+ },
1881
+ moneyKey: "sellTotal"
1882
+ },
1883
+ JY_REISSUE_GOODS: {
1884
+ headerMap: {
1885
+ productName: {
1886
+ component: BsHeaderChild,
1887
+ name: "系统商品名称",
1888
+ key: "productName",
1889
+ width: 150
1890
+ },
1891
+ productCode: {
1892
+ component: BsHeaderChild,
1893
+ name: "系统商品编码",
1894
+ key: "productCode",
1895
+ width: 150
1896
+ },
1897
+ productId: {
1898
+ component: BsHeaderChild,
1899
+ name: "系统商品ID",
1900
+ key: "productId",
1901
+ width: 150
1902
+ },
1903
+ skuName: {
1904
+ component: BsHeaderChild,
1905
+ name: "系统规格名称",
1906
+ key: "skuName",
1907
+ width: 150
1908
+ },
1909
+ skuCode: {
1910
+ component: BsHeaderChild,
1911
+ name: "系统规格编码",
1912
+ key: "skuCode",
1913
+ width: 150
1914
+ },
1915
+ specId: {
1916
+ component: BsHeaderChild,
1917
+ name: "规格ID",
1918
+ key: "specId",
1919
+ width: 150
1920
+ },
1921
+ // goodsName: {
1922
+ // component: BsHeaderChild,
1923
+ // name: "货品名称",
1924
+ // key: "goodsName",
1925
+ // width: 250,
1926
+ // },
1927
+ // goodsCode: {
1928
+ // component: BsHeaderChild,
1929
+ // name: "货品编号",
1930
+ // key: "goodsCode",
1931
+ // width: 200,
1932
+ // },
1933
+ // goodsId: {
1934
+ // component: BsHeaderChild,
1935
+ // name: "货品ID",
1936
+ // key: "goodsId",
1937
+ // width: 150,
1938
+ // },
1939
+ goodsClass: {
1940
+ component: BsHeaderChild,
1941
+ name: "货品类别",
1942
+ key: "goodsClass",
1943
+ width: 150
1944
+ },
1945
+ code: {
1946
+ component: BsHeaderChild,
1947
+ name: "条码",
1948
+ key: "code",
1949
+ width: 150
1950
+ },
1951
+ // specName: {
1952
+ // component: BsHeaderChild,
1953
+ // name: "规格名称",
1954
+ // key: "specName",
1955
+ // width: 200,
1956
+ // },
1957
+ // specCode: {
1958
+ // component: BsHeaderChild,
1959
+ // name: "规格编号",
1960
+ // key: "specCode",
1961
+ // width: 150,
1962
+ // },
1963
+
1964
+ mallProductName: {
1965
+ component: BsHeaderChild,
1966
+ name: "平台商品名称",
1967
+ key: "mallProductName",
1968
+ width: 250
1969
+ },
1970
+ mallProductOutCode: {
1971
+ component: BsHeaderChild,
1972
+ name: "平台商品编码",
1973
+ key: "mallProductOutCode",
1974
+ width: 150
1975
+ },
1976
+ mallProductId: {
1977
+ component: BsHeaderChild,
1978
+ name: "平台商品ID",
1979
+ key: "mallProductId",
1980
+ width: 250
1981
+ },
1982
+ mallSkuName: {
1983
+ component: BsHeaderChild,
1984
+ name: "平台规格名称",
1985
+ key: "mallSkuName",
1986
+ width: 250
1987
+ },
1988
+ mallSkuId: {
1989
+ component: BsHeaderChild,
1990
+ name: "平台规格ID",
1991
+ key: "mallSkuId",
1992
+ width: 250
1993
+ },
1994
+ sellCount: {
1995
+ component: BsHeaderChild,
1996
+ name: "数量",
1997
+ key: "sellCount",
1998
+ width: 100
1999
+ },
2000
+ sellPrice: {
2001
+ component: BsHeaderChild,
2002
+ name: "单价",
2003
+ key: "sellPrice",
2004
+ width: 150
2005
+ },
2006
+ mallSellingPrice: {
2007
+ component: BsHeaderChild,
2008
+ name: "平台商品价格",
2009
+ key: "mallSellingPrice",
2010
+ width: 150
2011
+ },
2012
+ sellTotal: {
2013
+ component: BsHeaderChild,
2014
+ name: "金额",
2015
+ key: "sellTotal",
2016
+ width: 150
2017
+ },
2018
+ bfit: {
2019
+ component: BsHeaderChild,
2020
+ name: "是否组合装",
2021
+ key: "bfit",
2022
+ width: 150,
2023
+ transformValue: function transformValue(val) {
2024
+ if (isNull(val)) return "--";
2025
+ return val === "True" ? "是" : "否";
2026
+ },
2027
+ renderExport: function renderExport(val) {
2028
+ if (isNull(val)) return "--";
2029
+ return val === "True" ? "是" : "否";
2030
+ }
2031
+ },
2032
+ combinationName: {
2033
+ component: BsHeaderChild,
2034
+ name: "组合商品名称",
2035
+ key: "combinationName",
2036
+ width: 150
2037
+ },
2038
+ combinationCode: {
2039
+ component: BsHeaderChild,
2040
+ name: "组合商品编码",
2041
+ key: "combinationCode",
2042
+ width: 150
2043
+ },
2044
+ gift: {
2045
+ component: BsHeaderChild,
2046
+ name: "是否赠品",
2047
+ key: "gift",
2048
+ width: 150,
2049
+ transformValue: function transformValue(val) {
2050
+ if (isNull(val)) return "--";
2051
+ return val === "1" ? "是" : "否";
2052
+ },
2053
+ renderExport: function renderExport(val) {
2054
+ if (isNull(val)) return "--";
2055
+ return val === "1" ? "是" : "否";
2056
+ }
2057
+ }
2058
+ },
2059
+ itemKey: {
2060
+ // goodsName: "货品名称",
2061
+ // goodsCode: "货品编号",
2062
+ // goodsId: "货品ID",
2063
+ goodsClass: "货品类别",
2064
+ code: "条码",
2065
+ // specName: "规格名称",
2066
+ // specCode: "规格编号",
2067
+ specId: "规格ID",
2068
+ productName: "系统商品名称",
2069
+ productCode: "系统商品编码",
2070
+ productId: "系统商品ID",
2071
+ skuName: "系统规格名称",
2072
+ skuCode: "系统规格编码",
2073
+ mallProductName: "平台商品名称",
2074
+ mallProductOutCode: "平台商品编码",
2075
+ mallProductId: "平台商品ID",
2076
+ mallSkuName: "平台规格名称",
2077
+ mallSkuId: "平台规格ID",
2078
+ sellCount: "数量",
2079
+ sellPrice: "单价",
2080
+ mallSellingPrice: "平台商品价格",
2081
+ sellTotal: "金额",
2082
+ divideOrderFee: "分摊实付金额",
2083
+ bfit: "是否组合装",
2084
+ combinationName: "组合商品名称",
2085
+ combinationCode: "组合商品编码",
2086
+ gift: "是否赠品"
2087
+ },
2088
+ moneyKey: "sellTotal"
2089
+ },
2090
+ SKX_GOODS: {
2091
+ headerMap: {
2092
+ skuEcode: {
2093
+ name: "[SKX]发货单明细-skuEcode",
2094
+ width: 250
2095
+ },
2096
+ subOrderId: {
2097
+ name: "[SKX]发货单-子订单号",
2098
+ width: 300
2099
+ },
2100
+ onBillNo: {
2101
+ name: "[SKX]ON出库通知单号",
2102
+ width: 200
2103
+ }
2104
+ }
2105
+ },
2106
+ SKX_RETURN_GOODS: {
2107
+ headerMap: {
2108
+ returnSkuEcode: {
2109
+ name: "[SKX]退货单明细-returnSkuEcode",
2110
+ width: 300
2111
+ },
2112
+ returnSubOrderId: {
2113
+ name: "[SKX]退货单-子订单号",
2114
+ width: 300
2115
+ },
2116
+ returnBillNo: {
2117
+ name: "[SKX]TH退换货单号",
2118
+ width: 200
2119
+ }
2120
+ }
2121
+ },
2122
+ JKY_GOODS: {
2123
+ headerMap: {
2124
+ goodsNo: {
2125
+ component: BsHeaderChild,
2126
+ name: "货品编号",
2127
+ key: "goodsNo",
2128
+ width: 150
2129
+ },
2130
+ goodsName: {
2131
+ component: BsHeaderChild,
2132
+ name: "货品名称",
2133
+ key: "goodsName",
2134
+ width: 150
2135
+ },
2136
+ goodsId: {
2137
+ component: BsHeaderChild,
2138
+ name: "货品ID",
2139
+ key: "goodsId",
2140
+ width: 150
2141
+ },
2142
+ barcode: {
2143
+ component: BsHeaderChild,
2144
+ name: "货品条码",
2145
+ key: "barcode",
2146
+ width: 150
2147
+ },
2148
+ specName: {
2149
+ component: BsHeaderChild,
2150
+ name: "规格名称",
2151
+ key: "specName",
2152
+ width: 150
2153
+ },
2154
+ specId: {
2155
+ component: BsHeaderChild,
2156
+ name: "规格ID",
2157
+ key: "specId",
2158
+ width: 150
2159
+ },
2160
+ skuImgUrl: {
2161
+ component: BsHeaderPic,
2162
+ name: "规格图片",
2163
+ key: "skuImgUrl",
2164
+ width: 150
2165
+ },
2166
+ sellCount: {
2167
+ component: BsHeaderChild,
2168
+ name: "数量",
2169
+ key: "sellCount",
2170
+ width: 100
2171
+ },
2172
+ actualSendCount: {
2173
+ component: BsHeaderChild,
2174
+ name: "实发数量",
2175
+ key: "actualSendCount",
2176
+ width: 150
2177
+ },
2178
+ sellPrice: {
2179
+ component: BsHeaderChild,
2180
+ name: "单价",
2181
+ key: "sellPrice",
2182
+ width: 150
2183
+ },
2184
+ sellTotal: {
2185
+ component: BsHeaderChild,
2186
+ name: "总金额",
2187
+ key: "sellTotal",
2188
+ width: 150
2189
+ },
2190
+ discountTotal: {
2191
+ component: BsHeaderChild,
2192
+ name: "抵扣金额",
2193
+ key: "discountTotal",
2194
+ width: 150
2195
+ },
2196
+ shareFavourableFee: {
2197
+ component: BsHeaderChild,
2198
+ name: "分摊金额",
2199
+ key: "shareFavourableFee",
2200
+ width: 150
2201
+ },
2202
+ shareFavourableAfterFee: {
2203
+ component: BsHeaderChild,
2204
+ name: "分摊后金额",
2205
+ key: "shareFavourableAfterFee",
2206
+ width: 150
2207
+ },
2208
+ customerPrice: {
2209
+ component: BsHeaderChild,
2210
+ name: "终端销售单价",
2211
+ key: "customerPrice",
2212
+ width: 150
2213
+ },
2214
+ customerTotal: {
2215
+ component: BsHeaderChild,
2216
+ name: "终端销售金额",
2217
+ key: "customerTotal",
2218
+ width: 150
2219
+ },
2220
+ divideSellTotal: {
2221
+ component: BsHeaderChild,
2222
+ name: "实付金额",
2223
+ key: "divideSellTotal",
2224
+ width: 150
2225
+ },
2226
+ isGift: {
2227
+ component: BsHeaderChild,
2228
+ name: "是否赠品",
2229
+ key: "isGift",
2230
+ width: 150,
2231
+ transformValue: function transformValue(val) {
2232
+ if (isNull(val)) return "--";
2233
+ return val === "1" ? "是" : "否";
2234
+ },
2235
+ renderExport: function renderExport(val) {
2236
+ if (isNull(val)) return "--";
2237
+ return val === "1" ? "是" : "否";
2238
+ }
2239
+ },
2240
+ isFit: {
2241
+ component: BsHeaderChild,
2242
+ name: "是否组合装",
2243
+ key: "isFit",
2244
+ width: 150,
2245
+ transformValue: function transformValue(val) {
2246
+ if (isNull(val)) return "--";
2247
+ return val === "1" ? "是" : "否";
2248
+ },
2249
+ renderExport: function renderExport(val) {
2250
+ if (isNull(val)) return "--";
2251
+ return val === "1" ? "是" : "否";
2252
+ }
2253
+ },
2254
+ isPresell: {
2255
+ component: BsHeaderChild,
2256
+ name: "是否预售货品",
2257
+ key: "isPresell",
2258
+ width: 150,
2259
+ transformValue: function transformValue(val) {
2260
+ if (isNull(val)) return "--";
2261
+ return val === "1" ? "是" : "否";
2262
+ },
2263
+ renderExport: function renderExport(val) {
2264
+ if (isNull(val)) return "--";
2265
+ return val === "1" ? "是" : "否";
2266
+ }
2267
+ },
2268
+ brandName: {
2269
+ component: BsHeaderChild,
2270
+ name: "品牌",
2271
+ key: "brandName",
2272
+ width: 200
2273
+ },
2274
+ cateName: {
2275
+ component: BsHeaderChild,
2276
+ name: "货品类别",
2277
+ key: "cateName",
2278
+ width: 150
2279
+ },
2280
+ goodsTags: {
2281
+ component: BsHeaderChild,
2282
+ name: "货品标签",
2283
+ key: "goodsTags",
2284
+ width: 250
2285
+ },
2286
+ goodsMemo: {
2287
+ component: BsHeaderChild,
2288
+ name: "货品备注",
2289
+ key: "goodsMemo",
2290
+ width: 250
2291
+ },
2292
+ tradeGoodsNo: {
2293
+ component: BsHeaderChild,
2294
+ name: "交易货品编号",
2295
+ key: "tradeGoodsNo",
2296
+ width: 250
2297
+ },
2298
+ tradeGoodsName: {
2299
+ component: BsHeaderChild,
2300
+ name: "交易货品名称",
2301
+ key: "tradeGoodsName",
2302
+ width: 250
2303
+ },
2304
+ tradeGoodsSpec: {
2305
+ component: BsHeaderChild,
2306
+ name: "交易规格名称",
2307
+ key: "tradeGoodsSpec",
2308
+ width: 250
2309
+ },
2310
+ sourceSubtradeNo: {
2311
+ component: BsHeaderChild,
2312
+ name: "网店子订单号",
2313
+ key: "sourceSubtradeNo",
2314
+ width: 250
2315
+ },
2316
+ platGoodsId: {
2317
+ component: BsHeaderChild,
2318
+ name: "平台商品ID",
2319
+ key: "platGoodsId",
2320
+ width: 250
2321
+ },
2322
+ subTradeId: {
2323
+ component: BsHeaderChild,
2324
+ name: "商品明细ID",
2325
+ key: "subTradeId",
2326
+ width: 250
2327
+ },
2328
+ batchNo: {
2329
+ component: BsHeaderChild,
2330
+ name: "批次号",
2331
+ key: "batchNo",
2332
+ width: 250
2333
+ },
2334
+ sendCount: {
2335
+ component: BsHeaderChild,
2336
+ name: "批次数量",
2337
+ key: "sendCount",
2338
+ width: 250
2339
+ },
2340
+ productDate: {
2341
+ component: BsHeaderChild,
2342
+ name: "生产日期",
2343
+ key: "productDate",
2344
+ width: 250
2345
+ },
2346
+ expireDate: {
2347
+ component: BsHeaderChild,
2348
+ name: "到期日期",
2349
+ key: "expireDate",
2350
+ width: 250
2351
+ }
2352
+ },
2353
+ itemKey: {
2354
+ goodsNo: "货品编号",
2355
+ goodsName: "货品名称",
2356
+ goodsId: "货品ID",
2357
+ barcode: "货品条码",
2358
+ specName: "规格名称",
2359
+ specId: "规格ID",
2360
+ skuImgUrl: "规格图片",
2361
+ sellCount: "数量",
2362
+ actualSendCount: "实发数量",
2363
+ sellPrice: "单价",
2364
+ sellTotal: "金额",
2365
+ discountTotal: "抵扣金额",
2366
+ shareFavourableFee: "分摊金额",
2367
+ shareFavourableAfterFee: "分摊后金额",
2368
+ customerPrice: "终端销售单价",
2369
+ customerTotal: "终端销售金额",
2370
+ divideSellTotal: "实付金额",
2371
+ isGift: "是否赠品",
2372
+ isFit: "是否组合装",
2373
+ isPresell: "是否预售货品",
2374
+ brandName: "品牌",
2375
+ cateName: "货品类别",
2376
+ goodsTags: "货品标签",
2377
+ goodsMemo: "货品备注",
2378
+ tradeGoodsNo: "交易货品编号",
2379
+ tradeGoodsName: "交易货品名称",
2380
+ tradeGoodsSpec: "交易规格名称",
2381
+ sourceSubtradeNo: "网店子订单号",
2382
+ platGoodsId: "平台商品ID",
2383
+ subTradeId: "商品明细ID",
2384
+ batchNo: "批次号",
2385
+ sendCount: "批次数量",
2386
+ productDate: "生产日期",
2387
+ expireDate: "到期日期"
2388
+ },
2389
+ moneyKey: "sellTotal"
2390
+ },
2391
+ JKY_REISSUE_GOODS: {
2392
+ headerMap: {
2393
+ goodsNo: {
2394
+ component: BsHeaderChild,
2395
+ name: "货品编号",
2396
+ key: "goodsNo",
2397
+ width: 150
2398
+ },
2399
+ goodsName: {
2400
+ component: BsHeaderChild,
2401
+ name: "货品名称",
2402
+ key: "goodsName",
2403
+ width: 150
2404
+ },
2405
+ goodsId: {
2406
+ component: BsHeaderChild,
2407
+ name: "货品ID",
2408
+ key: "goodsId",
2409
+ width: 150
2410
+ },
2411
+ barcode: {
2412
+ component: BsHeaderChild,
2413
+ name: "货品条码",
2414
+ key: "barcode",
2415
+ width: 150
2416
+ },
2417
+ specName: {
2418
+ component: BsHeaderChild,
2419
+ name: "规格名称",
2420
+ key: "specName",
2421
+ width: 150
2422
+ },
2423
+ specId: {
2424
+ component: BsHeaderChild,
2425
+ name: "规格ID",
2426
+ key: "specId",
2427
+ width: 150
2428
+ },
2429
+ skuImgUrl: {
2430
+ component: BsHeaderPic,
2431
+ name: "规格图片",
2432
+ key: "skuImgUrl",
2433
+ width: 150
2434
+ },
2435
+ sellCount: {
2436
+ component: BsHeaderChild,
2437
+ name: "发货数量",
2438
+ key: "sellCount",
2439
+ width: 100
2440
+ },
2441
+ sellPrice: {
2442
+ component: BsHeaderChild,
2443
+ name: "单价",
2444
+ key: "sellPrice",
2445
+ width: 150
2446
+ },
2447
+ sellTotal: {
2448
+ component: BsHeaderChild,
2449
+ name: "总金额",
2450
+ key: "sellTotal",
2451
+ width: 150
2452
+ },
2453
+ reason: {
2454
+ component: BsHeaderChild,
2455
+ name: "退换原因",
2456
+ key: "reason",
2457
+ width: 250
2458
+ },
2459
+ isGift: {
2460
+ component: BsHeaderChild,
2461
+ name: "是否赠品",
2462
+ key: "isGift",
2463
+ width: 150,
2464
+ transformValue: function transformValue(val) {
2465
+ if (isNull(val)) return "--";
2466
+ return val === "1" ? "是" : "否";
2467
+ },
2468
+ renderExport: function renderExport(val) {
2469
+ if (isNull(val)) return "--";
2470
+ return val === "1" ? "是" : "否";
2471
+ }
2472
+ },
2473
+ isFit: {
2474
+ component: BsHeaderChild,
2475
+ name: "是否组合装",
2476
+ key: "isFit",
2477
+ width: 150,
2478
+ transformValue: function transformValue(val) {
2479
+ if (isNull(val)) return "--";
2480
+ return val === "1" ? "是" : "否";
2481
+ },
2482
+ renderExport: function renderExport(val) {
2483
+ if (isNull(val)) return "--";
2484
+ return val === "1" ? "是" : "否";
2485
+ }
2486
+ },
2487
+ brandName: {
2488
+ component: BsHeaderChild,
2489
+ name: "品牌",
2490
+ key: "brandName",
2491
+ width: 150
2492
+ },
2493
+ cateName: {
2494
+ component: BsHeaderChild,
2495
+ name: "货品类别",
2496
+ key: "cateName",
2497
+ width: 150
2498
+ }
2499
+ },
2500
+ itemKey: {
2501
+ goodsNo: "货品编号",
2502
+ goodsName: "货品名称",
2503
+ goodsId: "货品ID",
2504
+ barcode: "货品条码",
2505
+ specName: "规格名称",
2506
+ specId: "规格ID",
2507
+ skuImgUrl: "规格图片",
2508
+ sellCount: "发货数量",
2509
+ sellPrice: "单价",
2510
+ sellTotal: "总金额",
2511
+ reason: "退换原因",
2512
+ isGift: "是否赠品",
2513
+ isFit: "是否组合装",
2514
+ brandName: "品牌",
2515
+ cateName: "货品类别"
2516
+ },
2517
+ moneyKey: "sellTotal"
1371
2518
  }
1372
2519
  };
1373
2520
  GoodHeaderMap["WDT_REISSUE_GOODS"] = GoodHeaderMap["WDT_GOODS"];