From 5d9c10700069de1e146f175623beb691d4c1bb17 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期二, 09 十二月 2025 16:37:00 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI

---
 src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
index a6c815b..f493d3e 100644
--- a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
+++ b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
@@ -226,7 +226,7 @@
                 </template>
             </el-table>
             <pagination v-show="total > 0" :total="total" :page.sync="page" :limit.sync="pageSize"
-                :pageSizes="pageSizes" @pagination="getList" />
+                :pageSizes="pageSizes" @pagination="handleQuery" />
             <el-dialog title="闅愯棌鍒楄缃�" :visible.sync="openRowHide" width="816px" append-to-body>
                 <RowSettings :colName="btResList" :HModName="HModName" @rowEditClose="rowSetClose" v-if="rowHideShow" />
             </el-dialog>
@@ -364,7 +364,7 @@
     created() {
         // this.fetchData()
         this.riqiChange();
-        this.getList();
+        this.handleQuery();
     },
 
     methods: {
@@ -407,7 +407,7 @@
             this.rowHideShow = false;
             this.tableShow = true;
             this.openRowHide = val;
-            this.getList();
+            this.handleQuery();
         },
         riqiChange() {
             const end = new Date();
@@ -427,10 +427,7 @@
             this.pageSize = 50;
             this.tableShow = false;
             this.loading = true;
-            if (this.sTime) {
-                this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.sTime + "'";
-                this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.eTime + "'";
-            }
+            
             if (this.pageSize == 0) {
                 this.pageSize = 50;
             }
@@ -784,7 +781,6 @@
             if (this.sTime) {
                 this.sTime = moment(this.sTime).format("YYYY-MM-DD");
                 this.eTime = moment(this.eTime).format("YYYY-MM-DD");
-                console.log(this.sTime, this.eTime);
                 this.sWhere +=
                     " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" +
                     this.sTime +
@@ -850,7 +846,7 @@
             };
             this.riqiChange();
             this.resetForm("queryForm");
-            this.getList();
+            this.handleQuery();
         },
 
         //閫�鍑�
@@ -859,7 +855,7 @@
             this.tableShow = true;
             this.openEdit = false;
             this.editShow = false;
-            this.getList();
+            this.handleQuery();
         },
         //鎵撳紑鏂板缁勪欢寮圭獥
         handleAddEdit() {
@@ -878,7 +874,7 @@
             this.open = val;
             this.editShow = false;
             this.openEdit = val;
-            this.getList();
+            this.handleQuery();
         },
         /** 鍒犻櫎鎸夐挳鎿嶄綔 */
         handleDelete() {
@@ -890,7 +886,7 @@
                     },
                 }).then((response) => {
                     if (response.data.count == 1) {
-                        this.getList();
+                        this.handleQuery();
                         this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
                     } else {
                         this.$modal.msgError("閿欒:" + result.code + result.Message);

--
Gitblit v1.9.1