Browse Source

格式和分隔符可为空

master
liuchen864 1 year ago
parent
commit
a1e2337077
  1. 4
      src/views/system/serialNumber/SerialNumberForm.vue

4
src/views/system/serialNumber/SerialNumberForm.vue

@ -4,7 +4,7 @@
ref="formRef"
:model="formData"
:rules="formRules"
label-width="100px"
label-width="150px"
v-loading="formLoading"
>
<el-form-item label="规则编码" prop="ruleCode">
@ -59,9 +59,7 @@ const formRules = reactive({
ruleCode: [{ required: true, message: '规则编码不能为空', trigger: 'blur' }],
ruleName: [{ required: true, message: '规则名称不能为空', trigger: 'blur' }],
prefix: [{ required: true, message: '编码前缀不能为空', trigger: 'blur' }],
pattern: [{ required: true, message: '单据格式不能为空', trigger: 'blur' }],
length: [{ required: true, message: '单据流水长度不能为空', trigger: 'blur' }],
separator: [{ required: true, message: '单据分隔符不能为空', trigger: 'blur' }]
})
const formRef = ref() // Ref

Loading…
Cancel
Save