From 328993cdefbf348d94e77499f3c7edb6db2b12d4 Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Tue, 11 Mar 2025 16:30:57 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../paymentConfirmation/cashierConfirmation.vue | 2 +-
.../views/anruifinmanagement/paymentConfirmation/receipt.vue | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmation.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmation.vue
index a130040148..1025e91bda 100644
--- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmation.vue
+++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/cashierConfirmation.vue
@@ -49,7 +49,7 @@
办理
- 下载
+ 下载
查看
diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/receipt.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/receipt.vue
index 41578ec150..a31aaa75a0 100644
--- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/receipt.vue
+++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/receipt.vue
@@ -46,9 +46,9 @@
-
+
- 下载
+ 下载
查看
From bd118b32eb605f95ce7627aea5eeacc8c824459f Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Tue, 11 Mar 2025 16:50:51 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BB=B4=E4=BF=AE?=
=?UTF-8?q?=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../operation/repairbill/repairbillAdd.vue | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
index 6da373efde..ad85d92cd7 100644
--- a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
+++ b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
@@ -328,7 +328,7 @@
-
+
@@ -472,6 +472,7 @@
name="file"
:action="updateAction"
:limit="10"
+ :on-preview="handlePreview"
:on-success="handleSuccess"
:on-remove="handleRemove"
:headers="headers"
@@ -1254,7 +1255,15 @@ export default {
}
})
},
- serviceDelete(index) {
+ serviceDelete(value, index) {
+ if (this.formobj.goodsDetailsVos.length > 0) {
+ for (var i = 0; i < this.formobj.goodsDetailsVos.length; i++) {
+ if (this.formobj.goodsDetailsVos[i].serviceItem === value) {
+ this.$message({ showClose: true, type: 'error', message: '因维修用料表中包含该维修项目,无法删除' })
+ return
+ }
+ }
+ }
this.formobj.sitemVos.splice(index, 1)
},
serviceCurrentChange(value, row) {
@@ -1416,6 +1425,9 @@ export default {
})
}
},
+ handlePreview(file, fileList) {
+ window.open(file.url, '_blank')
+ },
handleRemove(file, fileList) {
if (this.formobj.fileName.length > 0) {
this.formobj.fileName.forEach((e, index) => {
@@ -1671,6 +1683,7 @@ export default {
}
this.serviceData = []
this.subjoinData = []
+ this.fileList = []
this.activeNames = '1'
this.submitdisabled = false
this.$emit('doback')