摘要: 常用数据 var dataList = JSON.parse(JSON.stringify(bedList)); var code = "4435956c-c964-4816-96c2-7bceb8aca941" 阅读全文
posted @ 2022-12-23 10:20 前端导师歌谣 阅读(26) 评论(0) 推荐(0)
摘要: <Select showSearch onChange={onChangeManufacture} style={{ width: '200px' }} placeholder="请选择生产单号" optionFilterProp="children" filterOption={(input, o 阅读全文
posted @ 2022-12-23 10:20 前端导师歌谣 阅读(70) 评论(0) 推荐(0)
摘要: const handleSave = (row: DataType) => { const newData: any = [...menuData.list]; const index = newData.findIndex((item: any) => row?.id == item.id); c 阅读全文
posted @ 2022-12-23 10:18 前端导师歌谣 阅读(42) 评论(0) 推荐(0)
摘要: {editing ? ( <Form.Item name={dataIndex} style={{ margin: 0 }} rules={[ { required: type == "1"?true:false, message: `Please Input ${title}!`, }, ]} > 阅读全文
posted @ 2022-12-23 10:18 前端导师歌谣 阅读(25) 评论(0) 推荐(0)
摘要: const inputNode = dataIndex == "split_type" ? ( <Select onChange={handleChange} style={{ width: "300px" }} placeholder="请选择分扎类型" optionFilterProp="chi 阅读全文
posted @ 2022-12-23 10:17 前端导师歌谣 阅读(43) 评论(0) 推荐(0)
摘要: export interface AddOrEditMenuProps { visible: boolean; menu: Menu | null; onClose: () => void; onConfirm: () => void; } interface AddOrEditMenuFormPr 阅读全文
posted @ 2022-12-23 10:16 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-12-23 10:15 前端导师歌谣 阅读(27) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-12-23 10:14 前端导师歌谣 阅读(28) 评论(0) 推荐(0)
摘要: pickList && pickList.map((item: any, index: any) => { pickList && pickList.map((item1: any, index1: any) => { if (index == index1) { arr[index].id = i 阅读全文
posted @ 2022-12-23 10:13 前端导师歌谣 阅读(30) 评论(0) 推荐(0)
摘要: import { render } from "@testing-library/react"; import React, { useEffect, useState, useRef, FC, PropsWithChildren, } from "react"; import { Checkbox 阅读全文
posted @ 2022-12-23 10:13 前端导师歌谣 阅读(68) 评论(0) 推荐(0)
摘要: <Button block color="primary" size="large" onClick={() => handleEdit(item.id, item.billId)} > 编辑 </Button> 阅读全文
posted @ 2022-12-23 10:13 前端导师歌谣 阅读(22) 评论(0) 推荐(0)
摘要: <NavBar back="返回" onBack={back}> 菜单界面 </NavBar> 阅读全文
posted @ 2022-12-23 10:12 前端导师歌谣 阅读(41) 评论(0) 推荐(0)
摘要: const handleClear = (index: any) => { form.setFieldsValue({ [`overlayLength-${index}`]: null, [`layers-${index}`]: null, [`colorId-${index}`]: null, [ 阅读全文
posted @ 2022-12-23 10:11 前端导师歌谣 阅读(36) 评论(0) 推荐(0)
摘要: #print { // width: 30mm; // height: 40mm; } // #customers :nth-child(1) { // margin-top: 0mm; // } #customers { padding: 2.5mm 0; width: 40mm; height: 阅读全文
posted @ 2022-12-23 10:10 前端导师歌谣 阅读(39) 评论(0) 推荐(0)
摘要: <img className='imgData' src={`data:image/jpeg;base64,${item?.base64}`}></img> 阅读全文
posted @ 2022-12-23 10:10 前端导师歌谣 阅读(76) 评论(0) 推荐(0)
摘要: summary={(data) => { let totalCount = 0; data.forEach((item: any) => { if (item.styleId == getStyle) { totalCount += parseInt(item.count); } }); retur 阅读全文
posted @ 2022-12-23 10:10 前端导师歌谣 阅读(110) 评论(0) 推荐(0)
摘要: <Select mode="multiple" size={size} placeholder="Please select" defaultValue={['a10', 'c12']} onChange={handleChange} style={{ width: '100%' }} option 阅读全文
posted @ 2022-12-23 10:09 前端导师歌谣 阅读(52) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-12-23 10:08 前端导师歌谣 阅读(20) 评论(0) 推荐(0)
摘要: <Select mode="multiple" size={size} placeholder="Please select" defaultValue={['a10', 'c12']} onChange={handleChange} style={{ width: '100%' }} option 阅读全文
posted @ 2022-12-23 10:07 前端导师歌谣 阅读(113) 评论(0) 推荐(0)
摘要: const billCode=localStorage.getItem("billCode") 存入的是string类型 阅读全文
posted @ 2022-12-23 10:06 前端导师歌谣 阅读(18) 评论(0) 推荐(0)