story#6932,只有子公司的已售出下架才跳转补充信息

This commit is contained in:
2025-07-30 14:48:48 +08:00
parent 2de215bd1f
commit 23e066e752
2 changed files with 4 additions and 3 deletions

View File

@ -65,14 +65,14 @@
<div class="empty" v-show="show">
<img src="@/assets/empty.png" />
</div>
<van-popup v-model="poupShow" closeable round :style="{ width: '70%',height:xiajiaInfo?.type==1 && radio==1 ? '20%' : '18%' }" class="poupWrap">
<van-popup v-model="poupShow" closeable round :style="{ width: '70%',height:xiajiaInfo.proprietary==1 && xiajiaInfo?.type==1 && radio==1 ? '20%' : '18%' }" class="poupWrap">
<span class="title">下架原因</span>
<div class="poupContent">
<van-radio-group v-model="radio" class="radioWrap">
<van-radio name="1">{{xiajiaInfo?.type==1 ? '已售出' : '已买到'}}</van-radio>
<van-radio name="2">{{xiajiaInfo?.type==1 ? '不卖了' : '不买了'}}</van-radio>
</van-radio-group>
<div v-show="xiajiaInfo?.type==1 && radio==1" class="tip">已售出需前往完善售出信息</div>
<div v-show="xiajiaInfo.proprietary==1 && xiajiaInfo?.type==1 && radio==1" class="tip">已售出需前往完善售出信息</div>
<div class="btnWrap">
<div class="btn" @click="noMultipleClicks(submitHandle)">确认</div>
</div>
@ -161,7 +161,7 @@ export default {
this.$toast('下架原因不能为空')
return
}
if(this.xiajiaInfo?.type==1 && this.radio==1){
if(this.xiajiaInfo.proprietary==1 && this.xiajiaInfo?.type==1 && this.radio==1){
this.poupShow=false
this.radio = ''
this.$router.push({ name: "sellingInfo", query: {id:this.xiajiaInfo.id,type:'revise'}})

View File

@ -141,6 +141,7 @@ export default {
queryType:4,
})
this.form={...res.data}
this.form.downReason='已售出'
this.auditRemark=res.data?.auditRemark
this.status=res.data?.status?.code
if(res.data?.tradeContractPath){