formItems.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "success": true,
  3. "code": 0,
  4. "message": null,
  5. "data": {
  6. "xtype": "formpanel",
  7. "items": [{
  8. "xtype": "textfield",
  9. "name": "text",
  10. "bind": "{text}",
  11. "fieldLabel": "文本",
  12. "allowBlank": true,
  13. "columnWidth": 1
  14. }, {
  15. "xtype": "numberfield",
  16. "name": "num1",
  17. "bind": "{num1}",
  18. "fieldLabel": "加数",
  19. "allowBlank": false,
  20. "columnWidth": 0.5
  21. }, {
  22. "xtype": "numberfield",
  23. "name": "num2",
  24. "bind": "{num2}",
  25. "fieldLabel": "加数",
  26. "allowBlank": false,
  27. "columnWidth": 0.5
  28. }, {
  29. "xtype": "numberfield",
  30. "name": "sum",
  31. "bind": "{sum}",
  32. "fieldLabel": "和",
  33. "allowBlank": false,
  34. "columnWidth": 1
  35. }, {
  36. "xtype": "detailGridField",
  37. "columnWidth": 1,
  38. "configUrl": "resources/json/detailGridColumns1.json"
  39. }, {
  40. "xtype": "datefield",
  41. "name": "createTime",
  42. "bind": "{createTime}",
  43. "fieldLabel": "制单日期",
  44. "allowBlank": true,
  45. "columnWidth": 0.25
  46. }, {
  47. "xtype": "textfield",
  48. "name": "creator",
  49. "bind": "{creator}",
  50. "fieldLabel": "制单人",
  51. "allowBlank": true,
  52. "columnWidth": 0.25
  53. }, {
  54. "xtype": "textfield",
  55. "name": "field1",
  56. "bind": "{field1}",
  57. "fieldLabel": "field1",
  58. "allowBlank": true,
  59. "columnWidth": 1
  60. }, {
  61. "xtype": "textfield",
  62. "name": "field2",
  63. "bind": "{field2}",
  64. "fieldLabel": "field2",
  65. "allowBlank": true,
  66. "columnWidth": 1
  67. }]
  68. }
  69. }