From 89fd2cf7202c321512c2ea699a3a220a7138ed44 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期四, 09 四月 2026 10:40:52 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/cwxt_master' into cwxt_master
---
ui/admin-ui3/src/views/tms/paymentTmsQuotePlan/index.vue | 48 ++++++++++++++++++++++--------------------------
1 files changed, 22 insertions(+), 26 deletions(-)
diff --git a/ui/admin-ui3/src/views/tms/paymentTmsQuotePlan/index.vue b/ui/admin-ui3/src/views/tms/paymentTmsQuotePlan/index.vue
index 3dcb367..32cee92 100644
--- a/ui/admin-ui3/src/views/tms/paymentTmsQuotePlan/index.vue
+++ b/ui/admin-ui3/src/views/tms/paymentTmsQuotePlan/index.vue
@@ -572,39 +572,35 @@
}
},
rowSaveBegin:(row:any,loading:any)=>{
- if (selectionList2.value.length == 0){
- proxy.$modal.msgError("璇疯嚦灏戦�夋嫨涓�鏉″簲鏀惰垂鐢ㄦ姤浠烽」");
- loading();
- throw new Error("璇疯嚦灏戦�夋嫨涓�鏉″簲鏀惰垂鐢ㄦ姤浠烽」");
+ if (selectionList2.value.length > 0){
+ let filter = selectionList2.value.filter((item:any)=>{
+ return !item.price || !item.currency
+ });
+ if (filter.length > 0){
+ proxy.$modal.msgError("璇峰~鍐欐墍鏈夊繀濉」");
+ loading();
+ throw new Error("璇峰~鍐欐墍鏈夊繀濉」")
+ }
+ row.quoteItems = selectionList2.value;
}
- let filter = selectionList2.value.filter((item:any)=>{
- return !item.price || !item.currency
- });
- if (filter.length > 0){
- proxy.$modal.msgError("璇峰~鍐欐墍鏈夊繀濉」");
- loading();
- throw new Error("璇峰~鍐欐墍鏈夊繀濉」")
- }
- row.quoteItems = selectionList2.value;
+
},
rowUpdateBegin(row:any,loading:any){
- if (selectionList2.value.length == 0){
- proxy.$modal.msgError("璇疯嚦灏戦�夋嫨涓�鏉″簲鏀惰垂鐢ㄦ姤浠烽」");
- loading();
- throw new Error("璇疯嚦灏戦�夋嫨涓�鏉″簲鏀惰垂鐢ㄦ姤浠烽」");
+ if (selectionList2.value.length > 0){
+ let filter = selectionList2.value.filter((item:any)=>{
+ return !item.price || !item.currency
+ });
+ if (filter.length > 0){
+ proxy.$modal.msgError("璇峰~鍐欐墍鏈夊繀濉」");
+ loading();
+ throw new Error("璇峰~鍐欐墍鏈夊繀濉」")
+ }
+ row.quoteItems = selectionList2.value;
}
- let filter = selectionList2.value.filter((item:any)=>{
- return !item.price || !item.currency
- });
- if (filter.length > 0){
- proxy.$modal.msgError("璇峰~鍐欐墍鏈夊繀濉」");
- loading();
- throw new Error("璇峰~鍐欐墍鏈夊繀濉」")
- }
- row.quoteItems = selectionList2.value;
+
},
handleEndOpenFunc:(type:string,res:any)=>{
activeProviderType.value = form.value.providerType;
--
Gitblit v1.8.0