Commit d3658e28 authored by 左玲玲's avatar 左玲玲 😬

点检

parent 4b94367d
......@@ -168,6 +168,7 @@ function Plan(props) {
item: row,
title: '调整日期',
val: 'detailaddon',
type: "delay",
id: row?.id
}));
}
......@@ -511,7 +512,7 @@ function Plan(props) {
fields={editDateColumns}
defaultFormValue={{ checkCycle: drawer?.item?.checkCycle }}
onFinish={async (vals) => {
await runAsync({ url: "/check/umEquipmentCheckPlan/adjustDate", params: { ...vals, id: drawer?.item?.id, checkEnable: 1 } });
await runAsync({ url: drawer?.type == "delay" ? "/check/umEquipmentCheckPlan/enable" : "/check/umEquipmentCheckPlan/adjustDate", params: { ...vals, id: drawer?.item?.id, checkEnable: 1 } });
}}
/>
......
......@@ -201,7 +201,7 @@ function Task(props) {
:
<InputNumber onChange={(value) => {
row.result = value;
}} min={row.lowerLimit} max={row.upperLimit} />
}} />
}
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment