예제 #1
0
    private string findRemoteData()
    {
        string type  = Request.Form["type"];
        string value = Request.Form["value"];

        DataTable dt = null;

        if ("用户表".Equals(type))
        {
            dt = MobileReimburseManage.findInformer(value);
        }
        else if ("部门表".Equals(type))
        {
            dt = MobileReimburseManage.findFeeDepartment("");
        }
        else if ("产品表".Equals(type))
        {
            dt = MobileReimburseManage.findProduct(value, null, "");
        }
        else if ("费用明细表".Equals(type))
        {
            dt = MobileReimburseManage.findParentFeeDetail("", "");
        }
        else if ("网点表".Equals(type))
        {
            dt = MobileReimburseManage.findBranch(value, null, "");
        }

        return(JsonHelper.DataTable2Json(dt));
    }
예제 #2
0
    private string findInformer()
    {
        string informer = Request.Form["name"];

        DataTable dt = MobileReimburseManage.findInformer(informer);

        if (dt == null)
        {
            return(null);
        }
        return(JsonHelper.DataTable2Json(dt));
    }