diff --git a/src/api/crm/receivable/plan/index.ts b/src/api/crm/receivable/plan/index.ts index 7a15209a4..32f8d8f0d 100644 --- a/src/api/crm/receivable/plan/index.ts +++ b/src/api/crm/receivable/plan/index.ts @@ -15,6 +15,7 @@ export interface ReceivablePlanVO { deptName?: string contractId?: number contractNo?: string + status: number type: number auditStatus: number processInstanceId: string diff --git a/src/utils/dict.ts b/src/utils/dict.ts index bb0550340..48b460401 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -207,6 +207,7 @@ export enum DICT_TYPE { CRM_RECEIVABLE_RETURN_TYPE = 'crm_receivable_return_type', // CRM 付款的付款方式 CRM_RECEIVABLE_TRANSACTION_TYPE = 'crm_receivable_transaction_type', // CRM 付款的收支方向 CRM_RECEIVABLE_TYPE = 'crm_receivable_type', // CRM 付款类型 + CRM_RECEIVABLE_PLAN_STATUS = 'crm_receivable_plan_status', // CRM 付款计划状态 CRM_CUSTOMER_INDUSTRY = 'crm_customer_industry', // CRM 客户所属行业 CRM_CUSTOMER_DEAL_STATUS = 'crm_customer_deal_status', // CRM 客户成交状态 CRM_CUSTOMER_LEVEL = 'crm_customer_level', // CRM 客户级别 @@ -222,7 +223,6 @@ export enum DICT_TYPE { CRM_CONTRACT_ATTRIBUTE = 'crm_contract_attribute', // CRM 合同属性 CRM_PROJECT_TYPE = 'crm_project_type', // CRM 项目类型 - // ========== ERP - 企业资源计划模块 ========== ERP_AUDIT_STATUS = 'erp_audit_status', // ERP 审批状态 ERP_STOCK_RECORD_BIZ_TYPE = 'erp_stock_record_biz_type', // 库存明细的业务类型 diff --git a/src/views/crm/receivable/PaymentForm.vue b/src/views/crm/receivable/PaymentForm.vue index 98338715c..cf800e0ed 100644 --- a/src/views/crm/receivable/PaymentForm.vue +++ b/src/views/crm/receivable/PaymentForm.vue @@ -190,6 +190,9 @@ const open = async ( id?: number, receivablePlan?: ReceivablePlanApi.ReceivablePlanVO ) => { + const a = getIntDictOptions(DICT_TYPE.CRM_RECEIVABLE_RETURN_TYPE) + console.log(a) + console.log('a') dialogVisible.value = true dialogTitle.value = t('action.' + type) formType.value = type diff --git a/src/views/crm/receivable/index.vue b/src/views/crm/receivable/index.vue index c9617d55d..700db0cae 100644 --- a/src/views/crm/receivable/index.vue +++ b/src/views/crm/receivable/index.vue @@ -233,7 +233,7 @@ --> - + + + + --> - +