From f69adc78298acdfa601b58934bffe7f2a45d38cd Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 08 一月 2024 16:57:54 +0800
Subject: [PATCH] 销售总单模块服务开始时间和服务截止时间增加限制都只可以选择今天以及以后并且 截止时间需要大于开始时间

---
 src/views/other/payment/receipt/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/other/payment/receipt/index.vue b/src/views/other/payment/receipt/index.vue
index c6ad29d..5649bb0 100644
--- a/src/views/other/payment/receipt/index.vue
+++ b/src/views/other/payment/receipt/index.vue
@@ -180,10 +180,10 @@
       // console.log()
       this.loading = true
       let params = {}
-      let sourceTyle = this.addConfig.keywordType === "閿�鍞槑缁嗗崟" ? 1 : 2
+      let sourceTyle = this.addConfig.keywordType === "閿�鍞槑缁嗗崟" || this.addConfig.keywordType === "瀹㈡埛鍚嶇О" ? 1 : 2
       if (this.addConfig.id) {
         params = {
-          sourceID: this.addConfig.id,
+          sourceId: this.addConfig.id,
           sourceType: sourceTyle,
           page: this.pagerOptions.currPage,
           pageSize: this.pagerOptions.pageSize,
@@ -246,7 +246,8 @@
     addBtnClick() {
       this.editConfig.visible = true
       this.editConfig.title = "鏂板缓"
-      this.editConfig.sourceType = this.sourceType
+      this.editConfig.sourceType = this.addConfig.keywordType === "瀹㈡埛鍚嶇О" ? 1 : this.sourceType
+      console.log(this.addConfig)
       this.editConfig.infomation = { ...this.addConfig, saleDetailNumber: "" }
     }
   }

--
Gitblit v1.8.0