Commit 701cc0c87773cb92231391fc063f496085342705
1 parent
a514f1d6
机台任务扫码自动查询
Showing
1 changed file
with
2 additions
and
0 deletions
src/mes/scheduledTasks/machineTasks/index.js
| @@ -726,10 +726,12 @@ const MachineTasks = baseProps => { | @@ -726,10 +726,12 @@ const MachineTasks = baseProps => { | ||
| 726 | {btnAll}{" "} | 726 | {btnAll}{" "} |
| 727 | </Button> | 727 | </Button> |
| 728 | <Input | 728 | <Input |
| 729 | + autoFocus | ||
| 729 | allowClear | 730 | allowClear |
| 730 | placeholder={sWorkOrderNo} | 731 | placeholder={sWorkOrderNo} |
| 731 | value={sSrcNo} | 732 | value={sSrcNo} |
| 732 | onChange={e => setSSrcNo(e.target.value)} | 733 | onChange={e => setSSrcNo(e.target.value)} |
| 734 | + onPressEnter={tableQuery} | ||
| 733 | /> | 735 | /> |
| 734 | <Button type="primary" size="large" onClick={tableQuery}> | 736 | <Button type="primary" size="large" onClick={tableQuery}> |
| 735 | {" "} | 737 | {" "} |