From 7230aede1ff4b70a9db49f0fe2ad6e5469793c24 Mon Sep 17 00:00:00 2001
From: jack <jack.su@pollex.com.tw>
Date: 星期五, 28 七月 2023 13:57:52 +0800
Subject: [PATCH] [ADD] appointment_customer_consultant_view新增預約單諮詢方式欄位

---
 PAMapp/components/Interview/InterviewAdd.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/PAMapp/components/Interview/InterviewAdd.vue b/PAMapp/components/Interview/InterviewAdd.vue
index 231053d..171345f 100644
--- a/PAMapp/components/Interview/InterviewAdd.vue
+++ b/PAMapp/components/Interview/InterviewAdd.vue
@@ -21,8 +21,10 @@
               ><i class="icon-edit"></i></span>
           </el-col>
       </el-row>
+
       <template v-if="!interviewId || isEdit">
           <DateTimePicker
+            :disabledBeforeSpecificDate="appointmentDetail.appointmentDate"
             @changeDateTime="interviewTime = $event"
             :defaultValue="defaultValue"
           ></DateTimePicker>
@@ -186,7 +188,7 @@
         this.confirmTxt = confirmTxt;
         this.updateAppointmentDetail(+this.appointmentId);
 
-        if (new Date(this.interviewTime).getTime() >= new Date().getTime()) {
+        if (new Date(this.interviewTime).getTime() >= new Date().getTime() && (!this.appointmentDetail.appointmentClosedInfo)) {
             this.showFutureDateConfirmPopup = true;
         } else {
             this.showConfirmPopup = true;

--
Gitblit v1.8.0