|
|
@ -104,13 +104,19 @@ namespace SCP.SupplierData |
|
|
|
|
|
|
|
protected void btnDetail_Click(object sender, EventArgs e) |
|
|
|
{ |
|
|
|
if (Grid_V_TB_ASN.SelectedRowIndexArray.Count() == 0) |
|
|
|
int[] selections = Grid_V_TB_ASN.SelectedRowIndexArray; |
|
|
|
if (selections.Count() == 0) |
|
|
|
{ |
|
|
|
PageContext.RegisterStartupScript(Alert.GetShowInTopReference(GetResourceKey("没有选择数据!"))); |
|
|
|
return; |
|
|
|
} |
|
|
|
object[] rowDataKeys = Grid_V_TB_ASN.DataKeys[Grid_V_TB_ASN.SelectedRowIndex]; |
|
|
|
string AsnBillNum = rowDataKeys[1] as string; |
|
|
|
string AsnBillNum = ""; |
|
|
|
foreach (int rowIndex in selections) |
|
|
|
{ |
|
|
|
AsnBillNum = Grid_V_TB_ASN.DataKeys[rowIndex][1] as string; |
|
|
|
} |
|
|
|
//object[] rowDataKeys = Grid_V_TB_ASN.DataKeys[Grid_V_TB_ASN.SelectedRowIndex];
|
|
|
|
//string AsnBillNum = rowDataKeys[1] as string;
|
|
|
|
PageContext.RegisterStartupScript(Window1.GetShowReference(string.Format("../SupplierData/SCP_ASN_DETAIL.aspx?AsnBillNum={0}", AsnBillNum))); |
|
|
|
} |
|
|
|
protected void btnShow_Click(object sender, EventArgs e) |
|
|
|