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

This reverts commit 4aae54f9
This commit is contained in:
2026-06-09 15:28:16 +08:00
parent 4aae54f9a5
commit 336bb11c42
2 changed files with 4 additions and 22 deletions

View File

@@ -122,7 +122,7 @@
<span>司机状态</span>
</div>
<div class="isJoin">
<van-radio-group v-model="states" @change="isUse" :disabled="statesDisabled" :class="{ 'disabled-radio': statesDisabled }" class="joinWrap">
<van-radio-group v-model="states" @change="isUse" class="joinWrap">
<van-radio :name="1" style="margin-right: 26px" class="item">
启用
<img
@@ -185,7 +185,6 @@ export default {
iconList: [],
driverInfo: {},
drivingLicenceName: '',
fromSupplierAdd: false, // 是否从 supplierAdd 进入
idCardAuthority:'',
idCardValidStartTime:'',
idCardValidEndTime:'',
@@ -225,9 +224,8 @@ export default {
this.drivingLicenceName = this.$route.params?.drivingLicenceName;
// 获取 fromSupplierAdd 标识
const fromSupplierAdd = this.$route.params?.fromSupplierAdd;
this.fromSupplierAdd = fromSupplierAdd === 'true';
// 如果从 supplierAdd 进入且不是修改模式,默认设置为停用状态
if(!this.id && this.fromSupplierAdd) {
if(!this.id && fromSupplierAdd === 'true') {
this.states = 0;
}
if( this.identityCardFront ) {
@@ -464,12 +462,6 @@ export default {
},2000)
},
},
computed: {
// 司机状态是否禁用(从 supplierAdd 进入且非修改模式时禁用)
statesDisabled() {
return !this.id && this.fromSupplierAdd;
}
},
components:{
TwoCommonBtn,
CellGroup
@@ -544,8 +536,4 @@ export default {
position: fixed;
bottom: 30px;
}
.disabled-radio {
pointer-events: none;
opacity: 0.6;
}
</style>