@kmkf-fe-packages/kmkf-work-order-service-component 0.8.7-alpha.19 → 0.8.7-alpha.20
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.
|
@@ -961,7 +961,10 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
961
961
|
logisticsCompany: null,
|
|
962
962
|
logisticsCode: null
|
|
963
963
|
}]);
|
|
964
|
-
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList2
|
|
964
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList2 !== null && _itemList2 !== void 0 && _itemList2.length ? _itemList2 : [{
|
|
965
|
+
logisticsCompany: null,
|
|
966
|
+
logisticsCode: null
|
|
967
|
+
}]));
|
|
965
968
|
} else if (nex.workOrderComponentType === 'JST_ITEM_SELECT_THIRD') {
|
|
966
969
|
var _itemList3 = jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_jstItemList")], []);
|
|
967
970
|
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList3));
|
|
@@ -969,13 +972,18 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
969
972
|
var _itemList4 = jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_jstItemList")], [{
|
|
970
973
|
supplyId: null
|
|
971
974
|
}]);
|
|
972
|
-
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList4
|
|
975
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList4 !== null && _itemList4 !== void 0 && _itemList4.length ? _itemList4 : [{
|
|
976
|
+
supplyId: null
|
|
977
|
+
}]));
|
|
973
978
|
} else if (nex.workOrderComponentType === 'JST_SEND_GOOD') {
|
|
974
979
|
var _itemList5 = jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_jstItemList")], [{
|
|
975
980
|
sendName: '',
|
|
976
981
|
sendId: ''
|
|
977
982
|
}]);
|
|
978
|
-
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList5
|
|
983
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList5 !== null && _itemList5 !== void 0 && _itemList5.length ? _itemList5 : [{
|
|
984
|
+
sendName: '',
|
|
985
|
+
sendId: ''
|
|
986
|
+
}]));
|
|
979
987
|
} else if (nex.workOrderComponentType === 'BS_SIGNING_TIME') {
|
|
980
988
|
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), item.jsonMap["".concat(nex.uniqueKey, "_bsSigningTime")]));
|
|
981
989
|
} else if (nex.workOrderComponentType === 'BS_SEND_TIME') {
|
|
@@ -998,13 +1006,19 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
998
1006
|
logisticsCompany: null,
|
|
999
1007
|
logisticsCode: null
|
|
1000
1008
|
}]);
|
|
1001
|
-
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList6
|
|
1009
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList6 !== null && _itemList6 !== void 0 && _itemList6.length ? _itemList6 : [{
|
|
1010
|
+
logisticsCompany: null,
|
|
1011
|
+
logisticsCode: null
|
|
1012
|
+
}]));
|
|
1002
1013
|
} else if (nex.workOrderComponentType === 'BS_SEND_GOOD') {
|
|
1003
1014
|
var _itemList7 = jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_bsSendGood")], [{
|
|
1004
1015
|
sendName: '',
|
|
1005
1016
|
sendId: ''
|
|
1006
1017
|
}]);
|
|
1007
|
-
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList7
|
|
1018
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList7 !== null && _itemList7 !== void 0 && _itemList7.length ? _itemList7 : [{
|
|
1019
|
+
sendName: '',
|
|
1020
|
+
sendId: ''
|
|
1021
|
+
}]));
|
|
1008
1022
|
} else if (nex.workOrderComponentType === 'BS_POSTING') {
|
|
1009
1023
|
var BsAddress = [transTextToNumber(item.jsonMap["".concat(nex.uniqueKey, "_bsPostingProvince")]), transTextToNumber(item.jsonMap["".concat(nex.uniqueKey, "_bsPostingCity")])];
|
|
1010
1024
|
//兼容地址是只有省市的
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "0.8.7-alpha.
|
|
3
|
+
"version": "0.8.7-alpha.20",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"gitHooks": {
|
|
76
76
|
"pre-commit": "lint-staged"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "6a95ad7995db03eaf5a85a8e8e2b9809ccf6624f"
|
|
79
79
|
}
|