@kmkf-fe-packages/kmkf-work-order-service-component 2.10.9-beta.79 → 2.10.9-beta.80

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.
@@ -141,6 +141,7 @@ export var DEFAULT_STRING_COMPONENT_TYPE_FIELD_MAPPING = {
141
141
  REPAIR_ORDER_ID: 'repairOrderId',
142
142
  PAYMENT_VOUCHER_CODE: 'paymentVoucherCode',
143
143
  BASIC_MULT_SELECT: 'basicMultSelect',
144
+ JY_ABNORMAL_FLAG: 'jyAbnormalFlag',
144
145
  ORDER_TYPE: 'erpOrderType',
145
146
  PLATFORM_TRANSIT_FLAG: 'platformTransitFlag',
146
147
  PLATFORM_TRANSIT_TYPE: 'platformTransitType',
@@ -908,6 +908,7 @@ var processComponent = function processComponent(_ref63) {
908
908
  case 'BUSINESS_ORDER_NO':
909
909
  case 'PAYMENT_VOUCHER_CODE':
910
910
  case 'BASIC_MULT_SELECT':
911
+ case 'JY_ABNORMAL_FLAG':
911
912
  case 'ORDER_TYPE':
912
913
  case 'PLATFORM_TRANSIT_FLAG':
913
914
  case 'PLATFORM_TRANSIT_TYPE':
@@ -178,6 +178,17 @@ var processBasicMultSelect = function processBasicMultSelect(getValue) {
178
178
  return _defineProperty({}, nex.uniqueKey, jsonParseSecurity(v, '') || basicMultSelect);
179
179
  };
180
180
  };
181
+ var processJyAbnormalFlag = function processJyAbnormalFlag(getValue) {
182
+ return function (nex, config) {
183
+ var v = getValue("".concat(nex.uniqueKey, "_jyAbnormalFlag"));
184
+ var values = ((config === null || config === void 0 ? void 0 : config.options) || []).reduce(function (prv, next) {
185
+ var _config$basicMultSele2;
186
+ if (config !== null && config !== void 0 && (_config$basicMultSele2 = config.basicMultSelect) !== null && _config$basicMultSele2 !== void 0 && _config$basicMultSele2.includes(next.value)) prv.push(next.value);
187
+ return prv;
188
+ }, []);
189
+ return _defineProperty({}, nex.uniqueKey, jsonParseSecurity(v, '') || values);
190
+ };
191
+ };
181
192
  var processMultSelect = function processMultSelect(getValue) {
182
193
  return function (nex, config) {
183
194
  var v = getValue("".concat(nex.uniqueKey, "_multSelect"));
@@ -233,20 +244,20 @@ var processOrderSubForm = function processOrderSubForm(templateColumns) {
233
244
  };
234
245
  var processExpressLogisticsSelect = function processExpressLogisticsSelect(getValue) {
235
246
  return function (nex, config) {
236
- var _ref24;
237
- return _ref24 = {}, _defineProperty(_ref24, nex.uniqueKey, {
247
+ var _ref25;
248
+ return _ref25 = {}, _defineProperty(_ref25, nex.uniqueKey, {
238
249
  company: getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany")),
239
250
  order: getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))
240
- }), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_expressLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany"))), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_expressLogisticsCode"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))), _ref24;
251
+ }), _defineProperty(_ref25, "".concat(nex.uniqueKey, "_expressLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany"))), _defineProperty(_ref25, "".concat(nex.uniqueKey, "_expressLogisticsCode"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))), _ref25;
241
252
  };
242
253
  };
243
254
  var processReturnLogisticsSelect = function processReturnLogisticsSelect(getValue) {
244
255
  return function (nex, config) {
245
- var _ref25;
246
- return _ref25 = {}, _defineProperty(_ref25, nex.uniqueKey, {
256
+ var _ref26;
257
+ return _ref26 = {}, _defineProperty(_ref26, nex.uniqueKey, {
247
258
  company: getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany")),
248
259
  order: getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))
249
- }), _defineProperty(_ref25, "".concat(nex.uniqueKey, "_returnLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany"))), _defineProperty(_ref25, "".concat(nex.uniqueKey, "_returnLogisticsCode"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))), _ref25;
260
+ }), _defineProperty(_ref26, "".concat(nex.uniqueKey, "_returnLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany"))), _defineProperty(_ref26, "".concat(nex.uniqueKey, "_returnLogisticsCode"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))), _ref26;
250
261
  };
251
262
  };
252
263
  var processRemarkInput = function processRemarkInput(getValue) {
@@ -261,25 +272,25 @@ var processRemarkInput = function processRemarkInput(getValue) {
261
272
  };
262
273
  var processStatus = function processStatus(getValue) {
263
274
  return function (nex, config) {
264
- var _ref27;
275
+ var _ref28;
265
276
  var customerService = getValue("".concat(nex.uniqueKey, "_customerService"));
266
- return _ref27 = {}, _defineProperty(_ref27, nex.uniqueKey, {
277
+ return _ref28 = {}, _defineProperty(_ref28, nex.uniqueKey, {
267
278
  status: getValue("".concat(nex.uniqueKey, "_status")) || (config === null || config === void 0 ? void 0 : config.status),
268
279
  customerService: jsonParseSecurity(customerService, customerService)
269
- }), _defineProperty(_ref27, "".concat(nex.uniqueKey, "_processTime"), getValue('processTime')), _defineProperty(_ref27, "".concat(nex.uniqueKey, "_lastProcessingTime"), getValue('lastProcessingTime')), _ref27;
280
+ }), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_processTime"), getValue('processTime')), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_lastProcessingTime"), getValue('lastProcessingTime')), _ref28;
270
281
  };
271
282
  };
272
283
  var processOrdinaryInvoice = function processOrdinaryInvoice(getValue) {
273
284
  return function (nex, config) {
274
- var _ref28;
285
+ var _ref29;
275
286
  var ordinaryMoney = getValue("".concat(nex.uniqueKey, "_ordinaryMoney"));
276
287
  var ordinarySerial = getValue("".concat(nex.uniqueKey, "_ordinarySerial"));
277
288
  var ordinaryTaitou = getValue("".concat(nex.uniqueKey, "_ordinaryTaitou"));
278
- return _ref28 = {}, _defineProperty(_ref28, nex.uniqueKey, {
289
+ return _ref29 = {}, _defineProperty(_ref29, nex.uniqueKey, {
279
290
  ordinaryMoney: ordinaryMoney,
280
291
  ordinarySerial: ordinarySerial,
281
292
  ordinaryTaitou: ordinaryTaitou
282
- }), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_ordinaryMoney"), ordinaryMoney ? Number(ordinaryMoney).toFixed(2) : null), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_ordinarySerial"), ordinarySerial), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_ordinaryTaitou"), ordinaryTaitou), _ref28;
293
+ }), _defineProperty(_ref29, "".concat(nex.uniqueKey, "_ordinaryMoney"), ordinaryMoney ? Number(ordinaryMoney).toFixed(2) : null), _defineProperty(_ref29, "".concat(nex.uniqueKey, "_ordinarySerial"), ordinarySerial), _defineProperty(_ref29, "".concat(nex.uniqueKey, "_ordinaryTaitou"), ordinaryTaitou), _ref29;
283
294
  };
284
295
  };
285
296
  var processLogisticsInterception = function processLogisticsInterception(getValue) {
@@ -336,12 +347,12 @@ var processItemSelectThird = function processItemSelectThird(getValue) {
336
347
  };
337
348
  var processEnterPrisePayment = function processEnterPrisePayment(getValue) {
338
349
  return function (nex, config) {
339
- var _ref35;
350
+ var _ref36;
340
351
  var subFields = ['enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentRefundFee', 'enterprisePaymentStatus', 'enterprisePaymentTid'];
341
352
  var map = subFields.reduce(function (cur, nxt) {
342
353
  return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, nxt, getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
343
354
  }, {});
344
- return _ref35 = {}, _defineProperty(_ref35, nex.uniqueKey, map), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref35;
355
+ return _ref36 = {}, _defineProperty(_ref36, nex.uniqueKey, map), _defineProperty(_ref36, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref36, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref36, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref36, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref36, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref36, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref36, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref36;
345
356
  };
346
357
  };
347
358
  var processJstLogistics = function processJstLogistics(getValue) {
@@ -1444,14 +1455,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
1444
1455
  };
1445
1456
  var processLabel = function processLabel(getValue) {
1446
1457
  return function (nex, config) {
1447
- var _ref90;
1448
- return _ref90 = {}, _defineProperty(_ref90, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref90, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref90;
1458
+ var _ref91;
1459
+ return _ref91 = {}, _defineProperty(_ref91, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref91, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref91;
1449
1460
  };
1450
1461
  };
1451
1462
  var processMemberLevel = function processMemberLevel(getValue) {
1452
1463
  return function (nex, config) {
1453
- var _ref91;
1454
- return _ref91 = {}, _defineProperty(_ref91, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref91, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref91;
1464
+ var _ref92;
1465
+ return _ref92 = {}, _defineProperty(_ref92, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref92, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref92;
1455
1466
  };
1456
1467
  };
1457
1468
  var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
@@ -1514,6 +1525,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
1514
1525
  PICTURE: processPicture,
1515
1526
  PICTURE_PRO: processPicturePro,
1516
1527
  BASIC_MULT_SELECT: processBasicMultSelect,
1528
+ JY_ABNORMAL_FLAG: processJyAbnormalFlag,
1517
1529
  MULT_SELECT: processMultSelect,
1518
1530
  BASIC_ADDRESS: processBasicAddress,
1519
1531
  RECEIVER_ADDRESS_INPUT: processReceiverAddressInput,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.10.9-beta.79",
3
+ "version": "2.10.9-beta.80",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@ant-design/icons": "^4.7.0",
35
- "@kmkf-fe-packages/basic-components": "2.10.9-beta.79",
36
- "@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.79",
37
- "@kmkf-fe-packages/services-components": "2.10.9-beta.79",
35
+ "@kmkf-fe-packages/basic-components": "2.10.9-beta.80",
36
+ "@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.80",
37
+ "@kmkf-fe-packages/services-components": "2.10.9-beta.80",
38
38
  "@reduxjs/toolkit": "^1.8.5",
39
39
  "ahooks": "^3.7.4",
40
40
  "copy-to-clipboard": "^3.3.3",
@@ -75,7 +75,7 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "1e3a8a0c6f9fdb7eecb607f6697ebb599bdde292",
78
+ "gitHead": "f7369dcbf465778730e5a468f4ccf52f73f93468",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }