@kmkf-fe-packages/kmkf-work-order-service-component 2.0.54-beta.65 → 2.0.54-beta.67
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.
|
@@ -160,6 +160,11 @@ var processPicturePro = function processPicturePro(getValue) {
|
|
|
160
160
|
}) : (config === null || config === void 0 ? void 0 : config.pictureProList) || []);
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
|
+
var wdtTags = function wdtTags(getValue) {
|
|
164
|
+
return function (nex, config) {
|
|
165
|
+
return _defineProperty({}, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_wdtTags")), ''));
|
|
166
|
+
};
|
|
167
|
+
};
|
|
163
168
|
var processBasicMultSelect = function processBasicMultSelect(getValue) {
|
|
164
169
|
return function (nex, config) {
|
|
165
170
|
var v = getValue("".concat(nex.uniqueKey, "_basicMultSelect"));
|
|
@@ -210,20 +215,20 @@ var processSubForm = function processSubForm(getValue) {
|
|
|
210
215
|
};
|
|
211
216
|
var processExpressLogisticsSelect = function processExpressLogisticsSelect(getValue) {
|
|
212
217
|
return function (nex, config) {
|
|
213
|
-
var
|
|
214
|
-
return
|
|
218
|
+
var _ref23;
|
|
219
|
+
return _ref23 = {}, _defineProperty(_ref23, nex.uniqueKey, {
|
|
215
220
|
company: getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany")),
|
|
216
221
|
order: getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))
|
|
217
|
-
}), _defineProperty(
|
|
222
|
+
}), _defineProperty(_ref23, "".concat(nex.uniqueKey, "_expressLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany"))), _defineProperty(_ref23, "".concat(nex.uniqueKey, "_expressLogisticsCode"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))), _ref23;
|
|
218
223
|
};
|
|
219
224
|
};
|
|
220
225
|
var processReturnLogisticsSelect = function processReturnLogisticsSelect(getValue) {
|
|
221
226
|
return function (nex, config) {
|
|
222
|
-
var
|
|
223
|
-
return
|
|
227
|
+
var _ref24;
|
|
228
|
+
return _ref24 = {}, _defineProperty(_ref24, nex.uniqueKey, {
|
|
224
229
|
company: getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany")),
|
|
225
230
|
order: getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))
|
|
226
|
-
}), _defineProperty(
|
|
231
|
+
}), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_returnLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany"))), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_returnLogisticsCode"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))), _ref24;
|
|
227
232
|
};
|
|
228
233
|
};
|
|
229
234
|
var processRemarkInput = function processRemarkInput(getValue) {
|
|
@@ -238,25 +243,25 @@ var processRemarkInput = function processRemarkInput(getValue) {
|
|
|
238
243
|
};
|
|
239
244
|
var processStatus = function processStatus(getValue) {
|
|
240
245
|
return function (nex, config) {
|
|
241
|
-
var
|
|
246
|
+
var _ref26;
|
|
242
247
|
var customerService = getValue("".concat(nex.uniqueKey, "_customerService"));
|
|
243
|
-
return
|
|
248
|
+
return _ref26 = {}, _defineProperty(_ref26, nex.uniqueKey, {
|
|
244
249
|
status: getValue("".concat(nex.uniqueKey, "_status")) || (config === null || config === void 0 ? void 0 : config.status),
|
|
245
250
|
customerService: jsonParseSecurity(customerService, customerService)
|
|
246
|
-
}), _defineProperty(
|
|
251
|
+
}), _defineProperty(_ref26, "".concat(nex.uniqueKey, "_processTime"), getValue('processTime')), _defineProperty(_ref26, "".concat(nex.uniqueKey, "_lastProcessingTime"), getValue('lastProcessingTime')), _ref26;
|
|
247
252
|
};
|
|
248
253
|
};
|
|
249
254
|
var processOrdinaryInvoice = function processOrdinaryInvoice(getValue) {
|
|
250
255
|
return function (nex, config) {
|
|
251
|
-
var
|
|
256
|
+
var _ref27;
|
|
252
257
|
var ordinaryMoney = getValue("".concat(nex.uniqueKey, "_ordinaryMoney"));
|
|
253
258
|
var ordinarySerial = getValue("".concat(nex.uniqueKey, "_ordinarySerial"));
|
|
254
259
|
var ordinaryTaitou = getValue("".concat(nex.uniqueKey, "_ordinaryTaitou"));
|
|
255
|
-
return
|
|
260
|
+
return _ref27 = {}, _defineProperty(_ref27, nex.uniqueKey, {
|
|
256
261
|
ordinaryMoney: ordinaryMoney,
|
|
257
262
|
ordinarySerial: ordinarySerial,
|
|
258
263
|
ordinaryTaitou: ordinaryTaitou
|
|
259
|
-
}), _defineProperty(
|
|
264
|
+
}), _defineProperty(_ref27, "".concat(nex.uniqueKey, "_ordinaryMoney"), ordinaryMoney ? Number(ordinaryMoney).toFixed(2) : null), _defineProperty(_ref27, "".concat(nex.uniqueKey, "_ordinarySerial"), ordinarySerial), _defineProperty(_ref27, "".concat(nex.uniqueKey, "_ordinaryTaitou"), ordinaryTaitou), _ref27;
|
|
260
265
|
};
|
|
261
266
|
};
|
|
262
267
|
var processLogisticsInterception = function processLogisticsInterception(getValue) {
|
|
@@ -313,12 +318,12 @@ var processItemSelectThird = function processItemSelectThird(getValue) {
|
|
|
313
318
|
};
|
|
314
319
|
var processEnterPrisePayment = function processEnterPrisePayment(getValue) {
|
|
315
320
|
return function (nex, config) {
|
|
316
|
-
var
|
|
321
|
+
var _ref34;
|
|
317
322
|
var subFields = ['enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentRefundFee', 'enterprisePaymentStatus', 'enterprisePaymentTid'];
|
|
318
323
|
var map = subFields.reduce(function (cur, nxt) {
|
|
319
324
|
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, nxt, getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
|
|
320
325
|
}, {});
|
|
321
|
-
return
|
|
326
|
+
return _ref34 = {}, _defineProperty(_ref34, nex.uniqueKey, map), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref34, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref34;
|
|
322
327
|
};
|
|
323
328
|
};
|
|
324
329
|
var processJstLogistics = function processJstLogistics(getValue) {
|
|
@@ -994,14 +999,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
|
|
|
994
999
|
};
|
|
995
1000
|
var processLabel = function processLabel(getValue) {
|
|
996
1001
|
return function (nex, config) {
|
|
997
|
-
var
|
|
998
|
-
return
|
|
1002
|
+
var _ref70;
|
|
1003
|
+
return _ref70 = {}, _defineProperty(_ref70, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref70, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref70;
|
|
999
1004
|
};
|
|
1000
1005
|
};
|
|
1001
1006
|
var processMemberLevel = function processMemberLevel(getValue) {
|
|
1002
1007
|
return function (nex, config) {
|
|
1003
|
-
var
|
|
1004
|
-
return
|
|
1008
|
+
var _ref71;
|
|
1009
|
+
return _ref71 = {}, _defineProperty(_ref71, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref71, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref71;
|
|
1005
1010
|
};
|
|
1006
1011
|
};
|
|
1007
1012
|
var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
|
|
@@ -1171,7 +1176,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
1171
1176
|
ACTUAL_RECEIPT_PAYMENT: processSingleField,
|
|
1172
1177
|
WDT_SHOP: processSingleField,
|
|
1173
1178
|
KM_VIDEO: processKmVideo,
|
|
1174
|
-
WDT_TAGS:
|
|
1179
|
+
WDT_TAGS: wdtTags
|
|
1175
1180
|
};
|
|
1176
1181
|
return templateColumns.reduce(function (cur, nex) {
|
|
1177
1182
|
var _componentProcessors;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.0.54-beta.
|
|
3
|
+
"version": "2.0.54-beta.67",
|
|
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.0.54-beta.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.0.54-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.0.54-beta.67",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.67",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.0.54-beta.67",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "f1dfe723fbe0b192aca04dcad94323cc87bfaa57",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|