From a08eb4805666c9551bb230c46b4a0daba0eae032 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com>
Date: Mon, 9 Jan 2023 09:48:02 +0800
Subject: [PATCH] 1/9
---
src/views/main/PrintingNew/editForm.vue | 8 +++++---
src/views/main/PrintingNew/index.vue | 17 ++++++++---------
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/views/main/PrintingNew/editForm.vue b/src/views/main/PrintingNew/editForm.vue
index 8436144..54b22bc 100644
--- a/src/views/main/PrintingNew/editForm.vue
+++ b/src/views/main/PrintingNew/editForm.vue
@@ -129,9 +129,11 @@ export default {
setTimeout(() => {
this.form.setFieldsValue({
cateCode: record.cateCode
- .split('[')[1]
- .split(']')[0]
- .split(','),
+ ? record.cateCode
+ .split('[')[1]
+ .split(']')[0]
+ .split(',')
+ : null,
cateName: record.cateName,
displayName: record.displayName,
tenantId: record.tenantId,
diff --git a/src/views/main/PrintingNew/index.vue b/src/views/main/PrintingNew/index.vue
index 012ce69..f2bc0ff 100644
--- a/src/views/main/PrintingNew/index.vue
+++ b/src/views/main/PrintingNew/index.vue
@@ -17,14 +17,8 @@
-
-
+
+
{{ item.name }}
@@ -46,7 +40,7 @@
- 查询
+ 查询
重置