From 0f8844dcb400fcdee4ea7831336a6aff382a8cc2 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期六, 23 九月 2023 14:59:16 +0800
Subject: [PATCH] fix: 修复搜索供应商列表结果为空时产品列表不为空的bug, 修复产品列表翻页后搜索供应商时产品列表页码未重置的bug, 修复供应商列表/产品列表/采购订单/质检单/退货单翻页后再搜索页码未重置的bug

---
 src/views/purchaseManage/quality/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/purchaseManage/quality/index.vue b/src/views/purchaseManage/quality/index.vue
index 66c70c9..8b2521d 100644
--- a/src/views/purchaseManage/quality/index.vue
+++ b/src/views/purchaseManage/quality/index.vue
@@ -74,8 +74,8 @@
       search: {},
       qualityStatusList:getDataByType('qualityStatus'),
       tableColumn: [
-        { label: "璐ㄦ鍗曠紪鍙�", prop: "number", min: 190, isCommonClick: true },
-        { label: "閲囪喘鍗曠紪鍙�", prop: "name", min: 130, isCommonClick: true},
+        { label: "璐ㄦ鍗曠紪鍙�", prop: "number", min: 190, isCommonClick: true,default:true },
+        { label: "閲囪喘鍗曠紪鍙�", prop: "name", min: 130, isCommonClick: true },
         { label: "鍗曟嵁绫诲瀷", prop: "contact_name", min: 130 },
         { label: "渚涘簲鍟嗗悕绉�", prop: "contact_phone", min: 130 },
         { label: "鍒拌揣浠撳簱", prop: "sales_resources", min: 130 },
@@ -154,6 +154,7 @@
     },
     onFilterSearch(searchText){
       this.search = searchText ?? ''
+      this.pagerOptions.currPage = 1
       this.getData()
     },
    

--
Gitblit v1.8.0