@kmkf-fe-packages/kmkf-utils 2.10.9-beta.46 → 2.10.9-beta.49
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.
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
11231111111
|
|
@@ -97,7 +97,12 @@ export function afterSaleOrderBack(form, templateDetail) {
|
|
|
97
97
|
var _orders$showOrderInfo2;
|
|
98
98
|
var details = getAfterSaleOrdersBackValues(orders === null || orders === void 0 ? void 0 : (_orders$showOrderInfo2 = orders.showOrderInfo) === null || _orders$showOrderInfo2 === void 0 ? void 0 : _orders$showOrderInfo2[0]);
|
|
99
99
|
var values = platformAfterSalesOrderBackFormValues(details, {
|
|
100
|
-
|
|
100
|
+
// Only backfill logistics fields here. The platform after-sales
|
|
101
|
+
// component itself is already populated and must not be cleared by
|
|
102
|
+
// the missing `afterSalesOrder` value in `details`.
|
|
103
|
+
componentDtoList: templateDetail.componentDtoList.filter(function (item) {
|
|
104
|
+
return ["RETURN_LOGISTICS_SELECT", "LOGISTICS_TRAJECTORY"].includes(item.workOrderComponentType);
|
|
105
|
+
})
|
|
101
106
|
});
|
|
102
107
|
form.setFieldsValue(values);
|
|
103
108
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-utils",
|
|
3
|
-
"version": "2.10.9-beta.
|
|
3
|
+
"version": "2.10.9-beta.49",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "93f3ac5c852fdcb412f4bb24f52038cc85f2c967",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|