@@ -190,6 +193,8 @@ export default {
otherImgSrcList:[],
otherImgSrc:[],
status:'',
+ supplierName:'',
+ supplierCode:'',
homePage:false,
}
},
@@ -198,6 +203,7 @@ export default {
this.type=this.$route.query.type || urlParams.get('type');
this.id=this.$route.query.id || urlParams.get('id');
this.queryType=this.$route.query.queryType || urlParams.get('queryType');
+ this.homePage=this.$route.query.homePage
if( this.id){
let res = await carInfoDetail({
id:this.id,
@@ -210,6 +216,8 @@ export default {
this.auditRemark=res.data?.auditRemark
this.status=res.data?.status?.code
this.areaName=res.data?.areaName
+ this.supplierName=res.data?.supplierName
+ this.supplierCode=res.data?.supplierCode
this.otherImgSrc=res.data?.otherPhoto?.split(',')
this.otherImgSrc?.map(item=>this.otherImgSrcList.push({url:item}))
this.vehicleLicensePhotoList=[{url:res.data?.vehicleLicensePhoto}]
@@ -266,7 +274,7 @@ export default {
sessionStorage.setItem('otherImgSrc',JSON.stringify(this.otherImgSrc))
let urls=url + '/h5/supplier/dispatch/res/privacy.html'
- this.$router.push({ name: "privacyComponent", query: {url:urls,type:1},params: {
+ this.$router.push({ name: "privacyComponent", query: {url:urls,type:1,homePage:this.homePage},params: {
form: this.form,radio:this.radio,
areaName:this.areaName,
vehicleLicensePhotoList:this.vehicleLicensePhotoList,
@@ -494,6 +502,11 @@ export default {
font-weight: 600;
}
}
+ .supplierInfo{
+ justify-content: space-around;
+ background-color: #F5F7F9;
+ color: #606266;;
+ }
}
.navBar{
margin-bottom: 46px;
diff --git a/src/views/secondHandCar/privacy.vue b/src/views/secondHandCar/privacy.vue
index b7d0caf1..c784f19e 100644
--- a/src/views/secondHandCar/privacy.vue
+++ b/src/views/secondHandCar/privacy.vue
@@ -1,7 +1,6 @@
-
+
+
供应商名称:{{supplierName}}
+
供应商编号:{{supplierCode}}
+
@@ -132,6 +135,8 @@ export default {
auditReason:'',
auditRemark:'',
status:'',
+ supplierName:'',
+ supplierCode:'',
homePage:false,
}
},
@@ -140,6 +145,7 @@ export default {
this.type=this.$route.query.type || urlParams.get('type');
this.id=this.$route.query.id || urlParams.get('id');
this.queryType=this.$route.query.queryType || urlParams.get('queryType');
+ this.homePage=this.$route.query.homePage
if( this.id){
let res = await carInfoDetail({
id:this.id,
@@ -150,6 +156,8 @@ export default {
this.form.emissionStandard=res.data.emissionStandard?.code
this.auditRemark=res.data?.auditRemark
this.status=res.data?.status?.code
+ this.supplierName=res.data?.supplierName
+ this.supplierCode=res.data?.supplierCode
}
if(this.$route.params.form){
this.form={...this.$route.params.form}
@@ -180,7 +188,7 @@ export default {
// url = 'http://localhost:8080'
}
let urls=url + '/h5/supplier/dispatch/res/privacy.html'
- this.$router.push({ name: "privacyComponent", query: {url:urls,type:2},params: { form: this.form,radio:this.radio } })
+ this.$router.push({ name: "privacyComponent", query: {url:urls,type:2,homePage:this.homePage},params: { form: this.form,radio:this.radio } })
},
closeParentDialog() {
if (window.parent) {