客户管理提交

pull/1/head
huchuanhu 1 year ago
parent 80e367f5ee
commit 7c44ab110b

@ -2,7 +2,9 @@ package com.yunxi.scm.module.xxjj.controller.admin.subjectbasic;
import com.yunxi.scm.module.system.dal.dataobject.businesswarehouse.BusinessWarehouseDO; import com.yunxi.scm.module.system.dal.dataobject.businesswarehouse.BusinessWarehouseDO;
import com.yunxi.scm.module.system.dal.dataobject.dept.DeptDO; import com.yunxi.scm.module.system.dal.dataobject.dept.DeptDO;
import com.yunxi.scm.module.system.dal.dataobject.user.AdminUserDO;
import com.yunxi.scm.module.system.service.businesswarehouse.BusinessWarehouseService; import com.yunxi.scm.module.system.service.businesswarehouse.BusinessWarehouseService;
import com.yunxi.scm.module.system.service.user.AdminUserService;
import com.yunxi.scm.module.xxjj.controller.admin.subjectbusiness.vo.SubjectBusinessExportReqVO; import com.yunxi.scm.module.xxjj.controller.admin.subjectbusiness.vo.SubjectBusinessExportReqVO;
import com.yunxi.scm.module.xxjj.controller.admin.subjectcontacts.vo.SubjectContactsExportReqVO; import com.yunxi.scm.module.xxjj.controller.admin.subjectcontacts.vo.SubjectContactsExportReqVO;
import com.yunxi.scm.module.xxjj.controller.admin.subjectrepresentative.vo.SubjectRepresentativeExportReqVO; import com.yunxi.scm.module.xxjj.controller.admin.subjectrepresentative.vo.SubjectRepresentativeExportReqVO;
@ -14,6 +16,8 @@ import com.yunxi.scm.module.xxjj.service.subjectbusiness.SubjectBusinessService;
import com.yunxi.scm.module.xxjj.service.subjectcontacts.SubjectContactsService; import com.yunxi.scm.module.xxjj.service.subjectcontacts.SubjectContactsService;
import com.yunxi.scm.module.xxjj.service.subjectrepresentative.SubjectRepresentativeService; import com.yunxi.scm.module.xxjj.service.subjectrepresentative.SubjectRepresentativeService;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource; import javax.annotation.Resource;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
@ -60,6 +64,9 @@ public class SubjectBasicController {
private BusinessWarehouseService businessWarehouseService; private BusinessWarehouseService businessWarehouseService;
@Resource @Resource
private SubjectBasicMapper subjectBasicMapper; private SubjectBasicMapper subjectBasicMapper;
@Resource
private AdminUserService adminUserService;
@PostMapping("/create") @PostMapping("/create")
@ -92,10 +99,20 @@ public class SubjectBasicController {
@PreAuthorize("@ss.hasPermission('xxjj:subject-basic:query')") @PreAuthorize("@ss.hasPermission('xxjj:subject-basic:query')")
public CommonResult<SubjectBasicRespVO> getSubjectBasic(@RequestParam("id") Long id) { public CommonResult<SubjectBasicRespVO> getSubjectBasic(@RequestParam("id") Long id) {
SubjectBasicDO subjectBasic = subjectBasicService.getSubjectBasic(id); SubjectBasicDO subjectBasic = subjectBasicService.getSubjectBasic(id);
if(StringUtils.isNoneBlank(subjectBasic.getBelongingPeople())){
AdminUserDO adminUserDO = adminUserService.getUser(Long.parseLong(subjectBasic.getBelongingPeople()));
subjectBasic.setBelongingPeopleName(adminUserDO.getNickname());
}
SubjectContactsExportReqVO exportReqVO = new SubjectContactsExportReqVO(); SubjectContactsExportReqVO exportReqVO = new SubjectContactsExportReqVO();
exportReqVO.setBusinessId(id); exportReqVO.setBusinessId(id);
List<SubjectContactsDO> subjectContactsDOList = subjectContactsService.getSubjectContactsList(exportReqVO); List<SubjectContactsDO> subjectContactsDOList = subjectContactsService.getSubjectContactsList(exportReqVO);
subjectBasic.setSubjectContactsDOList(subjectContactsDOList); subjectBasic.setSubjectContactsDOList(subjectContactsDOList);
for (SubjectContactsDO subjectContactsDO :subjectContactsDOList ) {
if(ObjectUtils.equals(subjectContactsDO.getContactsType(), "1")){
subjectBasic.setDefaultContacts(subjectContactsDO.getName() + "(" + subjectContactsDO.getMobile() + ")");
}
break;
}
SubjectRepresentativeExportReqVO subjectRepresentativeExportReqVO = new SubjectRepresentativeExportReqVO(); SubjectRepresentativeExportReqVO subjectRepresentativeExportReqVO = new SubjectRepresentativeExportReqVO();
subjectRepresentativeExportReqVO.setBusinessId(id); subjectRepresentativeExportReqVO.setBusinessId(id);
List<SubjectRepresentativeDO> subjectRepresentativeDOList = subjectRepresentativeService.getSubjectRepresentativeList(subjectRepresentativeExportReqVO); List<SubjectRepresentativeDO> subjectRepresentativeDOList = subjectRepresentativeService.getSubjectRepresentativeList(subjectRepresentativeExportReqVO);
@ -104,10 +121,16 @@ public class SubjectBasicController {
subjectBusinessExportReqVO.setBusinessId(id); subjectBusinessExportReqVO.setBusinessId(id);
List<SubjectBusinessDO> subjectBusinessDOList = subjectBusinessService.getSubjectBusinessList(subjectBusinessExportReqVO); List<SubjectBusinessDO> subjectBusinessDOList = subjectBusinessService.getSubjectBusinessList(subjectBusinessExportReqVO);
List<BusinessWarehouseDO> businessWarehouseDOList = new ArrayList<>(); List<BusinessWarehouseDO> businessWarehouseDOList = new ArrayList<>();
String businessWarehouseName = "";
for (SubjectBusinessDO subjectBusinessDO : subjectBusinessDOList) { for (SubjectBusinessDO subjectBusinessDO : subjectBusinessDOList) {
BusinessWarehouseDO businessWarehouseDO = businessWarehouseService.getBusinessWarehouse(subjectBusinessDO.getBusinessLineId()); BusinessWarehouseDO businessWarehouseDO = businessWarehouseService.getBusinessWarehouse(subjectBusinessDO.getBusinessLineId());
businessWarehouseName = businessWarehouseName + businessWarehouseDO.getName() + ",";
businessWarehouseDOList.add(businessWarehouseDO); businessWarehouseDOList.add(businessWarehouseDO);
} }
if(businessWarehouseName.length() > 0){
businessWarehouseName = businessWarehouseName.substring(0, businessWarehouseName.length() - 1);
}
subjectBasic.setBusinessWarehouseName(businessWarehouseName);
subjectBasic.setBusinessWarehouseDOList(businessWarehouseDOList); subjectBasic.setBusinessWarehouseDOList(businessWarehouseDOList);
return success(SubjectBasicConvert.INSTANCE.convert(subjectBasic)); return success(SubjectBasicConvert.INSTANCE.convert(subjectBasic));
} }

@ -309,4 +309,13 @@ public class SubjectBasicBaseVO {
@Schema(description = "人员名称") @Schema(description = "人员名称")
private String nickname; private String nickname;
@Schema(description = "归属人员姓名")
private String belongingPeopleName;
@Schema(description = "默认联系人 姓名(电话)")
private String defaultContacts;
@Schema(description = "业务线名字逗号拼接")
private String businessWarehouseName;
} }

@ -413,4 +413,16 @@ public class SubjectBasicDO extends BaseDO {
@TableField(exist = false) @TableField(exist = false)
private List<BusinessWarehouseDO> businessWarehouseDOList; private List<BusinessWarehouseDO> businessWarehouseDOList;
/**
*
*/
@TableField(exist = false)
private String belongingPeopleName;
@TableField(exist = false)
private String defaultContacts;
@TableField(exist = false)
private String businessWarehouseName;
} }

@ -212,7 +212,9 @@ export enum DICT_TYPE {
CUSTOM_TYPE = 'custom_type', //客户类型 CUSTOM_TYPE = 'custom_type', //客户类型
FUNDS_TYPE = 'funds_type', //资金款项 FUNDS_TYPE = 'funds_type', //资金款项
COOPERATE_TYPE = 'cooperate_type', //合作模式 COOPERATE_TYPE = 'cooperate_type', //合作模式
contacts_type = 'contacts_type', //合作模式
collaboration_method = 'collaboration_method', //合作模式
settlement_method = 'settlement_method', //合作模式
// ============= PRODUCT 模块================= // ============= PRODUCT 模块=================
PRODUCT_STATUS = 'product_status', //商品状态 PRODUCT_STATUS = 'product_status', //商品状态
PRODUCT_TYPE = 'product_type', //商品类型 PRODUCT_TYPE = 'product_type', //商品类型

@ -9,8 +9,8 @@
<el-col :span="24"> <el-col :span="24">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<div style="float: left;"><el-image style="width: 100px; height: 100px" fit="fill" /></div> <div style="float: left;"><el-image style="width: 100px; height: 100px" fit="fill" :src= "formData.logo"/></div>
<div style="height: 100px; line-height: 100px;float: left;">江阴华润制钢有限公司一级客户</div> <div style="height: 100px; line-height: 100px;float: left;">{{formData.name}}</div>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<div style="float: right;"> <div style="float: right;">
@ -41,13 +41,13 @@
<el-col :span="6"> <el-col :span="6">
<el-row> <el-row>
<el-col :span="6" class="xy-label">企业性质</el-col> <el-col :span="6" class="xy-label">企业性质</el-col>
<el-col :span="18" class="xy-text">外资企业</el-col> <el-col :span="18" class="xy-text">{{getDictLabel('enterprise_nature' ,formData.enterpriseNature)}}</el-col>
</el-row> </el-row>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-row> <el-row>
<el-col :span="6" class="xy-label">行业分类</el-col> <el-col :span="6" class="xy-label">行业分类</el-col>
<el-col :span="18" class="xy-text">行业分类</el-col> <el-col :span="18" class="xy-text">{{getDictLabel('industry_classify' ,formData.industryClassify)}}</el-col>
</el-row> </el-row>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
@ -62,26 +62,26 @@
<el-col :span="6"> <el-col :span="6">
<el-row> <el-row>
<el-col :span="6" class="xy-label">创建时间</el-col> <el-col :span="6" class="xy-label">创建时间</el-col>
<el-col :span="18" class="xy-text">2023-08-23 23:26:08</el-col> <el-col :span="18" class="xy-text">{{ dayjs(formData.createTime).format('YYYY-MM-DD HH:mm:ss') }}</el-col>
</el-row> </el-row>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-row> <el-row>
<el-col :span="6" class="xy-label">默认联系人</el-col> <el-col :span="6" class="xy-label">默认联系人</el-col>
<el-col :span="18" class="xy-text">李总13112345678</el-col> <el-col :span="18" class="xy-text">{{formData.defaultContacts}}</el-col>
</el-row> </el-row>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-row> <el-row>
<el-col :span="6" class="xy-label">归属人员</el-col> <el-col :span="6" class="xy-label">归属人员</el-col>
<el-col :span="18" class="xy-text">张总 (已锁定到期时间10/30)</el-col> <el-col :span="18" class="xy-text">{{formData.belongingPeopleName}}</el-col>
</el-row> </el-row>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-row> <el-row>
<el-col :span="8">已启用</el-col> <el-col :span="8">{{getDictLabel('customer_status' ,formData.customerStatus)}}</el-col>
<el-col :span="8">正在跟进</el-col> <el-col :span="8">{{getDictLabel('industry_schedule' ,formData.industrySchedule)}}</el-col>
<!-- <el-col :span="8"><el-rate :model-value="2" clearable /></el-col> --> <el-col :span="8"><el-rate :model-value="formData.customerStarrating" clearable /></el-col>
</el-row> </el-row>
</el-col> </el-col>
</el-row> </el-row>
@ -92,17 +92,17 @@
<el-tabs v-model="activeTabN" class="xy-tabs"> <el-tabs v-model="activeTabN" class="xy-tabs">
<el-tab-pane label="基础信息" name="tabN1"> <el-tab-pane label="基础信息" name="tabN1">
<template v-if="activeTabN == 'tabN1'"> <template v-if="activeTabN == 'tabN1'">
<InfoBasic /> <InfoBasic :formData='formData' />
</template> </template>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="资质信息" name="tabN2"> <el-tab-pane label="资质信息" name="tabN2">
<template v-if="activeTabN == 'tabN2'"> <template v-if="activeTabN == 'tabN2'">
<InfoQualification /> <InfoQualification :formData='formData' />
</template> </template>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="财务信息" name="tabN3"> <el-tab-pane label="财务信息" name="tabN3">
<template v-if="activeTabN == 'tabN3'"> <template v-if="activeTabN == 'tabN3'">
<InfoFinancial /> <InfoFinancial :formData='formData' />
</template> </template>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="合同信息" name="tabN4"> <el-tab-pane label="合同信息" name="tabN4">
@ -135,6 +135,8 @@
</template> </template>
<script setup lang="ts" name="CustomerDetails"> <script setup lang="ts" name="CustomerDetails">
import { getDictLabel } from '@/utils/dict'
import dayjs from 'dayjs'
import InfoBasic from './src/InfoBasic.vue' import InfoBasic from './src/InfoBasic.vue'
import InfoQualification from './src/InfoQualification.vue' import InfoQualification from './src/InfoQualification.vue'
import InfoFinancial from './src/InfoFinancial.vue' import InfoFinancial from './src/InfoFinancial.vue'
@ -154,6 +156,8 @@ const formData:any = ref({
calssifyName: undefined, calssifyName: undefined,
logo: undefined, logo: undefined,
enterpriseNature: undefined, enterpriseNature: undefined,
defaultContacts: undefined,
businessWarehouseName: undefined,
industryClassify: undefined, industryClassify: undefined,
customerSource: undefined, customerSource: undefined,
customerStarrating: undefined, customerStarrating: undefined,
@ -318,6 +322,8 @@ const resetForm = () => {
name: undefined, name: undefined,
logo: undefined, logo: undefined,
enterpriseNature: undefined, enterpriseNature: undefined,
businessWarehouseName: undefined,
defaultContacts: undefined,
industryClassify: undefined, industryClassify: undefined,
customerSource: undefined, customerSource: undefined,
customerStarrating: undefined, customerStarrating: undefined,
@ -482,7 +488,6 @@ onMounted(async() => {
if (id) { if (id) {
try { try {
formData.value = await SubjectBasicApi.getSubjectBasic(id) formData.value = await SubjectBasicApi.getSubjectBasic(id)
debugger
} finally { } finally {
} }
}else{ }else{

@ -4,7 +4,7 @@
流程进度 流程进度
</template> </template>
<template #default> <template #default>
<el-steps :active="1"> <el-steps :active="props.formData.customerStatus">
<el-step title="提交申请" description="2023-08-22 12:00:00" /> <el-step title="提交申请" description="2023-08-22 12:00:00" />
<el-step title="组织审核" description="2023-08-22 12:00:00" /> <el-step title="组织审核" description="2023-08-22 12:00:00" />
<el-step title="风控核准" description="2023-08-22 12:00:00" /> <el-step title="风控核准" description="2023-08-22 12:00:00" />
@ -29,7 +29,7 @@
客户名称 客户名称
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
江阴华润制钢有限公司 {{props.formData.name}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
企业编号 企业编号
@ -41,7 +41,7 @@
企业性质 企业性质
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
外资企业 {{getDictLabel('enterprise_nature' ,props.formData.enterpriseNature)}}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -49,19 +49,19 @@
行业分类 行业分类
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
行业分类 {{getDictLabel('industry_classify' ,props.formData.industryClassify)}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
客户来源 客户来源
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
电话营销 {{getDictLabel('customer_source' ,props.formData.customerSource)}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
信用等级 信用等级
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
4 {{getDictLabel('customer_starrating' ,props.formData.customerStarrating)}}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -69,19 +69,19 @@
所在城市 所在城市
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
江苏省无锡市江阴市 {{props.formData.city}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
归属人员 归属人员
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
张总 (已锁定到期时间10/30) {{props.formData.belongingPeopleName}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
更新时间 创建时间
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
2023-08-23 23:26:08 {{ dayjs(props.formData.createTime).format('YYYY-MM-DD HH:mm:ss') }}
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
@ -96,19 +96,19 @@
所在国家 所在国家
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
中国CN {{props.formData.country}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
所在省市 所在省市
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
江苏省江阴市 {{props.formData.city}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
详细地址 详细地址
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
月城镇北环路58号 {{props.formData.address}}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -116,19 +116,19 @@
公司电话 公司电话
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
0510-8698**** {{props.formData.phone}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
公司传真 公司传真
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
0510-8698**** {{props.formData.companyFax}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
公司网址 公司网址
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
http://www.jyxxsteel.com {{props.formData.companyHttp}}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -136,9 +136,7 @@
公司介绍 公司介绍
</el-col> </el-col>
<el-col :span="22" class="xy-text"> <el-col :span="22" class="xy-text">
生产钢坯钢材及其制品不锈钢制品的生产加工销售依法须经批准的项目经相关部门批准后方可开展经营活动 {{props.formData.companyProfile}}
许可项目港口经营港口货物装卸搬运活动依法须经批准的项目经相关部门批准后方可开展经营活动具体经营项目以审批结果为准
一般项目装卸搬运普通货物仓储服务不含危险化学品等需许可审批的项目除依法须经批准的项目外凭营业执照依法自主开展经营活动
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
@ -153,7 +151,7 @@
合作范围 合作范围
</el-col> </el-col>
<el-col :span="22" class="xy-text"> <el-col :span="22" class="xy-text">
废钢废铝废铜 {{props.formData.businessWarehouseName}}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -161,19 +159,19 @@
合作起始时间 合作起始时间
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
2022-11-10 2040-11-09 {{ dayjs(props.formData.collaborationStart).format('YYYY-MM-DD') }} {{ dayjs(props.formData.collaborationEnd).format('YYYY-MM-DD') }}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
需求量(每月) 需求量(每月)
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
1000 10000 {{props.formData.demandVolumeDown}} {{props.formData.demandVolumeUpper}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
资金额度 资金额度
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
1000万元 {{props.formData.fundLimit}}万元
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
@ -188,7 +186,7 @@
营业时间 营业时间
</el-col> </el-col>
<el-col :span="22" class="xy-text"> <el-col :span="22" class="xy-text">
周一周二周三周四周五周六 09:00 21:00 {{props.formData.businessHours}} {{ dayjs(props.formData.businessStart).format('HH:mm') }} {{ dayjs(props.formData.businessEnd).format('HH:mm') }}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -196,34 +194,32 @@
允许卸货时间 允许卸货时间
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
09:00 21:00 {{ dayjs(props.formData.allowableUnloadingStart).format('HH:mm') }} {{ dayjs(props.formData.allowableUnloadingEnd).format('HH:mm') }}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
卸货时长 卸货时长
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.unloading}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
卸货效率 卸货效率
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.unloadingEfficiency}}</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
允许装货时间 允许装货时间
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
09:00 21:00 {{ dayjs(props.formData.allowableShipmentStart).format('HH:mm') }} {{ dayjs(props.formData.allowableShipmentEnd).format('HH:mm') }}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
装货时长 装货时长
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">{{props.formData.shipment}}</el-col>
</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
装货效率 装货效率
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">{{props.formData.shipmentEffciency}}</el-col>
</el-col>
</el-row> </el-row>
</template> </template>
</el-card> </el-card>
@ -234,15 +230,18 @@
<template #default> <template #default>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-table :data="listA" :border="true" :stripe="true" :show-overflow-tooltip="true" <el-table :data="props.formData.subjectContactsDOList" :border="true" :stripe="true" :show-overflow-tooltip="true"
class="xy-table"> class="xy-table">
<el-table-column prop="k1" label="类型" /> <el-table-column label="类型" prop="contactsType" width="120px">
<el-table-column prop="k2" label="姓名" /> <template #default="scope">
<el-table-column prop="k3" label="手机号" /> <dict-tag :type="DICT_TYPE.contacts_type" :value="scope.row.contactsType" />
<el-table-column prop="k4" label="座机" /> </template>
<el-table-column prop="k5" label="传真" /> </el-table-column>
<el-table-column prop="k6" label="邮箱" /> <el-table-column prop="name" label="姓名" />
<el-table-column prop="k7" label="最后更新时间" /> <el-table-column prop="mobile" label="手机号" />
<el-table-column prop="phone" label="座机" />
<el-table-column prop="address" label="地址" />
<el-table-column prop="emaile" label="邮箱" />
</el-table> </el-table>
</el-col> </el-col>
</el-row> </el-row>
@ -258,30 +257,30 @@
客户类型 客户类型
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
国内客户 {{getDictLabel('enterprise_nature' ,props.formData.reservedFields1)}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
账户类型 账户类型
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{getDictLabel('enterprise_nature' ,props.formData.reservedFields2)}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields3}}</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields4}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields5}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields6}}</el-col>
</el-row> </el-row>
</template> </template>
</el-card> </el-card>
@ -290,6 +289,11 @@
</template> </template>
<script setup lang="ts" name="InfoBasic"> <script setup lang="ts" name="InfoBasic">
import { defineProps, defineEmits } from 'vue'
import { DICT_TYPE, getStrDictOptions, getIntDictOptions, getDictLabel } from '@/utils/dict'
import dayjs from 'dayjs'
const props = defineProps(['formData']) //
const listA: any = ref([ const listA: any = ref([
{ {
k1: '默认联系人', k1: '默认联系人',

@ -14,44 +14,30 @@
客户类型 客户类型
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
国内客户 {{getDictLabel('customer_type' ,props.formData.reservedFields1)}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
账户类型 账户类型
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{getDictLabel('account_type' ,props.formData.reservedFields2)}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields3}}</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields4}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields5}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
扩展字段 扩展字段
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.reservedFields6}}</el-col>
</el-row>
<el-row>
<el-col :span="2" class="xy-label">
扩展字段
</el-col>
<el-col :span="6" class="xy-text"></el-col>
<el-col :span="2" class="xy-label">
扩展字段
</el-col>
<el-col :span="6" class="xy-text"></el-col>
<el-col :span="2" class="xy-label">
扩展字段
</el-col>
<el-col :span="6" class="xy-text"></el-col>
</el-row> </el-row>
</template> </template>
</el-card> </el-card>
@ -65,18 +51,18 @@
合作方式 合作方式
</el-col> </el-col>
<el-col :span="22" class="xy-text"> <el-col :span="22" class="xy-text">
买断 {{getDictLabel('collaboration_method' ,props.formData.collaborationMethod)}}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
结算方式 结算方式
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{getDictLabel('settlement_method' ,props.formData.settlementMethod)}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
账期 账期
</el-col> </el-col>
<el-col :span="14" class="xy-text"></el-col> <el-col :span="14" class="xy-text">{{props.formData.accountPeriod}}</el-col>
</el-row> </el-row>
</template> </template>
</el-card> </el-card>
@ -90,7 +76,7 @@
压款方式 压款方式
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
按金额 {{getDictLabel('underpayment_method' ,props.formData.underpaymentMethod)}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
默认压款金额 默认压款金额
@ -99,13 +85,13 @@
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
实际压款金额 实际压款金额
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.applyForUnderpaymentRatio}}</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
保证金方式 保证金方式
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{getDictLabel('margin_method' ,props.formData.marginMethod)}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
默认保证金比例 默认保证金比例
</el-col> </el-col>
@ -113,13 +99,13 @@
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
实际保证比例 实际保证比例
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.applyForMarginRatio}}</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
逾期利率 逾期利率
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{getDictLabel('overdue_interest_rate' ,props.formData.overdueInterestRate)}}</el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
默认逾期利率 默认逾期利率
</el-col> </el-col>
@ -127,7 +113,7 @@
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
实际逾期利率 实际逾期利率
</el-col> </el-col>
<el-col :span="6" class="xy-text"></el-col> <el-col :span="6" class="xy-text">{{props.formData.applyForOverdueRatio}}</el-col>
</el-row> </el-row>
</template> </template>
</el-card> </el-card>
@ -136,6 +122,10 @@
</template> </template>
<script setup lang="ts" name="InfoFinancial"> <script setup lang="ts" name="InfoFinancial">
import { defineProps, defineEmits } from 'vue'
import { DICT_TYPE, getStrDictOptions, getIntDictOptions, getDictLabel } from '@/utils/dict'
import dayjs from 'dayjs'
const props = defineProps(['formData']) //
</script> </script>
<style lang="scss"></style> <style lang="scss"></style>

@ -20,13 +20,13 @@
企业名称 企业名称
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
江阴华润制钢有限公司 {{props.formData.name}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
企业性质 企业性质
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
外资企业 {{getDictLabel('enterprise_nature' ,props.formData.enterpriseNature)}}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -34,19 +34,19 @@
注册地址 注册地址
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
江苏省江阴市月城镇北环路58号 {{props.formData.registerAddress}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
社会统一信息代码 社会统一信息代码
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
9132028160798507XE {{props.formData.informationCode}}
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
经营期限 经营期限
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
1994-05-25 2044-05-24 {{ dayjs(props.formData.operateStart).format('YYYY-MM-DD') }} {{ dayjs(props.formData.operateEnd).format('YYYY-MM-DD') }}
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
@ -54,7 +54,7 @@
注册资金 注册资金
</el-col> </el-col>
<el-col :span="6" class="xy-text"> <el-col :span="6" class="xy-text">
155,535() {{props.formData.registerCapital}}()
</el-col> </el-col>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
证件照片 证件照片
@ -65,12 +65,10 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="2" class="xy-label"> <el-col :span="2" class="xy-label">
注册资金 经营范围
</el-col> </el-col>
<el-col :span="22" class="xy-text"> <el-col :span="22" class="xy-text">
生产钢坯钢材及其制品不锈钢制品的生产加工销售依法须经批准的项目经相关部门批准后方可开展经营活动 {{props.formData.businessScope}}
许可项目港口经营港口货物装卸搬运活动依法须经批准的项目经相关部门批准后方可开展经营活动具体经营项目以审批结果为准
一般项目装卸搬运普通货物仓储服务不含危险化学品等需许可审批的项目除依法须经批准的项目外凭营业执照依法自主开展经营活动
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
@ -82,15 +80,36 @@
<template #default> <template #default>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-table :data="listA" :border="true" :stripe="true" :show-overflow-tooltip="true" <el-table :data="props.formData.subjectRepresentativeDOList" :border="true" :stripe="true" :show-overflow-tooltip="true"
class="xy-table"> class="xy-table">
<el-table-column prop="k1" label="类型" /> <el-table-column label="代表人类型" prop="representativeType" width="120px">
<el-table-column prop="k2" label="姓名" /> <template #default="scope">
<el-table-column prop="k3" label="身份证照" /> <dict-tag :type="DICT_TYPE.representative_type" :value="scope.row.representativeType" />
<el-table-column prop="k4" label="身份证号" /> </template>
<el-table-column prop="k5" label="证件有效期" /> </el-table-column>
<el-table-column prop="k6" label="授权/证明文件" /> <el-table-column prop="name" label="姓名" />
<el-table-column prop="k7" label="更新时间" /> <el-table-column label="身份证照" prop="idCardPhoto1" width="250px">
<template #default="scope">
<el-row>
<el-col :span="8">
<el-image style="width: 46px; height: 46px" :src="scope.row.idCardPhoto1" fit="fill" />
</el-col>
<el-col :span="8">
<el-image style="width: 46px; height: 46px" :src="scope.row.idCardPhoto2" fit="fill" />
</el-col>
<el-col :span="8">
<el-image style="width: 46px; height: 46px" :src="scope.row.idCardPhoto3" fit="fill" />
</el-col>
</el-row>
</template>
</el-table-column>
<el-table-column prop="idCard" label="身份证号" />
<el-table-column label="证件有效期" prop="idCardDate">
<template #default="scope">
{{ dayjs(scope.row.idCardStart).format('YYYY-MM-DD') }} {{ dayjs(scope.row.idCardEnd).format('YYYY-MM-DD') }}
</template>
</el-table-column>
<el-table-column prop="authorizeFiles" label="授权/证明文件" />
</el-table> </el-table>
</el-col> </el-col>
</el-row> </el-row>
@ -136,6 +155,10 @@
</template> </template>
<script setup lang="ts" name="InfoQualification"> <script setup lang="ts" name="InfoQualification">
import { defineProps, defineEmits } from 'vue'
import { DICT_TYPE, getStrDictOptions, getIntDictOptions, getDictLabel } from '@/utils/dict'
import dayjs from 'dayjs'
const props = defineProps(['formData']) //
const listA: any = ref([ const listA: any = ref([
{ {
k1: '法定代表人', k1: '法定代表人',

Loading…
Cancel
Save