From d89cb6dd712e8a5fe21f2a1ab2d1dbb16fbc0341 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 17:16:59 +0800
Subject: [PATCH] 原材料下单,原材料报检分页传参修改

---
 src/views/business/materialOrder/index.vue |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/views/business/materialOrder/index.vue b/src/views/business/materialOrder/index.vue
index 4b59175..ce2ca45 100644
--- a/src/views/business/materialOrder/index.vue
+++ b/src/views/business/materialOrder/index.vue
@@ -877,6 +877,13 @@
     // 宸叉楠屾煡璇�
     getIfsByOverList() {
       this.tableLoading2 = true
+      if(null != this.entity.date){
+        this.entity.beginDeclareDate = this.entity.date[0]
+        this.entity.endDeclareDate = this.entity.date[1]
+      } else {
+        this.entity.beginDeclareDate = ''
+        this.entity.endDeclareDate = ''
+      }
       const params = { ...this.entity, orderState: 4, state: 2, ...this.page2 }
       getIfsByOver(params).then(res => {
         this.tableLoading2 = false
@@ -891,6 +898,13 @@
     // 鏌ヨ瀛e害妫�楠�
     getIfsByQuarterList() {
       this.tableLoading4 = true
+      if(null != this.entity.date){
+        this.entity.beginDeclareDate = this.entity.date[0]
+        this.entity.endDeclareDate = this.entity.date[1]
+      } else {
+        this.entity.beginDeclareDate = ''
+        this.entity.endDeclareDate = ''
+      }
       const params = { ...this.entity, ...this.page4 }
       getIfsByOver(params).then(res => {
         this.tableLoading4 = false
@@ -905,6 +919,13 @@
     // 鍏ㄩ儴
     getIfsByAllList() {
       this.tableLoading3 = true
+      if(null != this.entity.date){
+        this.entity.beginDeclareDate = this.entity.date[0]
+        this.entity.endDeclareDate = this.entity.date[1]
+      } else {
+        this.entity.beginDeclareDate = ''
+        this.entity.endDeclareDate = ''
+      }
       const params = { ...this.entity, isInspect: 1, ...this.page3 }
       getIfsByAll(params).then(res => {
         this.tableLoading3 = false

--
Gitblit v1.9.3