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

点检

parent 4b94367d
...@@ -168,6 +168,7 @@ function Plan(props) { ...@@ -168,6 +168,7 @@ function Plan(props) {
item: row, item: row,
title: '调整日期', title: '调整日期',
val: 'detailaddon', val: 'detailaddon',
type: "delay",
id: row?.id id: row?.id
})); }));
} }
...@@ -511,7 +512,7 @@ function Plan(props) { ...@@ -511,7 +512,7 @@ function Plan(props) {
fields={editDateColumns} fields={editDateColumns}
defaultFormValue={{ checkCycle: drawer?.item?.checkCycle }} defaultFormValue={{ checkCycle: drawer?.item?.checkCycle }}
onFinish={async (vals) => { 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) { ...@@ -201,7 +201,7 @@ function Task(props) {
: :
<InputNumber onChange={(value) => { <InputNumber onChange={(value) => {
row.result = 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