xj qian
2024-06-27 b8e6a7bb37d04f1e974e231a5caffc1854cf7f41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#pragma once
 
#include <wobject/xstring.hpp>
#include <wobject/xaserverarg.hpp>
#include <win32/win.hpp>
#include <vbusiness/vutil/publiccode.vutil.vbusiness.hpp>
#include <wobject/xurl.hpp>
#include <xcontrol/xdwgrid.hpp>
#include <xcontrol/xdwtable.hpp>
#include "view.base.hpp"
 
class CustomView : public ViewObject
{
public:
    static KXMLDOMDocument GetSimulationView(string sono)
    {
        xaserverarg arg = MakeArg(L"sono", sono);
        return FecthData(L"/sale/data/Custom3/fullview", arg.GetString());
    }
 
    //±¨¹Ø±àºÅÖ¸¶¨
    static KXMLDOMDocument GetMaintFormForSourceItem()
    {
        return FecthData(L"/sale/data/Custom3/maint/form/sourceitem", L"");
    }
 
 
    static KXMLDOMDocument GetMaintSourceItem(string invno)
    {
        return RetrieveData(L"/sale/data/Custom3/maint/sourceitem", L"invno", invno);
    }
 
    static KXMLDOMDocument GetMaintFormHSGoods(string invno)
    {
        return RetrieveData(L"/sale/data/Custom3/maint/form/hsgoods", L"invno", invno);
    }
 
    static KXMLDOMDocument UpdateCustomItem(string invno, string content)
    {
        return RetrieveData(L"/sale/data/Custom3/maint/custom/update", L"invno", invno, L"content", content);
    }
 
    static KXMLDOMDocument UpdateCustomElement(string invno, string content)
    {
        return RetrieveData(L"/sale/data/Custom3/maint/customelement/update", L"invno", invno, L"content", content);
    }
 
    static KXMLDOMDocument GetCustomItem(string invno)
    {
        return RetrieveData(L"/sale/data/Custom3/maint/custom/data", L"invno", invno);
    }
 
    static KXMLDOMDocument GetCustomContainer(string invno)
    {
        return RetrieveData(L"/sale/data/Custom3/maint/customcontainer", L"invno", invno);
    }
 
 
    static KXMLDOMDocument GetCustomHabit(string invno)
    {
        return RetrieveData(L"/sale/data/Custom3/custom/habit", L"invno", invno);
    }
};