Browse Source

叫料标签输入框限制字数

hella_online_20240829
chenfang 4 months ago
parent
commit
16ec265034
  1. 10
      src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts

10
src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts

@ -37,7 +37,8 @@ export const CallmaterialsRules = reactive({
workshopCode: [required],
workStationCode: [required],
uom: [required],
callmaterialQty: [required]
callmaterialQty: [required],
project: [{ max: 50, message: '最多50字符', trigger: 'blur'}]
})
export const Callmaterials = useCrudSchemas(reactive<CrudSchema[]>([
@ -358,6 +359,13 @@ export const Callmaterials = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 100
} ,
form: {
componentProps:{
maxlength: 50,
type:'textarea',
showWordLimit:true
}
},
},
{
label: '库位',

Loading…
Cancel
Save