From 5328bcc143efdba5b735df2af0fdd56fd92b5f54 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 23 七月 2024 10:43:55 +0800 Subject: [PATCH] update --- jrj/project/business/SO/delivery.base.maint.so.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jrj/project/business/SO/delivery.base.maint.so.cpp b/jrj/project/business/SO/delivery.base.maint.so.cpp index 2295659..28e6d2a 100644 --- a/jrj/project/business/SO/delivery.base.maint.so.cpp +++ b/jrj/project/business/SO/delivery.base.maint.so.cpp @@ -3,7 +3,6 @@ #include <xcontrol/xdwgrid.hpp> #include <xcontrol/xcell.hpp> - #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" #include "viewobject/view.base.hpp" @@ -14,7 +13,7 @@ public: xdwtable dw_1; - vcontrol vc; + xvcontrol vc; xcell dw_cell; public: @@ -145,7 +144,7 @@ int OnInit() { - int iArgs = GetParam(); + int iArgs = GetArg(); XXmlContentSvr xdoc = new XXmlContentSvr; xdoc.setNativePointer(iArgs); @@ -156,8 +155,8 @@ bind.bind(dw_1, vc); xml x; - x = new xml; - x.setNativePointer(xml::CreateInstance()); + x ; + x.LoadXml(vc.GetContent()); dw_1.Retrieve(x); @@ -174,6 +173,7 @@ int onload() { + SetArg(); dw_1 = GetControl(L"dw_1"); dw_1.openUrl(L"/sale/view/SaleOrder/template/delivery"); //base.maint.so.tpl/delivery dw_1.SetColHeaderHeight(0); -- Gitblit v1.9.3