Пример #1
0
        //日志
        protected void btnOperationLog_Click(object sender, EventArgs e)
        {
            if (gvList.Rows.Count <= 0 || gvList.SelectedRowIndexArray.Length <= 0)
            {
                return;
            }

            string ordernum = gvList.Rows[gvList.SelectedRowIndexArray[0]].Values[3].ToString();

            string url = "BillOperationLog.aspx?ordernum=" + ordernum;

            PageContext.RegisterStartupScript(WinBillRemark.GetShowReference(url, "操作记录"));
        }
Пример #2
0
        //备注
        protected void btnRemark_Click(object sender, EventArgs e)
        {
            if (gvList.Rows.Count <= 0 || gvList.SelectedRowIndexArray.Length <= 0)
            {
                return;
            }

            string ordernum   = gvList.Rows[gvList.SelectedRowIndexArray[0]].Values[2].ToString();
            string billheadid = gvList.Rows[gvList.SelectedRowIndexArray[0]].Values[11].ToString();
            string url        = "BillRemark.aspx?orderNum=" + ordernum + "&billheadid=" + billheadid;

            PageContext.RegisterStartupScript(WinBillRemark.GetShowReference(url, "备注录入"));
        }
Пример #3
0
        //调整价钱
        protected void btnAdjustPrice_Click(object sender, EventArgs e)
        {
            if (gvList.Rows.Count <= 0 || gvList.SelectedRowIndexArray.Length <= 0)
            {
                return;
            }

            string ordernum   = gvList.Rows[gvList.SelectedRowIndexArray[0]].Values[2].ToString();
            string billheadid = gvList.Rows[gvList.SelectedRowIndexArray[0]].Values[11].ToString();
            string ids        = gvList.Rows[gvList.SelectedRowIndexArray[0]].Values[13].ToString();
            string url        = "BillAdjustPrice.aspx?ordernum=" + ordernum + "&billheadid=" + billheadid + "&billdetailids=" + ids + "&flag=" + ViewState["flag"];

            PageContext.RegisterStartupScript(WinBillRemark.GetShowReference(url, "调整价钱"));
        }