xj qian
2024-07-19 2390022d946ed3b0c2f3741320bf4c483e188311
update maint
已修改3个文件
11 ■■■■ 文件已修改
jrj/project/business/Company/HrPositionAdd.cpp 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Supplier/maintex.Owner.Supplier.cpp 补丁 | 查看 | 原始文档 | blame | 历史
jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/Company/HrPositionAdd.cpp
@@ -87,9 +87,9 @@
                    HTREEITEM hItem = nmtv.itemNew.hItem;
                    //int wid = tv_1.GetId();
                    HTREEITEM hItem = tv_1.GetSelectedItem();
                    hItem = tv_1.GetSelectedItem();
                    HTREEITEM rootItem = tv_1.GetRootItem();
                    if (hItem <= 0 || hItem == rootItem)
                    if (!hItem || hItem == rootItem)
                    {
                        m_type = L"all";
                    }
@@ -150,7 +150,6 @@
                    }
                    //treeview    tv_org   =  new treeview;
                    //tv_org.setNativePointer(lw_obj->tv_org);
                    HTREEITEM wid = lw_obj->tv_org.GetId();
                    HTREEITEM hitem = tv_1.GetSelectedItem();
                    KXMLDOMElement ele = tv_1.GetItemData( hitem);
                    xstring sOrgID = ele.selectSingleNode(L"@guid").text();
jrj/project/business/Supplier/maintex.Owner.Supplier.cpp
Binary files differ
jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp
@@ -12,7 +12,7 @@
{
public:
    KXMLDOMDocument m_configDoc;
    string m_EntityID;
    xstring m_EntityID;
    maint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {
        this->SetArg();
@@ -154,8 +154,8 @@
                //trace(L"maint:"+index.toString());
                //alert(L"xq.xml = "+d.GetXml());
                //trace(L"xxx");
                string dwname = L"";//e.selectsingleNode(L"@name").text();
                string tpy = L"dwgrid";
                xstring dwname = L"";//e.selectsingleNode(L"@name").text();
                xstring tpy = L"dwgrid";
                if (e.selectSingleNode(L"@name")) dwname = e.selectSingleNode(L"@name").text();
                if (e.selectSingleNode(L"@type")) tpy = e.selectSingleNode(L"@type").text();
                if (tpy == L"dwgrid")