@kmkf-fe-packages/kmkf-work-order-service-component 2.0.72 → 2.0.74

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.
@@ -44,52 +44,59 @@ var handleOnlyAddContentArrayValue = function handleOnlyAddContentArrayValue(_re
44
44
  addContent(DEFAULT_ARRAY_COMPONENT_TYPE_FIELD_MAPPING[item.workOrderComponentType], getNowData(item.uniqueKey, []));
45
45
  };
46
46
  };
47
- var handleBuyerNickInput = function handleBuyerNickInput(_ref4) {
47
+ var handleKmVideoArrayValue = function handleKmVideoArrayValue(_ref4) {
48
48
  var addContent = _ref4.addContent,
49
- upgradeParams = _ref4.upgradeParams,
50
49
  getNowData = _ref4.getNowData;
51
50
  return function (item) {
52
- var _ref5;
53
- (_ref5 = ['buyerNick', 'buyerOpenUid']) === null || _ref5 === void 0 ? void 0 : _ref5.map(function (key) {
51
+ addContent('kmVideo', getNowData(item.uniqueKey, []));
52
+ };
53
+ };
54
+ var handleBuyerNickInput = function handleBuyerNickInput(_ref5) {
55
+ var addContent = _ref5.addContent,
56
+ upgradeParams = _ref5.upgradeParams,
57
+ getNowData = _ref5.getNowData;
58
+ return function (item) {
59
+ var _ref6;
60
+ (_ref6 = ['buyerNick', 'buyerOpenUid']) === null || _ref6 === void 0 ? void 0 : _ref6.map(function (key) {
54
61
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
55
62
  upgradeParams(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
56
63
  });
57
64
  };
58
65
  };
59
- var handleReceiverAddressInput = function handleReceiverAddressInput(_ref6) {
60
- var addContent = _ref6.addContent,
61
- getNowData = _ref6.getNowData;
66
+ var handleReceiverAddressInput = function handleReceiverAddressInput(_ref7) {
67
+ var addContent = _ref7.addContent,
68
+ getNowData = _ref7.getNowData;
62
69
  return function (item) {
63
- var _ref7;
64
- (_ref7 = ['province', 'city', 'district']) === null || _ref7 === void 0 ? void 0 : _ref7.map(function (key, index) {
70
+ var _ref8;
71
+ (_ref8 = ['province', 'city', 'district']) === null || _ref8 === void 0 ? void 0 : _ref8.map(function (key, index) {
65
72
  addContent(key, getNowData("".concat(item.uniqueKey, ".address[").concat(index, "]"), ''));
66
73
  });
67
74
  addContent('address', getNowData("".concat(item.uniqueKey, ".detail"), ''));
68
75
  };
69
76
  };
70
- var handleExpressLogisticsSelect = function handleExpressLogisticsSelect(_ref8) {
71
- var addContent = _ref8.addContent,
72
- getNowData = _ref8.getNowData;
77
+ var handleExpressLogisticsSelect = function handleExpressLogisticsSelect(_ref9) {
78
+ var addContent = _ref9.addContent,
79
+ getNowData = _ref9.getNowData;
73
80
  return function (item) {
74
81
  addContent('expressLogisticsCompany', getNowData("".concat(item.uniqueKey, ".company"), ''));
75
82
  addContent('expressLogisticsCode', getNowData("".concat(item.uniqueKey, ".order"), ''));
76
83
  };
77
84
  };
78
- var handleReturnLogisticsSelect = function handleReturnLogisticsSelect(_ref9) {
79
- var addContent = _ref9.addContent,
80
- getNowData = _ref9.getNowData;
85
+ var handleReturnLogisticsSelect = function handleReturnLogisticsSelect(_ref10) {
86
+ var addContent = _ref10.addContent,
87
+ getNowData = _ref10.getNowData;
81
88
  return function (item) {
82
89
  addContent('returnLogisticsCompany', getNowData("".concat(item.uniqueKey, ".company"), ''));
83
90
  addContent('returnLogisticsCode', getNowData("".concat(item.uniqueKey, ".order"), ''));
84
91
  };
85
92
  };
86
- var handleRemarkInput = function handleRemarkInput(_ref10) {
87
- var addContent = _ref10.addContent,
88
- getNowData = _ref10.getNowData,
89
- getOldData = _ref10.getOldData,
90
- accountName = _ref10.accountName,
91
- updateFlag = _ref10.updateFlag,
92
- upgradeParams = _ref10.upgradeParams;
93
+ var handleRemarkInput = function handleRemarkInput(_ref11) {
94
+ var addContent = _ref11.addContent,
95
+ getNowData = _ref11.getNowData,
96
+ getOldData = _ref11.getOldData,
97
+ accountName = _ref11.accountName,
98
+ updateFlag = _ref11.updateFlag,
99
+ upgradeParams = _ref11.upgradeParams;
93
100
  return function (item) {
94
101
  var _item$componentConfig = item.componentConfig,
95
102
  remarkSubmitter = _item$componentConfig.remarkSubmitter,
@@ -122,26 +129,26 @@ var handleRemarkInput = function handleRemarkInput(_ref10) {
122
129
  }
123
130
  };
124
131
  };
125
- var handleAlipayInput = function handleAlipayInput(_ref11) {
126
- var addContent = _ref11.addContent,
127
- getNowData = _ref11.getNowData;
132
+ var handleAlipayInput = function handleAlipayInput(_ref12) {
133
+ var addContent = _ref12.addContent,
134
+ getNowData = _ref12.getNowData;
128
135
  return function (item) {
129
136
  addContent('alipayName', getNowData("".concat(item.uniqueKey, ".name"), ''));
130
137
  addContent('alipayAccount', getNowData("".concat(item.uniqueKey, ".user"), ''));
131
138
  };
132
139
  };
133
- var handleStatus = function handleStatus(_ref12) {
134
- var addContent = _ref12.addContent,
135
- getNowData = _ref12.getNowData;
140
+ var handleStatus = function handleStatus(_ref13) {
141
+ var addContent = _ref13.addContent,
142
+ getNowData = _ref13.getNowData;
136
143
  return function (item) {
137
144
  ['status', 'customerService'].map(function (key) {
138
145
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
139
146
  });
140
147
  };
141
148
  };
142
- var handleOrdinaryInvoice = function handleOrdinaryInvoice(_ref13) {
143
- var addContent = _ref13.addContent,
144
- getNowData = _ref13.getNowData;
149
+ var handleOrdinaryInvoice = function handleOrdinaryInvoice(_ref14) {
150
+ var addContent = _ref14.addContent,
151
+ getNowData = _ref14.getNowData;
145
152
  return function (item) {
146
153
  var _get;
147
154
  (_get = get(item, 'componentConfig.extendList', [])) === null || _get === void 0 ? void 0 : _get.map(function (l) {
@@ -149,9 +156,9 @@ var handleOrdinaryInvoice = function handleOrdinaryInvoice(_ref13) {
149
156
  });
150
157
  };
151
158
  };
152
- var handleLogisticsInterception = function handleLogisticsInterception(_ref14) {
153
- var addContent = _ref14.addContent,
154
- getNowData = _ref14.getNowData;
159
+ var handleLogisticsInterception = function handleLogisticsInterception(_ref15) {
160
+ var addContent = _ref15.addContent,
161
+ getNowData = _ref15.getNowData;
155
162
  return function (item) {
156
163
  ['interceptCompany', 'interceptCode', 'interceptSenderMobile', 'interceptType', 'interceptDetail', 'interceptReceiverName', 'interceptReceiverMobile', 'interceptLogisticsStatus', 'interceptLogisticsStatusOther', 'interceptLogisticsSnapshot', 'qySelfInterceptLogisticsStatus', 'interceptLogisticsApiStatus', 'interceptLogisticsUserKCode', 'interceptLogisticsUserSecretKey'].map(function (key) {
157
164
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
@@ -161,9 +168,9 @@ var handleLogisticsInterception = function handleLogisticsInterception(_ref14) {
161
168
  addContent('interceptDistrict', getNowData("".concat(item.uniqueKey, ".interceptAddress[2]"), ''));
162
169
  };
163
170
  };
164
- var handleLogisticsInterceptionMore = function handleLogisticsInterceptionMore(_ref15) {
165
- var addContent = _ref15.addContent,
166
- getNowData = _ref15.getNowData;
171
+ var handleLogisticsInterceptionMore = function handleLogisticsInterceptionMore(_ref16) {
172
+ var addContent = _ref16.addContent,
173
+ getNowData = _ref16.getNowData;
167
174
  return function (item) {
168
175
  var logisticsInterceptionList = getNowData(item.uniqueKey, []);
169
176
  addContent('logisticsInterceptList', logisticsInterceptionList);
@@ -187,9 +194,9 @@ var handleLogisticsInterceptionMore = function handleLogisticsInterceptionMore(_
187
194
  }));
188
195
  };
189
196
  };
190
- var handlePicture = function handlePicture(_ref16) {
191
- var addContent = _ref16.addContent,
192
- getNowData = _ref16.getNowData;
197
+ var handlePicture = function handlePicture(_ref17) {
198
+ var addContent = _ref17.addContent,
199
+ getNowData = _ref17.getNowData;
193
200
  return function (item) {
194
201
  var _value$map;
195
202
  var host = cache.getHost() || window.location.origin;
@@ -207,16 +214,16 @@ var handlePicture = function handlePicture(_ref16) {
207
214
  ) === null || _value$map === void 0 ? void 0 : _value$map.join(','));
208
215
  };
209
216
  };
210
- var handlePicturePro = function handlePicturePro(_ref17) {
211
- var addContent = _ref17.addContent,
212
- getNowData = _ref17.getNowData;
217
+ var handlePicturePro = function handlePicturePro(_ref18) {
218
+ var addContent = _ref18.addContent,
219
+ getNowData = _ref18.getNowData;
213
220
  return function (item) {
214
221
  addContent('pictureProList', getNowData(item.uniqueKey, []));
215
222
  };
216
223
  };
217
- var handleRadio = function handleRadio(_ref18) {
218
- var addContent = _ref18.addContent,
219
- getNowData = _ref18.getNowData;
224
+ var handleRadio = function handleRadio(_ref19) {
225
+ var addContent = _ref19.addContent,
226
+ getNowData = _ref19.getNowData;
220
227
  return function (item) {
221
228
  var _item$componentConfig4;
222
229
  var value = getNowData(item.uniqueKey, {});
@@ -226,9 +233,9 @@ var handleRadio = function handleRadio(_ref18) {
226
233
  }
227
234
  };
228
235
  };
229
- var handleCheckbox = function handleCheckbox(_ref19) {
230
- var addContent = _ref19.addContent,
231
- getNowData = _ref19.getNowData;
236
+ var handleCheckbox = function handleCheckbox(_ref20) {
237
+ var addContent = _ref20.addContent,
238
+ getNowData = _ref20.getNowData;
232
239
  return function (item) {
233
240
  var _item$componentConfig5;
234
241
  var value = getNowData(item.uniqueKey, {});
@@ -239,26 +246,26 @@ var handleCheckbox = function handleCheckbox(_ref19) {
239
246
  }
240
247
  };
241
248
  };
242
- var handleMultSelect = function handleMultSelect(_ref20) {
243
- var addContent = _ref20.addContent,
244
- getNowData = _ref20.getNowData;
249
+ var handleMultSelect = function handleMultSelect(_ref21) {
250
+ var addContent = _ref21.addContent,
251
+ getNowData = _ref21.getNowData;
245
252
  return function (item) {
246
253
  var _item$componentConfig6;
247
254
  addContent('multSelect', findLabelBySelectValue(getNowData(item.uniqueKey, []), item === null || item === void 0 ? void 0 : (_item$componentConfig6 = item.componentConfig) === null || _item$componentConfig6 === void 0 ? void 0 : _item$componentConfig6.options));
248
255
  };
249
256
  };
250
- var handleBasicAddress = function handleBasicAddress(_ref21) {
251
- var addContent = _ref21.addContent,
252
- getNowData = _ref21.getNowData;
257
+ var handleBasicAddress = function handleBasicAddress(_ref22) {
258
+ var addContent = _ref22.addContent,
259
+ getNowData = _ref22.getNowData;
253
260
  return function (item) {
254
261
  ['basicProvince', 'basicCity', 'basicDistrict'].map(function (key, index) {
255
262
  addContent(key, "".concat(getNowData("".concat(item.uniqueKey, "[").concat(index, "]"), '')));
256
263
  });
257
264
  };
258
265
  };
259
- var handlePosting = function handlePosting(_ref22) {
260
- var addContent = _ref22.addContent,
261
- getNowData = _ref22.getNowData;
266
+ var handlePosting = function handlePosting(_ref23) {
267
+ var addContent = _ref23.addContent,
268
+ getNowData = _ref23.getNowData;
262
269
  return function (item) {
263
270
  ['postingDetail', 'postingReceiverName', 'postingReceiverMobile'].map(function (key) {
264
271
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
@@ -268,10 +275,10 @@ var handlePosting = function handlePosting(_ref22) {
268
275
  });
269
276
  };
270
277
  };
271
- var handleEnterprisePayment = function handleEnterprisePayment(_ref23) {
272
- var addContent = _ref23.addContent,
273
- getNowData = _ref23.getNowData,
274
- upgradeParams = _ref23.upgradeParams;
278
+ var handleEnterprisePayment = function handleEnterprisePayment(_ref24) {
279
+ var addContent = _ref24.addContent,
280
+ getNowData = _ref24.getNowData,
281
+ upgradeParams = _ref24.upgradeParams;
275
282
  return function (item) {
276
283
  ['enterprisePaymentRefundFee', 'enterprisePaymentTid', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentStatus'].map(function (key) {
277
284
  addContent(key, key === 'enterprisePaymentStatus' ? getNowData("".concat(item.uniqueKey, ".").concat(key), '未打款') : getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
@@ -280,9 +287,9 @@ var handleEnterprisePayment = function handleEnterprisePayment(_ref23) {
280
287
  upgradeParams('buyerOpenUid', getNowData("".concat(item.uniqueKey, ".enterprisePaymentBuyerOpenUid"), ''));
281
288
  };
282
289
  };
283
- var handleJstSupply = function handleJstSupply(_ref24) {
284
- var addContent = _ref24.addContent,
285
- getNowData = _ref24.getNowData;
290
+ var handleJstSupply = function handleJstSupply(_ref25) {
291
+ var addContent = _ref25.addContent,
292
+ getNowData = _ref25.getNowData;
286
293
  return function (item) {
287
294
  var supplyList = getNowData(item.uniqueKey, []);
288
295
  addContent('jstItemList', supplyList);
@@ -294,9 +301,9 @@ var handleJstSupply = function handleJstSupply(_ref24) {
294
301
  }).join());
295
302
  };
296
303
  };
297
- var handleJstSendGood = function handleJstSendGood(_ref25) {
298
- var addContent = _ref25.addContent,
299
- getNowData = _ref25.getNowData;
304
+ var handleJstSendGood = function handleJstSendGood(_ref26) {
305
+ var addContent = _ref26.addContent,
306
+ getNowData = _ref26.getNowData;
300
307
  return function (item) {
301
308
  var sendList = getNowData(item.uniqueKey, []);
302
309
  addContent('jstItemList', sendList);
@@ -308,9 +315,9 @@ var handleJstSendGood = function handleJstSendGood(_ref25) {
308
315
  }).join());
309
316
  };
310
317
  };
311
- var handleJstItemSelectThird = function handleJstItemSelectThird(_ref26) {
312
- var addContent = _ref26.addContent,
313
- getNowData = _ref26.getNowData;
318
+ var handleJstItemSelectThird = function handleJstItemSelectThird(_ref27) {
319
+ var addContent = _ref27.addContent,
320
+ getNowData = _ref27.getNowData;
314
321
  return function (item) {
315
322
  var list = getNowData(item.uniqueKey, []);
316
323
  addContent('jstItemList', list);
@@ -322,9 +329,9 @@ var handleJstItemSelectThird = function handleJstItemSelectThird(_ref26) {
322
329
  }).join());
323
330
  };
324
331
  };
325
- var handleReissueLogistics = function handleReissueLogistics(_ref27) {
326
- var addContent = _ref27.addContent,
327
- getNowData = _ref27.getNowData;
332
+ var handleReissueLogistics = function handleReissueLogistics(_ref28) {
333
+ var addContent = _ref28.addContent,
334
+ getNowData = _ref28.getNowData;
328
335
  return function (item) {
329
336
  var list = getNowData(item.uniqueKey, []);
330
337
  addContent('reissueLogisticsList', list);
@@ -336,9 +343,9 @@ var handleReissueLogistics = function handleReissueLogistics(_ref27) {
336
343
  }).join());
337
344
  };
338
345
  };
339
- var handleErpLogistics = function handleErpLogistics(_ref28) {
340
- var addContent = _ref28.addContent,
341
- getNowData = _ref28.getNowData;
346
+ var handleErpLogistics = function handleErpLogistics(_ref29) {
347
+ var addContent = _ref29.addContent,
348
+ getNowData = _ref29.getNowData;
342
349
  return function (item) {
343
350
  var logisticsList = getNowData(item.uniqueKey, []);
344
351
  addContent(SUBMIT_COMPONENT_ERP_LOGISTICS_MAP[item.workOrderComponentType].list, logisticsList);
@@ -354,9 +361,9 @@ var handleErpLogistics = function handleErpLogistics(_ref28) {
354
361
  }));
355
362
  };
356
363
  };
357
- var handleErpSendGood = function handleErpSendGood(_ref29) {
358
- var addContent = _ref29.addContent,
359
- getNowData = _ref29.getNowData;
364
+ var handleErpSendGood = function handleErpSendGood(_ref30) {
365
+ var addContent = _ref30.addContent,
366
+ getNowData = _ref30.getNowData;
360
367
  return function (item) {
361
368
  var sendList = getNowData(item.uniqueKey, []);
362
369
  addContent(SUBMIT_COMPONENT_SEND_GOOD_MAP[item.workOrderComponentType].list, sendList);
@@ -372,9 +379,9 @@ var handleErpSendGood = function handleErpSendGood(_ref29) {
372
379
  }));
373
380
  };
374
381
  };
375
- var handleWdtSendGood = function handleWdtSendGood(_ref30) {
376
- var addContent = _ref30.addContent,
377
- getNowData = _ref30.getNowData;
382
+ var handleWdtSendGood = function handleWdtSendGood(_ref31) {
383
+ var addContent = _ref31.addContent,
384
+ getNowData = _ref31.getNowData;
378
385
  return function (item) {
379
386
  var sendList = getNowData(item.uniqueKey, []);
380
387
  addContent('wdtSendGood', sendList);
@@ -395,9 +402,9 @@ var handleWdtSendGood = function handleWdtSendGood(_ref30) {
395
402
  }));
396
403
  };
397
404
  };
398
- var handleGySendGood = function handleGySendGood(_ref31) {
399
- var addContent = _ref31.addContent,
400
- getNowData = _ref31.getNowData;
405
+ var handleGySendGood = function handleGySendGood(_ref32) {
406
+ var addContent = _ref32.addContent,
407
+ getNowData = _ref32.getNowData;
401
408
  return function (item) {
402
409
  var sendList = getNowData(item.uniqueKey, []);
403
410
  addContent('gySendGood', sendList);
@@ -413,18 +420,18 @@ var handleGySendGood = function handleGySendGood(_ref31) {
413
420
  }));
414
421
  };
415
422
  };
416
- var handleLogisticsTrajectory = function handleLogisticsTrajectory(_ref32) {
417
- var addContent = _ref32.addContent,
418
- getNowData = _ref32.getNowData;
423
+ var handleLogisticsTrajectory = function handleLogisticsTrajectory(_ref33) {
424
+ var addContent = _ref33.addContent,
425
+ getNowData = _ref33.getNowData;
419
426
  return function (item) {
420
427
  ['trajectoryCompany', 'trajectoryCode', 'trajectorySnapshot', 'trajectoryApiStatus', 'trajectoryPhone'].map(function (key) {
421
428
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
422
429
  });
423
430
  };
424
431
  };
425
- var handleLogisticsTrajectoryMore = function handleLogisticsTrajectoryMore(_ref33) {
426
- var addContent = _ref33.addContent,
427
- getNowData = _ref33.getNowData;
432
+ var handleLogisticsTrajectoryMore = function handleLogisticsTrajectoryMore(_ref34) {
433
+ var addContent = _ref34.addContent,
434
+ getNowData = _ref34.getNowData;
428
435
  return function (item) {
429
436
  var trajectoryList = getNowData(item.uniqueKey, []);
430
437
  addContent('trajectoryList', trajectoryList);
@@ -439,18 +446,18 @@ var handleLogisticsTrajectoryMore = function handleLogisticsTrajectoryMore(_ref3
439
446
  }));
440
447
  };
441
448
  };
442
- var handleErpGoods = function handleErpGoods(_ref34) {
443
- var addContent = _ref34.addContent,
444
- getNowData = _ref34.getNowData;
449
+ var handleErpGoods = function handleErpGoods(_ref35) {
450
+ var addContent = _ref35.addContent,
451
+ getNowData = _ref35.getNowData;
445
452
  return function (item) {
446
453
  var goods = getNowData(item.uniqueKey, {});
447
454
  addContent(SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].type, goods === null || goods === void 0 ? void 0 : goods[SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].type]);
448
455
  addContent(SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode, (goods === null || goods === void 0 ? void 0 : goods[SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode]) || '');
449
456
  };
450
457
  };
451
- var handleBsExchangeGoods = function handleBsExchangeGoods(_ref35) {
452
- var addContent = _ref35.addContent,
453
- getNowData = _ref35.getNowData;
458
+ var handleBsExchangeGoods = function handleBsExchangeGoods(_ref36) {
459
+ var addContent = _ref36.addContent,
460
+ getNowData = _ref36.getNowData;
454
461
  return function (item) {
455
462
  var _bsExchange$bsExchang;
456
463
  var bsExchange = getNowData(item.uniqueKey, {});
@@ -475,27 +482,27 @@ var handleBsExchangeGoods = function handleBsExchangeGoods(_ref35) {
475
482
  }
476
483
  };
477
484
  };
478
- var handleWdtExchangeGoods = function handleWdtExchangeGoods(_ref36) {
479
- var addContent = _ref36.addContent,
480
- getNowData = _ref36.getNowData;
485
+ var handleWdtExchangeGoods = function handleWdtExchangeGoods(_ref37) {
486
+ var addContent = _ref37.addContent,
487
+ getNowData = _ref37.getNowData;
481
488
  return function (item) {
482
489
  var wdtExchange = getNowData(item.uniqueKey, {});
483
490
  addContent('wdtExchangeGoods', wdtExchange === null || wdtExchange === void 0 ? void 0 : wdtExchange.wdtExchangeGoods);
484
491
  addContent('shopCode', (wdtExchange === null || wdtExchange === void 0 ? void 0 : wdtExchange.shopCode) || '');
485
492
  };
486
493
  };
487
- var handleJstExchangeGoods = function handleJstExchangeGoods(_ref37) {
488
- var addContent = _ref37.addContent,
489
- getNowData = _ref37.getNowData;
494
+ var handleJstExchangeGoods = function handleJstExchangeGoods(_ref38) {
495
+ var addContent = _ref38.addContent,
496
+ getNowData = _ref38.getNowData;
490
497
  return function (item) {
491
498
  var jstExchange = getNowData(item.uniqueKey, {});
492
499
  addContent('jstExchangeGoods', jstExchange === null || jstExchange === void 0 ? void 0 : jstExchange.jstExchangeGoods);
493
500
  addContent('shopCode', (jstExchange === null || jstExchange === void 0 ? void 0 : jstExchange.shopCode) || '');
494
501
  };
495
502
  };
496
- var handleBsOrWdtReissueGoods = function handleBsOrWdtReissueGoods(_ref38) {
497
- var addContent = _ref38.addContent,
498
- getNowData = _ref38.getNowData;
503
+ var handleBsOrWdtReissueGoods = function handleBsOrWdtReissueGoods(_ref39) {
504
+ var addContent = _ref39.addContent,
505
+ getNowData = _ref39.getNowData;
499
506
  return function (item) {
500
507
  var reissue = getNowData(item.uniqueKey, {});
501
508
  addContent(SUBMIT_COMPONENT_REISSUE_MAP[item.workOrderComponentType].type, reissue === null || reissue === void 0 ? void 0 : reissue[SUBMIT_COMPONENT_REISSUE_MAP[item.workOrderComponentType].type]);
@@ -549,9 +556,9 @@ var handleBsOrWdtReissueGoods = function handleBsOrWdtReissueGoods(_ref38) {
549
556
  }
550
557
  };
551
558
  };
552
- var handleBsOrWdtReturnGoods = function handleBsOrWdtReturnGoods(_ref39) {
553
- var addContent = _ref39.addContent,
554
- getNowData = _ref39.getNowData;
559
+ var handleBsOrWdtReturnGoods = function handleBsOrWdtReturnGoods(_ref40) {
560
+ var addContent = _ref40.addContent,
561
+ getNowData = _ref40.getNowData;
555
562
  return function (item) {
556
563
  var currentReturn = getNowData(item.uniqueKey, {});
557
564
  var compType = item.workOrderComponentType;
@@ -560,9 +567,9 @@ var handleBsOrWdtReturnGoods = function handleBsOrWdtReturnGoods(_ref39) {
560
567
  addContent(SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey, (currentReturn === null || currentReturn === void 0 ? void 0 : currentReturn[SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey]) || '');
561
568
  };
562
569
  };
563
- var handleGYReturnGoods = function handleGYReturnGoods(_ref40) {
564
- var addContent = _ref40.addContent,
565
- getNowData = _ref40.getNowData;
570
+ var handleGYReturnGoods = function handleGYReturnGoods(_ref41) {
571
+ var addContent = _ref41.addContent,
572
+ getNowData = _ref41.getNowData;
566
573
  return function (item) {
567
574
  var currentReturn = getNowData(item.uniqueKey, {});
568
575
  var compType = item.workOrderComponentType;
@@ -572,9 +579,9 @@ var handleGYReturnGoods = function handleGYReturnGoods(_ref40) {
572
579
  addContent(SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey, (currentReturn === null || currentReturn === void 0 ? void 0 : currentReturn[SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey]) || '');
573
580
  };
574
581
  };
575
- var handleBsPosting = function handleBsPosting(_ref41) {
576
- var addContent = _ref41.addContent,
577
- getNowData = _ref41.getNowData;
582
+ var handleBsPosting = function handleBsPosting(_ref42) {
583
+ var addContent = _ref42.addContent,
584
+ getNowData = _ref42.getNowData;
578
585
  return function (item) {
579
586
  ['bsPostingProvince', 'bsPostingCity', 'bsPostingDistrict'].map(function (key, index) {
580
587
  addContent(key, getNowData("".concat(item.uniqueKey, ".postingAddress[").concat(index, "]"), ''));
@@ -584,9 +591,9 @@ var handleBsPosting = function handleBsPosting(_ref41) {
584
591
  addContent('bsPostingReceiverMobile', getNowData("".concat(item.uniqueKey, ".postingReceiverMobile"), ''));
585
592
  };
586
593
  };
587
- var handleSystemOrder = function handleSystemOrder(_ref42) {
588
- var addContent = _ref42.addContent,
589
- getNowData = _ref42.getNowData;
594
+ var handleSystemOrder = function handleSystemOrder(_ref43) {
595
+ var addContent = _ref43.addContent,
596
+ getNowData = _ref43.getNowData;
590
597
  return function (item) {
591
598
  var selectIds = getNowData("".concat(item.uniqueKey, ".selectIds"), '');
592
599
  var showOrderInfo = getNowData("".concat(item.uniqueKey, ".showOrderInfo"), []);
@@ -600,16 +607,16 @@ var handleSystemOrder = function handleSystemOrder(_ref42) {
600
607
  }));
601
608
  };
602
609
  };
603
- var handleBuyerMessageNotice = function handleBuyerMessageNotice(_ref43) {
604
- var addContent = _ref43.addContent,
605
- getNowData = _ref43.getNowData;
610
+ var handleBuyerMessageNotice = function handleBuyerMessageNotice(_ref44) {
611
+ var addContent = _ref44.addContent,
612
+ getNowData = _ref44.getNowData;
606
613
  return function (item) {
607
614
  addContent('buyerMessageNotice', getNowData(item.uniqueKey, '未通知'));
608
615
  };
609
616
  };
610
- var handleBsDeliveryNo = function handleBsDeliveryNo(_ref44) {
611
- var addContent = _ref44.addContent,
612
- getNowData = _ref44.getNowData;
617
+ var handleBsDeliveryNo = function handleBsDeliveryNo(_ref45) {
618
+ var addContent = _ref45.addContent,
619
+ getNowData = _ref45.getNowData;
613
620
  return function (item) {
614
621
  var deliveryNoList = getNowData(item.uniqueKey, []);
615
622
  addContent('deliveryNoList', deliveryNoList);
@@ -618,9 +625,9 @@ var handleBsDeliveryNo = function handleBsDeliveryNo(_ref44) {
618
625
  }));
619
626
  };
620
627
  };
621
- var handleReturnGoodsTradeId = function handleReturnGoodsTradeId(_ref45) {
622
- var addContent = _ref45.addContent,
623
- getNowData = _ref45.getNowData;
628
+ var handleReturnGoodsTradeId = function handleReturnGoodsTradeId(_ref46) {
629
+ var addContent = _ref46.addContent,
630
+ getNowData = _ref46.getNowData;
624
631
  return function (item) {
625
632
  var returnGoodsTradeItemList = getNowData(item.uniqueKey, []);
626
633
  addContent('returnGoodsTradeItemList', returnGoodsTradeItemList);
@@ -629,9 +636,9 @@ var handleReturnGoodsTradeId = function handleReturnGoodsTradeId(_ref45) {
629
636
  }));
630
637
  };
631
638
  };
632
- var handleErpTradeId = function handleErpTradeId(_ref46) {
633
- var addContent = _ref46.addContent,
634
- getNowData = _ref46.getNowData;
639
+ var handleErpTradeId = function handleErpTradeId(_ref47) {
640
+ var addContent = _ref47.addContent,
641
+ getNowData = _ref47.getNowData;
635
642
  return function (item) {
636
643
  var tradeItemList = getNowData(item.uniqueKey, []);
637
644
  addContent('tradeItemList', tradeItemList);
@@ -640,18 +647,29 @@ var handleErpTradeId = function handleErpTradeId(_ref46) {
640
647
  }));
641
648
  };
642
649
  };
643
- var handleWlnGoods = function handleWlnGoods(_ref47) {
644
- var addContent = _ref47.addContent,
645
- getNowData = _ref47.getNowData;
650
+ var handleErpAfterSelfTradeId = function handleErpAfterSelfTradeId(_ref48) {
651
+ var addContent = _ref48.addContent,
652
+ getNowData = _ref48.getNowData;
653
+ return function (item) {
654
+ var tradeItemList = getNowData(item.uniqueKey, []);
655
+ addContent('erpAfterSaleTradeItemList', tradeItemList);
656
+ addContent('erpAfterSaleTradeIdList', tradeItemList.map(function (item) {
657
+ return item.billNo + '';
658
+ }));
659
+ };
660
+ };
661
+ var handleWlnGoods = function handleWlnGoods(_ref49) {
662
+ var addContent = _ref49.addContent,
663
+ getNowData = _ref49.getNowData;
646
664
  return function (item) {
647
665
  var wlnGoods = getNowData(item.uniqueKey, {});
648
666
  addContent('wlnGoods', wlnGoods.wlnGoods);
649
667
  addContent('shopCode', (wlnGoods === null || wlnGoods === void 0 ? void 0 : wlnGoods.shopCode) || '');
650
668
  };
651
669
  };
652
- var handleBsE3ReissueGoods = function handleBsE3ReissueGoods(_ref48) {
653
- var addContent = _ref48.addContent,
654
- getNowData = _ref48.getNowData;
670
+ var handleBsE3ReissueGoods = function handleBsE3ReissueGoods(_ref50) {
671
+ var addContent = _ref50.addContent,
672
+ getNowData = _ref50.getNowData;
655
673
  return function (item) {
656
674
  ['bsE3SystemOrderNo', 'bsE3ReissueType', 'bsE3ReissueMemo', 'bsE3ReissueGoods'].map(function (key) {
657
675
  if (key === 'bsE3ReissueGoods') {
@@ -662,33 +680,33 @@ var handleBsE3ReissueGoods = function handleBsE3ReissueGoods(_ref48) {
662
680
  });
663
681
  };
664
682
  };
665
- var handleWdtShopSelect = function handleWdtShopSelect(_ref49) {
666
- var addContent = _ref49.addContent,
667
- getNowData = _ref49.getNowData;
683
+ var handleWdtShopSelect = function handleWdtShopSelect(_ref51) {
684
+ var addContent = _ref51.addContent,
685
+ getNowData = _ref51.getNowData;
668
686
  return function (item) {
669
687
  ['shopCode'].map(function (key) {
670
688
  addContent(key, getNowData("".concat(item.uniqueKey), ''));
671
689
  });
672
690
  };
673
691
  };
674
- var handleDefault = function handleDefault(_ref50) {
675
- var addContent = _ref50.addContent,
676
- getNowData = _ref50.getNowData;
692
+ var handleDefault = function handleDefault(_ref52) {
693
+ var addContent = _ref52.addContent,
694
+ getNowData = _ref52.getNowData;
677
695
  return function (item) {
678
696
  addContent(V.camelCase(item.workOrderComponentType), getNowData(item.uniqueKey, ''));
679
697
  };
680
698
  };
681
- var handleStatusField = function handleStatusField(_ref51) {
682
- var addContent = _ref51.addContent,
683
- getNowData = _ref51.getNowData;
699
+ var handleStatusField = function handleStatusField(_ref53) {
700
+ var addContent = _ref53.addContent,
701
+ getNowData = _ref53.getNowData;
684
702
  return function (item) {
685
703
  addContent(SUBMIT_COMPONENT_STATUS_MAP[item.workOrderComponentType].status, getNowData("".concat(item.uniqueKey, ".status"), ''));
686
704
  addContent(SUBMIT_COMPONENT_STATUS_MAP[item.workOrderComponentType].reason, getNowData("".concat(item.uniqueKey, ".reason"), ''));
687
705
  };
688
706
  };
689
- var handleGoodStatus = function handleGoodStatus(_ref52) {
690
- var addContent = _ref52.addContent,
691
- getNowData = _ref52.getNowData;
707
+ var handleGoodStatus = function handleGoodStatus(_ref54) {
708
+ var addContent = _ref54.addContent,
709
+ getNowData = _ref54.getNowData;
692
710
  return function (item) {
693
711
  addContent(SUBMIT_COMPONENT_GOOD_STATUS_MAP[item.workOrderComponentType].list, getNowData("".concat(item.uniqueKey), []));
694
712
  addContent(SUBMIT_COMPONENT_GOOD_STATUS_MAP[item.workOrderComponentType].status, getNowData("".concat(item.uniqueKey), []).map(function (item) {
@@ -696,13 +714,13 @@ var handleGoodStatus = function handleGoodStatus(_ref52) {
696
714
  }));
697
715
  };
698
716
  };
699
- var processComponent = function processComponent(_ref53) {
700
- var params = _ref53.params,
701
- nowData = _ref53.nowData,
702
- updateFlag = _ref53.updateFlag,
703
- detail = _ref53.detail,
704
- accountName = _ref53.accountName,
705
- getValueByField = _ref53.getValueByField;
717
+ var processComponent = function processComponent(_ref55) {
718
+ var params = _ref55.params,
719
+ nowData = _ref55.nowData,
720
+ updateFlag = _ref55.updateFlag,
721
+ detail = _ref55.detail,
722
+ accountName = _ref55.accountName,
723
+ getValueByField = _ref55.getValueByField;
706
724
  return function (item) {
707
725
  var contentVoList = [];
708
726
  var uniqueKeyPrefix = "".concat(item.uniqueKey, "_");
@@ -931,10 +949,12 @@ var processComponent = function processComponent(_ref53) {
931
949
  wrapFn(handleReturnGoodsTradeId);
932
950
  break;
933
951
  case 'REISSUE_TRADE_ID':
934
- case 'ERP_AFTER_SALE_TRADE_ID':
935
952
  case 'EXCHANGE_TRADE_ID':
936
953
  wrapFn(handleErpTradeId);
937
954
  break;
955
+ case 'ERP_AFTER_SALE_TRADE_ID':
956
+ wrapFn(handleErpAfterSelfTradeId);
957
+ break;
938
958
  case 'WLN_GOODS':
939
959
  wrapFn(handleWlnGoods);
940
960
  break;
@@ -944,6 +964,9 @@ var processComponent = function processComponent(_ref53) {
944
964
  case 'WDT_SHOP':
945
965
  wrapFn(handleWdtShopSelect);
946
966
  break;
967
+ case 'KM_VIDEO':
968
+ wrapFn(handleKmVideoArrayValue);
969
+ break;
947
970
  default:
948
971
  wrapFn(handleDefault);
949
972
  }