protected void ELnkProductHtml_Click(object sender, EventArgs e)
        {
            int num = BaseUserControl.RequestInt32("NodeID");

            if (num > 0)
            {
                BaseUserControl.ResponseRedirect("ProductHtml.aspx?NodeID=" + num.ToString());
            }
            else
            {
                BaseUserControl.ResponseRedirect("ProductHtml.aspx");
            }
        }
Ejemplo n.º 2
0
 protected void EgvDeliverItem_RowCommand(object sender, CommandEventArgs e)
 {
     if ((e.CommandName == "Received") && (this.OrderId != "0"))
     {
         int orderId = DataConverter.CLng(this.OrderId);
         DeliverItem.UpdateReceive(orderId);
         Order.Recieve(orderId);
         if (this.ShowOptions == 1)
         {
             BaseUserControl.ResponseRedirect("ShowOrder.aspx?OrderId=" + this.OrderId);
         }
     }
 }
Ejemplo n.º 3
0
        protected void EgvFeedback_RowCommand(object sender, CommandEventArgs e)
        {
            string commandName = e.CommandName;

            if (commandName != null)
            {
                if (!(commandName == "Del"))
                {
                    if (!(commandName == "DelReply"))
                    {
                        if (commandName == "ReplyContent")
                        {
                            BaseUserControl.ResponseRedirect("OrderFeedbackModify.aspx?Action=ReplyContent&ID=" + e.CommandArgument.ToString());
                        }
                        return;
                    }
                }
                else
                {
                    if (OrderFeedback.Delete(e.CommandArgument.ToString()))
                    {
                        BaseUserControl.WriteSuccessMsg("删除反馈信息成功", "OrderManage.aspx?OrderID=" + this.OrderId);
                        return;
                    }
                    BaseUserControl.WriteErrMsg("删除反馈信息失败");
                    return;
                }
                OrderFeedbackInfo orderFeedbackById = OrderFeedback.GetOrderFeedbackById(DataConverter.CLng(e.CommandArgument));
                if (!orderFeedbackById.IsNull)
                {
                    orderFeedbackById.ReplyContent = string.Empty;
                    orderFeedbackById.ReplyName    = string.Empty;
                }
                if (OrderFeedback.Update(orderFeedbackById))
                {
                    BaseUserControl.WriteSuccessMsg("删除回复信息成功!", "OrderManage.aspx?OrderID=" + this.OrderId);
                }
                else
                {
                    BaseUserControl.WriteErrMsg("删除回复信息失败!");
                }
            }
        }
 protected void ELnkReplaceManage_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("ProductBatchModify.aspx?NodeID=" + BaseUserControl.RequestInt32("NodeID").ToString());
 }
 protected void ELnkProductStockManage_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("StockManage.aspx");
 }
 protected void ELnkProductRecycle_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("ProductRecycle.aspx?NodeID=" + BaseUserControl.RequestInt32("NodeID").ToString());
 }
 protected void ELnkProductImport_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("ProductImport.aspx");
 }
 protected void ELnkProductBatchModify_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("ProductBatchModify.aspx");
 }
 protected void ELnkSiginManage_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("ContentSignin.aspx?NodeID=" + BaseUserControl.RequestInt32("NodeID").ToString());
 }
 protected void ELnkReplaceManage_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("ContentBatchModfiy.aspx");
 }
 protected void ELnkCheckContent_Click(object sender, EventArgs e)
 {
     BaseUserControl.ResponseRedirect("ContentManage.aspx?NodeID=" + BaseUserControl.RequestInt32("NodeID").ToString() + "&Status=101&ListType=0");
 }