frmPopJLDaTaReview.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using CoreFS.CA06;
  10. using Pur.Entity;
  11. using Pur.Entity.ck;
  12. namespace Pur.Pop_upWindow
  13. {
  14. public partial class frmPopJLDaTaReview : FrmPmsBase
  15. {
  16. private ExcDeliverySubC sub = new ExcDeliverySubC();
  17. public frmPopJLDaTaReview()
  18. {
  19. InitializeComponent();
  20. }
  21. public frmPopJLDaTaReview(OpeBase OB,ExcDeliverySubC subC)
  22. {
  23. InitializeComponent();
  24. this.ob = OB;
  25. sub = subC;
  26. }
  27. private void frmPopJLDaTaReview_Load(object sender, EventArgs e)
  28. {
  29. if(sub!=null)
  30. {
  31. txt_icNo.Text = sub.DeliverySubId;
  32. txt_poorder.Text = sub.DeliverySubLineSqe;
  33. txt_suppCode.Text = sub.CreateUserid;
  34. txt_suppName.Text = sub.CreateName;
  35. txt_itemCode.Text = sub.ItemCode;
  36. txt_itemName.Text = sub.ItemName;
  37. txt_deliveryLocation.Text = sub.UpdateName;
  38. txt_deliveryLocationCode.Text = sub.UpdateUserid;
  39. txt_A_length.Checked = sub.DeleteName == "1" ? true : false;
  40. txt_A_length1.Checked = sub.DeleteName == "0" ? true : false;
  41. txt_carNum.Text = sub.CarNum;
  42. }
  43. }
  44. }
  45. }