From 76cab7a0bb80d0e068f1b76188409d993c5c2e4b Mon Sep 17 00:00:00 2001 From: yuekuo Date: Wed, 29 Mar 2023 17:31:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../thetargetvehicleofthisupgrade.vue | 11 +- .../upgradeimpactassessment copy.vue | 541 ------------------ .../components/upgradetargetmodel.vue | 10 +- 3 files changed, 16 insertions(+), 546 deletions(-) delete mode 100644 jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment copy.vue diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue index 67b396f2d..4367f3867 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/thetargetvehicleofthisupgrade.vue @@ -144,6 +144,8 @@ export default { this.formInline.vinList=res.result.vinList this.formInline.csv=res.result.csv this.formInline.dateofproduction=[] + res.result.scrqks=res.result.scrqks == null ? "" : res.result.scrqks + res.result.scrqjs=res.result.scrqjs == null ? "" : res.result.scrqjs this.formInline.dateofproduction.push(res.result.scrqks) this.formInline.dateofproduction.push(res.result.scrqjs) this.formInline.id = res.result.vinList @@ -159,8 +161,13 @@ export default { obj.zsl = this.formInline.zsl obj.csv = this.formInline.csv if(this.formInline.dateofproduction){ - obj.scrqks = this.formInline.dateofproduction[0] - obj.scrqjs = this.formInline.dateofproduction[1] + if(this.formInline.dateofproduction.length>0){ + obj.scrqks = this.formInline.dateofproduction[0] + obj.scrqjs = this.formInline.dateofproduction[1] + }else{ + obj.scrqks='' + obj.scrqjs ='' + } }else{ obj.scrqks='' obj.scrqjs ='' diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment copy.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment copy.vue deleted file mode 100644 index fb6045b3d..000000000 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment copy.vue +++ /dev/null @@ -1,541 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue index 08939f295..e4f9fb135 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue @@ -67,7 +67,7 @@ {{$t('Modelandfunctionrecord')}} - + {{ item.ggpc }} @@ -314,8 +314,12 @@ import ImportFile from '@/components/ImportFileData/index' this.form.cpsb = item.cpsb this.form.cpmc = item.cpmc this.form.cpxh = item.cpxh - this.form.babh = item.cpdjbh - } + getAction('/ota/otaBaCxJbxx/queryByOtaId',{otaIdT:'',otaId:item.id}).then(res=>{ + this.form.dllx1=res.result.dllx1 + this.form.dllx2=res.result.dllx2 + this.$forceUpdate() + }) + } }) this.$forceUpdate() },