| | |
| | | int OnRetrieve(xstring query) |
| | | { |
| | | xml x ; |
| | | |
| | | xaserverarg arg ; |
| | | |
| | | xaserverarg arg; |
| | | arg.AddArg(L"query",query); |
| | | arg.AddArg(L"QueryArg",L""); |
| | | if (getUrl(str_url,arg.GetString(),x)!=1) |
| | |
| | | int h = xcombobox::GetCurSel(evt->command.hCtrl); |
| | | if(h > -1) |
| | | { |
| | | xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h); |
| | | xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h); |
| | | if(txt==L"出运日期") |
| | | { |
| | | |
| | |
| | | int OnRetrieve(xstring InvoiceNo, xstring EntityID) |
| | | { |
| | | xml x; |
| | | |
| | | xaserverarg arg ; |
| | | |
| | | arg.AddArg(L"InvoiceNo", InvoiceNo); |
| | | arg.AddArg(L"InvoiceNoEx", xcontrol(GetControl(L"search")).GetText()); |
| | | arg.AddArg(L"EntityID", EntityID); |
| | |
| | | int OnSave(bool dlg = true) |
| | | { |
| | | xml x; |
| | | |
| | | dw_base.AcceptText(); |
| | | dw_base.DwUpdateAllTo(x); |
| | | xaserverarg arg ; |
| | |
| | | int OnSign() |
| | | { |
| | | xaserverarg arg ; |
| | | |
| | | |
| | | xml x; |
| | | |
| | | dw_base.AcceptText(); |
| | |
| | | int OnRetrieve(xstring SettlementExchangeID) |
| | | { |
| | | xml x; |
| | | |
| | | xaserverarg arg ; |
| | | |
| | | arg.AddArg(L"SEID", SettlementExchangeID); |
| | | |
| | | if (getUrl(L"/sale/data/AR/se/getsebyid", arg.GetString(), x) != 1) |
| | |
| | | #include "viewobject/view.base.hpp" |
| | | |
| | | |
| | | |
| | | using xml = KXMLDOMDocument; |
| | | class __declspec(dllexport) DeliveryEdit : public xframe |
| | | { |
| | | public: |
| | |
| | | xml x; |
| | | x ; |
| | | |
| | | x.LoadXml(vc.GetContent()); |
| | | x.loadXML(vc.GetContent()); |
| | | |
| | | dw_1.Retrieve(x); |
| | | |
| | |
| | | |
| | | xml x ; |
| | | xaserverarg args; |
| | | args.setNativePointer(args.CreateInstance()); |
| | | args.AddArg(L"myurl", myurl); |
| | | args.AddArg(L"name", ret); |
| | | args.AddArg(L"filepath", sname); |