| | |
| | | const ruleFormRef = ref<FormInstance>(); |
| | | const isLoading = ref(false); |
| | | const showDialog = ref(false); |
| | | const nowRole = ref({}); |
| | | const state = reactive({ |
| | | userInfo: useUserStoreHook().enterpriseInfo, |
| | | headers: { |
| | |
| | | showDialog: false |
| | | }); |
| | | onMounted(async () => { |
| | | // let res = await useUserStoreHook().getCusExtendInfo(); |
| | | // if (res.code == 200) { |
| | | // state.userInfo = res.result; |
| | | // state.userInfo.enterpriseTypeName = res.result.enterpriseType; |
| | | // state.ruleForm = res.result; |
| | | // state.ruleForm.enterpriseType = state.ruleForm.enterpriseType.split(","); |
| | | // } else { |
| | | // message(res.message, { |
| | | // type: "error" |
| | | // }); |
| | | // } |
| | | state.ruleForm = cloneDeep(state.userInfo); |
| | | console.log(state.userInfo); |
| | | |
| | | state.ruleForm.enterpriseType = state.ruleForm.enterpriseType.split(","); |
| | | let nowRole = useUserStoreHook()?.exRoles; |
| | | if (nowRole.length >= 1 && !route.query.code) { |
| | | state.ruleForm.transactionCode = nowRole[0].code; |
| | | state.userInfo.transactionName = nowRole[0].name; |
| | | nowRole.value = useUserStoreHook()?.nowRole; |
| | | console.log(nowRole.value); |
| | | if (nowRole.value) { |
| | | state.ruleForm.transactionCode = nowRole.value.code; |
| | | state.userInfo.transactionName = nowRole.value.name; |
| | | } else { |
| | | state.ruleForm.transactionCode = route.query.code; |
| | | state.userInfo.enterpriseTypeName = route.query.name; |
| | |
| | | </script> |
| | | |
| | | <template> |
| | | <el-descriptions class="margin-top" title="" :column="3" :size="size" border> |
| | | <!-- <template #extra> |
| | | <div> |
| | | <el-descriptions class="margin-top" title="" :column="3" border> |
| | | <!-- <template #extra> |
| | | <el-button type="primary">Operation</el-button> |
| | | </template> --> |
| | | <el-descriptions-item :span="3"> |
| | | <template #label> |
| | | <div class="cell-item">交易主体</div> |
| | | </template> |
| | | {{ state.userInfo.transactionName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">企业名称</div> |
| | | </template> |
| | | {{ state.userInfo.enterpriseName }} |
| | | <el-descriptions-item :span="3"> |
| | | <template #label> |
| | | <div class="cell-item">交易主体</div> |
| | | </template> |
| | | {{ state.userInfo.transactionName }} |
| | | <el-tag v-if="!nowRole.hasFlsh" type="danger">资料审核中 </el-tag> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">企业名称</div> |
| | | </template> |
| | | {{ state.userInfo.enterpriseName }} |
| | | |
| | | <span @click="showImg('businessLicense')"> |
| | | <el-link type="primary" underline>查看营业执照</el-link> |
| | | </span> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">统一社会信用代码</div> |
| | | </template> |
| | | {{ state.userInfo.unifiedSocialCreditCode }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">注册资金</div> |
| | | </template> |
| | | {{ state.userInfo.registeredCapital }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :span="2"> |
| | | <template #label> |
| | | <div class="cell-item">企业类型</div> |
| | | </template> |
| | | {{ state.userInfo.enterpriseType }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">住所地</div> |
| | | </template> |
| | | {{ state.userInfo.residence }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">联系电话</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativePhone }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">成立时间</div> |
| | | </template> |
| | | {{ state.userInfo.establishmentTime }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :span="2"> |
| | | <template #label> |
| | | <div class="cell-item">电子邮箱</div> |
| | | </template> |
| | | {{ state.userInfo.enterpriseEmail }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :span="3" label-width="100"> |
| | | <template #label> |
| | | <div class="cell-item">主营业务</div> |
| | | </template> |
| | | {{ state.userInfo.mainBusiness }} |
| | | </el-descriptions-item> |
| | | <span @click="showImg('businessLicense')"> |
| | | <el-link type="primary" underline>查看营业执照</el-link> |
| | | </span> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">统一社会信用代码</div> |
| | | </template> |
| | | {{ state.userInfo.unifiedSocialCreditCode }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">注册资金</div> |
| | | </template> |
| | | {{ state.userInfo.registeredCapital }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :span="2"> |
| | | <template #label> |
| | | <div class="cell-item">企业类型</div> |
| | | </template> |
| | | {{ state.userInfo.enterpriseType }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">住所地</div> |
| | | </template> |
| | | {{ state.userInfo.residence }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">联系电话</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativePhone }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">成立时间</div> |
| | | </template> |
| | | {{ state.userInfo.establishmentTime }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :span="2"> |
| | | <template #label> |
| | | <div class="cell-item">电子邮箱</div> |
| | | </template> |
| | | {{ state.userInfo.enterpriseEmail }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :span="3" label-width="100"> |
| | | <template #label> |
| | | <div class="cell-item">主营业务</div> |
| | | </template> |
| | | {{ state.userInfo.mainBusiness }} |
| | | </el-descriptions-item> |
| | | |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">法定代表人</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativeName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">身份证</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativeIdNumber }} |
| | | <span @click="showImg('legalRepresentativeIdCard')"> |
| | | <el-link type="primary" underline>查看身份证</el-link> |
| | | </span> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">联系电话</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativePhone }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">业务经办人</div> |
| | | </template> |
| | | {{ state.userInfo.operatorName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">身份证</div> |
| | | </template> |
| | | {{ state.userInfo.operatorIdNumber }} |
| | | <span style="margin-right: auto" @click="showImg('operatorIdCard')"> |
| | | <el-link type="primary" underline>查看身份证</el-link> |
| | | </span> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">联系电话</div> |
| | | </template> |
| | | {{ state.userInfo.operatorPhone }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">开户银行</div> |
| | | </template> |
| | | {{ state.userInfo.bankName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">银行账号</div> |
| | | </template> |
| | | {{ state.userInfo.bankAccount }} |
| | | </el-descriptions-item> |
| | | </el-descriptions> |
| | | <div class="m-5"> |
| | | <el-button type="primary" :icon="Edit" @click="() => (showDialog = true)" |
| | | >修改资料</el-button |
| | | > |
| | | </div> |
| | | <el-dialog |
| | | v-model="showDialog" |
| | | title="修改资料" |
| | | :width="1500" |
| | | draggable |
| | | :close-on-click-modal="false" |
| | | > |
| | | <div v-loading="isLoading" class="flex justify-center mt-5"> |
| | | <el-form |
| | | ref="ruleFormRef" |
| | | style="width: 95%" |
| | | :model="state.ruleForm" |
| | | :rules="state.rules" |
| | | label-width="auto" |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">法定代表人</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativeName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">身份证</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativeIdNumber }} |
| | | <span @click="showImg('legalRepresentativeIdCard')"> |
| | | <el-link type="primary" underline>查看身份证</el-link> |
| | | </span> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">联系电话</div> |
| | | </template> |
| | | {{ state.userInfo.legalRepresentativePhone }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">业务经办人</div> |
| | | </template> |
| | | {{ state.userInfo.operatorName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">身份证</div> |
| | | </template> |
| | | {{ state.userInfo.operatorIdNumber }} |
| | | <span style="margin-right: auto" @click="showImg('operatorIdCard')"> |
| | | <el-link type="primary" underline>查看身份证</el-link> |
| | | </span> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">联系电话</div> |
| | | </template> |
| | | {{ state.userInfo.operatorPhone }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">开户银行</div> |
| | | </template> |
| | | {{ state.userInfo.bankName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template #label> |
| | | <div class="cell-item">银行账号</div> |
| | | </template> |
| | | {{ state.userInfo.bankAccount }} |
| | | </el-descriptions-item> |
| | | </el-descriptions> |
| | | <div class="m-5"> |
| | | <el-button type="primary" :icon="Edit" @click="() => (showDialog = true)" |
| | | >修改资料</el-button |
| | | > |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="企业类型" prop="enterpriseType"> |
| | | <el-tree-select |
| | | v-model="state.ruleForm.enterpriseType" |
| | | :data="state.enterpriseList" |
| | | multiple |
| | | node-key="name" |
| | | :render-after-expand="false" |
| | | show-checkbox |
| | | check-strictly |
| | | check-on-click-node |
| | | :load="loadNode" |
| | | lazy |
| | | :props="{ label: 'name', children: 'child', isLeaf: 'leaf' }" |
| | | /> |
| | | <!-- <el-select |
| | | </div> |
| | | <el-dialog |
| | | v-model="showDialog" |
| | | title="修改资料" |
| | | :width="1500" |
| | | draggable |
| | | :close-on-click-modal="false" |
| | | > |
| | | <div v-loading="isLoading" class="flex justify-center mt-5"> |
| | | <el-form |
| | | ref="ruleFormRef" |
| | | style="width: 95%" |
| | | :model="state.ruleForm" |
| | | :rules="state.rules" |
| | | label-width="auto" |
| | | > |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="企业类型" prop="enterpriseType"> |
| | | <el-tree-select |
| | | v-model="state.ruleForm.enterpriseType" |
| | | :data="state.enterpriseList" |
| | | multiple |
| | | node-key="name" |
| | | :render-after-expand="false" |
| | | show-checkbox |
| | | check-strictly |
| | | check-on-click-node |
| | | :load="loadNode" |
| | | lazy |
| | | :props="{ label: 'name', children: 'child', isLeaf: 'leaf' }" |
| | | /> |
| | | <!-- <el-select |
| | | v-model="state.ruleForm.enterpriseType" |
| | | placeholder="请选择" |
| | | clearable |
| | |
| | | :value="item.code" |
| | | /> |
| | | </el-select> --> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row><div class="baseclass">基本资料</div></el-row> |
| | | <!-- <el-row> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row><div class="baseclass">基本资料</div></el-row> |
| | | <!-- <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="交易主体"> |
| | | <el-input |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> --> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="营业执照" prop="businessLicense"> |
| | | <el-upload |
| | | :action="`${baseUrlApi('/api/upFile/upBizLicense')}`" |
| | | :show-file-list="false" |
| | | :on-success="handleAvatarSuccess" |
| | | :before-upload="beforeAvatarUpload" |
| | | :headers="state.headers" |
| | | > |
| | | <img |
| | | v-if="state.ruleForm.businessLicense" |
| | | :src="state.ruleForm.businessLicense" |
| | | width="200px" |
| | | height="150px" |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="营业执照" prop="businessLicense"> |
| | | <el-upload |
| | | :action="`${baseUrlApi('/api/upFile/upBizLicense')}`" |
| | | :show-file-list="false" |
| | | :on-success="handleAvatarSuccess" |
| | | :before-upload="beforeAvatarUpload" |
| | | :headers="state.headers" |
| | | > |
| | | <img |
| | | v-if="state.ruleForm.businessLicense" |
| | | :src="state.ruleForm.businessLicense" |
| | | width="200px" |
| | | height="150px" |
| | | /> |
| | | <el-button v-else type="primary">上传</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="企业名称" prop="enterpriseName"> |
| | | <el-input |
| | | v-model="state.ruleForm.enterpriseName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | <el-button v-else type="primary">上传</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="企业名称" prop="enterpriseName"> |
| | | <el-input |
| | | v-model="state.ruleForm.enterpriseName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item |
| | | label="统一社会信用代码" |
| | | prop="unifiedSocialCreditCode" |
| | | > |
| | | <el-input |
| | | v-model="state.ruleForm.unifiedSocialCreditCode" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="注册资金" prop="registeredCapital"> |
| | | <el-input |
| | | v-model="state.ruleForm.registeredCapital" |
| | | disabled |
| | | placeholder="请输入" |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item |
| | | label="统一社会信用代码" |
| | | prop="unifiedSocialCreditCode" |
| | | > |
| | | <template #append>万元</template></el-input |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="8" :xl="8"> |
| | | <el-form-item label="法定代表人" prop="legalRepresentativeName"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativeName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-input |
| | | v-model="state.ruleForm.unifiedSocialCreditCode" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="注册资金" prop="registeredCapital"> |
| | | <el-input |
| | | v-model="state.ruleForm.registeredCapital" |
| | | disabled |
| | | placeholder="请输入" |
| | | > |
| | | <template #append>万元</template></el-input |
| | | > |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="8" :xl="8"> |
| | | <el-form-item label="法定代表人" prop="legalRepresentativeName"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativeName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16"> |
| | | <el-form-item label="住所地" prop="residence"> |
| | | <el-input |
| | | v-model="state.ruleForm.residence" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="成立时间" prop="establishmentTime"> |
| | | <el-input |
| | | v-model="state.ruleForm.establishmentTime" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="主营业务" prop="mainBusiness"> |
| | | <el-input |
| | | v-model="state.ruleForm.mainBusiness" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="联系电话" prop="enterprisePhone"> |
| | | <el-input |
| | | v-model="state.ruleForm.enterprisePhone" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="邮箱" prop="enterpriseEmail"> |
| | | <el-input |
| | | v-model="state.ruleForm.enterpriseEmail" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="法定代表人" prop="legalRepresentativeIdCard"> |
| | | <el-upload |
| | | :action="`${baseUrlApi('/api/upFile/uploadIdCord?PageName=FRONT')}`" |
| | | :show-file-list="false" |
| | | :on-success="handleAvatarSuccessLegalRepresentative" |
| | | :before-upload="beforeAvatarUpload" |
| | | :headers="state.headers" |
| | | > |
| | | <img |
| | | v-if="state.ruleForm.legalRepresentativeIdCard" |
| | | :src="state.ruleForm.legalRepresentativeIdCard" |
| | | width="85.6px" |
| | | height="5.4px" |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16"> |
| | | <el-form-item label="住所地" prop="residence"> |
| | | <el-input |
| | | v-model="state.ruleForm.residence" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | <el-button v-else type="primary">上传身份证</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="姓名" prop="legalRepresentativeName"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativeName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="身份证" prop="legalRepresentativeIdNumber"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativeIdNumber" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="联系电话" prop="legalRepresentativePhone"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativePhone" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="业务经办人" prop="operatorIdCard"> |
| | | <el-upload |
| | | :action="`${baseUrlApi('/api/upFile/uploadIdCord?PageName=FRONT')}`" |
| | | :show-file-list="false" |
| | | :on-success="handleAvatarSuccessOperator" |
| | | :before-upload="beforeAvatarUpload" |
| | | :headers="state.headers" |
| | | > |
| | | <img |
| | | v-if="state.ruleForm.operatorIdCard" |
| | | :src="state.ruleForm.operatorIdCard" |
| | | width="85.6px" |
| | | height="5.4px" |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="成立时间" prop="establishmentTime"> |
| | | <el-input |
| | | v-model="state.ruleForm.establishmentTime" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | <el-button v-else type="primary">上传身份证</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="姓名" prop="operatorName"> |
| | | <el-input |
| | | v-model="state.ruleForm.operatorName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="身份证" prop="operatorIdNumber"> |
| | | <el-input |
| | | v-model="state.ruleForm.operatorIdNumber" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="联系电话" prop="operatorPhone"> |
| | | <el-input |
| | | v-model="state.ruleForm.operatorPhone" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="开户行" prop="bankName"> |
| | | <el-input |
| | | v-model="state.ruleForm.bankName" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16"> |
| | | <el-form-item label="银行账号" prop="bankAccount"> |
| | | <el-input |
| | | v-model="state.ruleForm.bankAccount" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </div> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="() => (showDialog = false)">取 消</el-button> |
| | | <el-button type="primary" :disabled="isLoading" @click="modifyData" |
| | | >确 定</el-button |
| | | > |
| | | </span> |
| | | </template> |
| | | </el-dialog> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="主营业务" prop="mainBusiness"> |
| | | <el-input |
| | | v-model="state.ruleForm.mainBusiness" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="联系电话" prop="enterprisePhone"> |
| | | <el-input |
| | | v-model="state.ruleForm.enterprisePhone" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="邮箱" prop="enterpriseEmail"> |
| | | <el-input |
| | | v-model="state.ruleForm.enterpriseEmail" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="法定代表人" prop="legalRepresentativeIdCard"> |
| | | <el-upload |
| | | :action="`${baseUrlApi('/api/upFile/uploadIdCord?PageName=FRONT')}`" |
| | | :show-file-list="false" |
| | | :on-success="handleAvatarSuccessLegalRepresentative" |
| | | :before-upload="beforeAvatarUpload" |
| | | :headers="state.headers" |
| | | > |
| | | <img |
| | | v-if="state.ruleForm.legalRepresentativeIdCard" |
| | | :src="state.ruleForm.legalRepresentativeIdCard" |
| | | width="85.6px" |
| | | height="5.4px" |
| | | /> |
| | | <el-button v-else type="primary">上传身份证</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="姓名" prop="legalRepresentativeName"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativeName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="身份证" prop="legalRepresentativeIdNumber"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativeIdNumber" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="联系电话" prop="legalRepresentativePhone"> |
| | | <el-input |
| | | v-model="state.ruleForm.legalRepresentativePhone" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24"> |
| | | <el-form-item label="业务经办人" prop="operatorIdCard"> |
| | | <el-upload |
| | | :action="`${baseUrlApi('/api/upFile/uploadIdCord?PageName=FRONT')}`" |
| | | :show-file-list="false" |
| | | :on-success="handleAvatarSuccessOperator" |
| | | :before-upload="beforeAvatarUpload" |
| | | :headers="state.headers" |
| | | > |
| | | <img |
| | | v-if="state.ruleForm.operatorIdCard" |
| | | :src="state.ruleForm.operatorIdCard" |
| | | width="85.6px" |
| | | height="5.4px" |
| | | /> |
| | | <el-button v-else type="primary">上传身份证</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="姓名" prop="operatorName"> |
| | | <el-input |
| | | v-model="state.ruleForm.operatorName" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="身份证" prop="operatorIdNumber"> |
| | | <el-input |
| | | v-model="state.ruleForm.operatorIdNumber" |
| | | disabled |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="联系电话" prop="operatorPhone"> |
| | | <el-input |
| | | v-model="state.ruleForm.operatorPhone" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"> |
| | | <el-form-item label="开户行" prop="bankName"> |
| | | <el-input |
| | | v-model="state.ruleForm.bankName" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16"> |
| | | <el-form-item label="银行账号" prop="bankAccount"> |
| | | <el-input |
| | | v-model="state.ruleForm.bankAccount" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </div> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="() => (showDialog = false)">取 消</el-button> |
| | | <el-button type="primary" :disabled="isLoading" @click="modifyData" |
| | | >确 定</el-button |
| | | > |
| | | </span> |
| | | </template> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <style lang="scss"> |