示例#1
0
    protected void btnReset_Click(object sender, EventArgs e)
    {
        DataTable dt = (DataTable)ViewState["dt"];

        if (dt.Rows.Count == 0)
        {
            return;
        }
        string result = ShipmentManage.ConfirmShipment(ViewState["shipmentid"].ToString());

        if (result == "success")
        {
            JScript.AlertAndRedirect("最终出库成功", "ShipmentManage.aspx", this);
        }
        else
        {
            JScript.Alert("出库失败", this);
        }
    }