|
@@ -44,16 +44,15 @@
|
|
|
</el-col>
|
|
|
<!-- 项目进度 dict.type.project_progress -->
|
|
|
<el-col :span="12">
|
|
|
- <Input :label="$t('project.progress')" disabled prop="progress" width="100%" />
|
|
|
+ <Input :label="$t('project.progress')" disabled prop="progress" width="100%" required />
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
-
|
|
|
<el-row :gutter="20">
|
|
|
<!--项目状态-->
|
|
|
<el-col :span="12">
|
|
|
<Select :data="projectProgress" :label="$t('project.status')" prop="progress"
|
|
|
- width="100%" @change="progressChange"
|
|
|
+ width="100%" @change="progressChange" required
|
|
|
/>
|
|
|
</el-col>
|
|
|
<!-- 标杆项目 -->
|
|
@@ -561,9 +560,12 @@ export default {
|
|
|
projectName: [
|
|
|
{required: true, message: this.$t('common.pleaseInput') + this.$t('project.name'), trigger: 'blur'},
|
|
|
],
|
|
|
- // modelFlag: [
|
|
|
- // {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.isModel'), trigger: 'change'},
|
|
|
- // ],
|
|
|
+ progress: [
|
|
|
+ {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.progress'), trigger: 'blur'},
|
|
|
+ ],
|
|
|
+ modelFlag: [
|
|
|
+ {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.isModel'), trigger: 'change'},
|
|
|
+ ],
|
|
|
countryId: [
|
|
|
{required: true, message: this.$t('common.pleaseSelect') + this.$t('project.countryId'), trigger: 'change'},
|
|
|
],
|
|
@@ -573,27 +575,30 @@ export default {
|
|
|
city: [
|
|
|
{required: true, message: this.$t('common.pleaseSelect') + this.$t('project.city'), trigger: 'change'},
|
|
|
],
|
|
|
- // type: [
|
|
|
- // {required: true, message: this.$t('common.pleaseSelect') + this.$t('lead.segment'), trigger: 'change'},
|
|
|
- // ],
|
|
|
- // segmentedMarket: [
|
|
|
- // {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.projectSegments'), trigger: 'change'},
|
|
|
- // ],
|
|
|
- // city: [
|
|
|
- // { required: true, message: this.$t('common.pleaseInput') + this.$t('project.city'), trigger: 'blur' },
|
|
|
- // ],
|
|
|
+ type: [
|
|
|
+ {required: true, message: this.$t('common.pleaseSelect') + this.$t('lead.segment'), trigger: 'change'},
|
|
|
+ ],
|
|
|
+ segmentedMarket: [
|
|
|
+ {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.projectSegments'), trigger: 'change'},
|
|
|
+ ],
|
|
|
+ currencyId: [
|
|
|
+ {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.countryId'), trigger: 'change'},
|
|
|
+ ],
|
|
|
// planDealMonth: [
|
|
|
// { required: true, message: this.$t('common.pleaseSelect') + this.$t('account.planDealMonth'), trigger: 'change' },
|
|
|
// ],
|
|
|
- // contactPerson: [
|
|
|
- // {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.contactPerson'), trigger: 'change'},
|
|
|
- // ],
|
|
|
- // contact: [
|
|
|
- // {required: true, message: this.$t('common.pleaseInput') + this.$t('project.contact'), trigger: 'blur'},
|
|
|
- // ],
|
|
|
- // email: [
|
|
|
- // {required: true, message: this.$t('common.pleaseInput') + this.$t('user.email'), trigger: 'blur'},
|
|
|
- // ],
|
|
|
+ contactPerson: [
|
|
|
+ {required: true, message: this.$t('common.pleaseSelect') + this.$t('project.contactPerson'), trigger: 'change'},
|
|
|
+ ],
|
|
|
+ contact: [
|
|
|
+ {required: true, message: this.$t('common.pleaseInput') + this.$t('project.contact'), trigger: 'blur'},
|
|
|
+ ],
|
|
|
+ email: [
|
|
|
+ {required: true, message: this.$t('common.pleaseInput') + this.$t('user.email'), trigger: 'blur'},
|
|
|
+ ],
|
|
|
+ owner: [
|
|
|
+ {required: true, message: this.$t('common.pleaseSelect') + this.$t('agent.head'), trigger: 'change'},
|
|
|
+ ],
|
|
|
// keyContactPerson: [
|
|
|
// { required: true, message: this.$t('common.pleaseInput') + this.$t('project.keyContactPerson'), trigger: 'blur' },
|
|
|
// ],
|