From 9c8f65d285fa73b5c4240ed3e578ea8c28f98e37 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Tue, 17 Mar 2026 15:29:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(CrmGiftApply):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E4=BA=BA=E9=80=89=E6=8B=A9=E5=99=A8=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oa/crm/crmGiftApply/edit.vue | 78 +++++++++++++------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/src/views/oa/crm/crmGiftApply/edit.vue b/src/views/oa/crm/crmGiftApply/edit.vue index 8e7a243..74fb87e 100644 --- a/src/views/oa/crm/crmGiftApply/edit.vue +++ b/src/views/oa/crm/crmGiftApply/edit.vue @@ -140,31 +140,31 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + 其他信息 @@ -266,20 +266,20 @@ const rules = reactive({ applicationCode: [], // 编号由后端自动生成,前端不需要校验 applicationDate: [{ required: true, message: '申请日期不能为空', trigger: 'change' }], applicantId: [{ required: true, message: '申请人不能为空', trigger: 'blur' }], - customerUnitId: [{ required: true, message: '客户不能为空', trigger: 'change' }], - 'variables.approverId': [ - { - validator: (rule: any, value: any, callback: any) => { - // 非市场部用户必须选择审批人 - if (showApproverSelector.value && !value) { - callback(new Error('请选择下一步审批人')); - } else { - callback(); - } - }, - trigger: 'change' - } - ] + customerUnitId: [{ required: true, message: '客户不能为空', trigger: 'change' }] + // 'variables.approverId': [ + // { + // validator: (rule: any, value: any, callback: any) => { + // // 非市场部用户必须选择审批人 + // if (showApproverSelector.value && !value) { + // callback(new Error('请选择下一步审批人')); + // } else { + // callback(); + // } + // }, + // trigger: 'change' + // } + // ] }); // 计算属性:判断是否显示审批人选择器(非市场部用户显示)