@kmkf-fe-packages/kmkf-work-order-service-component 2.2.13-beta.98 → 2.2.13-beta.99

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.
@@ -355,16 +355,17 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
355
355
  };
356
356
  }, []);
357
357
  useEffect(function () {
358
- if ([6, 7].includes(otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.showFrom) && otherInfo !== null && otherInfo !== void 0 && otherInfo.flowWorkOrderId || !buyerId) {
358
+ if ([6, 7].includes(otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.showFrom) && (otherInfo !== null && otherInfo !== void 0 && otherInfo.flowWorkOrderId || orderNo) || !buyerId) {
359
359
  form.setFieldsValue({
360
- flowWorkOrderId: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.flowWorkOrderId) || ''
360
+ flowWorkOrderId: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.flowWorkOrderId) || '',
361
+ tid: orderNo
361
362
  });
362
363
  dispatch(setCurrentBuyerChecked(false));
363
364
  } else {
364
365
  dispatch(setCurrentBuyerChecked(true));
365
366
  }
366
367
  searchList();
367
- }, [otherInfo, dispatch, buyerId]);
368
+ }, [otherInfo, dispatch, buyerId, orderNo]);
368
369
  var searchHandle = function searchHandle() {
369
370
  var templateList = form.getFieldValue('templateIdList');
370
371
  if (templateList && templateList.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.2.13-beta.98",
3
+ "version": "2.2.13-beta.99",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -74,7 +74,7 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "e0409135155287c816606dd219bbc8260733c116",
77
+ "gitHead": "5e0c32ced011eeebfe52b262d7a3f90f2b7f3927",
78
78
  "gitHooks": {
79
79
  "pre-commit": "lint-staged"
80
80
  }