Commit bf190c12 authored by TZW's avatar TZW

bug

parent 0c47c69f
...@@ -77,7 +77,7 @@ function getcolumns(setdrawer) { ...@@ -77,7 +77,7 @@ function getcolumns(setdrawer) {
value: '3', value: '3',
}, },
{ {
label: '一年', label: '年度',
value: '4', value: '4',
}, },
], ],
......
...@@ -262,7 +262,7 @@ function getcolumns(setdrawer) { ...@@ -262,7 +262,7 @@ function getcolumns(setdrawer) {
value: '3', value: '3',
}, },
{ {
label: '一年', label: '年度',
value: '4', value: '4',
}, },
], ],
...@@ -509,7 +509,7 @@ function getcolumns(setdrawer) { ...@@ -509,7 +509,7 @@ function getcolumns(setdrawer) {
value: '3', value: '3',
}, },
{ {
label: '一年', label: '年度',
value: '4', value: '4',
}, },
], ],
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2023-01-16 15:35:00 * @Date: 2023-01-16 15:35:00
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2023-02-08 13:22:09 * @Last Modified time: 2023-02-09 13:46:49
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -138,7 +138,7 @@ function Plan(props) { ...@@ -138,7 +138,7 @@ function Plan(props) {
value: 3, value: 3,
}, },
{ {
label: '一年', label: '年度',
value: 4, value: 4,
}, },
], ],
...@@ -516,7 +516,7 @@ function Plan(props) { ...@@ -516,7 +516,7 @@ function Plan(props) {
...s, ...s,
open: true, open: true,
item: row, item: row,
title: '调整日期', title: '启用保养计划',
val: 'detailaddon', val: 'detailaddon',
id: row?.id, id: row?.id,
from: 'tq', from: 'tq',
......
...@@ -79,7 +79,7 @@ function getcolumns(setdrawer) { ...@@ -79,7 +79,7 @@ function getcolumns(setdrawer) {
value: '3', value: '3',
}, },
{ {
label: '一年', label: '年度',
value: '4', value: '4',
}, },
], ],
...@@ -238,7 +238,7 @@ function getcolumns(setdrawer) { ...@@ -238,7 +238,7 @@ function getcolumns(setdrawer) {
value: '3', value: '3',
}, },
{ {
label: '一年', label: '年度',
value: '4', value: '4',
}, },
], ],
...@@ -397,7 +397,7 @@ function getcolumns(setdrawer) { ...@@ -397,7 +397,7 @@ function getcolumns(setdrawer) {
value: '3', value: '3',
}, },
{ {
label: '一年', label: '年度',
value: '4', value: '4',
}, },
], ],
......
...@@ -445,7 +445,6 @@ function getcolumns(setdrawer) { ...@@ -445,7 +445,6 @@ function getcolumns(setdrawer) {
valueType: 'split', valueType: 'split',
}, },
{ {
title: '备件',
dataIndex: 'taskSpareList', dataIndex: 'taskSpareList',
key: 'taskSpareList', key: 'taskSpareList',
valueType: 'formSelectList', valueType: 'formSelectList',
...@@ -483,10 +482,14 @@ function getcolumns(setdrawer) { ...@@ -483,10 +482,14 @@ function getcolumns(setdrawer) {
valueType: 'split', valueType: 'split',
title: '出库/关单信息', title: '出库/关单信息',
key: 'splisa', key: 'splisa',
hideInForm: true,
}, },
{ {
dataIndex: 'statusName', dataIndex: 'statusName',
valueType: 'select', valueType: 'select',
fieldProps: {
dropdownMatchSelectWidth: 120,
},
title: '状态', title: '状态',
key: 'status', key: 'status',
options: [ options: [
......
...@@ -124,10 +124,6 @@ function Outstore(props) { ...@@ -124,10 +124,6 @@ function Outstore(props) {
return defpath; return defpath;
}, [activeTabKey]); }, [activeTabKey]);
console.log('====================================');
console.log(value);
console.log('====================================');
return ( return (
<div style={{ position: 'relative' }}> <div style={{ position: 'relative' }}>
<AutoTable <AutoTable
......
...@@ -66,6 +66,14 @@ function getcolumns(type, fullName) { ...@@ -66,6 +66,14 @@ function getcolumns(type, fullName) {
valueType: 'select', valueType: 'select',
searchValueType: 'input', searchValueType: 'input',
searchKey: 'applyReasonName', searchKey: 'applyReasonName',
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
options: [ options: [
{ {
label: '备库领用', label: '备库领用',
...@@ -99,6 +107,14 @@ function getcolumns(type, fullName) { ...@@ -99,6 +107,14 @@ function getcolumns(type, fullName) {
key: 'inWarehouseId', key: 'inWarehouseId',
valueType: 'select', valueType: 'select',
searchValueType: 'input', searchValueType: 'input',
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
searchKey: 'inWarehouseName', searchKey: 'inWarehouseName',
options: { options: {
path: '/auth/sysShop/getUserShopSelection', path: '/auth/sysShop/getUserShopSelection',
...@@ -109,6 +125,14 @@ function getcolumns(type, fullName) { ...@@ -109,6 +125,14 @@ function getcolumns(type, fullName) {
{ {
title: '出库仓库', title: '出库仓库',
dataIndex: 'nosubmits', dataIndex: 'nosubmits',
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
initialValue: '备件仓库', initialValue: '备件仓库',
valueType: 'nosubmit', valueType: 'nosubmit',
hideInDescriptions: true, hideInDescriptions: true,
...@@ -283,6 +307,14 @@ function getcolumns(type, fullName) { ...@@ -283,6 +307,14 @@ function getcolumns(type, fullName) {
key: 'applyReason', key: 'applyReason',
valueType: 'select', valueType: 'select',
searchValueType: 'input', searchValueType: 'input',
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
searchKey: 'applyReasonName', searchKey: 'applyReasonName',
options: [ options: [
{ {
...@@ -308,6 +340,14 @@ function getcolumns(type, fullName) { ...@@ -308,6 +340,14 @@ function getcolumns(type, fullName) {
dataIndex: 'nosubmit', dataIndex: 'nosubmit',
initialValue: fullName, initialValue: fullName,
valueType: 'nosubmit', valueType: 'nosubmit',
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
hideInForm: type !== 1, hideInForm: type !== 1,
hideInDescriptions: true, hideInDescriptions: true,
}, },
...@@ -317,6 +357,14 @@ function getcolumns(type, fullName) { ...@@ -317,6 +357,14 @@ function getcolumns(type, fullName) {
key: 'inWarehouseId', key: 'inWarehouseId',
valueType: 'select', valueType: 'select',
searchValueType: 'input', searchValueType: 'input',
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
searchKey: 'inWarehouseName', searchKey: 'inWarehouseName',
options: { options: {
path: '/auth/sysShop/getUserShopSelection', path: '/auth/sysShop/getUserShopSelection',
...@@ -328,6 +376,14 @@ function getcolumns(type, fullName) { ...@@ -328,6 +376,14 @@ function getcolumns(type, fullName) {
title: '出库仓库', title: '出库仓库',
dataIndex: 'nosubmits', dataIndex: 'nosubmits',
initialValue: '备件仓库', initialValue: '备件仓库',
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
valueType: 'nosubmit', valueType: 'nosubmit',
hideInDescriptions: true, hideInDescriptions: true,
}, },
...@@ -392,6 +448,9 @@ function getcolumns(type, fullName) { ...@@ -392,6 +448,9 @@ function getcolumns(type, fullName) {
title: '状态', title: '状态',
dataIndex: 'statusName', dataIndex: 'statusName',
key: 'status', key: 'status',
fieldProps: {
dropdownMatchSelectWidth: 120,
},
hideInForm: true, hideInForm: true,
valueType: 'select', valueType: 'select',
span: 3, span: 3,
......
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