From ce9799b2904d0989712f5d958d1c255c144aba4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Fri, 20 Sep 2024 15:02:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=97=E6=9D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invoicing/components/consumableList.vue | 3 + .../invoicing/consumable/cons_record.vue | 242 +++++++++++++----- .../invoicing/consumable/information.vue | 51 ++-- src/views/invoicing/consumable/type.vue | 47 ++-- src/views/invoicing/operating_record.vue | 66 ++++- src/views/invoicing/operation_in.vue | 44 ++-- 6 files changed, 330 insertions(+), 123 deletions(-) diff --git a/src/views/invoicing/components/consumableList.vue b/src/views/invoicing/components/consumableList.vue index 7560558..d5e0db7 100644 --- a/src/views/invoicing/components/consumableList.vue +++ b/src/views/invoicing/components/consumableList.vue @@ -80,6 +80,9 @@ export default { this.resetSearchForm = { ...this.searchForm } }, methods: { + reset(){ + this.$refs.table.clearSelection() + }, onInput: _.debounce(function (event) { //防抖请求 this.getTableData() }, 500), diff --git a/src/views/invoicing/consumable/cons_record.vue b/src/views/invoicing/consumable/cons_record.vue index a9f3c9e..7babf21 100644 --- a/src/views/invoicing/consumable/cons_record.vue +++ b/src/views/invoicing/consumable/cons_record.vue @@ -1,6 +1,6 @@ - + - - + + @@ -118,19 +122,20 @@ - - - + + +