Browse Source

计划外出库-报废出库申请添加数量校验

hella_online_20240924
yufei_wang 2 months ago
parent
commit
2a3318c35d
  1. 2
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
  2. 2
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

2
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -1312,6 +1312,6 @@ export const ScrapRequestDetailRules = reactive({
], ],
reason: [ reason: [
{ required: true, message: '请输入报废原因', trigger: 'change' }, { required: true, message: '请输入报废原因', trigger: 'change' },
{ max: 200, message: '不得超过200个字符', trigger: 'blur' } { max: 24, message: '不得超过24个字符', trigger: 'blur' }
], ],
}) })

2
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

@ -660,7 +660,7 @@ export const UnplannedissueRequestMainRules = reactive({
], ],
remarkMain: [ remarkMain: [
{ required: true, message: '请输入单据备注', trigger: 'blur' }, { required: true, message: '请输入单据备注', trigger: 'blur' },
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 24, message: '不得超过24个字符', trigger: 'blur' }
], ],
usageDescription:[ usageDescription:[
{ required: true, message: '请选择领用描述', trigger: 'blur' } { required: true, message: '请选择领用描述', trigger: 'blur' }

Loading…
Cancel
Save