Commit 171fb388506ecbb74d95522056acc90c1693ec3b
1 parent
c01d7cef
暂时隐藏完工功能
Showing
1 changed file
with
18 additions
and
18 deletions
src/mes/scheduledTasks/machineTasks/index.js
| ... | ... | @@ -360,28 +360,28 @@ const useInfoEvent = props => { |
| 360 | 360 | Modal.confirm({ |
| 361 | 361 | title: "温馨提示:", |
| 362 | 362 | content: <div> |
| 363 | - {/* <div>确认完工?</div> */} | |
| 364 | - <div> | |
| 365 | - <div style={{ padding: '8px 0' }}>是否确认完工清场?</div> | |
| 366 | - <Select | |
| 367 | - suffixIcon={<DownOutlined style={{ fontSize: '16px' }} />} | |
| 368 | - onChange={handleChange} | |
| 369 | - style={{ width: '100%', fontSize: '18px' }} | |
| 370 | - defaultValue={true} | |
| 371 | - options={[ | |
| 372 | - { label: '是', value: true }, | |
| 373 | - { label: '否', value: false }, | |
| 374 | - ]} | |
| 375 | - /> | |
| 376 | - </div> | |
| 363 | + <div>确认完工?</div> | |
| 364 | + {/*<div>*/} | |
| 365 | + {/* <div style={{ padding: '8px 0' }}>是否确认完工清场?</div>*/} | |
| 366 | + {/* <Select*/} | |
| 367 | + {/* suffixIcon={<DownOutlined style={{ fontSize: '16px' }} />}*/} | |
| 368 | + {/* onChange={handleChange}*/} | |
| 369 | + {/* style={{ width: '100%', fontSize: '18px' }}*/} | |
| 370 | + {/* defaultValue={true}*/} | |
| 371 | + {/* options={[*/} | |
| 372 | + {/* { label: '是', value: true },*/} | |
| 373 | + {/* { label: '否', value: false },*/} | |
| 374 | + {/* ]}*/} | |
| 375 | + {/* />*/} | |
| 376 | + {/*</div>*/} | |
| 377 | 377 | </div>, |
| 378 | 378 | okText: "确认", |
| 379 | 379 | cancelText: "取消", |
| 380 | 380 | onOk() { |
| 381 | - const newItem = { | |
| 382 | - ...item, | |
| 383 | - bComplete: value | |
| 384 | - } | |
| 381 | + // const newItem = { | |
| 382 | + // ...item, | |
| 383 | + // bComplete: value | |
| 384 | + // } | |
| 385 | 385 | handleUpdateProductionplan({ item:newItem, iFlag: 4,}); |
| 386 | 386 | } |
| 387 | 387 | }); | ... | ... |