diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 8782ae19..5fd03b42 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -268,7 +268,6 @@ export default { if( this.form.vehicleRearPhoto ) { this.vehicleRearPhotoList = [{url: this.form.vehicleRearPhoto}] } - // console.log("carSourceFormInfo",carSourceFormInfo) if(carSourceFormInfo.otherImgSrc0){ this.otherImgSrc.push(carSourceFormInfo.otherImgSrc0) this.otherImgSrcList.push({url:carSourceFormInfo.otherImgSrc0}) @@ -293,7 +292,6 @@ export default { this.otherImgSrc.push(carSourceFormInfo.otherImgSrc5) this.otherImgSrcList.push({url:carSourceFormInfo.otherImgSrc5}) } - // console.log("--",this.vehicleLicensePhotoList,this.vehicleAnglePhotoList,this.otherImgSrcList) }, methods:{ validatePrice(value) { @@ -480,21 +478,6 @@ export default { otherPhoto:this.otherImgSrc?.join(',') }) this.clearStorageFormInfo() - if(res.code == 200 && !res.msg){ - this.$toast('发布成功') - if(this.isWebFunc()){ - setTimeout(()=>{ - this.closeParentDialog() - },1000) - }else{ - setTimeout(()=>{ - this.$router.push({ name: "mineRelease"}) - sessionStorage.setItem('mineActiveTab',String(1) ) - },1000) - } - }else{ - this.$toast(res.msg) - } console.log("车源发布publishCarInfo",res) } catch (e){ console.log('e',e) @@ -605,7 +588,6 @@ export default { } .navBar{ margin-bottom: 46px; - } .noContentAudit{ height: calc(100% - 42px); diff --git a/src/views/secondHandCar/components/upload-common.vue b/src/views/secondHandCar/components/upload-common.vue index 1d25f4cb..1fdf5d81 100644 --- a/src/views/secondHandCar/components/upload-common.vue +++ b/src/views/secondHandCar/components/upload-common.vue @@ -8,6 +8,7 @@ :preview-full-image="false" :max-count="multiple ? 6 : 1" @click-preview="handlePreviewClick" + :deletable="showDel" >
@@ -36,6 +37,10 @@ export default { files: { type: Array, default: () => [] + }, + showDel:{ + type: Boolean, + default: true } }, data() { diff --git a/src/views/secondHandCar/mineRelease.vue b/src/views/secondHandCar/mineRelease.vue index 5c65e0f4..0afceb20 100644 --- a/src/views/secondHandCar/mineRelease.vue +++ b/src/views/secondHandCar/mineRelease.vue @@ -162,10 +162,8 @@ export default { return } if(this.xiajiaInfo?.type==1 && this.radio==1){ - console.log("111") this.poupShow=false - this.$router.push({ name: "sellingInfo", query: {id:this.xiajiaInfo.id }}) - + this.$router.push({ name: "sellingInfo", query: {id:this.xiajiaInfo.id,type:'revise'}}) }else{ await usedCarRemove({ id:this.xiajiaInfo.id, @@ -182,9 +180,6 @@ export default { query: { type:1 ,id:item.id,queryType:3,homePage:false}, }) }, - reviseXiajiaHandle(item){//修改下架 - console.log("修改下架",item) - }, async polishHandle(item){//檫亮 try { await usedCarPolish(item.id) @@ -204,8 +199,13 @@ export default { console.log('reShangJiaHandle',e) } }, + reviseXiajiaHandle(item){//修改下架 + console.log("修改下架",item) + this.$router.push({ name: "sellingInfo", query: {id:item.id,type:'revise'}}) + }, viewXiajiaHandle(item){//查看下架 - console.log("item",item) + console.log("查看下架",item) + this.$router.push({ name: "sellingInfo", query: {id:item.id,type:'view'}}) }, xiajiaHandle(item){//下架 this.poupShow=true diff --git a/src/views/secondHandCar/sellingInfo.vue b/src/views/secondHandCar/sellingInfo.vue index 3b6779ab..32546796 100644 --- a/src/views/secondHandCar/sellingInfo.vue +++ b/src/views/secondHandCar/sellingInfo.vue @@ -2,82 +2,98 @@
- -
-
-
-
- *售出渠道 - - 中道二手拖车 - 本地线下 - 报废 - -
- - -
+
+ 审核不通过: + {{auditRemark }}
-
-
确认售出
+
+
+
+
+ *售出渠道 + + 中道二手拖车 + 本地线下 + 报废 + +
+ + +
+
+
确认售出
+
@@ -86,8 +102,9 @@