@kmkf-fe-packages/kmkf-work-order-service-component 1.21.1 → 1.21.2
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.
|
@@ -97,8 +97,8 @@ var handleRemarkInput = function handleRemarkInput(_ref10) {
|
|
|
97
97
|
remarkSubmitTimeFormat = _item$componentConfig2 === void 0 ? 'YYYY/MM/DD HH:mm:ss' : _item$componentConfig2;
|
|
98
98
|
var current = getNowData("".concat(item.uniqueKey, ".remark"), '');
|
|
99
99
|
var old = getOldData("jsonMap.".concat(item.uniqueKey, "_remark"), '');
|
|
100
|
-
var currentFlag = getNowData("".concat(item.uniqueKey, ".flag"),
|
|
101
|
-
var oldFlag = getOldData("jsonMap.".concat(item.uniqueKey, "_flag"),
|
|
100
|
+
var currentFlag = getNowData("".concat(item.uniqueKey, ".flag"), undefined);
|
|
101
|
+
var oldFlag = getOldData("jsonMap.".concat(item.uniqueKey, "_flag"), undefined);
|
|
102
102
|
if (current.trim() !== old.trim() || Number(currentFlag) !== Number(oldFlag)) {
|
|
103
103
|
if (remarkSubmitter) {
|
|
104
104
|
current = "".concat(current, " ").concat(accountName);
|
|
@@ -433,7 +433,7 @@ var handleErpGoods = function handleErpGoods(_ref33) {
|
|
|
433
433
|
return function (item) {
|
|
434
434
|
var goods = getNowData(item.uniqueKey, {});
|
|
435
435
|
addContent(SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].type, goods === null || goods === void 0 ? void 0 : goods[SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].type]);
|
|
436
|
-
addContent(SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode, goods === null || goods === void 0 ? void 0 : goods[SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode]);
|
|
436
|
+
addContent(SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode, (goods === null || goods === void 0 ? void 0 : goods[SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode]) || '');
|
|
437
437
|
};
|
|
438
438
|
};
|
|
439
439
|
var handleBsExchangeGoods = function handleBsExchangeGoods(_ref34) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.2",
|
|
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": "1.21.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "1.21.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "1.21.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "1.21.2",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "1.21.2",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "1.21.2",
|
|
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": "a6565e58a3efe2445d1841fe32e3c1c11bc8cfc2",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|