摘要: 常用数据 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)