From 479856d9964ebe0cf39e182dd0035a42e4a80c9c Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 08 九月 2023 12:50:13 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/priQuote/priQuote.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/priQuote/priQuote.js b/src/main/webapp/static/js/priQuote/priQuote.js
index ddfe80a..b8b6563 100644
--- a/src/main/webapp/static/js/priQuote/priQuote.js
+++ b/src/main/webapp/static/js/priQuote/priQuote.js
@@ -277,13 +277,14 @@
                 })
                 break;
             case "quote":
+                console.log(data)
                 layer.open({
                     type: 2,
                     title: '鎶ヤ环鍗曠紪杈�',
                     maxmin: true,
                     area: [top.detailWidth, top.detailHeight],
                     shadeClose: false,
-                    content: 'priQuote_detail.html?id=' + data.id,
+                    content: 'priQuote_detail.html?id=' + data.id + "&template=" + data.template,
                     success: function(layero, index){
                         // layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
                     }
@@ -346,7 +347,7 @@
                         maxmin: true,
                         area: [top.detailWidth, top.detailHeight],
                         shadeClose: false,
-                        content: 'priQuote_detail.html?priQuoteBudgetId=' + data.field.id,
+                        content: 'priQuote_detail.html?priQuoteBudgetId=' + data.field.id + "&template=" + data.field.template,
                         success: function(layero, index){
                             clearFormVal(layer.getChildFrame('#detail', index));
                             // layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});

--
Gitblit v1.9.1