From 3660cd26ae554383865e3e288acdc15568291830 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Sat, 2 Mar 2024 23:38:13 +0800 Subject: [PATCH] =?UTF-8?q?CRM:=20=E5=AE=8C=E5=96=84=E5=9B=9E=E6=AC=BE?= =?UTF-8?q?=E5=90=88=E5=90=8C=E5=9B=9E=E6=AC=BE=E8=AE=A1=E5=88=92=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=90=88=E5=90=8C=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/receivable/index.ts | 10 ++++--- src/api/crm/receivable/plan/index.ts | 2 +- src/views/crm/receivable/ReceivableForm.vue | 27 ++++++++++--------- .../receivable/plan/ReceivablePlanForm.vue | 15 ++++++----- 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/src/api/crm/receivable/index.ts b/src/api/crm/receivable/index.ts index 069d6c4a..32ecd25a 100644 --- a/src/api/crm/receivable/index.ts +++ b/src/api/crm/receivable/index.ts @@ -3,18 +3,20 @@ import request from '@/config/axios' export interface ReceivableVO { id: number no: string - planId: number - customerId: number + planId?: number + customerId?: number customerName?: string - contractId: number + contractId?: number contract?: { + id?: number + name?: string no: string totalPrice: number } auditStatus: number processInstanceId: number returnTime: Date - returnType: string + returnType: number price: number ownerUserId: number ownerUserName?: string diff --git a/src/api/crm/receivable/plan/index.ts b/src/api/crm/receivable/plan/index.ts index 6e0cab4a..770b3477 100644 --- a/src/api/crm/receivable/plan/index.ts +++ b/src/api/crm/receivable/plan/index.ts @@ -11,7 +11,7 @@ export interface ReceivablePlanVO { remindTime: Date customerId: number customerName?: string - contractId: number + contractId?: number contractNo?: string ownerUserId: number ownerUserName?: string diff --git a/src/views/crm/receivable/ReceivableForm.vue b/src/views/crm/receivable/ReceivableForm.vue index 17ce1cbe..a44164a3 100644 --- a/src/views/crm/receivable/ReceivableForm.vue +++ b/src/views/crm/receivable/ReceivableForm.vue @@ -10,7 +10,7 @@ - + @@ -38,8 +38,8 @@ :disabled="formType !== 'create'" class="w-1/1" filterable - @change="handleCustomerChange" placeholder="请选择客户" + @change="handleCustomerChange" > @@ -78,15 +78,15 @@ v-model="formData.planId" :disabled="formType !== 'create' || !formData.contractId" class="!w-1/1" - @change="handleReceivablePlanChange" placeholder="请选择回款期数" + @change="handleReceivablePlanChange" > @@ -109,11 +109,11 @@ @@ -145,12 +145,12 @@