| | |
| | | { |
| | | xstring sSalespersonID = dw_base.GetItemString(1, L"SalespersonID"); |
| | | //alert(sSalespersonID); |
| | | hdr->data = sSalespersonID; |
| | | hdr->data = sSalespersonID.c_str(true); |
| | | } |
| | | |
| | | |
| | |
| | | if (skunos == L"") |
| | | skunos = dw_item.GetItemString(i, L"SKUNo"); |
| | | else |
| | | skunos += L",L" + dw_item.GetItemString(i, L"SKUNo"); |
| | | skunos += L"," + dw_item.GetItemString(i, L"SKUNo"); |
| | | } |
| | | } |
| | | xaserverarg& arg = *new xaserverarg(); |
| | |
| | | return 1; |
| | | } |
| | | |
| | | int OnImgDBClicked(TEvent* evt, int pr) |
| | | int OnImgDBClicked(TEvent* evt, LPARAM pr) |
| | | { |
| | | IMGNNMHDR* nmtv = (IMGNNMHDR *)evt->notify.pnmh; |
| | | xstring src = nmtv->path; |
| | |
| | | else |
| | | src=src.mid(src.find(L"Thumbs", 0)+6, 50); |
| | | */ |
| | | xaserverarg& arg = * new xaserverarg; |
| | | xaserverarg arg; |
| | | //arg.AddArg(L"src",L"/business/products/chanpin"+src); |
| | | arg.AddArg(L"src", src); |
| | | |
| | | //win::OpenWindow(L"dev:xpage[BigPicture.vx]",arg); |
| | | |
| | | int h = openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", &arg); |
| | | openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", arg); |
| | | /* |
| | | xwin x = new xwin; |
| | | x.setNativePointer(h); |
| | |
| | | for (int ip = 0; ip < lenp; ip++) |
| | | { |
| | | auto xitem = nlistp.item(ip); |
| | | string picname = xitem.selectSingleNode(L"PicPath").text(); |
| | | xstring picname = xitem.selectSingleNode(L"PicPath").text(); |
| | | string goodno = xitem.selectSingleNode(L"GoodsNo").text(); |
| | | if (picname == L"/business/products/Thumbs//") |
| | | picname = L"/business/products/Thumbs/00/00000000-0000-0000-0000-000000000000.jpg"; |