From 5eff7a0dc11a17b8ff34b40e919fbbd8745103d5 Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Mon, 8 Jul 2024 17:42:03 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/invoicing/operating_record.vue | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/invoicing/operating_record.vue b/src/views/invoicing/operating_record.vue
index 6a804ca..47e2c47 100644
--- a/src/views/invoicing/operating_record.vue
+++ b/src/views/invoicing/operating_record.vue
@@ -19,7 +19,7 @@
- {{ scope.row.stockSnap.length }}
+ {{ scope.row.stockSnap && scope.row.stockSnap.length }}
@@ -46,7 +46,9 @@
{ tableData.size = e; tableData.page = 0; getTableData() }" layout="total, sizes, prev, pager, next, jumper">
+ @current-change="paginationChange"
+ @size-change="e => { tableData.size = e; tableData.page = 0; getTableData() }"
+ layout="total, sizes, prev, pager, next, jumper">
@@ -82,7 +84,7 @@ export default {
async getTableData() {
this.tableData.loading = true
let arr = []
- console.log(this.query,'tiaoshi1')
+ console.log(this.query, 'tiaoshi1')
if (this.query.createdAt.length) {
arr = [this.query.createdAt[0] + ' 00:00:00', this.query.createdAt[1] + ' 23:59:59']
} else {