| | |
| | | int OnSave(bool dlg = true) |
| | | { |
| | | xml x; |
| | | |
| | | dw_base.AcceptText(); |
| | | dw_base.DwUpdateAllTo(x); |
| | | xaserverarg arg ; |
| | |
| | | int OnSign() |
| | | { |
| | | xaserverarg arg ; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | xml x; |
| | | |
| | | dw_base.AcceptText(); |
| | |
| | | } |
| | | arg.AddArg(L"CustomerID", dw_base.GetItemString(1, L"CustomerID")); |
| | | arg.AddArg(L"SEID", dw_base.GetGuid(1)); |
| | | SendMessage(hObject, 0x401, L"xmSignEx:" + dw_base.GetGuid(1), 0); |
| | | SendMessage(hObject, 0x401, (WPARAM)((xstring)L"xmSignEx:" + dw_base.GetGuid(1)).c_str(), 0); |
| | | return 1; |
| | | } |
| | | |
| | |
| | | int OnRetrieve(xstring SettlementExchangeID) |
| | | { |
| | | xml x; |
| | | |
| | | xaserverarg arg ; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | arg.AddArg(L"SEID", SettlementExchangeID); |
| | | |
| | | if (getUrl(L"/sale/data/AR/se/getsebyid", arg.GetString(), x) != 1) |
| | |
| | | { |
| | | xaserverarg arg =GetArg(); |
| | | SettlementExchangeID = arg.GetArgString(L"SettlementExchangeID"); |
| | | hObject = arg.GetArgString(L"HWND").toInt(); |
| | | hObject = (HWND)arg.GetParam(L"HWND"); |
| | | } |
| | | if (SettlementExchangeID != L"") |
| | | { |