|
@@ -1,7 +1,7 @@
|
|
|
<!-- eslint-disable vue/valid-v-model -->
|
|
<!-- eslint-disable vue/valid-v-model -->
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="p-spac p-fz">
|
|
|
|
|
|
|
+ <div class="p-fz" v-show="inited">
|
|
|
<div class="defbb p-spac">企业认证 [ <span class="gray-color" :class="{ 'green-color': isAuth }">{{ authText }}</span> ]
|
|
<div class="defbb p-spac">企业认证 [ <span class="gray-color" :class="{ 'green-color': isAuth }">{{ authText }}</span> ]
|
|
|
</div>
|
|
</div>
|
|
|
<div v-if="isAuth" class="s-fz flex p-spac p-b-0">
|
|
<div v-if="isAuth" class="s-fz flex p-spac p-b-0">
|
|
@@ -88,7 +88,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div v-else></div>
|
|
<div v-else></div>
|
|
|
<el-button v-if="isAuth && (unStart || isReject)" type="primary" size="medium" class="auth-btn"
|
|
<el-button v-if="isAuth && (unStart || isReject)" type="primary" size="medium" class="auth-btn"
|
|
|
- @click="submitForm()">{{ reviewBtnText }}</el-button>
|
|
|
|
|
|
|
+ @click="transportUp()" :loading="$reqState($interfaces.user.road_transport_up).ing">{{ reviewBtnText }}</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -96,11 +96,15 @@
|
|
|
<div class="defbb p-spac">
|
|
<div class="defbb p-spac">
|
|
|
开票补充信息<span class="ml-spac p-wcolor" v-if="!isreView">[ 提醒:请先完成“资质审核”!]</span>
|
|
开票补充信息<span class="ml-spac p-wcolor" v-if="!isreView">[ 提醒:请先完成“资质审核”!]</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <invoice :disabled="!isreView" :readOnly="false" v-model="carrierFpInfo" class="p-spacd2 p-b-0" />
|
|
|
|
|
|
|
+ <invoice :disabled="!isreView" :readOnly="!module.carrierFpInfo.edit" v-model="carrierFpInfo" class="p-spacd2 p-b-0" />
|
|
|
</template>
|
|
</template>
|
|
|
<authorize v-model="bindPhone" :carrierBalanceInfo="carrierBalanceInfo" :carrierWithdrawInfo="carrierWithdrawInfo"
|
|
<authorize v-model="bindPhone" :carrierBalanceInfo="carrierBalanceInfo" :carrierWithdrawInfo="carrierWithdrawInfo"
|
|
|
:tradeType="tradeType" v-if="$props.module.carrierWithdrawInfo && isreView" />
|
|
:tradeType="tradeType" v-if="$props.module.carrierWithdrawInfo && isreView" />
|
|
|
|
|
+ <bankInfo v-model="carrierBankInfo" v-if="tradeType===1"/>
|
|
|
<review class="w50" :orgId="safeOrgId" v-if="$props.module.review" @feedback="reviewFeedback" />
|
|
<review class="w50" :orgId="safeOrgId" v-if="$props.module.review" @feedback="reviewFeedback" />
|
|
|
|
|
+ <div class="p-spac">
|
|
|
|
|
+ 合同签约<span class="ml-spac gray-color" :class="{'green-color':contracted}">[ {{ contracted ?'已签约 (线下)':'未知' }} ]</span>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -108,11 +112,13 @@ import UploadImg from 'submodule/components/pc/upload/uploadImg.vue'
|
|
|
import auth from './comp/auth.vue'
|
|
import auth from './comp/auth.vue'
|
|
|
import invoice from './comp/invoice.vue'
|
|
import invoice from './comp/invoice.vue'
|
|
|
import authorize from './comp/authorize.vue'
|
|
import authorize from './comp/authorize.vue'
|
|
|
|
|
+import bankInfo from './comp/bankInfo.vue'
|
|
|
import review from './comp/review.vue'
|
|
import review from './comp/review.vue'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'join',
|
|
name: 'join',
|
|
|
data() {
|
|
data() {
|
|
|
|
|
+ const _this = this
|
|
|
return {
|
|
return {
|
|
|
args: {},
|
|
args: {},
|
|
|
/** 交易模式(1经销模式;2直销模式,默认经销模式1) */
|
|
/** 交易模式(1经销模式;2直销模式,默认经销模式1) */
|
|
@@ -198,7 +204,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
carrierRoadInfoImg: [
|
|
carrierRoadInfoImg: [
|
|
|
{
|
|
{
|
|
|
- path: '',
|
|
|
|
|
|
|
+ get path() { return _this.$tools.getFullFileUrl(_this.carrierRoadInfo.roadTransport) },
|
|
|
defaultPath: require('@/assets/images/main/license@2x.png'),
|
|
defaultPath: require('@/assets/images/main/license@2x.png'),
|
|
|
text: '上传道路运输经营许可证'
|
|
text: '上传道路运输经营许可证'
|
|
|
}
|
|
}
|
|
@@ -212,7 +218,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- components: { UploadImg, auth, invoice, authorize, review },
|
|
|
|
|
|
|
+ components: { UploadImg, auth, invoice, authorize, review, bankInfo },
|
|
|
props: {
|
|
props: {
|
|
|
orgId: {
|
|
orgId: {
|
|
|
type: String,
|
|
type: String,
|
|
@@ -226,13 +232,23 @@ export default {
|
|
|
show: false,
|
|
show: false,
|
|
|
edit: false
|
|
edit: false
|
|
|
},
|
|
},
|
|
|
- carrierFpInfo: false,
|
|
|
|
|
|
|
+ carrierFpInfo: {
|
|
|
|
|
+ show: false,
|
|
|
|
|
+ edit: false
|
|
|
|
|
+ },
|
|
|
carrierWithdrawInfo: false,
|
|
carrierWithdrawInfo: false,
|
|
|
review: false
|
|
review: false
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
|
|
+ /** 合同已签约 */
|
|
|
|
|
+ contracted() {
|
|
|
|
|
+ return this.carrierContractInfo.contractStatus === 2
|
|
|
|
|
+ },
|
|
|
|
|
+ inited() {
|
|
|
|
|
+ return (this.safeOrgId && this.$reqState(this.$interfaces.user.get_carrier_info).sus) || !this.safeOrgId
|
|
|
|
|
+ },
|
|
|
safeOrgId() {
|
|
safeOrgId() {
|
|
|
return this.$props.orgId ||
|
|
return this.$props.orgId ||
|
|
|
this.args.orgId
|
|
this.args.orgId
|
|
@@ -261,7 +277,7 @@ export default {
|
|
|
return this.carrierRoadInfo.roadTransportStatus === 2
|
|
return this.carrierRoadInfo.roadTransportStatus === 2
|
|
|
},
|
|
},
|
|
|
operateState() {
|
|
operateState() {
|
|
|
- return ['未发起', '待审核', '已认证', '已驳回'][this.carrierRoadInfo.roadTransportStatus]
|
|
|
|
|
|
|
+ return ['未发起', '待审核', '已过审', '已驳回'][this.carrierRoadInfo.roadTransportStatus]
|
|
|
},
|
|
},
|
|
|
// 营运许可证为查看状态
|
|
// 营运许可证为查看状态
|
|
|
carrierRoadInfoView() {
|
|
carrierRoadInfoView() {
|
|
@@ -291,12 +307,17 @@ export default {
|
|
|
getCarrierInfo() {
|
|
getCarrierInfo() {
|
|
|
if (this.safeOrgId) {
|
|
if (this.safeOrgId) {
|
|
|
this.$http(this.$interfaces.user.get_carrier_info, { orgId: this.safeOrgId }).then(res => {
|
|
this.$http(this.$interfaces.user.get_carrier_info, { orgId: this.safeOrgId }).then(res => {
|
|
|
|
|
+ this.bindPhone = res.bindPhone
|
|
|
this.tradeType = res.org.tradeType
|
|
this.tradeType = res.org.tradeType
|
|
|
this.carrierAuthInfo = res.carrierAuthInfo
|
|
this.carrierAuthInfo = res.carrierAuthInfo
|
|
|
this.carrierBalanceInfo = res.carrierBalanceInfo
|
|
this.carrierBalanceInfo = res.carrierBalanceInfo
|
|
|
this.carrierBankInfo = res.carrierBankInfo
|
|
this.carrierBankInfo = res.carrierBankInfo
|
|
|
this.carrierContractInfo = res.carrierContractInfo
|
|
this.carrierContractInfo = res.carrierContractInfo
|
|
|
this.carrierFpInfo = res.carrierFpInfo
|
|
this.carrierFpInfo = res.carrierFpInfo
|
|
|
|
|
+ // // 资质审核可编辑&&驳回 清空许可证路径
|
|
|
|
|
+ // if (this.module.carrierRoadInfo.edit && res.carrierRoadInfo.roadTransportStatus === 3) {
|
|
|
|
|
+ // res.carrierRoadInfo.roadTransport = ''
|
|
|
|
|
+ // }
|
|
|
this.carrierRoadInfo = res.carrierRoadInfo
|
|
this.carrierRoadInfo = res.carrierRoadInfo
|
|
|
this.carrierWithdrawInfo = res.carrierWithdrawInfo
|
|
this.carrierWithdrawInfo = res.carrierWithdrawInfo
|
|
|
})
|
|
})
|
|
@@ -307,7 +328,7 @@ export default {
|
|
|
this.carrierRoadInfo.roadTransport = path
|
|
this.carrierRoadInfo.roadTransport = path
|
|
|
// this.carrierRoadInfo.roadTransport = process.env.VUE_APP_FILE_URL + path
|
|
// this.carrierRoadInfo.roadTransport = process.env.VUE_APP_FILE_URL + path
|
|
|
},
|
|
},
|
|
|
- submitForm() {
|
|
|
|
|
|
|
+ transportUp() {
|
|
|
this.$refs.carrierRoadInfo.validate((valid) => {
|
|
this.$refs.carrierRoadInfo.validate((valid) => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
this.$http(this.$interfaces.user.road_transport_up, {
|
|
this.$http(this.$interfaces.user.road_transport_up, {
|