Commit 726f66a3 authored by 左玲玲's avatar 左玲玲 😬

0921

parent 53462862
...@@ -164,6 +164,7 @@ const EditTable = (props) => { ...@@ -164,6 +164,7 @@ const EditTable = (props) => {
}} }}
search={{ search={{
filterType: 'light', //轻量模式 filterType: 'light', //轻量模式
placement: 'bottomLeft'
}} }}
/> />
); );
......
...@@ -596,7 +596,6 @@ function Plan(props) { ...@@ -596,7 +596,6 @@ function Plan(props) {
}} }}
{...drawer} {...drawer}
onFinish={async (vals) => { onFinish={async (vals) => {
console.log(vals);
let params = JSON.parse(JSON.stringify(vals)); let params = JSON.parse(JSON.stringify(vals));
params.equipmentList = vals?.paramList?.map((it) => { params.equipmentList = vals?.paramList?.map((it) => {
return { return {
...@@ -610,7 +609,6 @@ function Plan(props) { ...@@ -610,7 +609,6 @@ function Plan(props) {
message.warning('下次保养日期必填!'); message.warning('下次保养日期必填!');
return; return;
} }
console.log(params);
if (drawer?.val == 'add') { if (drawer?.val == 'add') {
await runAsync({ url: pathconfig?.add || '/add', params: { ...params } }); await runAsync({ url: pathconfig?.add || '/add', params: { ...params } });
} else if (drawer?.val == 'edit') { } else if (drawer?.val == 'edit') {
......
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