コード例 #1
0
    protected void bt_Approve_Click(object sender, EventArgs e)
    {
        if (ViewState["VolumeID"] != null)
        {
            bt_Submit_Click(null, null);

            SVM_SalesVolumeBLL bll = new SVM_SalesVolumeBLL((int)ViewState["VolumeID"]);
            bll.Approve((int)Session["UserID"]);

            MessageBox.ShowAndRedirect(this, "数据审核成功!", "SalesVolumeList.aspx?SellOutClientID=" + bll.Model.Supplier.ToString() +
                "&SellInClientID=" + bll.Model.Client.ToString() + "&Type=" + ViewState["Type"].ToString());
        }
    }
コード例 #2
0
    protected void bt_Approve_Click(object sender, EventArgs e)
    {
        if (ViewState["VolumeID"] != null)
        {
            bt_Submit_Click(null, null);

            SVM_SalesVolumeBLL bll = new SVM_SalesVolumeBLL((int)ViewState["VolumeID"]);
            bll.Approve((int)Session["UserID"]);

            MessageBox.ShowAndRedirect(this, "数据审核成功!", "SalesVolumeList.aspx?SellOutClientID=" + bll.Model.Supplier.ToString() +
                                       "&SellInClientID=" + bll.Model.Client.ToString() + "&Type=" + ViewState["Type"].ToString());
        }
    }
コード例 #3
0
    protected void bt_Approve_Click(object sender, EventArgs e)
    {
        if (ViewState["VolumeID"] != null)
        {
            bt_Save_Click(null, null);

            SVM_SalesVolumeBLL bll = new SVM_SalesVolumeBLL((int)ViewState["VolumeID"]);
            bll.Approve((int)Session["UserID"]);

            MessageBox.ShowAndRedirect(this, "数据审核成功!", "TransferVolumeList.aspx?TransferOutClientID=" +
                                       select_Supplier.SelectValue + "&TransferInClientID=" + select_Client.SelectValue);
        }
    }
コード例 #4
0
    protected void bt_Approve_Click(object sender, EventArgs e)
    {
        if (ViewState["VolumeID"] != null)
        {
            bt_Save_Click(null, null);

            SVM_SalesVolumeBLL bll = new SVM_SalesVolumeBLL((int)ViewState["VolumeID"]);
            bll.Approve((int)Session["UserID"]);

            MessageBox.ShowAndRedirect(this, "数据审核成功!", "TransferVolumeList.aspx?TransferOutClientID=" +
                select_Supplier.SelectValue + "&TransferInClientID=" + select_Client.SelectValue);
        }
    }