1.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <div class="info-float-left">
  2. <h3>玉米指标信息</h3>
  3. <span class="pf-pitem-li">
  4. <span class="pf-pitem-lit qii-spring-title">等级:</span>
  5. <span class="pf-pitem-lic">
  6. <input class="easyui-combobox type-rank qii-spring-check" name="level">
  7. </span>
  8. </span>
  9. <span class="pf-pitem-li">
  10. <span class="pf-pitem-lit qii-spring-title">容重:</span>
  11. <span class="pf-pitem-lic">
  12. <input class="easyui-textbox easyui-validatebox qii-spring-check capacity" data-options="validType:'length[0,30]',required:true" name="capacity">
  13. </span>
  14. </span>
  15. <span class="pf-pitem-li">
  16. <span class="pf-pitem-lit qii-spring-title">不完善颗粒:</span>
  17. <span class="pf-pitem-lic">
  18. <input class="easyui-textbox easyui-validatebox qii-spring-check badpart" data-options="validType:'length[0,30]',required:true" name="badpart">
  19. </span>
  20. </span>
  21. <span class="pf-pitem-li">
  22. <span class="pf-pitem-lit qii-spring-title">生霉粒:</span>
  23. <span class="pf-pitem-lic">
  24. <input class="easyui-textbox easyui-validatebox qii-spring-check" data-options="validType:'length[0,30]',required:true" name="mildewCount">
  25. </span>
  26. </span>
  27. <span class="pf-pitem-li">
  28. <span class="pf-pitem-lit qii-spring-title">杂质:</span>
  29. <span class="pf-pitem-lic">
  30. <input class="easyui-textbox easyui-validatebox qii-spring-check impurity" data-options="validType:'length[0,30]',required:true" name="impurity">
  31. </span>
  32. </span>
  33. <span class="pf-pitem-li">
  34. <span class="pf-pitem-lit qii-spring-title">水分:</span>
  35. <span class="pf-pitem-lic">
  36. <input class="easyui-textbox easyui-validatebox qii-spring-check water" data-options="validType:'length[0,30]',required:true" name="water">
  37. </span>
  38. </span>
  39. <span class="pf-pitem-li">
  40. <span class="pf-pitem-lit qii-spring-title">色泽气味:</span>
  41. <span class="pf-pitem-lic">
  42. <input class="easyui-textbox easyui-validatebox qii-spring-check" data-options="validType:'length[0,30]',required:true" name="colorsmell">
  43. </span>
  44. </span>
  45. <span class="pf-pitem-li">
  46. <span class="pf-pitem-lit qii-spring-title">脂肪酸值:</span>
  47. <span class="pf-pitem-lic">
  48. <input class="easyui-textbox easyui-validatebox qii-spring-check" data-options="validType:'length[0,30]',required:true" name="fatIndex">
  49. </span>
  50. </span>
  51. <span class="pf-pitem-li">
  52. <span class="pf-pitem-lit qii-spring-title">品尝评分值:</span>
  53. <span class="pf-pitem-lic">
  54. <input class="easyui-textbox easyui-validatebox qii-spring-check" data-options="validType:'length[0,30]',required:true" name="eatScore">
  55. </span>
  56. </span>
  57. <span class="pf-pitem-li">
  58. <span class="pf-pitem-lit qii-spring-title">蛋白质溶解比率:</span>
  59. <span class="pf-pitem-lic">
  60. <input class="easyui-textbox easyui-validatebox qii-spring-check" data-options="validType:'length[0,30]',required:true" name="proteinSolutionRatio">
  61. </span>
  62. </span>
  63. <span class="pf-pitem-li">
  64. <span class="pf-pitem-lit qii-spring-title">是否虫粮:</span>
  65. <span class="pf-pitem-lic">
  66. <select class="easyui-combobox qii-spring-check" data-options="required:true,panelHeight:60" name="isPest" editable="false">
  67. <option value="否">否</option>
  68. <option value="是">是</option>
  69. </select>
  70. </span>
  71. </span>
  72. <span class="pf-pitem-li">
  73. <span class="pf-pitem-lit qii-spring-title">备注:</span>
  74. <span class="pf-pitem-lic">
  75. <!---- <input class="easyui-textbox easyui-validatebox qii-spring-check"
  76. data-options="validType:'length[0,30]',multiline:true,width:'826px',height:'30px'" name="remarks">--->
  77. <!------><input class="easyui-textbox easyui-validatebox qii-spring-check"
  78. style=" width:826px;height:30px" name="remarks" data-options="validType:'length[0,30]'">
  79. </span>
  80. </span>
  81. </div>
  82. <script>
  83. $.extend($.fn.validatebox.defaults.rules, {
  84. minLength: {
  85. validator: function(value, param){
  86. return value.length >= param[0];
  87. },
  88. message: '长度不能大于{0}'
  89. }
  90. });
  91. </script>