|
|
@ -237,7 +237,7 @@ |
|
|
|
<el-input v-model="formData.configuration.Receiver" placeholder="请输入收货人名称" clearable /> |
|
|
|
</el-form-item> |
|
|
|
<!-- 在途库位 --> |
|
|
|
<el-form-item label="联系电话" prop="PhoneNumber"> |
|
|
|
<el-form-item label="联系电话" prop="configuration.PhoneNumber"> |
|
|
|
<el-input v-model="formData.configuration.PhoneNumber" placeholder="请输入联系电话" clearable /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
@ -314,8 +314,8 @@ const rules = ref({ |
|
|
|
name: [{ required: true, message: '请输入名字', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }], |
|
|
|
description: [{ required: true, message: '请输入描述', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }], |
|
|
|
priority: [{ required: true, message: '请输入优先级', trigger: 'blur' }], |
|
|
|
PhoneNumber: [{ max: 11, message: '不得超过11个字符', trigger: 'blur' }, |
|
|
|
{message: '请输入联系电话', trigger: 'blur' ,validator:validateHanset}] |
|
|
|
'configuration.PhoneNumber': [{ max: 11, message: '不得超过11个字符', trigger: 'blur' }, |
|
|
|
{message: '请输入正确格式的电话', trigger: 'blur' ,validator:validateHanset}] |
|
|
|
}) |
|
|
|
|
|
|
|
// 所有的范围类型 |
|
|
|