From 703d27d52ba0ac373b62aedb93f9cfe9f8857ed2 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 25 九月 2024 17:19:56 +0800 Subject: [PATCH] update --- jrj/project/business/VATNotify/simple.maint.vatnotify.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp index cac6ab8..dd874a7 100644 --- a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp +++ b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp @@ -45,7 +45,7 @@ return 1; } - xstring GetEntityData(int pr) + xstring GetEntityData(LPARAM pr) { xml x ; dw_item.AcceptText(); @@ -63,7 +63,7 @@ int OnPrint() { - xaserverarg& arg = *new xaserverarg; + xaserverarg arg; arg.AddArg(L"EntityName", L"VATNotify"); arg.AddArg(L"EntityID", L"", L""); @@ -74,13 +74,13 @@ arg.AddArg(L"SupplierID", SupplierID); arg.AddArg(L"VATNotifyID", L""); - 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 = *new xaserverarg; + xaserverarg arg; arg.AddArg(L"EntityName", L"VATNotify", L""); arg.AddArg(L"EntityID", L"", L""); @@ -92,7 +92,7 @@ arg.AddArg(L"VATNotifyID", dw_item.GetGuid(dw_item.GetRow())); trace(InvoiceNo + L"====L" + dw_item.GetGuid(dw_item.GetRow())); - openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg); + openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg); return 1; } @@ -821,7 +821,7 @@ if (x == L"userInvoiceNo") //下拉 { xstring sInvoiceNo = dw_item.GetItemString(row, L"NInvoiceNo"); - hdr.data = sInvoiceNo; + hdr.data = sInvoiceNo.c_str(true); } return 1; -- Gitblit v1.9.3