diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue index 933380e46..9c8b4c7c5 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/ProjectDetails.vue @@ -26,7 +26,9 @@
{{$t('configurationItem')}} - {{queryForm.ipdInfo}}
diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue index 09bdae9d9..d30bae959 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/addModel.vue @@ -18,7 +18,7 @@ * {{$t('entryName')}} - + @@ -54,10 +54,10 @@
- * + {{$t('configurationItem')}}
- + @@ -71,7 +71,36 @@ + :rows="2"/> + +
+
+ + + +
+
+ {{$t('dehicleDevelopmentPlan')}} +
+ + + +
+
+ +
+
+ {{$t('certificationProgram')}} +
+ +
@@ -170,37 +199,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -321,10 +319,10 @@ trigger: 'blur' } ], - projectVersion:[ + projectNameId:[ { required: true, - message: this.$t('projectVersion') + this.$t('cannotEmpty'), + message: this.$t('entryName') + this.$t('cannotEmpty'), trigger: 'blur' } ], @@ -342,13 +340,6 @@ trigger: 'blur' } ], - projectNameId: [ - { - required: true, - message: this.$t('entryName') + this.$t('cannotEmpty'), - trigger: 'change' - } - ], yearNameId: [ { required: true, @@ -356,10 +347,10 @@ trigger: 'change' } ], - targetMarket: [ + brand: [ { required: true, - message: this.$t('targetMarket') + this.$t('cannotEmpty'), + message: this.$t('brand') + this.$t('cannotEmpty'), trigger: 'change' } ], @@ -408,8 +399,8 @@ let content = this.projectNameList.filter(res => { return res.id == value.projectNameId }) - this.yearNameDataList = content[0].yearNameDataList || [] this.formInline = value + console.log(this.formInline) this.formInline = { ...this.formInline } } } else { @@ -504,7 +495,6 @@ return res.id == value }) this.formInline.vehiclePlatform = content[0].vehiclePlatform || '' - this.yearNameDataList = content[0].yearNameDataList || [] this.formInline.digitalPlatform = content[0].digitalPlatform || '' this.formInline = { ...this.formInline } } diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/settingList.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/settingList.vue index ac730b4e1..e0a033aab 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/settingList.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/settingList.vue @@ -104,8 +104,8 @@ getAction(this.url.settingQueryForm, { projectId: this.$route.query.id }).then((res) => { if (res.success) { this.$nextTick(() => { - this.formInline=res.result? {list:[{}]} :res.result - if(!res.result.list || res.result.list.length==0){ + this.formInline.list = res.result? res.result : [{}] + if(!res.result || res.result.length==0){ this.formInline.list=[{}] } @@ -154,7 +154,7 @@ this.visible = false }, dateChange(item,index) { - this.formInline.list[index].date = this.formInline.list[index].date ? moment(this.formInline.list[index].date).format('YYYY-MM-DD') : '' + this.formInline.list[index].danodeTimete = this.formInline.list[index].nodeTime ? moment(this.formInline.list[index].nodeTime).format('YYYY-MM-DD') : '' } } }