From eed27d3000e127c433fd45609d0d5e5d06b7868c Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 26 十二月 2023 11:14:28 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/crm-web into dev

---
 src/views/sales/salesDetails/AddSalesDetailsDialog.vue |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/views/sales/salesDetails/AddSalesDetailsDialog.vue b/src/views/sales/salesDetails/AddSalesDetailsDialog.vue
index 626a2b9..3933f47 100644
--- a/src/views/sales/salesDetails/AddSalesDetailsDialog.vue
+++ b/src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -208,6 +208,7 @@
                     placeholder="閫夋嫨鏃ユ湡"
                     style="width: 100%"
                     :disabled="isView"
+                    :picker-options="pickerOptionsBefore"
                   >
                   </el-date-picker>
                 </el-form-item>
@@ -235,6 +236,7 @@
                     placeholder="閫夋嫨鏃ユ湡"
                     style="width: 100%"
                     :disabled="isView"
+                    :picker-options="pickerOptions"
                   >
                   </el-date-picker>
                 </el-form-item>
@@ -407,7 +409,7 @@
               ref="commonFormTableView"
               :detail-enter="isView?true:false"
               :selectBox="false"
-              :addTypeIdMultiple="false"
+              :addTypeIdMultiple="true"
               :show-summary="showSummary"
               pageName="quotation"
               :isOperate="((autoCodeHeadersObj.Bjd=='yes'&&editConfig.infomation.quotation_number)||autoCodeHeadersObj.Bjd!='yes')?true:false"
@@ -601,7 +603,17 @@
       quotationId: this.editCommonConfig.infomation.quotationId,
       tableData: [],
       isView: this.editCommonConfig.title === "鏌ョ湅",
-      thatMember: {}
+      thatMember: {},
+      pickerOptions: {
+        disabledDate(time) {
+          return time.getTime() <  Date.now() - 8.64e7;
+        },
+      },
+      pickerOptionsBefore:{
+        disabledDate(time) {
+          return time.getTime() >  Date.now();
+        },
+      }
     }
   },
   created() {

--
Gitblit v1.8.0