From 4feb321e6fa88e86991da3610b2bdfcf5a2d87a7 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期三, 14 一月 2026 16:50:44 +0800
Subject: [PATCH] 新增字段
---
ui/admin-ui3/src/views/tms/collectionTmsQuotePlan/index.vue | 43 +++++++++++++++++++------------------------
1 files changed, 19 insertions(+), 24 deletions(-)
diff --git a/ui/admin-ui3/src/views/tms/collectionTmsQuotePlan/index.vue b/ui/admin-ui3/src/views/tms/collectionTmsQuotePlan/index.vue
index 2d40f20..078d375 100644
--- a/ui/admin-ui3/src/views/tms/collectionTmsQuotePlan/index.vue
+++ b/ui/admin-ui3/src/views/tms/collectionTmsQuotePlan/index.vue
@@ -173,7 +173,7 @@
});
}
},
- type: 'table',suffixIcon:'search',
+ type: 'table',suffixIcon:'search',dataType: 'string',
children:{
border: true,
searchMenuSpan: 5,
@@ -456,39 +456,34 @@
}
},
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;
}
+
+
+ },
+ rowUpdateBegin(row:any,loading:any){
+ if (selectionList2.value.length > 0){
let filter = selectionList2.value.filter((item:any)=>{
- return !item.price || !item.currency
- });
+ 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("璇疯嚦灏戦�夋嫨涓�鏉″簲鏀惰垂鐢ㄦ姤浠烽」");
-
}
- 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)=>{
if (type === 'edit'){
--
Gitblit v1.8.0