From 54aa6f0768d1d78e54513aa1ac89a310a53db13d Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 05 七月 2024 12:05:33 +0800 Subject: [PATCH] update --- jrj/project/business/VATNotify/list.vatnotify.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jrj/project/business/VATNotify/list.vatnotify.cpp b/jrj/project/business/VATNotify/list.vatnotify.cpp index 28986e4..418ef5b 100644 --- a/jrj/project/business/VATNotify/list.vatnotify.cpp +++ b/jrj/project/business/VATNotify/list.vatnotify.cpp @@ -90,7 +90,7 @@ int OnPrint() { - xaserverarg arg; + xaserverarg& arg = *new xaserverarg; arg.AddArg(L"EntityName", L"VATNotify"); arg.AddArg(L"EntityID", L"", L""); @@ -110,13 +110,13 @@ arg.AddArg(L"VATNotifyID", L""); trace(InvoiceNo + L"==1" + NInvoiceNoEx + L"==2" + SupplierID + L"==3" + dw_list.GetGuid(dw_list.GetRow())); - openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg); + openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg); return 1; } int OnPrintItem() { - xaserverarg arg; + xaserverarg& arg = *new xaserverarg; arg.AddArg(L"EntityName", L"VATNotify"); arg.AddArg(L"EntityID", L"", L""); @@ -136,7 +136,7 @@ arg.AddArg(L"VATNotifyID", dw_list.GetGuid(dw_list.GetRow())); trace(L"=====L" + InvoiceNo + L"=====L" + SupplierID + L"=====L" + dw_list.GetGuid(dw_list.GetRow())); - openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", p); + openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg); return 1; } @@ -169,7 +169,7 @@ arg.AddArg(L"SupplierID", supplierID); arg.AddArg(L"CName", cname); - OpenWindow(L"dev:xpage[maint.papercard.vatnotify.vx]", p); + OpenWindow(L"dev:xpage[maint.papercard.vatnotify.vx]", arg); return 1; } -- Gitblit v1.9.3