|
|
@@ -122,21 +122,24 @@
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <template v-if="$props.module.carrierFpInfo">
|
|
|
<div class="defbb p-spac">
|
|
|
开票补充信息<span class="ml-spac p-wcolor" v-if="!isreView"
|
|
|
>[ 提醒:请先完成“资质审核”!]</span
|
|
|
>
|
|
|
</div>
|
|
|
- <invoice :disabled="!isreView" :readOnly="false" v-model="carrierFpInfo" class="p-spacd2 p-b-0" />
|
|
|
- <authorize v-model="bindPhone" :carrierBalanceInfo="carrierBalanceInfo" :carrierWithdrawInfo="carrierWithdrawInfo" :tradeType="tradeType" v-if="isreView" />
|
|
|
+ <invoice :disabled="!isreView" :readOnly="false" v-model="carrierFpInfo" class="p-spacd2 p-b-0"/>
|
|
|
+ </template>
|
|
|
+ <authorize v-model="bindPhone" :carrierBalanceInfo="carrierBalanceInfo" :carrierWithdrawInfo="carrierWithdrawInfo" :tradeType="tradeType" v-if="$props.module.carrierWithdrawInfo&&isreView" />
|
|
|
+ <review :orgId="$props.orgId" v-if="$props.module.review" @feedback="reviewFeedback"/>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { mapGetters } from 'vuex'
|
|
|
import UploadImg from '@/components/uploadImg'
|
|
|
import auth from './comp/auth.vue'
|
|
|
import invoice from './comp/invoice.vue'
|
|
|
import authorize from './comp/authorize.vue'
|
|
|
+import review from './comp/review.vue'
|
|
|
|
|
|
export default {
|
|
|
name: 'join',
|
|
|
@@ -239,12 +242,23 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- components: { UploadImg, auth, invoice, authorize },
|
|
|
+ components: { UploadImg, auth, invoice, authorize, review },
|
|
|
+ props: {
|
|
|
+ orgId: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
+ },
|
|
|
+ /** 模块信息 */
|
|
|
+ module: {
|
|
|
+ type: Object,
|
|
|
+ default: () => ({
|
|
|
+ carrierFpInfo: false,
|
|
|
+ carrierWithdrawInfo: false,
|
|
|
+ review: false
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
computed: {
|
|
|
- ...mapGetters({
|
|
|
- orgId: 'woporg',
|
|
|
- user: 'wopuser'
|
|
|
- }),
|
|
|
|
|
|
// 已认证
|
|
|
isAuth() {
|
|
|
@@ -282,9 +296,17 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.getCarrierInfo()
|
|
|
- // this.userOrgFind()
|
|
|
},
|
|
|
methods: {
|
|
|
+ /**
|
|
|
+ * qualificationReviewFeedback
|
|
|
+ * @description: 资质审核反馈
|
|
|
+ * @param {type} 2通过 3驳回 0 取消
|
|
|
+ * @return: null
|
|
|
+ */
|
|
|
+ reviewFeedback(type) {
|
|
|
+ this.$emit('reviewFeedback', type)
|
|
|
+ },
|
|
|
getCarrierInfo() {
|
|
|
if (this.orgId) {
|
|
|
this.$http(this.$interfaces.user.get_carrier_info, { orgId: this.orgId }).then(res => {
|