CRM_26-04-22#story#8495,潜在供应商H5页面提交信息,信息审核,提交补充信息与退回理由的优化与修复(停启用修改)

This commit is contained in:
2026-06-09 11:06:48 +08:00
parent e4757849dd
commit 57f839166e
6 changed files with 28 additions and 6 deletions

View File

@@ -689,6 +689,8 @@ export default {
const urlParams = new URLSearchParams(window.location.search);
const rawId = this.$route.query.supplierId || urlParams.get('supplierId');
this.supplierId = rawId ? Number(rawId) : '';
// 获取 fromSupplierAdd 标识
const fromSupplierAdd = this.$route.query.fromSupplierAdd || urlParams.get('fromSupplierAdd');
await this.getSupplierServiceTree();
await this.getTypeList();
if( this.id){
@@ -705,6 +707,10 @@ export default {
liabilityInsuranceEndTime:'',
insurancePicturePhoto:''
}
// 如果从 supplierAdd 进入,默认设置为停用状态
if(fromSupplierAdd === 'true') {
this.vehicleStatus = 2;
}
}
},
methods:{