kmkf-work-order-service-component 0.4.0-alpha.30 → 0.4.0-alpha.31

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.
@@ -223,6 +223,8 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
223
223
  setSearchTemplateDetails(res === null || res === void 0 ? void 0 : res.data);
224
224
  submit();
225
225
  });
226
+ } else {
227
+ submit();
226
228
  }
227
229
  } else {
228
230
  setSearchTemplateDetails(null);
@@ -48,6 +48,10 @@ export var isNull = function isNull(value) {
48
48
  return value.length === 0;
49
49
  }
50
50
 
51
+ if (typeof value === 'number') {
52
+ return false;
53
+ }
54
+
51
55
  return !value;
52
56
  };
53
57
  var workTypeKeys = {
@@ -431,9 +435,11 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
431
435
  name: item.name
432
436
  });
433
437
  } else {
438
+ var _nowData$item$uniqueK;
439
+
434
440
  contentVoList.push({
435
441
  uniqueKey: "".concat(item.uniqueKey, "_").concat(V.camelCase(item.workOrderComponentType)),
436
- content: get(nowData, "".concat(item.uniqueKey), '') || '',
442
+ content: (_nowData$item$uniqueK = nowData === null || nowData === void 0 ? void 0 : nowData[item.uniqueKey]) !== null && _nowData$item$uniqueK !== void 0 ? _nowData$item$uniqueK : '',
437
443
  name: item.name
438
444
  });
439
445
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.4.0-alpha.30",
3
+ "version": "0.4.0-alpha.31",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",