| | |
| | | #include <wobject/xurl.hpp> |
| | | #include <xcontrol/xdwgrid.hpp> |
| | | #include <xcontrol/xdwtable.hpp> |
| | | #include <view.base.hpp> |
| | | #include <viewobject/view.base.hpp> |
| | | |
| | | class ProductLibraryView: public ViewObject |
| | | { |
| | |
| | | } |
| | | public: |
| | | //删除商品项 |
| | | static int DeleteItem(string id) |
| | | static int DeleteItem(xstring id) |
| | | { |
| | | //if(RetrieveData(L"/sale/data/SO/goods/usegoods/delete",L"guid",id)) return 1; |
| | | string str = "<Item update.modify='1' update.delete='1' guid='"+id+L"'/>"; |
| | | string str = L"<Item update.modify='1' update.delete='1' guid='"+id+L"'/>"; |
| | | if(RetrieveData(L"/sale/data/ProductLibrary3/update/product",L"content",str)) return 1; |
| | | return -1; |
| | | } |