Browse Source

生产计划 顺序超长限制

master
陈薪名 10 months ago
parent
commit
bdc1dc9be9
  1. 7
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

7
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -39,6 +39,11 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
form: {
componentProps: {
maxlength: 50
}
}
}, },
{ {
label: '车间', label: '车间',
@ -429,7 +434,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
export const ProductionMainRules = reactive({ export const ProductionMainRules = reactive({
displayOrder: [ displayOrder: [
{ required: true, message: '请输入顺序', trigger: 'blur' }, { required: true, message: '请输入顺序', trigger: 'blur' },
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } // { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
workshop: [ workshop: [
{ required: true, message: '请选择车间', trigger: 'change' } { required: true, message: '请选择车间', trigger: 'change' }

Loading…
Cancel
Save