/// <summary> /// 根据调价单ID获取表头和尾部信息 /// </summary> /// <param name="ModifyPriceBillId"></param> private void GetBillHeadEndMessage(string ModifyPriceBillId) { try { if (ModifyPriceBillId != null) { //查询一条调价单信息 DataTable ModyPricTable = DBHelper.GetTable(ModBillLogMsg, ModBillTable, "*", ModifyPriceBillID + "='" + ModifyPriceBillId + "'", "", ""); CommonFuncCall.FillEntityByTable(ModifyPriceBillEntity, ModyPricTable); CommonFuncCall.FillControlsByEntity(this, ModifyPriceBillEntity); if (status == WindowStatus.Copy) { lblorder_num.Text = string.Empty; } } } catch (Exception ex) { MessageBoxEx.Show(ex.Message); } }
/// <summary> /// 根据盘点单ID获取表头和尾部信息 /// </summary> /// <param name="CheckBillId"></param> private void GetBillHeadEndMessage(string CheckBillId) { try { if (CheckBillId != null) { //查询一条盘点单信息 DataTable ReceiptTable = DBHelper.GetTable(CheckBillLogMsg, CheckBillTable, "*", CheckBillID + "='" + CheckBillId + "'", "", ""); CommonFuncCall.FillEntityByTable(CheckBillEntity, ReceiptTable); CommonFuncCall.FillControlsByEntity(this, CheckBillEntity); if (status == WindowStatus.Copy) { lblorder_num.Text = string.Empty; } } } catch (Exception ex) { MessageBoxEx.Show(ex.Message, "异常提示", MessageBoxButtons.OK, MessageBoxIcon.Question); } }
/// <summary> /// 根据调拨单ID获取表头和尾部信息 /// </summary> /// <param name="AllotOrderIdValue"></param> private void GetBillHeadEndMessage(string AllotOrderIdValue) { try { if (AllotOrderIdValue != null) { //查询一条出入库单信息 DataTable InoutTable = DBHelper.GetTable(AllotBillLogMsg, AllotBillTable, "*", AllotBillId + "='" + AllotOrderIdValue + "'", "", ""); CommonFuncCall.FillEntityByTable(AllotBillEntity, InoutTable); CommonFuncCall.FillControlsByEntity(this, AllotBillEntity); if (status == WindowStatus.Copy) { lblorder_num.Text = string.Empty; } } } catch (Exception ex) { MessageBoxEx.Show(ex.Message, "异常提示", MessageBoxButtons.OK, MessageBoxIcon.Question); } }