CRM_26-06-04#story#8753,增加潜在供应商招募的H5链接中的信息填写

This commit is contained in:
2026-06-04 11:15:18 +08:00
parent 0483c2d0a7
commit d5d777afd3
4 changed files with 17 additions and 65 deletions

View File

@@ -116,7 +116,7 @@
<van-dialog v-model="show" title="确定删除吗" show-cancel-button @confirm="handleConfirm"></van-dialog>
<div class="btn_wrap" v-if="supplierId">
<div class="btn" @click="goPage('driverManage', { id: supplierId , potentialId: routeId })">下一步</div>
<div class="btn" @click="nextToDriver">下一步</div>
</div>
</div>
@@ -211,6 +211,10 @@ export default {
}
},
methods:{
nextToDriver() {
localStorage.setItem('lastRoute', JSON.stringify({ name: 'driverManage', query: { id: this.supplierId, potentialId: this.routeId } }));
this.goPage('driverManage', { id: this.supplierId, potentialId: this.routeId });
},
async getSupplierById(id) {
let res = await supplierSelectById({ id });
this.supplierId = res?.data?.supplierId || '';