Commit a4ec59b2 authored by TZW's avatar TZW

bug

parent 66e565ea
...@@ -275,6 +275,9 @@ function getcolumns(setdrawer) { ...@@ -275,6 +275,9 @@ function getcolumns(setdrawer) {
title: '入库单号', title: '入库单号',
dataIndex: 'taskNo', dataIndex: 'taskNo',
key: 'taskNo', key: 'taskNo',
fieldProps: {
placeholder: '不填系统自动生成',
},
}, },
{ {
title: '入库类型', title: '入库类型',
...@@ -405,6 +408,22 @@ function getcolumns(setdrawer) { ...@@ -405,6 +408,22 @@ function getcolumns(setdrawer) {
return <span>{row?.completeTime}</span>; return <span>{row?.completeTime}</span>;
}, },
}, },
{
title: '状态',
dataIndex: 'statusName',
key: 'status',
hideInForm: true,
hideInDescriptions: true,
valueType: 'select',
fieldProps: {
dropdownMatchSelectWidth: 120,
},
width: 120,
options: [
{ label: '已入库', value: 2 },
{ label: '已关单', value: 3 },
],
},
{ {
title: '备件信息', title: '备件信息',
dataIndex: 'details', dataIndex: 'details',
...@@ -438,7 +457,8 @@ function getcolumns(setdrawer) { ...@@ -438,7 +457,8 @@ function getcolumns(setdrawer) {
{ {
dataIndex: 'splias', dataIndex: 'splias',
valueType: 'split', valueType: 'split',
title: '入库/关单信息', title: '入库信息',
hideInForm: true,
key: 'splisa', key: 'splisa',
}, },
{ {
...@@ -446,6 +466,9 @@ function getcolumns(setdrawer) { ...@@ -446,6 +466,9 @@ function getcolumns(setdrawer) {
dataIndex: 'statusName', dataIndex: 'statusName',
key: 'status', key: 'status',
hideInForm: true, hideInForm: true,
span: 1,
hideInTable: true,
search: false,
valueType: 'select', valueType: 'select',
fieldProps: { fieldProps: {
dropdownMatchSelectWidth: 120, dropdownMatchSelectWidth: 120,
...@@ -455,6 +478,9 @@ function getcolumns(setdrawer) { ...@@ -455,6 +478,9 @@ function getcolumns(setdrawer) {
{ label: '已入库', value: 2 }, { label: '已入库', value: 2 },
{ label: '已关单', value: 3 }, { label: '已关单', value: 3 },
], ],
render: (_, row) => {
return row?.status == 2 ? '已入库' : '--';
},
}, },
{ {
title: '操作人', title: '操作人',
...@@ -463,6 +489,9 @@ function getcolumns(setdrawer) { ...@@ -463,6 +489,9 @@ function getcolumns(setdrawer) {
hideInSearch: true, hideInSearch: true,
hideInTable: true, hideInTable: true,
hideInForm: true, hideInForm: true,
render: (_, row) => {
return row?.status == 2 ? row?.operateUserName : '--';
},
}, },
{ {
title: '操作时间', title: '操作时间',
...@@ -471,6 +500,59 @@ function getcolumns(setdrawer) { ...@@ -471,6 +500,59 @@ function getcolumns(setdrawer) {
hideInSearch: true, hideInSearch: true,
hideInTable: true, hideInTable: true,
hideInForm: true, hideInForm: true,
render: (_, row) => {
return row?.status == 2 ? row?.operateTime : '--';
},
},
{
dataIndex: 'splias',
valueType: 'split',
hideInForm: true,
title: '关单信息',
key: 'splisa',
},
{
title: '状态',
dataIndex: 'statusName',
key: 'status',
hideInForm: true,
hideInTable: true,
span: 1,
search: false,
valueType: 'select',
fieldProps: {
dropdownMatchSelectWidth: 120,
},
width: 120,
options: [
{ label: '已入库', value: 2 },
{ label: '已关单', value: 3 },
],
render: (_, row) => {
return row?.status == 3 ? '已关单' : '--';
},
},
{
title: '操作人',
dataIndex: 'operateUserName',
key: 'operateUserName',
hideInSearch: true,
hideInTable: true,
hideInForm: true,
render: (_, row) => {
return row?.status == 3 ? row?.operateUserName : '--';
},
},
{
title: '操作时间',
dataIndex: 'operateTime',
key: 'operateTime',
hideInSearch: true,
hideInTable: true,
hideInForm: true,
render: (_, row) => {
return row?.status == 3 ? row?.operateTime : '--';
},
}, },
], ],
pathconfig: { pathconfig: {
......
...@@ -76,6 +76,9 @@ function getcolumns(setdrawer) { ...@@ -76,6 +76,9 @@ function getcolumns(setdrawer) {
title: '出库单号', title: '出库单号',
dataIndex: 'taskNo', dataIndex: 'taskNo',
key: 'taskNo', key: 'taskNo',
fieldProps: {
placeholder: '不填系统自动生成',
},
}, },
{ {
title: '出库类型', title: '出库类型',
...@@ -207,7 +210,6 @@ function getcolumns(setdrawer) { ...@@ -207,7 +210,6 @@ function getcolumns(setdrawer) {
valueType: 'split', valueType: 'split',
}, },
{ {
title: '备件',
dataIndex: 'taskSpareList', dataIndex: 'taskSpareList',
key: 'taskSpareList', key: 'taskSpareList',
valueType: 'formSelectList', valueType: 'formSelectList',
...@@ -261,6 +263,9 @@ function getcolumns(setdrawer) { ...@@ -261,6 +263,9 @@ function getcolumns(setdrawer) {
title: '出库单号', title: '出库单号',
dataIndex: 'taskNo', dataIndex: 'taskNo',
key: 'taskNo', key: 'taskNo',
fieldProps: {
placeholder: '不填系统自动生成',
},
}, },
{ {
title: '出库类型', title: '出库类型',
......
...@@ -54,6 +54,9 @@ function getcolumns(type, fullName) { ...@@ -54,6 +54,9 @@ function getcolumns(type, fullName) {
{ {
title: '领用单号', title: '领用单号',
dataIndex: 'taskNo', dataIndex: 'taskNo',
fieldProps: {
placeholder: '不填系统自动生成',
},
key: 'taskNo', key: 'taskNo',
}, },
{ {
...@@ -181,7 +184,6 @@ function getcolumns(type, fullName) { ...@@ -181,7 +184,6 @@ function getcolumns(type, fullName) {
valueType: 'split', valueType: 'split',
}, },
{ {
title: '备件',
dataIndex: 'detailsList', dataIndex: 'detailsList',
key: 'detailsList', key: 'detailsList',
valueType: 'formSelectList', valueType: 'formSelectList',
...@@ -267,6 +269,9 @@ function getcolumns(type, fullName) { ...@@ -267,6 +269,9 @@ function getcolumns(type, fullName) {
{ {
title: '领用单号', title: '领用单号',
dataIndex: 'taskNo', dataIndex: 'taskNo',
fieldProps: {
placeholder: '不填系统自动生成',
},
key: 'taskNo', key: 'taskNo',
}, },
{ {
......
...@@ -67,6 +67,9 @@ function getcolumns(type, fullName) { ...@@ -67,6 +67,9 @@ function getcolumns(type, fullName) {
title: '回冲单号', title: '回冲单号',
dataIndex: 'taskNo', dataIndex: 'taskNo',
key: 'taskNo', key: 'taskNo',
fieldProps: {
placeholder: '不填系统自动生成',
},
}, },
{ {
title: '申请原因', title: '申请原因',
...@@ -196,7 +199,6 @@ function getcolumns(type, fullName) { ...@@ -196,7 +199,6 @@ function getcolumns(type, fullName) {
valueType: 'split', valueType: 'split',
}, },
{ {
title: '备件',
dataIndex: 'detailsList', dataIndex: 'detailsList',
key: 'detailsList', key: 'detailsList',
valueType: 'formSelectList', valueType: 'formSelectList',
...@@ -294,6 +296,9 @@ function getcolumns(type, fullName) { ...@@ -294,6 +296,9 @@ function getcolumns(type, fullName) {
title: '回冲单号', title: '回冲单号',
dataIndex: 'taskNo', dataIndex: 'taskNo',
key: 'taskNo', key: 'taskNo',
fieldProps: {
placeholder: '不填系统自动生成',
},
}, },
{ {
title: '申请原因', title: '申请原因',
......
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