ProductForm.aspx.cs 736 B

12345678910111213141516171819202122232425262728293031
  1. using BizCom;
  2. using SiteCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Web;
  7. using System.Web.UI;
  8. using System.Web.UI.WebControls;
  9. using Utils.Serialization;
  10. public partial class EArc_ProductForm : BasePage
  11. {
  12. protected override void OnPreInit(EventArgs e)
  13. {
  14. _selfCheckPermission = true;
  15. }
  16. protected void Page_Load(object sender, EventArgs e)
  17. {
  18. if (!IsPostBack)
  19. {
  20. string eid = GetString("eid");
  21. CeErpProduct ent = CeErpProduct.Get(eid);
  22. AppendScript("eid=" + eid + ";");
  23. if (ent.FormJson != null)
  24. {
  25. AppendScript("json=" + ent.FormJson + ";");
  26. }
  27. }
  28. }
  29. }