From c1f4520e8528ca8e854b2c23c5175748f46ed354 Mon Sep 17 00:00:00 2001 From: 17602169347 Date: Sun, 8 Oct 2023 16:43:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin-vben-master/src/utils/dict.ts | 8 +- .../SubjectBasicModal.vue | 0 .../src/views/xxjj/customer/index.vue | 26 +- .../views/xxjj/customer/subjectBasic.data.ts | 1732 +++++++++++++++++ .../SubjectBasicModal.vue} | 12 +- .../xxjj/{subjectBasic => service}/index.vue | 4 +- .../subjectBasic.data.ts | 0 .../views/xxjj/supplier/SubjectBasicModal.vue | 57 + .../src/views/xxjj/supplier/index.vue | 92 + .../subjectBasic.data.ts} | 1002 ++++++---- 10 files changed, 2533 insertions(+), 400 deletions(-) rename yudao-ui-admin-vben-master/src/views/xxjj/{subjectBasic => customer}/SubjectBasicModal.vue (100%) create mode 100644 yudao-ui-admin-vben-master/src/views/xxjj/customer/subjectBasic.data.ts rename yudao-ui-admin-vben-master/src/views/xxjj/{customer/CustomerModal.vue => service/SubjectBasicModal.vue} (80%) rename yudao-ui-admin-vben-master/src/views/xxjj/{subjectBasic => service}/index.vue (96%) rename yudao-ui-admin-vben-master/src/views/xxjj/{subjectBasic => service}/subjectBasic.data.ts (100%) create mode 100644 yudao-ui-admin-vben-master/src/views/xxjj/supplier/SubjectBasicModal.vue create mode 100644 yudao-ui-admin-vben-master/src/views/xxjj/supplier/index.vue rename yudao-ui-admin-vben-master/src/views/xxjj/{customer/customer.data.ts => supplier/subjectBasic.data.ts} (67%) diff --git a/yudao-ui-admin-vben-master/src/utils/dict.ts b/yudao-ui-admin-vben-master/src/utils/dict.ts index 8a150a0..75a8f67 100644 --- a/yudao-ui-admin-vben-master/src/utils/dict.ts +++ b/yudao-ui-admin-vben-master/src/utils/dict.ts @@ -162,5 +162,11 @@ export enum DICT_TYPE { // ============= ENTERPRISEBRANCHING 模块================= ENTERPRISE_TYPE = 'enterprise_type', //业务线类型 - + CUSTOMER_STATUS = 'customer_status', //客户状态 + CUSTOMER_CALSSIFY = 'customer_calssify', //客户分类 + CUSTOMER_STARRATING = 'customer_starrating', //客户星级 + industrySchedule = 'industry_schedule', //客户星级 + industryClassify = 'industry_classify', //客户星级 + customerSource = 'customer_source', //客户星级 + enterpriseNature = 'enterprise_nature', //客户星级 } diff --git a/yudao-ui-admin-vben-master/src/views/xxjj/subjectBasic/SubjectBasicModal.vue b/yudao-ui-admin-vben-master/src/views/xxjj/customer/SubjectBasicModal.vue similarity index 100% rename from yudao-ui-admin-vben-master/src/views/xxjj/subjectBasic/SubjectBasicModal.vue rename to yudao-ui-admin-vben-master/src/views/xxjj/customer/SubjectBasicModal.vue diff --git a/yudao-ui-admin-vben-master/src/views/xxjj/customer/index.vue b/yudao-ui-admin-vben-master/src/views/xxjj/customer/index.vue index e906d5d..4c89060 100644 --- a/yudao-ui-admin-vben-master/src/views/xxjj/customer/index.vue +++ b/yudao-ui-admin-vben-master/src/views/xxjj/customer/index.vue @@ -2,10 +2,10 @@
@@ -13,12 +13,12 @@ diff --git a/yudao-ui-admin-vben-master/src/views/xxjj/supplier/index.vue b/yudao-ui-admin-vben-master/src/views/xxjj/supplier/index.vue new file mode 100644 index 0000000..4a7119b --- /dev/null +++ b/yudao-ui-admin-vben-master/src/views/xxjj/supplier/index.vue @@ -0,0 +1,92 @@ + + diff --git a/yudao-ui-admin-vben-master/src/views/xxjj/customer/customer.data.ts b/yudao-ui-admin-vben-master/src/views/xxjj/supplier/subjectBasic.data.ts similarity index 67% rename from yudao-ui-admin-vben-master/src/views/xxjj/customer/customer.data.ts rename to yudao-ui-admin-vben-master/src/views/xxjj/supplier/subjectBasic.data.ts index 1cae902..7a6b279 100644 --- a/yudao-ui-admin-vben-master/src/views/xxjj/customer/customer.data.ts +++ b/yudao-ui-admin-vben-master/src/views/xxjj/supplier/subjectBasic.data.ts @@ -8,60 +8,60 @@ export const columns: BasicColumn[] = [ width: 160 }, { - title: '客户分类(0:一级客户 1:二级客户)', - dataIndex: 'customerCalssify', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.CUSTOMER_CALSSIFY) - } + title: '业务类型(0:客户 1:供应商 2:服务商)', + dataIndex: 'businessType', + width: 160 + }, + { + title: '分类(0:一级 1:二级 2:三级)', + dataIndex: 'calssify', + width: 160 }, { title: '客户名称', - dataIndex: 'customerName', + dataIndex: 'name', width: 160 }, { title: '公司logo', - dataIndex: 'customerLogo', + dataIndex: 'logo', width: 160 }, { title: '企业性质(0:国有企业 1:集体企业 2:私营企业 3:股份制企业 4:外资企业 5:合资企业)', dataIndex: 'enterpriseNature', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.ENTERPRISE_NATURE) - } + width: 160 + }, + { + title: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', + dataIndex: 'industryClassify', + width: 160 }, { title: '客户来源(0:电话营销 1:主动来电 2:客户介绍 3:朋友介绍 4:独立开发 5:网络搜索 6:广告杂志 7:展会促销 8:其他途径)', dataIndex: 'customerSource', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.PRODUCT_CLASS) - } + width: 160 }, { title: '客户星级(0:一星 1:二星 2:三星 3:四星 4:五星)', dataIndex: 'customerStarrating', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.CUSTOMER_STARRATING) - } + width: 160 }, { title: '业务进度(0:了解跟进 1:资料收集 2:客户评审 3:风控核准 4:合作洽谈 5:准备签约 6:已经签约 7:合作叫停 8:暂时搁置)', dataIndex: 'industrySchedule', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.INDUSTRY_SCHEDULE) - } + width: 160 }, { title: '归属人员', dataIndex: 'belongingPeople', width: 160 }, + { + title: '所在城市', + dataIndex: 'city', + width: 160 + }, { title: '国家', dataIndex: 'country', @@ -95,37 +95,47 @@ export const columns: BasicColumn[] = [ { title: '客户状态(0:待提交 1:待审核 2:待核准 3:带启用 4:已启用 5:已禁用 6:已关闭)', dataIndex: 'customerStatus', + width: 160 + }, + { + title: '社会信息代码证(营业执照)', + dataIndex: 'socialInformationCodeCertificate', + width: 160 + }, + { + title: '注册地址', + dataIndex: 'registerAddress', + width: 160 + }, + { + title: '社会统一信息代码', + dataIndex: 'informationCode', + width: 160 + }, + { + title: '经营时间开始', + dataIndex: 'operateStart', width: 180, customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.CUSTOMER_STATUS1) + return useRender.renderDate(text) } }, { - title: '创建时间', - dataIndex: 'createTime', + title: '经营时间结束', + dataIndex: 'operateEnd', width: 180, customRender: ({ text }) => { return useRender.renderDate(text) } }, { - title: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', - dataIndex: 'industryClassify', + title: '注册资金', + dataIndex: 'registerCapital', width: 160 }, { - title: '所在城市', - dataIndex: 'city', - width: 160 - }, - { - title: '社会信息代码证(营业执照)', - dataIndex: 'socialInformationCodeCertificate', - width: 160 - }, - { - title: '法定代表人证件照', - dataIndex: 'legalRepresentativesPhoto', + title: '经营范围', + dataIndex: 'businessScope', width: 160 }, { @@ -143,42 +153,35 @@ export const columns: BasicColumn[] = [ dataIndex: 'assetCertificateMortgage', width: 160 }, - { - title: '担保人证明', - dataIndex: 'guarantorCertificate', - width: 160 - }, { title: '其他资质文件', dataIndex: 'otherQualifications', width: 160 }, { - title: '经营范围', - dataIndex: 'businessScope', - width: 160 - }, - { - title: '合作范围(关联业务线)', - dataIndex: 'collaborationScopeNum', - width: 160 + title: '合作时间开始', + dataIndex: 'collaborationStart', + width: 180, + customRender: ({ text }) => { + return useRender.renderDate(text) + } }, { - title: '合作起始时间', - dataIndex: 'collaborationTime', + title: '合作时间结束', + dataIndex: 'collaborationEnd', width: 180, customRender: ({ text }) => { return useRender.renderDate(text) } }, { - title: '供货量(每月下限)', - dataIndex: 'supplyVolumeDown', + title: '需求量(每月下限)', + dataIndex: 'demandVolumeDown', width: 160 }, { - title: '供货量(每月下限)', - dataIndex: 'supplyVolumeUpper', + title: '需求量(每月上限)', + dataIndex: 'demandVolumeUpper', width: 160 }, { @@ -192,26 +195,68 @@ export const columns: BasicColumn[] = [ width: 160 }, { - title: '允许卸货时间', - dataIndex: 'allowableUnloadingTime', + title: '营业时间开始', + dataIndex: 'businessStart', + width: 180, + customRender: ({ text }) => { + return useRender.renderDate(text) + } + }, + { + title: '营业时间结束', + dataIndex: 'businessEnd', width: 180, customRender: ({ text }) => { return useRender.renderDate(text) } }, + { + title: '允许卸货时间开始', + dataIndex: 'allowableUnloadingStart', + width: 180, + customRender: ({ text }) => { + return useRender.renderDate(text) + } + }, + { + title: '允许卸货时间结束', + dataIndex: 'allowableUnloadingEnd', + width: 180, + customRender: ({ text }) => { + return useRender.renderDate(text) + } + }, + { + title: '卸货时长', + dataIndex: 'unloading', + width: 160 + }, { title: '卸货效率', dataIndex: 'unloadingEfficiency', width: 160 }, { - title: '允许装货时间', - dataIndex: 'allowableShipmentTime', + title: '允许装货时间开始', + dataIndex: 'allowableShipmentStart', width: 180, customRender: ({ text }) => { return useRender.renderDate(text) } }, + { + title: '允许装货时间结束', + dataIndex: 'allowableShipmentEnd', + width: 180, + customRender: ({ text }) => { + return useRender.renderDate(text) + } + }, + { + title: '装货时长', + dataIndex: 'shipment', + width: 160 + }, { title: '装货效果', dataIndex: 'shipmentEffciency', @@ -220,10 +265,7 @@ export const columns: BasicColumn[] = [ { title: '付款方式(0:无 1:现金 2:银行转账 3:承兑汇票 4:有赞代收 5:支付宝 6:微信 7:国家列表)', dataIndex: 'paymentMethod', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.PAYMENT_METHOD) - } + width: 160 }, { title: '账户名称', @@ -268,18 +310,12 @@ export const columns: BasicColumn[] = [ { title: '合作方式(0:买断 1:联营)', dataIndex: 'collaborationMethod', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.COLLABORATION_METHOD) - } + width: 160 }, { title: '结算方式(0:先货后款 1:先款后货)', dataIndex: 'settlementMethod', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.SETTLEMENT_METHOD) - } + width: 160 }, { title: '账期', @@ -289,14 +325,6 @@ export const columns: BasicColumn[] = [ { title: '压款方式(0:无 1:按金额 2:按比例)', dataIndex: 'underpaymentMethod', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.UNDERPAYMENT_METHOD) - } - }, - { - title: '默认压款比例', - dataIndex: 'defaultUnderpaymentRatio', width: 160 }, { @@ -307,14 +335,6 @@ export const columns: BasicColumn[] = [ { title: '保证金方式(0:无 1:按金额 2:按比例)', dataIndex: 'marginMethod', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.MARGIN_METHOD) - } - }, - { - title: '默认保证金比例', - dataIndex: 'defaultMarginRatio', width: 160 }, { @@ -325,14 +345,6 @@ export const columns: BasicColumn[] = [ { title: '逾期利率(0:按年化1:按月化)', dataIndex: 'overdueInterestRate', - width: 180, - customRender: ({ text }) => { - return useRender.renderDict(text, DICT_TYPE.OVERDUE_INTEREST_RATE) - } - }, - { - title: '默认逾期利率', - dataIndex: 'defaultOverdueRatio', width: 160 }, { @@ -341,88 +353,136 @@ export const columns: BasicColumn[] = [ width: 160 }, { - title: '客户联系人id', - dataIndex: 'contactsId', + title: '预留字段1', + dataIndex: 'reservedFields1', width: 160 }, { - title: '客户类型', - dataIndex: 'customerType', + title: '预留字段2', + dataIndex: 'reservedFields2', width: 160 }, { - title: '账户类型', - dataIndex: 'accountType', + title: '预留字段3', + dataIndex: 'reservedFields3', width: 160 }, { - title: '卸货时长', - dataIndex: 'unloading', + title: '预留字段4', + dataIndex: 'reservedFields4', width: 160 }, { - title: '装货时长', - dataIndex: 'shipment', + title: '预留字段5', + dataIndex: 'reservedFields5', + width: 160 + }, + { + title: '预留字段6', + dataIndex: 'reservedFields6', + width: 160 + }, + { + title: '信用级别(0:S 1:A 2:B)', + dataIndex: 'creditRating', + width: 160 + }, + { + title: '信用级别(0:开启 1:关闭)', + dataIndex: 'autoCreditRating', + width: 160 + }, + { + title: '应收款上限', + dataIndex: 'accountsReceivableUpper', + width: 160 + }, + { + title: '订单量下限', + dataIndex: 'orderQuantityDown', + width: 160 + }, + { + title: '订单量上限', + dataIndex: 'orderQuantityUpper', + width: 160 + }, + { + title: '应收款项逾期限制', + dataIndex: 'accountsReceivableOverdue', + width: 160 + }, + { + title: '完税证明超时限制', + dataIndex: 'taxPaymentCertificate', width: 160 }, + { + title: '创建时间', + dataIndex: 'createTime', + width: 180, + customRender: ({ text }) => { + return useRender.renderDate(text) + } + }, ] export const searchFormSchema: FormSchema[] = [ { - label: '客户分类(0:一级客户 1:二级客户)', - field: 'customerCalssify', + label: '业务类型(0:客户 1:供应商 2:服务商)', + field: 'businessType', component: 'Select', componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_CALSSIFY) + options: [] }, colProps: { span: 8 } }, + { + label: '分类(0:一级 1:二级 2:三级)', + field: 'calssify', + component: 'Input', + colProps: { span: 8 } + }, { label: '客户名称', - field: 'customerName', + field: 'name', component: 'Input', colProps: { span: 8 } }, { label: '公司logo', - field: 'customerLogo', + field: 'logo', component: 'Input', colProps: { span: 8 } }, { label: '企业性质(0:国有企业 1:集体企业 2:私营企业 3:股份制企业 4:外资企业 5:合资企业)', field: 'enterpriseNature', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.ENTERPRISE_NATURE) - }, + component: 'Input', + colProps: { span: 8 } + }, + { + label: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', + field: 'industryClassify', + component: 'Input', colProps: { span: 8 } }, { label: '客户来源(0:电话营销 1:主动来电 2:客户介绍 3:朋友介绍 4:独立开发 5:网络搜索 6:广告杂志 7:展会促销 8:其他途径)', field: 'customerSource', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.PRODUCT_CLASS) - }, + component: 'Input', colProps: { span: 8 } }, { label: '客户星级(0:一星 1:二星 2:三星 3:四星 4:五星)', field: 'customerStarrating', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_STARRATING) - }, + component: 'Input', colProps: { span: 8 } }, { label: '业务进度(0:了解跟进 1:资料收集 2:客户评审 3:风控核准 4:合作洽谈 5:准备签约 6:已经签约 7:合作叫停 8:暂时搁置)', field: 'industrySchedule', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.INDUSTRY_SCHEDULE) - }, + component: 'Input', colProps: { span: 8 } }, { @@ -431,6 +491,12 @@ export const searchFormSchema: FormSchema[] = [ component: 'Input', colProps: { span: 8 } }, + { + label: '所在城市', + field: 'city', + component: 'Input', + colProps: { span: 8 } + }, { label: '国家', field: 'country', @@ -471,37 +537,49 @@ export const searchFormSchema: FormSchema[] = [ field: 'customerStatus', component: 'Select', componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_STATUS1) + options: [] }, colProps: { span: 8 } }, { - label: '创建时间', - field: 'createTime', - component: 'RangePicker', + label: '社会信息代码证(营业执照)', + field: 'socialInformationCodeCertificate', + component: 'Input', colProps: { span: 8 } }, { - label: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', - field: 'industryClassify', + label: '注册地址', + field: 'registerAddress', component: 'Input', colProps: { span: 8 } }, { - label: '所在城市', - field: 'city', + label: '社会统一信息代码', + field: 'informationCode', component: 'Input', colProps: { span: 8 } }, { - label: '社会信息代码证(营业执照)', - field: 'socialInformationCodeCertificate', + label: '经营时间开始', + field: 'operateStart', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '经营时间结束', + field: 'operateEnd', component: 'Input', colProps: { span: 8 } }, { - label: '法定代表人证件照', - field: 'legalRepresentativesPhoto', + label: '注册资金', + field: 'registerCapital', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '经营范围', + field: 'businessScope', component: 'Input', colProps: { span: 8 } }, @@ -524,63 +602,75 @@ export const searchFormSchema: FormSchema[] = [ colProps: { span: 8 } }, { - label: '担保人证明', - field: 'guarantorCertificate', + label: '其他资质文件', + field: 'otherQualifications', component: 'Input', colProps: { span: 8 } }, { - label: '其他资质文件', - field: 'otherQualifications', + label: '合作时间开始', + field: 'collaborationStart', component: 'Input', colProps: { span: 8 } }, { - label: '经营范围', - field: 'businessScope', + label: '合作时间结束', + field: 'collaborationEnd', component: 'Input', colProps: { span: 8 } }, { - label: '合作范围(关联业务线)', - field: 'collaborationScopeNum', + label: '需求量(每月下限)', + field: 'demandVolumeDown', component: 'Input', colProps: { span: 8 } }, { - label: '合作起始时间', - field: 'collaborationTime', - component: 'RangePicker', + label: '需求量(每月上限)', + field: 'demandVolumeUpper', + component: 'Input', colProps: { span: 8 } }, { - label: '供货量(每月下限)', - field: 'supplyVolumeDown', + label: '资金额度', + field: 'fundLimit', component: 'Input', colProps: { span: 8 } }, { - label: '供货量(每月下限)', - field: 'supplyVolumeUpper', + label: '营业时间', + field: 'businessHours', component: 'Input', colProps: { span: 8 } }, { - label: '资金额度', - field: 'fundLimit', + label: '营业时间开始', + field: 'businessStart', component: 'Input', colProps: { span: 8 } }, { - label: '营业时间', - field: 'businessHours', + label: '营业时间结束', + field: 'businessEnd', component: 'Input', colProps: { span: 8 } }, { - label: '允许卸货时间', - field: 'allowableUnloadingTime', - component: 'RangePicker', + label: '允许卸货时间开始', + field: 'allowableUnloadingStart', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '允许卸货时间结束', + field: 'allowableUnloadingEnd', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '卸货时长', + field: 'unloading', + component: 'Input', colProps: { span: 8 } }, { @@ -590,9 +680,21 @@ export const searchFormSchema: FormSchema[] = [ colProps: { span: 8 } }, { - label: '允许装货时间', - field: 'allowableShipmentTime', - component: 'RangePicker', + label: '允许装货时间开始', + field: 'allowableShipmentStart', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '允许装货时间结束', + field: 'allowableShipmentEnd', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '装货时长', + field: 'shipment', + component: 'Input', colProps: { span: 8 } }, { @@ -679,12 +781,6 @@ export const searchFormSchema: FormSchema[] = [ component: 'Input', colProps: { span: 8 } }, - { - label: '默认压款比例', - field: 'defaultUnderpaymentRatio', - component: 'Input', - colProps: { span: 8 } - }, { label: '申请压款比例', field: 'applyForUnderpaymentRatio', @@ -697,12 +793,6 @@ export const searchFormSchema: FormSchema[] = [ component: 'Input', colProps: { span: 8 } }, - { - label: '默认保证金比例', - field: 'defaultMarginRatio', - component: 'Input', - colProps: { span: 8 } - }, { label: '申请保证金比例', field: 'applyForMarginRatio', @@ -716,53 +806,95 @@ export const searchFormSchema: FormSchema[] = [ colProps: { span: 8 } }, { - label: '默认逾期利率', - field: 'defaultOverdueRatio', + label: '申请逾期利率', + field: 'applyForOverdueRatio', component: 'Input', colProps: { span: 8 } }, { - label: '申请逾期利率', - field: 'applyForOverdueRatio', + label: '预留字段1', + field: 'reservedFields1', component: 'Input', colProps: { span: 8 } }, { - label: '客户联系人id', - field: 'contactsId', + label: '预留字段2', + field: 'reservedFields2', component: 'Input', colProps: { span: 8 } }, { - label: '客户类型', - field: 'customerType', - component: 'Select', - componentProps: { - options: [] - }, + label: '预留字段3', + field: 'reservedFields3', + component: 'Input', colProps: { span: 8 } }, { - label: '账户类型', - field: 'accountType', - component: 'Select', - componentProps: { - options: [] - }, + label: '预留字段4', + field: 'reservedFields4', + component: 'Input', colProps: { span: 8 } }, { - label: '卸货时长', - field: 'unloading', + label: '预留字段5', + field: 'reservedFields5', component: 'Input', colProps: { span: 8 } }, { - label: '装货时长', - field: 'shipment', + label: '预留字段6', + field: 'reservedFields6', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '信用级别(0:S 1:A 2:B)', + field: 'creditRating', component: 'Input', colProps: { span: 8 } }, + { + label: '信用级别(0:开启 1:关闭)', + field: 'autoCreditRating', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '应收款上限', + field: 'accountsReceivableUpper', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '订单量下限', + field: 'orderQuantityDown', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '订单量上限', + field: 'orderQuantityUpper', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '应收款项逾期限制', + field: 'accountsReceivableOverdue', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '完税证明超时限制', + field: 'taxPaymentCertificate', + component: 'Input', + colProps: { span: 8 } + }, + { + label: '创建时间', + field: 'createTime', + component: 'RangePicker', + colProps: { span: 8 } + }, ] export const createFormSchema: FormSchema[] = [ @@ -773,61 +905,65 @@ export const createFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '客户分类(0:一级客户 1:二级客户)', - field: 'customerCalssify', + label: '业务类型(0:客户 1:供应商 2:服务商)', + field: 'businessType', required: true, component: 'Select', componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_CALSSIFY, 'number') + options:[] } }, + { + label: '分类(0:一级 1:二级 2:三级)', + field: 'calssify', + required: true, + component: 'Input' + }, { label: '客户名称', - field: 'customerName', + field: 'name', component: 'Input' }, { label: '公司logo', - field: 'customerLogo', + field: 'logo', component: 'Input' }, { label: '企业性质(0:国有企业 1:集体企业 2:私营企业 3:股份制企业 4:外资企业 5:合资企业)', field: 'enterpriseNature', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.ENTERPRISE_NATURE, 'number') - } + component: 'Input' + }, + { + label: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', + field: 'industryClassify', + component: 'Input' }, { label: '客户来源(0:电话营销 1:主动来电 2:客户介绍 3:朋友介绍 4:独立开发 5:网络搜索 6:广告杂志 7:展会促销 8:其他途径)', field: 'customerSource', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.PRODUCT_CLASS, 'number') - } + component: 'Input' }, { label: '客户星级(0:一星 1:二星 2:三星 3:四星 4:五星)', field: 'customerStarrating', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_STARRATING, 'number') - } + component: 'Input' }, { label: '业务进度(0:了解跟进 1:资料收集 2:客户评审 3:风控核准 4:合作洽谈 5:准备签约 6:已经签约 7:合作叫停 8:暂时搁置)', field: 'industrySchedule', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.INDUSTRY_SCHEDULE, 'number') - } + component: 'Input' }, { label: '归属人员', field: 'belongingPeople', component: 'Input' }, + { + label: '所在城市', + field: 'city', + component: 'Input' + }, { label: '国家', field: 'country', @@ -856,35 +992,49 @@ export const createFormSchema: FormSchema[] = [ { label: '公司介绍', field: 'companyProfile', - component: 'InputTextArea' }, { label: '客户状态(0:待提交 1:待审核 2:待核准 3:带启用 4:已启用 5:已禁用 6:已关闭)', field: 'customerStatus', required: true, - component: 'Select', + component: 'RadioButtonGroup', componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_STATUS1, 'number') + options:[] } }, { - label: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', - field: 'industryClassify', + label: '社会信息代码证(营业执照)', + field: 'socialInformationCodeCertificate', component: 'Input' }, { - label: '所在城市', - field: 'city', + label: '注册地址', + field: 'registerAddress', component: 'Input' }, { - label: '社会信息代码证(营业执照)', - field: 'socialInformationCodeCertificate', + label: '社会统一信息代码', + field: 'informationCode', + component: 'Input' + }, + { + label: '经营时间开始', + field: 'operateStart', + component: 'Input' + }, + { + label: '经营时间结束', + field: 'operateEnd', + component: 'Input' + }, + { + label: '注册资金', + field: 'registerCapital', component: 'Input' }, { - label: '法定代表人证件照', - field: 'legalRepresentativesPhoto', + label: '经营范围', + field: 'businessScope', component: 'Input' }, { @@ -902,39 +1052,29 @@ export const createFormSchema: FormSchema[] = [ field: 'assetCertificateMortgage', component: 'Input' }, - { - label: '担保人证明', - field: 'guarantorCertificate', - component: 'Input' - }, { label: '其他资质文件', field: 'otherQualifications', component: 'Input' }, { - label: '经营范围', - field: 'businessScope', + label: '合作时间开始', + field: 'collaborationStart', component: 'Input' }, { - label: '合作范围(关联业务线)', - field: 'collaborationScopeNum', + label: '合作时间结束', + field: 'collaborationEnd', component: 'Input' }, { - label: '合作起始时间', - field: 'collaborationTime', - component: 'DatePicker' - }, - { - label: '供货量(每月下限)', - field: 'supplyVolumeDown', + label: '需求量(每月下限)', + field: 'demandVolumeDown', component: 'Input' }, { - label: '供货量(每月下限)', - field: 'supplyVolumeUpper', + label: '需求量(每月上限)', + field: 'demandVolumeUpper', component: 'Input' }, { @@ -948,9 +1088,29 @@ export const createFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '允许卸货时间', - field: 'allowableUnloadingTime', - component: 'DatePicker' + label: '营业时间开始', + field: 'businessStart', + component: 'Input' + }, + { + label: '营业时间结束', + field: 'businessEnd', + component: 'Input' + }, + { + label: '允许卸货时间开始', + field: 'allowableUnloadingStart', + component: 'Input' + }, + { + label: '允许卸货时间结束', + field: 'allowableUnloadingEnd', + component: 'Input' + }, + { + label: '卸货时长', + field: 'unloading', + component: 'Input' }, { label: '卸货效率', @@ -958,9 +1118,19 @@ export const createFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '允许装货时间', - field: 'allowableShipmentTime', - component: 'DatePicker' + label: '允许装货时间开始', + field: 'allowableShipmentStart', + component: 'Input' + }, + { + label: '允许装货时间结束', + field: 'allowableShipmentEnd', + component: 'Input' + }, + { + label: '装货时长', + field: 'shipment', + component: 'Input' }, { label: '装货效果', @@ -1032,11 +1202,6 @@ export const createFormSchema: FormSchema[] = [ field: 'underpaymentMethod', component: 'Input' }, - { - label: '默认压款比例', - field: 'defaultUnderpaymentRatio', - component: 'Input' - }, { label: '申请压款比例', field: 'applyForUnderpaymentRatio', @@ -1047,11 +1212,6 @@ export const createFormSchema: FormSchema[] = [ field: 'marginMethod', component: 'Input' }, - { - label: '默认保证金比例', - field: 'defaultMarginRatio', - component: 'Input' - }, { label: '申请保证金比例', field: 'applyForMarginRatio', @@ -1063,44 +1223,73 @@ export const createFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '默认逾期利率', - field: 'defaultOverdueRatio', + label: '申请逾期利率', + field: 'applyForOverdueRatio', component: 'Input' }, { - label: '申请逾期利率', - field: 'applyForOverdueRatio', + label: '预留字段1', + field: 'reservedFields1', component: 'Input' }, { - label: '客户联系人id', - field: 'contactsId', + label: '预留字段2', + field: 'reservedFields2', component: 'Input' }, { - label: '客户类型', - field: 'customerType', - component: 'Select', - componentProps: { - options:[] - } + label: '预留字段3', + field: 'reservedFields3', + component: 'Input' }, { - label: '账户类型', - field: 'accountType', - component: 'Select', - componentProps: { - options:[] - } + label: '预留字段4', + field: 'reservedFields4', + component: 'Input' }, { - label: '卸货时长', - field: 'unloading', + label: '预留字段5', + field: 'reservedFields5', component: 'Input' }, { - label: '装货时长', - field: 'shipment', + label: '预留字段6', + field: 'reservedFields6', + component: 'Input' + }, + { + label: '信用级别(0:S 1:A 2:B)', + field: 'creditRating', + component: 'Input' + }, + { + label: '信用级别(0:开启 1:关闭)', + field: 'autoCreditRating', + component: 'Input' + }, + { + label: '应收款上限', + field: 'accountsReceivableUpper', + component: 'Input' + }, + { + label: '订单量下限', + field: 'orderQuantityDown', + component: 'Input' + }, + { + label: '订单量上限', + field: 'orderQuantityUpper', + component: 'Input' + }, + { + label: '应收款项逾期限制', + field: 'accountsReceivableOverdue', + component: 'Input' + }, + { + label: '完税证明超时限制', + field: 'taxPaymentCertificate', component: 'Input' }, ] @@ -1113,61 +1302,65 @@ export const updateFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '客户分类(0:一级客户 1:二级客户)', - field: 'customerCalssify', + label: '业务类型(0:客户 1:供应商 2:服务商)', + field: 'businessType', required: true, component: 'Select', componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_CALSSIFY, 'number') + options:[] } }, + { + label: '分类(0:一级 1:二级 2:三级)', + field: 'calssify', + required: true, + component: 'Input' + }, { label: '客户名称', - field: 'customerName', + field: 'name', component: 'Input' }, { label: '公司logo', - field: 'customerLogo', + field: 'logo', component: 'Input' }, { label: '企业性质(0:国有企业 1:集体企业 2:私营企业 3:股份制企业 4:外资企业 5:合资企业)', field: 'enterpriseNature', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.ENTERPRISE_NATURE, 'number') - } + component: 'Input' + }, + { + label: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', + field: 'industryClassify', + component: 'Input' }, { label: '客户来源(0:电话营销 1:主动来电 2:客户介绍 3:朋友介绍 4:独立开发 5:网络搜索 6:广告杂志 7:展会促销 8:其他途径)', field: 'customerSource', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.PRODUCT_CLASS, 'number') - } + component: 'Input' }, { label: '客户星级(0:一星 1:二星 2:三星 3:四星 4:五星)', field: 'customerStarrating', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_STARRATING, 'number') - } + component: 'Input' }, { label: '业务进度(0:了解跟进 1:资料收集 2:客户评审 3:风控核准 4:合作洽谈 5:准备签约 6:已经签约 7:合作叫停 8:暂时搁置)', field: 'industrySchedule', - component: 'Select', - componentProps: { - options: getDictOptions(DICT_TYPE.INDUSTRY_SCHEDULE, 'number') - } + component: 'Input' }, { label: '归属人员', field: 'belongingPeople', component: 'Input' }, + { + label: '所在城市', + field: 'city', + component: 'Input' + }, { label: '国家', field: 'country', @@ -1196,35 +1389,49 @@ export const updateFormSchema: FormSchema[] = [ { label: '公司介绍', field: 'companyProfile', - component: 'InputTextArea' }, { label: '客户状态(0:待提交 1:待审核 2:待核准 3:带启用 4:已启用 5:已禁用 6:已关闭)', field: 'customerStatus', required: true, - component: 'Select', + component: 'RadioButtonGroup', componentProps: { - options: getDictOptions(DICT_TYPE.CUSTOMER_STATUS1, 'number') + options:[] } }, { - label: '行业分类(0:家用电器 1:交通运输 2:商务服务 3:家具用品 4:电工电气 5:通信产品 6:办公文教 7:运动休闲 8:传媒广电)', - field: 'industryClassify', + label: '社会信息代码证(营业执照)', + field: 'socialInformationCodeCertificate', component: 'Input' }, { - label: '所在城市', - field: 'city', + label: '注册地址', + field: 'registerAddress', component: 'Input' }, { - label: '社会信息代码证(营业执照)', - field: 'socialInformationCodeCertificate', + label: '社会统一信息代码', + field: 'informationCode', + component: 'Input' + }, + { + label: '经营时间开始', + field: 'operateStart', + component: 'Input' + }, + { + label: '经营时间结束', + field: 'operateEnd', + component: 'Input' + }, + { + label: '注册资金', + field: 'registerCapital', component: 'Input' }, { - label: '法定代表人证件照', - field: 'legalRepresentativesPhoto', + label: '经营范围', + field: 'businessScope', component: 'Input' }, { @@ -1242,39 +1449,29 @@ export const updateFormSchema: FormSchema[] = [ field: 'assetCertificateMortgage', component: 'Input' }, - { - label: '担保人证明', - field: 'guarantorCertificate', - component: 'Input' - }, { label: '其他资质文件', field: 'otherQualifications', component: 'Input' }, { - label: '经营范围', - field: 'businessScope', + label: '合作时间开始', + field: 'collaborationStart', component: 'Input' }, { - label: '合作范围(关联业务线)', - field: 'collaborationScopeNum', + label: '合作时间结束', + field: 'collaborationEnd', component: 'Input' }, { - label: '合作起始时间', - field: 'collaborationTime', - component: 'DatePicker' - }, - { - label: '供货量(每月下限)', - field: 'supplyVolumeDown', + label: '需求量(每月下限)', + field: 'demandVolumeDown', component: 'Input' }, { - label: '供货量(每月下限)', - field: 'supplyVolumeUpper', + label: '需求量(每月上限)', + field: 'demandVolumeUpper', component: 'Input' }, { @@ -1288,9 +1485,29 @@ export const updateFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '允许卸货时间', - field: 'allowableUnloadingTime', - component: 'DatePicker' + label: '营业时间开始', + field: 'businessStart', + component: 'Input' + }, + { + label: '营业时间结束', + field: 'businessEnd', + component: 'Input' + }, + { + label: '允许卸货时间开始', + field: 'allowableUnloadingStart', + component: 'Input' + }, + { + label: '允许卸货时间结束', + field: 'allowableUnloadingEnd', + component: 'Input' + }, + { + label: '卸货时长', + field: 'unloading', + component: 'Input' }, { label: '卸货效率', @@ -1298,9 +1515,19 @@ export const updateFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '允许装货时间', - field: 'allowableShipmentTime', - component: 'DatePicker' + label: '允许装货时间开始', + field: 'allowableShipmentStart', + component: 'Input' + }, + { + label: '允许装货时间结束', + field: 'allowableShipmentEnd', + component: 'Input' + }, + { + label: '装货时长', + field: 'shipment', + component: 'Input' }, { label: '装货效果', @@ -1372,11 +1599,6 @@ export const updateFormSchema: FormSchema[] = [ field: 'underpaymentMethod', component: 'Input' }, - { - label: '默认压款比例', - field: 'defaultUnderpaymentRatio', - component: 'Input' - }, { label: '申请压款比例', field: 'applyForUnderpaymentRatio', @@ -1387,11 +1609,6 @@ export const updateFormSchema: FormSchema[] = [ field: 'marginMethod', component: 'Input' }, - { - label: '默认保证金比例', - field: 'defaultMarginRatio', - component: 'Input' - }, { label: '申请保证金比例', field: 'applyForMarginRatio', @@ -1403,44 +1620,73 @@ export const updateFormSchema: FormSchema[] = [ component: 'Input' }, { - label: '默认逾期利率', - field: 'defaultOverdueRatio', + label: '申请逾期利率', + field: 'applyForOverdueRatio', component: 'Input' }, { - label: '申请逾期利率', - field: 'applyForOverdueRatio', + label: '预留字段1', + field: 'reservedFields1', component: 'Input' }, { - label: '客户联系人id', - field: 'contactsId', + label: '预留字段2', + field: 'reservedFields2', component: 'Input' }, { - label: '客户类型', - field: 'customerType', - component: 'Select', - componentProps: { - options:[] - } + label: '预留字段3', + field: 'reservedFields3', + component: 'Input' }, { - label: '账户类型', - field: 'accountType', - component: 'Select', - componentProps: { - options:[] - } + label: '预留字段4', + field: 'reservedFields4', + component: 'Input' }, { - label: '卸货时长', - field: 'unloading', + label: '预留字段5', + field: 'reservedFields5', component: 'Input' }, { - label: '装货时长', - field: 'shipment', + label: '预留字段6', + field: 'reservedFields6', + component: 'Input' + }, + { + label: '信用级别(0:S 1:A 2:B)', + field: 'creditRating', + component: 'Input' + }, + { + label: '信用级别(0:开启 1:关闭)', + field: 'autoCreditRating', + component: 'Input' + }, + { + label: '应收款上限', + field: 'accountsReceivableUpper', + component: 'Input' + }, + { + label: '订单量下限', + field: 'orderQuantityDown', + component: 'Input' + }, + { + label: '订单量上限', + field: 'orderQuantityUpper', + component: 'Input' + }, + { + label: '应收款项逾期限制', + field: 'accountsReceivableOverdue', + component: 'Input' + }, + { + label: '完税证明超时限制', + field: 'taxPaymentCertificate', component: 'Input' }, ] \ No newline at end of file