中扬CRM客户关系管理系统
#
Junjie
2023-09-08 479856d9964ebe0cf39e182dd0035a42e4a80c9c
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"});