xj qian
2024-07-18 e5283a4d5114c95a43b0096f562e53a665b0c4e7
update quote
已修改1个文件
23 ■■■■ 文件已修改
jrj/project/business/SO/Product.Select.SO.cpp 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/business/SO/Product.Select.SO.cpp
@@ -1198,7 +1198,7 @@
            int row = hdr.row;
            xstring col = hdr.colname;
            xstring str = g_xdoc_shoppingcart.getData(0, L"data/Item", row, L"QuoteLineID");
            xstring str = dwc_list.GetItemString(row, L"QuoteLineID");
            if (str != L"")
                str = L"ql:" + str;
            else if (dwc_list.GetItemString(row, L"SKUNo") != L"")
@@ -1225,8 +1225,8 @@
            DWNMHDR& hdr = *(DWNMHDR*)evt->notify.pnmh;
            int row = hdr.row;
            xstring ls_nos = L"ImportXml:";
            xstring str = g_xdoc_shoppingcart.getData(0, L"data/Item", row, L"SOLineID");
            xstring str1 = g_xdoc_shoppingcart.getData(0, L"data/Item", row, L"EnquiryPriceListID");
            xstring str = dwc_list.GetItemString(row, L"SOLineID");
            xstring str1 =dwc_list.GetItemString(row, L"EnquiryPriceListID");
            if (str1 != L"")
                str += L"el:" + str1;
            else if (str != L"")
@@ -1279,27 +1279,16 @@
            dw_list = GetControl(L"dw_list");
            dwc_list = GetControl(L"dwc_list");
            xaserverarg arg;
            xaserverarg arg = GetArg();
            CustomerID = L"";
            CustomerName = L"";
            hObject = 0;
            if (arg)
            {
                hObject = arg.GetArgString(L"HWND");
                hObject = (HWND)arg.GetParam(L"HWND");
                CustomerID = arg.GetArgString(L"CustomerID");
            }
            InitialFolder();
            g_xdoc_product = new xdataset;
            g_xdoc_product.Init();
            xbind bindproduct = new xbind;
            bindproduct.bindEx(dw_list, g_xdoc_product, L"");
            g_xdoc_shoppingcart = new xdataset;
            g_xdoc_shoppingcart.Init();
            xbind bindcart = new xbind;
            bindcart.bindEx(dwc_list, g_xdoc_shoppingcart, L"");
            dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").xml());
            dw_list = GetControl(L"dw_list");
@@ -1314,8 +1303,6 @@
                xs.SetContent(makeHtml(1));
            }
            //xtreeview::ExpandItem(tv_folder.GetId(),
            //    xtreeview::GetNextItem(tv_folder.GetId(),xtreeview::GetRootItem(tv_folder.GetId())));
            tv_folder.ExpandItem(tv_folder.GetRootItem());
            dw_list.SetSelectionMode(3);