调整 maxLength
This commit is contained in:
parent
9decfcb729
commit
e22e91e8f1
|
@ -79,7 +79,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -235,6 +235,7 @@ async function handleSave() {
|
|||
|
||||
async function handleSubmit() {
|
||||
try {
|
||||
// 选择审批人员
|
||||
await Apis.contractBaseInfo.post_apply({ data: {} }).then((data) => {
|
||||
message.success("提交成功");
|
||||
back();
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -140,7 +140,7 @@ export function getFormSchema(_params: any = {}) {
|
|||
},
|
||||
},
|
||||
quality: {
|
||||
title: "工期要求(质量要求)",
|
||||
title: "工期/质量要求",
|
||||
key: "quality",
|
||||
col: { span: 24 },
|
||||
labelWrap:true,
|
||||
|
@ -151,7 +151,7 @@ export function getFormSchema(_params: any = {}) {
|
|||
},
|
||||
},
|
||||
stockNums: {
|
||||
title: "工程量(采购量)",
|
||||
title: "工程/采购量",
|
||||
key: "stockNums",
|
||||
col: { span: 24 },
|
||||
labelWrap:true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -146,7 +146,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -25,7 +25,6 @@ export default function (): CreateCrudOptionsRet {
|
|||
},
|
||||
form: {
|
||||
component: {
|
||||
maxlength: 5, // 原生属性要写在这里
|
||||
props: {
|
||||
showWordLimit: true,
|
||||
type: 'text',
|
||||
|
|
|
@ -58,7 +58,6 @@ const formBinding = ref({
|
|||
name: "a-input",
|
||||
vModel: "value",
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
},
|
||||
rules: [{ required: true, message: "请输入字典标签" }],
|
||||
},
|
||||
|
|
|
@ -53,7 +53,6 @@ const formBinding = ref({
|
|||
},
|
||||
}),
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: "text",
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -320,7 +320,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -188,7 +188,6 @@ const searchForm = ref({
|
|||
name: 'a-input',
|
||||
vModel: 'value',
|
||||
allowClear: true,
|
||||
maxlength: 5,
|
||||
props: {
|
||||
type: 'text',
|
||||
showWordLimit: true,
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
"clean": "vsh clean",
|
||||
"commit": "czg",
|
||||
"dev": "turbo-run dev",
|
||||
"dev:office": "pnpm -F web-office run dev:prod",
|
||||
"dev:office": "pnpm -F web-office run dev",
|
||||
"dev:antd": "pnpm -F @vben/web-antd run dev",
|
||||
"dev:docs": "pnpm -F @vben/docs run dev",
|
||||
"dev:ele": "pnpm -F @vben/web-ele run dev",
|
||||
|
|
Loading…
Reference in New Issue