瀏覽代碼

fix: 搜索时页码重置1

zh 2 年之前
父節點
當前提交
37c53f0c7c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/NotifyBox/index.vue

+ 2 - 2
src/components/NotifyBox/index.vue

@@ -128,7 +128,7 @@
           ><el-form-item prop="remark" label="内容"> <el-input v-model="invoiceOrderForm.remark" /> </el-form-item></el-col>
           <el-col :xs="24" :sm="12" :lg="8">
             <el-button size="mini" @click="handleReset($event,'invoiceOrde')">重置</el-button>
-            <el-button size="mini" type="primary" @click="getListInvoiceOrder">查询</el-button>
+            <el-button size="mini" type="primary" @click="currentPage = 1,getListInvoiceOrder()">查询</el-button>
           </el-col>
         </el-row>
       </el-form>
@@ -178,7 +178,7 @@
                 <div style="display: flex">
                   <el-input v-model="specification" clearable style="margin-right: 10px" />
                   <el-button @click="handleReset">重置</el-button>
-                  <el-button type="primary" size="mini" @click="getArrivalNotice">查询</el-button>
+                  <el-button type="primary" size="mini" @click="currentPage = 1,getArrivalNotice()">查询</el-button>
                 </div>
               </el-form-item>
             </el-col>