formItems.json 1.3 KB

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