| | |
| | | xml xp ; |
| | | |
| | | xaserverarg arg_pic; |
| | | arg_pic.setNativePointer(arg_pic.CreateInstance()); |
| | | |
| | | arg_pic.AddArg(L"SKUNo", skuno); |
| | | |
| | | xstring res = L"/sale/data/ProductLibrary3/pref/picture/imagelistSKUNo"; |
| | |
| | | if (str == L"") |
| | | { |
| | | xaserverarg arg1; |
| | | arg1.setNativePointer(arg1.CreateInstance()); |
| | | |
| | | arg1.SetParam(L"HWND", GetHWND()); |
| | | arg1.AddArg(L"CustomerID", dw_base.GetItemString(1, L"CustomerID")); |
| | | OpenWindow(L"dev:xpage[Entity.Product.Select.vx]",arg1); |
| | |
| | | } |
| | | else if (comdid == L"xmProductDesc") |
| | | { |
| | | xaserverarg arg2; |
| | | xaserverarg arg2=GetArg(); |
| | | |
| | | int row2 = dw_goods.GetRow(); |
| | | if (row2 < 1) return 0; |
| | | xstring str2 = dw_goods.GetItemString(row2, L"ProductDesc"); |
| | | arg2.AddArg(L"value", str2); |
| | | OpenWindow(L"dev:xpage[memo.edit.new.vx]", arg2); |
| | | |
| | | if (arg2.GetArgString(L"comdid") == L"xmOK") |
| | | { |
| | | str2 = arg2.GetArgString(L"value"); |
| | |
| | | dw_goods.SetItemDisplayString(nRow, L"KOPCode", L"CTNS"); |
| | | |
| | | xaserverarg arg3; |
| | | arg3.setNativePointer(arg3.CreateInstance()); |
| | | |
| | | int row3 = dw_goods.GetRow(); |
| | | if (row3 < 1) return 0; |
| | | dw_goods.SetItemString(nRow, L"SKUNo", dw_goods.GetItemString(row3, L"SKUNo")); |