瀏覽代碼

Merge branch 'stage' into test

xiaodai2022 2 年之前
父節點
當前提交
a97e7985cd
共有 1 個文件被更改,包括 17 次插入0 次删除
  1. 17 0
      src/views/InvoiceSales/invoicePool/index.vue

+ 17 - 0
src/views/InvoiceSales/invoicePool/index.vue

@@ -428,6 +428,23 @@ export default {
         size: 15, // 每页显示条数
       };
       this.searchList();
+    },
+      async timeReturned(e) {
+      if (e.startTime !== "") {
+        this.parmValue.starttime = e.startTime;
+      } else {
+        this.parmValue.starttime = "";
+      }
+
+      if (e.endTime !== "") {
+        this.parmValue.endtime = e.endTime;
+      } else {
+        this.parmValue.endtime = "";
+      }
+      if (this.parmValue.starttime !== "" && this.parmValue.endtime !== "") {
+        this.parmValue.page = 1;
+        await this.searchList();
+      }
     },
     // 新建/编辑/详情
     openModal(id, name, contector, isDetail) {