formItems.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "success": true,
  3. "code": 0,
  4. "message": null,
  5. "data": {
  6. "xtype": "formpanel",
  7. "items": [ {
  8. "xtype": "dbfindtrigger",
  9. "configUrl":"resources/json/purchase/vendorColumnsDbfind.json",
  10. "dataUrl":"resources/json/purchase/vendorDataDbfind.json",
  11. "name": "pu_vendorcode",
  12. "bind": "{pu_vendorcode}",
  13. "fieldLabel": "供应商编号",
  14. "allowBlank": true,
  15. "columnWidth": 0.25
  16. }, {
  17. "xtype": "textfield",
  18. "name": "pu_vendorname",
  19. "bind": "{pu_vendorname}",
  20. "fieldLabel": "供应商简称",
  21. "allowBlank": true,
  22. "columnWidth": 0.25
  23. }, {
  24. "xtype": "textfield",
  25. "name": "text",
  26. "bind": "{text}",
  27. "fieldLabel": "文本",
  28. "allowBlank": true,
  29. "columnWidth": 1
  30. }, {
  31. "xtype": "numberfield",
  32. "name": "num1",
  33. "bind": "{num1}",
  34. "fieldLabel": "加数",
  35. "allowBlank": false,
  36. "columnWidth": 0.5
  37. }, {
  38. "xtype": "numberfield",
  39. "name": "num2",
  40. "bind": "{num2}",
  41. "fieldLabel": "加数",
  42. "allowBlank": false,
  43. "columnWidth": 0.5
  44. }, {
  45. "xtype": "numberfield",
  46. "name": "sum",
  47. "bind": "{sum}",
  48. "fieldLabel": "和",
  49. "allowBlank": false,
  50. "columnWidth": 1
  51. }, {
  52. "xtype": "detailGridField",
  53. "columnWidth": 1,
  54. "configUrl": "resources/json/detailGridColumns1.json"
  55. }, {
  56. "xtype": "datefield",
  57. "name": "createTime",
  58. "bind": "{createTime}",
  59. "fieldLabel": "制单日期",
  60. "allowBlank": true,
  61. "columnWidth": 0.25
  62. }, {
  63. "xtype": "textfield",
  64. "name": "creator",
  65. "bind": "{creator}",
  66. "fieldLabel": "制单人",
  67. "allowBlank": true,
  68. "columnWidth": 0.25
  69. }, {
  70. "xtype": "textfield",
  71. "name": "field1",
  72. "bind": "{field1}",
  73. "fieldLabel": "field1",
  74. "allowBlank": true,
  75. "columnWidth": 1
  76. }, {
  77. "xtype": "textfield",
  78. "name": "field2",
  79. "bind": "{field2}",
  80. "fieldLabel": "field2",
  81. "allowBlank": true,
  82. "columnWidth": 1
  83. }]
  84. }
  85. }