From 3ae6fded83ac8ef5cec50b402ec046268329027f Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 17 七月 2024 20:56:30 +0800 Subject: [PATCH] update code --- jrj/project/business/VATNotify/update.vatnotify.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jrj/project/business/VATNotify/update.vatnotify.cpp b/jrj/project/business/VATNotify/update.vatnotify.cpp index c7d5e60..7aa19e5 100644 --- a/jrj/project/business/VATNotify/update.vatnotify.cpp +++ b/jrj/project/business/VATNotify/update.vatnotify.cpp @@ -57,7 +57,7 @@ dw_list.AcceptText(); dw_list.DwUpdateAllToEx(x); - xaserverarg arg = ViewObject::MakeArg(); + xaserverarg arg; arg.AddArg(L"content", x.xml()); trace(x.xml()); @@ -246,7 +246,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&UpdateVatNotifyWin::OnSetFocus); AttachEvent(L"dw_item", L"DWV_ROWFOCUSCHANGED", (FEvent)&UpdateVatNotifyWin::OnRowChanged); - + return 1; } int RetrieveCustomSource(xstring classifyID, xstring supplierID) @@ -343,6 +343,7 @@ int onload() { + SetArg(); dw_list = GetControl(L"dw_list"); dw_list.openUrl(L"/sale/view/VATNotify/template/VATNotify/item"); dw_item = GetControl(L"dw_item"); -- Gitblit v1.9.3