From e5028a75160e9d7d496ff0d330b03ac18d22c178 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Thu, 9 Jun 2022 15:10:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=B1=BB=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=AE=A1=E7=90=86=20=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/category/fieldManage/index.vue | 44 ++++++++++++------- .../category/fieldManage/module/form.vue | 16 +++---- 2 files changed, 34 insertions(+), 26 deletions(-) diff --git a/src/views/category/fieldManage/index.vue b/src/views/category/fieldManage/index.vue index ef5a922..34f22e0 100644 --- a/src/views/category/fieldManage/index.vue +++ b/src/views/category/fieldManage/index.vue @@ -20,38 +20,47 @@ - - - - + - + + + - + - + - + - - + + + + + @@ -173,6 +182,9 @@ export default { handleClose(done) { this.deleteData = {} done() + }, + digitFormatter(row, column, cellValue, index) { + return cellValue || '-' } } } diff --git a/src/views/category/fieldManage/module/form.vue b/src/views/category/fieldManage/module/form.vue index 89baf21..7d89d56 100644 --- a/src/views/category/fieldManage/module/form.vue +++ b/src/views/category/fieldManage/module/form.vue @@ -25,13 +25,13 @@ - + - - + + @@ -40,7 +40,7 @@ 显示一整行 - + 输入字段 @@ -60,9 +60,9 @@ 自动补零 - + - + @@ -193,10 +193,6 @@ export default { return false } }) - }, - resetForm(formName) { - // this.$refs[formName].resetFields() - // console.log(this.thisFields) } } }