<div className='laycloth'> {codeList && codeList.map((item: any, index) => ( <div className='laycloth_main'> <div className='laycloth_input'> <Input id='scanid' disabled value={item.taskCode} onChange={handleChange} addonAfter="铺布"></Input> </div> <div key={index} className='laycloth_list'> <div className='laycloth_title'>{item.materielCode}{item.materielName}</div> <div className='laycloth_text'> <div>{item.dayDate}</div> <div>{item.proState}</div> </div> <div className='laycloth_footer'>{item.sizeRatio}</div> <div className='laycloth_btn'> <Button>暂停</Button> <Button>报工</Button> </div> </div> </div> ))} </div>