Browse Source

去掉资产台账的3个必填字段

master
ljlong_2630 3 months ago
parent
commit
4e8f595c5f
  1. 22
      src/views/eam/basic/assetsAccount/assetsAccount.data.ts

22
src/views/eam/basic/assetsAccount/assetsAccount.data.ts

@ -13,9 +13,9 @@ const admin = checkPermi(['gdzc_admin']);
// 表单校验
export const AssetsAccountRules = reactive({
number: [
required,
],
// number: [
// required,
// ],
name: [
required,
{ max: 50, message: '不得超过50个字符', trigger: 'blur' },
@ -26,17 +26,17 @@ export const AssetsAccountRules = reactive({
specifications: [
{ max: 50, message: '不得超过20个字符', trigger: 'blur' },
],
locationNumber: [
required,
{ max: 20, message: '不得超过20个字符', trigger: 'blur' },
],
// locationNumber: [
// required,
// { max: 20, message: '不得超过20个字符', trigger: 'blur' },
// ],
purchaseDept: [
{ max: 50, message: '不得超过20个字符', trigger: 'blur' },
],
supplierNumber: [
required,
{ max: 20, message: '不得超过20个字符', trigger: 'blur' },
],
// supplierNumber: [
// required,
// { max: 20, message: '不得超过20个字符', trigger: 'blur' },
// ],
purchasePrice: [
required,
{ validator:validateNumDot, message: '请输入数字格式', trigger: 'blur'}

Loading…
Cancel
Save