@kmkf-fe-packages/kmkf-work-order-service-component 2.2.13-beta.89 → 2.2.13-beta.90
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,17 +355,16 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
355
355
|
};
|
|
356
356
|
}, []);
|
|
357
357
|
useEffect(function () {
|
|
358
|
-
|
|
359
|
-
if ([6, 7].includes(otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.showFrom) && orderNo || !buyerId) {
|
|
358
|
+
if ([6, 7].includes(otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.showFrom) && otherInfo !== null && otherInfo !== void 0 && otherInfo.flowWorkOrderId || !buyerId) {
|
|
360
359
|
form.setFieldsValue({
|
|
361
|
-
|
|
360
|
+
flowWorkOrderId: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.flowWorkOrderId) || ''
|
|
362
361
|
});
|
|
363
362
|
dispatch(setCurrentBuyerChecked(false));
|
|
364
363
|
} else {
|
|
365
364
|
dispatch(setCurrentBuyerChecked(true));
|
|
366
365
|
}
|
|
367
366
|
searchList();
|
|
368
|
-
}, [otherInfo
|
|
367
|
+
}, [otherInfo, dispatch, buyerId]);
|
|
369
368
|
var searchHandle = function searchHandle() {
|
|
370
369
|
var templateList = form.getFieldValue('templateIdList');
|
|
371
370
|
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.
|
|
3
|
+
"version": "2.2.13-beta.90",
|
|
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": "
|
|
77
|
+
"gitHead": "dfb3e1f0b029fab5607bba1e897edf0bbb9f9865",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|