From 5c8d96159495bad02c5434660a47cf3e65b3278e Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Mon, 14 Oct 2024 11:48:12 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BB=B4=E4=BF=AE=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/publicPage/selectCustomer.vue | 2 +-
.../operation/repairbill/repairbillAdd.vue | 31 ++++++++++---------
.../operation/repairbill/repairbillInfo.vue | 14 +++------
3 files changed, 22 insertions(+), 25 deletions(-)
diff --git a/yxt-as-ui/src/components/publicPage/selectCustomer.vue b/yxt-as-ui/src/components/publicPage/selectCustomer.vue
index e4c60f22d3..5354962470 100644
--- a/yxt-as-ui/src/components/publicPage/selectCustomer.vue
+++ b/yxt-as-ui/src/components/publicPage/selectCustomer.vue
@@ -16,7 +16,7 @@
-
+
diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
index 6db719d719..b996ddea05 100644
--- a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
+++ b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
@@ -30,7 +30,7 @@
-
+
*维修单类型
@@ -38,7 +38,7 @@
-
+
*科目
@@ -46,20 +46,17 @@
-
- 索赔厂家
-
-
-
-
-
-
-
- 索赔类型
+
+ 索赔厂家及厂家
-
-
-
+
+
+
+
+
+
+
+
@@ -1298,6 +1295,10 @@ export default {
}
},
serviceAdd() {
+ if (this.formobj.subject === '') {
+ this.$message({ showClose: true, type: 'error', message: '请先选择科目' })
+ return
+ }
this.formobj.sitemVos.push({
serviceItemSid: '',
serviceItem: '',
diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue
index cca7e0822e..79fa00a186 100644
--- a/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue
+++ b/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue
@@ -25,21 +25,17 @@
-
+
维修单类型
{{ formobj.billType }}
-
+
科目
{{ formobj.subject }}
-
- 索赔厂家
- {{ formobj.claimManufacturer }}
-
-
- 索赔类型
- {{ formobj.shClaimTypeValue }}
+
+ 索赔厂家及类型
+ {{ formobj.claimManufacturer }} {{ formobj.shClaimTypeValue }}