//cancel按钮,2012-04-06 取消、改签机票转到一个新页面,copy原来的数据,重新填写售价、成本(都是负数) protected void btnCANX_Click(object sender, EventArgs e) { if (btnCANX.Text == GetREMes("lblCancel")) { svr.SetStatusInactive(typeof(BillTicket), "id", hidID.Value); svr.AddAuditLog("status: Active=> Inactive", base.LoginUserID, long.Parse(hidID.Value)); this.ShowMessage("订单作废"); btnCANX.Text = GetREMes("lblRestore"); } else { svr.SetStatusActive(typeof(BillTicket), "id", hidID.Value); svr.AddAuditLog("status: Inactive=> Active", base.LoginUserID, long.Parse(hidID.Value)); this.ShowMessage("恢复订单成功"); btnCANX.Text = GetREMes("lblCancel"); } }