Commit 2c0675dd authored by XieZhiXiong's avatar XieZhiXiong

fixbug

parent b1f775fd
......@@ -449,6 +449,9 @@ export const addBillSchema: ISchema = {
enum: [],
'x-component-props': {
allowClear: true,
style: {
width: 100,
},
},
'x-rules': [
{
......
......@@ -101,25 +101,25 @@ export const warehouseDetailSchema: ISchema = {
title: '仓库名称',
'x-component-props': {
placeholder: '请输入',
},
},
'x-rules': [
{
required: true,
message: '请输入仓库名称',
},
{
limitByte: true, // 自定义校验规则
maxByte: 20,
}
],
required: true,
},
MEGA_LAYOUT1: {
type: 'object',
'x-component': 'mega-layout',
'x-component-props': {
label: '仓库名称',
label: '仓库地址',
wrapperCol: 24,
'x-rules': [
{
required: true,
message: '请输入仓库名称',
},
{
limitByte: true, // 自定义校验规则
maxByte: 20,
}
],
},
properties: {
MEGA_LAYOUT1_1: {
......
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