void ShowAsnDetail(string billID) { if (!string.IsNullOrEmpty(billID)) { AsnBodyEntity header = asnQueryDal.GetBillHeader(billID); if (header != null) { header.Details = asnQueryDal.GetDetailByBillID(billID); ShowAsnDetail(header); //复制并创建新单据 if (this.IsCopyNew) { ClearBillID(); } } } }