Commit b78a0951 authored by TZW's avatar TZW

uploadImage

parent ad46a806
......@@ -1254,6 +1254,7 @@ function UploadDragger({ item, colProps }) {
},
}}
transform={(value) => {
console.log('11', value);
const key = item.key ?? item.dataIndex;
const transvalue = value?.map((it) => {
if (it.response) {
......
......@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-15 18:38:16
* @Last Modified time: 2022-12-15 19:13:39
*/
import * as React from 'react';
......@@ -785,6 +785,7 @@ function Model(props) {
title: '设备编号',
dataIndex: 'equipmentNo',
key: 'equipmentNo',
search: false,
align: 'center',
width: 120,
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
......@@ -792,6 +793,7 @@ function Model(props) {
{
title: '设备名称',
dataIndex: 'equipmentName',
search: false,
align: 'center',
width: 120,
key: 'equipmentName',
......@@ -800,6 +802,7 @@ function Model(props) {
{
title: '公司名称',
align: 'center',
search: false,
dataIndex: 'organizationName',
width: 120,
key: 'organizationId',
......@@ -810,6 +813,7 @@ function Model(props) {
{
title: '部门名称',
width: 120,
search: false,
align: 'center',
valueType: 'treeSelect',
dataIndex: 'departmentName',
......@@ -824,6 +828,7 @@ function Model(props) {
{
title: '工厂名称',
dataIndex: 'factoryName',
search: false,
key: 'factoryId',
width: 120,
align: 'center',
......@@ -835,6 +840,7 @@ function Model(props) {
title: '车间名称',
dataIndex: 'shopName',
align: 'center',
search: false,
width: 120,
valueType: 'select',
options: {
......@@ -848,6 +854,7 @@ function Model(props) {
},
{
title: '工段名称',
search: false,
width: 120,
dataIndex: 'sectionName',
align: 'center',
......@@ -862,6 +869,7 @@ function Model(props) {
},
{
title: '产线名称',
search: false,
width: 120,
dataIndex: 'productLineName',
valueType: 'select',
......@@ -886,6 +894,7 @@ function Model(props) {
{
title: '设备编号',
dataIndex: 'equipmentNo',
search: false,
key: 'equipmentNo',
align: 'center',
width: 120,
......@@ -894,6 +903,7 @@ function Model(props) {
{
title: '设备名称',
dataIndex: 'equipmentName',
search: false,
align: 'center',
width: 120,
key: 'equipmentName',
......@@ -905,6 +915,7 @@ function Model(props) {
dataIndex: 'organizationName',
width: 120,
key: 'organizationId',
search: false,
valueType: 'select',
options: { path: '/auth/sysDepartment/query/organization/selectbox', params: {} },
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
......@@ -913,6 +924,7 @@ function Model(props) {
title: '部门名称',
width: 120,
align: 'center',
search: false,
valueType: 'treeSelect',
dataIndex: 'departmentName',
key: 'departmentId',
......@@ -925,6 +937,7 @@ function Model(props) {
},
{
title: '工厂名称',
search: false,
dataIndex: 'factoryName',
key: 'factoryId',
width: 120,
......@@ -936,6 +949,7 @@ function Model(props) {
{
title: '车间名称',
dataIndex: 'shopName',
search: false,
align: 'center',
width: 120,
valueType: 'select',
......@@ -954,6 +968,7 @@ function Model(props) {
dataIndex: 'sectionName',
align: 'center',
key: 'sectionId',
search: false,
valueType: 'select',
options: {
path: '/auth/sysSection/getAllSectionSelectionByShop',
......@@ -967,6 +982,7 @@ function Model(props) {
width: 120,
dataIndex: 'productLineName',
valueType: 'select',
search: false,
key: 'productLineName',
align: 'center',
options: {
......@@ -1148,6 +1164,7 @@ function Model(props) {
title: '设备编号',
dataIndex: 'equipmentNo',
key: 'equipmentNo',
searchfalse,
align: 'center',
width: 120,
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
......
......@@ -30,6 +30,7 @@ function getcolumns(setdrawer) {
width: 180,
dataIndex: 'departmentCode',
key: 'departmentCode',
hideInTable: true,
formItemProps: {
rules: [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment