grainInspection.html 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890
  1. <div class="easyui-tabs" data-options="fit:true">
  2. <div title="粮情检查记录" style="padding-bottom:46px;" class="div-wrap-table">
  3. <div class="dt-nav">
  4. 日期:
  5. <input class="easyui-datetimebox gsi-start-time" name="gsi-start-time" editable="false"
  6. data-options="width:120">-<input class="easyui-datetimebox gsi-start-time" name="gsi-end-time" editable="false"
  7. data-options="width:120">&emsp;
  8. <a href="#" class="easyui-linkbutton bd-add-s gsi-search" style="height: 25px;" id="gsi-search">查询</a>
  9. <a href="#" class="easyui-linkbutton bd-add-s gsi-add" style="height: 25px;">添加</a>
  10. <a href="#" class="easyui-linkbutton bd-add-s gsi-clear-btn" style="height: 25px;" plain="true">清空</a>
  11. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  12. <!-- <a href="#" class="easyui-linkbutton bd-add-s gsi-graph" style="height: 25px; ">三温图</a> -->
  13. <a href="#" class="easyui-linkbutton bd-add-s gsi-old-view-btn" style="height: 25px;">旧版信息查看</a>
  14. </div>
  15. <table class="grain-table-four" id="grain-table-four"></table>
  16. <div class="gsi-record"></div>
  17. </div>
  18. </div>
  19. <!--一期的粮情新增页面-->
  20. <div class="gsi-warm-w-old" style="padding: 20px;">
  21. <form class="gii-pest-old-form">
  22. <input type="hidden" name="id" id="iddd" />
  23. <span class="pf-pitem-li">
  24. <span class="pf-pitem-lit">检查时间:</span>
  25. <span class="pf-pitem-lic">
  26. <input class="easyui-datetimebox checkout-1-old" required="true" editable="false" name="checkDate"
  27. missingMessage="请填写检查时间">
  28. </span>
  29. </span>
  30. <span class="pf-pitem-li">
  31. <span class="pf-pitem-lit">气味:</span>
  32. <span class="pf-pitem-lic">
  33. <input class="easyui-textbox checkout-2 easyui-validatebox" name="foodColor"
  34. data-options="validType:'length[0,20]'" missingMessage="请填写粮食色泽情况">
  35. </span>
  36. </span>
  37. <span class="pf-pitem-li gsi-pestVolum">
  38. <span class="pf-pitem-lit">是否熏蒸:</span>
  39. <span class="pf-pitem-lic">
  40. <input type="radio" class="xzflag-radio-old first-radio" id="xzflagold" name="xzflagold" value="0"
  41. checked="checked" style="width:25px;cursor:pointer;">不熏蒸
  42. <input type="radio" class="xzflag-radio-old" id="xzflagold1" name="xzflagold" value="1"
  43. style="width:25px;cursor:pointer;">熏蒸
  44. </span>
  45. </span><br />
  46. <span class="pf-ptitle">
  47. 虫害检查情况
  48. </span><br />
  49. <span class="pf-pitem-li">
  50. <span class="pf-pitem-lit">部位:</span>
  51. <span class="pf-pitem-lic">
  52. <input class="easyui-textbox checkout-3 easyui-validatebox" name="pestPosition"
  53. data-options="validType:'length[0,20]'">
  54. </span>
  55. </span>
  56. <span class="pf-pitem-li">
  57. <span class="pf-pitem-lit">虫种:</span>
  58. <span class="pf-pitem-lic input-pestType-span">
  59. <input class="easyui-textbox checkout-4 easyui-validatebox" name="pestType"
  60. data-options="validType:'length[0,20]'">
  61. </span>
  62. </span>
  63. <span class="pf-pitem-li gsi-pestVolum">
  64. <span class="pf-pitem-lit">密度(头/公斤):</span>
  65. <span class="pf-pitem-lic">
  66. <input class="easyui-textbox checkout-5 easyui-validatebox" name="pestVolum"
  67. data-options="validType:'decimal[5]'">
  68. </span>
  69. </span>
  70. <span class="pf-pitem-li gsi-pestVolum">
  71. <span class="pf-pitem-lit">虫害等级:</span>
  72. <span class="pf-pitem-lic">
  73. <select class="easyui-combobox checkout-6" name="pestLevel" data-options="width: '143px'" editable="false">
  74. <!-- <option value="正常粮">正常粮</option> -->
  75. <option value="无虫粮">无虫粮</option>
  76. <option value="基本无虫粮">基本无虫粮</option>
  77. <option value="一般虫粮">一般虫粮</option>
  78. <option value="严重虫粮">严重虫粮</option>
  79. <option value="危险虫粮">危险虫粮</option>
  80. </select>
  81. </span>
  82. </span><br />
  83. <span class="pf-ptitle">
  84. 结露检查情况
  85. </span><br />
  86. <span class="pf-pitem-li">
  87. <span class="pf-pitem-lit">部位:</span>
  88. <span class="pf-pitem-lic">
  89. <input class="easyui-textbox easyui-validatebox" data-options="validType:'length[0,20]'" name="waterPosition">
  90. </span>
  91. </span>
  92. <span class="pf-pitem-li">
  93. <span class="pf-pitem-lit">面积:</span>
  94. <span class="pf-pitem-lic input-waterArea-span">
  95. <input class="easyui-textbox easyui-validatebox" data-options="validType:'length[0,20]'" name="waterArea">
  96. </span>
  97. </span>
  98. <span class="pf-pitem-li">
  99. <span class="pf-pitem-lit">最高水分(%):</span>
  100. <span class="pf-pitem-lic">
  101. <input class="easyui-textbox checkout-7 easyui-validatebox" data-options="validType:'decimal[5]'"
  102. name="waterHeightest">
  103. </span>
  104. </span>
  105. <span class="pf-pitem-li">
  106. <span class="pf-pitem-lit">深度(米):</span>
  107. <span class="pf-pitem-lic">
  108. <input class="easyui-textbox checkout-8 easyui-validatebox" data-options="validType:'decimal[5]'"
  109. name="waterDepth">
  110. </span>
  111. </span><br />
  112. <span class="pf-ptitle">
  113. 整体意见
  114. </span><br />
  115. <span class="pf-pitem-li">
  116. <span class="pf-pitem-lit">处理意见:</span>
  117. <span class="pf-pitem-lic">
  118. <input class="easyui-textbox easyui-validatebox" name="treatmentAdvice">
  119. </span>
  120. </span>
  121. <span class="pf-pitem-li">
  122. <span class="pf-pitem-lit">保管员签字:</span>
  123. <span class="pf-pitem-lic">
  124. <input class="easyui-textbox easyui-validatebox" required="true" name="custodianSign">
  125. </span>
  126. </span><br />
  127. <span class="pf-pitem-li">
  128. <span class="pf-pitem-lit">备注:</span>
  129. <span class="pf-pitem-lic input-remark-span">
  130. <input class="easyui-textbox easyui-validatebox remark-textbox" data-options="width:'480px'" name="remark">
  131. </span>
  132. </span><br />
  133. <span class="pf-pitem-li">
  134. <span class="pf-pitem-lit">综合检查情况:</span>
  135. <span class="pf-pitem-lic">
  136. <input class="easyui-textbox easyui-validatebox" data-options="width:'480px'" name="checkSituation">
  137. </span>
  138. </span><br />
  139. </form>
  140. <a href="#" class="easyui-linkbutton bd-add-s gsi-add-new" plain="true" style="margin-top: 20px;">确定</a>
  141. <span class="error-message">
  142. </span>
  143. </div>
  144. <!--旧版信息查看-->
  145. <div class="gsi-old-view hide">
  146. <div class="easyui-tabs gsi-old-view-tabs">
  147. <div title="日常检查历史记录" cache="false">
  148. <div>
  149. <span>
  150. 检查时间:<input class="easyui-datetimebox check-start-time" name="gii-btime" style="width: 100px"
  151. editable="false">-<input class="easyui-datetimebox check-end-time" style="width: 100px" name="gii-etime"
  152. editable="false">
  153. <a href="#" class="easyui-linkbutton bd-add-s gii-history-search" plain="true">查询</a>
  154. <a href="#" class="easyui-linkbutton bd-add-s clear-btn" plain="true">清空</a>
  155. </span>
  156. </div>
  157. <table class="gii-history-tb" style="width: 100%; height: 400px;">
  158. </table>
  159. </div>
  160. <div title="仓温检查历史记录">
  161. <div>
  162. <span>
  163. 检查时间:<input class="easyui-datetimebox check-start-time" name="gii-bti" style="width: 100px"
  164. editable="false">-<input class="easyui-datetimebox check-end-time" style="width: 100px" name="gii-eti"
  165. editable="false">
  166. <!-----<input class="easyui-datebox check-start2-time" name="check-start2-btime"
  167. style="width: 100px" editable="false">-<input
  168. class="easyui-datebox check-end2-time" style="width: 100px" name="check-end2-etime"
  169. editable="false">--->
  170. <a href="#" class="easyui-linkbutton bd-add-s gii-history2-search" plain="true">查询</a>
  171. <a href="#" class="easyui-linkbutton bd-add-s clear-btn" plain="true">清空</a>
  172. </span>
  173. </div>
  174. <table class="gii-history2-tb" style="width: 100%; height: 400px;">
  175. </table>
  176. <div class="gii-history-w">
  177. <div class="gii-history-w-wrap"></div>
  178. </div>
  179. </div>
  180. </div>
  181. </div>
  182. <!-- 新增 -->
  183. <!--二期粮情检查 增加-->
  184. <div class="gsi-warm-w" style="padding: 20px;">
  185. <form class="gii-pest-form">
  186. <input type="hidden" name="id" id="id" />
  187. <span class="pf-pitem-li">
  188. <span class="pf-pitem-lit">检查时间:</span>
  189. <!-- <span class="pf-pitem-lic" id='date_show'>
  190. <input class="easyui-datebox show-input" type="text" required="true" name="checkDate" missingMessage="请填写检查时间" id='date_hide2' onChange='timerChan'>
  191. </span> -->
  192. <span class="pf-pitem-lic" id='date_hide'>
  193. <input class="easyui-datetimebox checkout-1" required="true" editable="false" name="checkDate" id='date_hide1'
  194. missingMessage="请填写检查时间">
  195. </span>
  196. </span>
  197. <span class="pf-pitem-li">
  198. <span class="pf-pitem-lit">检查人:</span>
  199. <span class="pf-pitem-lic">
  200. <!-- <input class="easyui-textbox checkSign" name="checkSign"> -->
  201. <input id="checkSign" name="checkSign" class="easyui-combotree checkSign" data-options="required:true" style="width:140px;height:20px">
  202. </span>
  203. </span>
  204. <br />
  205. <!--熏蒸情况 下边的不用填写-->
  206. <span class="pf-pitem-li gsi-pestVolum">
  207. <span class="pf-pitem-lit">是否熏蒸:</span>
  208. <span class="pf-pitem-lic">
  209. <input type="radio" class="xzflag-radio first-radio" name="xzflag" value="0" id='no_xunzheng'
  210. style="width:25px;cursor:pointer;" checked="checked">不熏蒸
  211. <input type="radio" class="xzflag-radio" name="xzflag" value="1" id='xunzheng'
  212. style="width:25px;cursor:pointer;">熏蒸
  213. <a href="#" id='reset' class='easyui-linkbutton bd-add-s clear-btn'
  214. style="height: 25px; width:60px; margin-left: 10px;" plain="true">清空</a>
  215. </span>
  216. </span><br />
  217. <span class="pf-pitem-li">
  218. <span class="pf-pitem-lit">仓内湿度%:</span>
  219. <span class="pf-pitem-lic">
  220. <input type="text" id="inWater" name="inWater" class="easyui-textbox easyui-validatebox"
  221. data-options="validType:'integ'" />
  222. <!--<input class="easyui-numberbox " name="inWater" >-->
  223. </span>
  224. </span>
  225. <span class="pf-pitem-li">
  226. <span class="pf-pitem-lit">仓外湿度%:</span>
  227. <span class="pf-pitem-lic">
  228. <input type="text" id="outWater" name="outWater" class="easyui-textbox easyui-validatebox"
  229. data-options="validType:'integ'" />
  230. <!--<input class="easyui-numberbox " name="outWater" >-->
  231. </span>
  232. </span>
  233. <br />
  234. <span class="pf-pitem-li">
  235. <span class="pf-pitem-lit">仓内温度℃:</span>
  236. <span class="pf-pitem-lic">
  237. <input type="text" id="inTemp" name="inTemp" class="easyui-textbox checkout-2 easyui-validatebox"
  238. data-options="validType:'decimal[1]'" />
  239. <!--<input class="easyui-numberbox checkout-2 " required ="true" name="inTemp" >-->
  240. </span>
  241. </span>
  242. <span class="pf-pitem-li">
  243. <span class="pf-pitem-lit">仓外温度℃:</span>
  244. <span class="pf-pitem-lic">
  245. <input type="text" id="outTemp" name="outTemp" class="easyui-textbox checkout-2 easyui-validatebox"
  246. data-options="validType:'decimal[1]'" />
  247. <!--<input class="easyui-numberbox checkout-2 " name="outTemp" >-->
  248. </span>
  249. </span>
  250. <br />
  251. <span class="pf-pitem-li">
  252. <span class="pf-pitem-lit">虫害等级:</span>
  253. <span class="pf-pitem-lic">
  254. <span class="pf-pitem-lic">
  255. <input class="easyui-combobox checkout-6 pestLevel" name="pestLevel" editable="false">
  256. </span>
  257. </span>
  258. </span><br />
  259. <span class="pf-ptitle">
  260. 粮温检查情况
  261. </span><br />
  262. <span class="pf-pitem-li">
  263. <span class="pf-pitem-lit">最高℃:</span>
  264. <span class="pf-pitem-lic">
  265. <input type="text" id="maxTemp" name="maxTemp" class="easyui-textbox checkout-5 easyui-validatebox" data-options="validType:['decimal[1]','checkIntemp[-1000,1000]']"
  266. maxlength="6" />
  267. <!--<input class="easyui-numberbox checkout-3 " name="maxTemp" >-->
  268. </span>
  269. </span>
  270. <span class="pf-pitem-li">
  271. <span class="pf-pitem-lit">最低℃:</span>
  272. <span class="pf-pitem-lic">
  273. <input type="text" id="minTemp" name="minTemp" class="easyui-textbox checkout-2 easyui-validatebox" data-options="validType:['decimal[1]','checkIntemp[-1000,1000]']" maxlength="6" />
  274. <!--<input class="easyui-numberbox checkout-4 " name="minTemp">-->
  275. </span>
  276. </span>
  277. <br />
  278. <span class="pf-pitem-li gsi-pestVolum">
  279. <span class="pf-pitem-lit">平均℃:</span>
  280. <span class="pf-pitem-lic">
  281. <input type="text" id="avgTemp" name="avgTemp" class="easyui-textbox checkout-5 easyui-validatebox" data-options="validType:['decimal[1]','checkIntemp[-1000,1000]']" maxlength="6" />
  282. <!--<input class="easyui-numberbox checkout-5 " name="avgTemp" >-->
  283. </span>
  284. </span>
  285. <br />
  286. <span class="pf-ptitle">
  287. 异常情况
  288. </span><br />
  289. <span class="pf-pitem-li">
  290. <span class="pf-pitem-lit">类型:</span>
  291. <span class="pf-pitem-lic">
  292. <input class="easyui-combobox easyui-validatebox nonormalTypes" name="nonormalType" editable="false">
  293. <!-- <select class="easyui-combobox easyui-validatebox" name="nonormalType" style="width:140px;height: 20px;" editable="false">
  294. <option value="虫害">虫害</option>
  295. <option value="发热">发热</option>
  296. <option value="发霉">发霉</option>
  297. <option value="返潮">返潮</option>
  298. <option value="结顶">结顶</option>
  299. <option value="其他">其他</option>
  300. </select> -->
  301. </span>
  302. </span>
  303. <span class="pf-pitem-li">
  304. <span class="pf-pitem-lit">部位:</span>
  305. <span class="pf-pitem-lic input-waterArea-span">
  306. <input class="easyui-textbox easyui-validatebox" name="nonormalPosition">
  307. </span>
  308. </span>
  309. <br />
  310. <span class="pf-pitem-li">
  311. <span class="pf-pitem-lit">范围:</span>
  312. <span class="pf-pitem-lic">
  313. <input class="easyui-textbox easyui-validatebox" data-options="width:'442px'" name="nonormalDomain">
  314. </span>
  315. </span>
  316. <br />
  317. <span class="pf-pitem-li">
  318. <span class="pf-pitem-lit">粮温℃:</span>
  319. <span class="pf-pitem-lic">
  320. <input class="easyui-textbox easyui-validatebox" name="nonormalTemp" data-options="validType:['decimal[1]','checkIntemp[-1000,1000]']">
  321. </span>
  322. </span>
  323. <span class="pf-pitem-li">
  324. <span class="pf-pitem-lit">水分(%):</span>
  325. <span class="pf-pitem-lic">
  326. <!--<input class="easyui-numberbox easyui-validatebox" data-options="validType:'decimal[5]',max:100,min:0" name="nonormalWater">-->
  327. <input type="text" id="nonormalWater" name="nonormalWater" class="easyui-textbox easyui-validatebox" data-options="validType:['decimal[1]','jretailUpperLimit[0,100]']" maxlength="6" />
  328. </span>
  329. </span>
  330. <br />
  331. <span class="pf-ptitle">四无检查</span>
  332. <a href="#" id='reset_check' class='easyui-linkbutton bd-add-s clear-btn'
  333. style="height: 25px; width:60px; margin-left: 10px;" plain="true">清空</a></br>
  334. <span class="pf-pitem-li">
  335. <span class="pf-pitem-lit">鼠雀情况:</span>
  336. <span class="pf-pitem-lic">
  337. <input type="radio" id="xin-configer" value="0" name="mouseRecord" style="width:25px;cursor:pointer;">有
  338. <input type="radio" id="xin-configer1" checked="checked" value="1" name="mouseRecord"
  339. style="width:25px;cursor:pointer;">无
  340. </span>
  341. </span>
  342. <span class="pf-pitem-li">
  343. <span class="pf-pitem-lit">害虫情况:</span>
  344. <span class="pf-pitem-lic">
  345. <input type="radio" id="xin-confi" value="0" name="sectRecord" style="width:25px;cursor:pointer;" >有
  346. <input type="radio" id="xin-cor1" checked="checked" value="1" name="sectRecord"
  347. style="width:25px;cursor:pointer;">无
  348. </span>
  349. </span><br />
  350. <span class="pf-pitem-li hide">
  351. <span class="pf-pitem-lit">虫种:</span>
  352. <span class="pf-pitem-lic">
  353. <input class="easyui-textbox easyui-validatebox" data-options="width:'140px'" name="pestType"/>
  354. </span>
  355. </span>
  356. <span class="pf-pitem-li hide">
  357. <span class="pf-pitem-lit">害虫密度(头/kg):</span>
  358. <span class="pf-pitem-lic">
  359. <input class="easyui-textbox easyui-validatebox" data-options="width:'140px'" id="densitys" name="pestVolum" />
  360. </span>
  361. </span>
  362. <br />
  363. <span class="pf-pitem-li">
  364. <span class="pf-pitem-lit">变质情况:</span>
  365. <span class="pf-pitem-lic">
  366. <input type="radio" id="xin-confri" value="0" name="badRecord" style="width:25px;cursor:pointer;">有
  367. <input type="radio" id="xin-corr1" checked="checked" value="1" name="badRecord"
  368. style="width:25px;cursor:pointer;">无
  369. </span>
  370. </span>
  371. <span class="pf-pitem-li">
  372. <span class="pf-pitem-lit">事故情况:</span>
  373. <span class="pf-pitem-lic">
  374. <input type="radio" id="xin-corfi" value="0" name="accidentRecord" style="width:25px;cursor:pointer;">有
  375. <input type="radio" id="xin-cror1" checked="checked" value="1" name="accidentRecord"
  376. style="width:25px;cursor:pointer;">无
  377. </span>
  378. </span><br />
  379. <span class="pf-pitem-li">
  380. <span class="pf-pitem-lit">处理方案或处理效果:</span>
  381. <span class="pf-pitem-lic">
  382. <input class="easyui-textbox easyui-validatebox" data-options="width:'442px'" name="treatmentAdvice">
  383. </span>
  384. </span><br />
  385. </form>
  386. <a href="#" class="easyui-linkbutton bd-add-s gsi-add-new" plain="true" style="margin-top: 20px;">确定</a>
  387. <span class="error-message">
  388. </span>
  389. </div>
  390. <!-- 查看 -->
  391. <!--粮情检查信息详情-->
  392. <div class="gsi-warm-wer" style="padding: 20px;" data-options="modal:false,closed:true">
  393. <form class="liangqjcxx-form">
  394. <span class="archiveMg-label-t">
  395. <span class="in-pitem-lit">检查时间:</span>
  396. <span class="in-pitem-lic"><input class="easyui-textbox" name="checkDate" editable="false"
  397. disabled="disabled"></span>
  398. </span>
  399. <span class="archiveMg-label-t">
  400. <span class="in-pitem-lit">检查人:</span>
  401. <span class="in-pitem-lic"><input class="easyui-textbox" name="checkSign" editable="false"
  402. disabled="disabled"></span>
  403. </span><br />
  404. <span class="archiveMg-label-t">
  405. <span class="in-pitem-lit">是否熏蒸:</span>
  406. <span class="pf-pitem-lic">
  407. <input type="radio" disabled="disabled" class="xzflag-radio first-radio" id="xzflagold" name="xzflag" value="0"
  408. style="width:25px;cursor:pointer;">不熏蒸
  409. <input type="radio" disabled="disabled" class="xzflag-radio" id="xzflagold1" name="xzflag" value="1"
  410. checked="checked" style="width:25px;cursor:pointer;">熏蒸
  411. </span>
  412. </span><br />
  413. <span class="archiveMg-label-t">
  414. <span class="in-pitem-lit">仓内湿度%:</span>
  415. <span class="in-pitem-lic"><input class="easyui-textbox" name="inWater" editable="false"
  416. disabled="disabled"></span>
  417. </span>
  418. <span class="archiveMg-label-t">
  419. <span class="in-pitem-lit">仓外湿度%:</span>
  420. <span class="in-pitem-lic"><input class="easyui-textbox" name="outWater" editable="false"
  421. disabled="disabled"></span>
  422. </span><br />
  423. <span class="archiveMg-label-t">
  424. <span class="in-pitem-lit">仓内温度℃:</span>
  425. <span class="in-pitem-lic"><input class="easyui-textbox" name="inTemp" editable="false"
  426. disabled="disabled"></span>
  427. </span>
  428. <span class="archiveMg-label-t">
  429. <span class="in-pitem-lit">仓外温度℃:</span>
  430. <span class="in-pitem-lic"><input class="easyui-textbox" name="outTemp" editable="false"
  431. disabled="disabled"></span>
  432. </span><br />
  433. <span class="pf-pitem-li">
  434. <span class="pf-pitem-lit">虫害等级:</span>
  435. <span class="pf-pitem-lic">
  436. <span class="pf-pitem-lic">
  437. <input class="easyui-combobox checkout-6 pestLevel" disabled="disabled" name="pestLevel" editable="false">
  438. </span>
  439. </span>
  440. </span><br />
  441. <h3>粮温检查情况</h3>
  442. <span class="archiveMg-label-t">
  443. <span class="in-pitem-lit">最高:</span>
  444. <span class="in-pitem-lic"><input class="easyui-textbox" name="maxTemp" editable="false"
  445. disabled="disabled"></span>
  446. </span>
  447. <span class="archiveMg-label-t">
  448. <span class="in-pitem-lit">最低:</span>
  449. <span class="in-pitem-lic"><input class="easyui-textbox" name="minTemp" editable="false"
  450. disabled="disabled"></span>
  451. </span><br />
  452. <span class="archiveMg-label-t">
  453. <span class="in-pitem-lit">平均:</span>
  454. <span class="in-pitem-lic"><input class="easyui-textbox" name="avgTemp" editable="false"
  455. disabled="disabled"></span>
  456. </span><br />
  457. <h3>异常情况</h3>
  458. <span class="archiveMg-label-t">
  459. <span class="in-pitem-lit">类型:</span>
  460. <span class="in-pitem-lic"><input class="easyui-textbox" name="nonormalType" editable="false"
  461. disabled="disabled"></span>
  462. </span>
  463. <span class="archiveMg-label-t">
  464. <span class="in-pitem-lit">部位:</span>
  465. <span class="in-pitem-lic"><input class="easyui-textbox" name="nonormalPosition" editable="false"
  466. disabled="disabled"></span>
  467. </span><br />
  468. <span class="archiveMg-label-t">
  469. <span class="in-pitem-lit">范围:</span>
  470. <span class="in-pitem-lic"><input style="width:442px" class="easyui-textbox" name="nonormalDomain"
  471. editable="false" disabled="disabled"></span>
  472. </span><br />
  473. <span class="archiveMg-label-t">
  474. <span class="in-pitem-lit">粮温:</span>
  475. <span class="in-pitem-lic"><input class="easyui-textbox" name="nonormalTemp" editable="false"
  476. disabled="disabled"></span>
  477. </span>
  478. <span class="archiveMg-label-t">
  479. <span class="in-pitem-lit">水分(%):</span>
  480. <span class="in-pitem-lic"><input class="easyui-textbox" name="nonormalWater" editable="false"
  481. disabled="disabled"></span>
  482. </span><br />
  483. <h3>四无检查</h3>
  484. <span class="archiveMg-label-t">
  485. <span class="in-pitem-lit">鼠雀情况:</span>
  486. <span class="in-pitem-lic">
  487. <input type="radio" value="0" class="mouseRecord-radio" name="mouseRecord" disabled="disabled"
  488. style="width:25px;cursor:pointer;">有
  489. <input type="radio" value="1" class="mouseRecord-radio" name="mouseRecord" disabled="disabled"
  490. style="width:25px;cursor:pointer;">无
  491. </span>
  492. </span>
  493. <span class="archiveMg-label-t">
  494. <span class="in-pitem-lit">害虫情况:</span>
  495. <span class="in-pitem-lic">
  496. <input type="radio" value="0" class="sectRecord-radio" name="sectRecord" disabled="disabled"
  497. style="width:25px;cursor:pointer;">有
  498. <input type="radio" value="1" class="sectRecord-radio" name="sectRecord" disabled="disabled"
  499. style="width:25px;cursor:pointer;">无
  500. </span>
  501. </span><br />
  502. <span class="pf-pitem-li hide">
  503. <span class="pf-pitem-lit">虫种:</span>
  504. <span class="pf-pitem-lic">
  505. <input class="easyui-textbox easyui-validatebox" disabled="disabled" data-options="width:'140px'" name="pestType"/>
  506. </span>
  507. </span>
  508. <span class="pf-pitem-li hide">
  509. <span class="pf-pitem-lit">害虫密度(头/kg):</span>
  510. <span class="pf-pitem-lic">
  511. <input class="easyui-textbox easyui-validatebox" disabled="disabled" data-options="width:'140px'" id="densitys" name="pestVolum" />
  512. </span>
  513. </span>
  514. <br />
  515. <span class="archiveMg-label-t">
  516. <span class="in-pitem-lit">变质情况:</span>
  517. <span class="in-pitem-lic">
  518. <input type="radio" value="0" name="badRecord" disabled="disabled" style="width:25px;cursor:pointer;">有
  519. <input type="radio" value="1" name="badRecord" disabled="disabled" style="width:25px;cursor:pointer;">无
  520. </span>
  521. </span>
  522. <span class="archiveMg-label-t">
  523. <span class="in-pitem-lit">事故情况:</span>
  524. <span class="in-pitem-lic">
  525. <input type="radio" value="0" name="accidentRecord" disabled="disabled" style="width:25px;cursor:pointer;">有
  526. <input type="radio" value="1" name="accidentRecord" disabled="disabled" style="width:25px;cursor:pointer;">无
  527. </span>
  528. </span><br />
  529. <span class="archiveMg-label-t">
  530. <span class="in-pitem-lit">处理方案或处理效果:</span>
  531. <span class="in-pitem-lic"><input class="easyui-textbox" name="treatmentAdvice" editable="false"
  532. disabled="disabled"></span>
  533. </span><br />
  534. </form>
  535. </div>
  536. <!--三温图-->
  537. <div class="gsi-graph-view ">
  538. <span class="pf-pitem-li gsi-graph-view-year">
  539. <span class="pf-pitem-lit">年份:</span>
  540. <span class="pf-pitem-lic">
  541. <select class="easyui-combobox gsi-graph-view-year-v" name="year">
  542. <option value="2012">2012</option>
  543. <option value="2013">2013</option>
  544. <option value="2014">2014</option>
  545. <option value="2015">2015</option>
  546. <option value="2016">2016</option>
  547. <option value="2017">2017</option>
  548. <option value="2018">2018</option>
  549. <option value="2019">2019</option>
  550. <option value="2020">2020</option>
  551. <option value="2021">2021</option>
  552. <option value="2022">2022</option>
  553. <option value="2023">2023</option>
  554. <option value="2024">2024</option>
  555. <option value="2025">2025</option>
  556. <option value="2026">2026</option>
  557. <option value="2027">2027</option>
  558. <option value="2028">2028</option>
  559. <option value="2029">2029</option>
  560. <option value="2030">2030</option>
  561. </select>
  562. </span>
  563. </span>
  564. <div class="gsi-graph-view-chart" id="gsi-graph-view-chart" style="width: 1000px;height:600px;"></div>
  565. </div>
  566. <!--风雨雪三查检查 增加-->
  567. <div class="windrainsnow-w" style="padding: 20px;">
  568. <form class="windrainsnow-form">
  569. <input type="hidden" name="id" id="idd" />
  570. <span class="pf-ptitle">
  571. 风雨雪前检查
  572. </span><br />
  573. <span class="pf-pitem-li">
  574. <span class="pf-pitem-lit">日期:</span>
  575. <span class="pf-pitem-lic">
  576. <input class="easyui-datebox" required="true" editable="false" name="checkDate" missingMessage="请填写日期">
  577. </span>
  578. </span>
  579. <span class="pf-pitem-li">
  580. <span class="pf-pitem-lit">门窗是否关好:</span>
  581. <span class="pf-pitem-lic">
  582. <!--<input class="easyui-textbox " name="preWindowClose" data-options="validType:'length[0,20]'">-->
  583. <select id="preWindowClose" class="easyui-combobox preWindowClose" data-options="panelHeight:'auto'"
  584. name="preWindowClose" editable="false" style="width: 120px">
  585. <option value="是">是</option>
  586. <option value="否">否</option>
  587. </select>
  588. </span>
  589. </span>
  590. <br />
  591. <span class="pf-pitem-li">
  592. <span class="pf-pitem-lit">排水是否通畅:</span>
  593. <span class="pf-pitem-lic">
  594. <!--<input class="easyui-textbox" name="preWaterClean" data-options="validType:'length[0,20]'">-->
  595. <select class="easyui-combobox preWaterClean" data-options="panelHeight:'auto'" name="preWaterClean"
  596. editable="false" style="width: 120px">
  597. <option value="是">是</option>
  598. <option value="否">否</option>
  599. </select>
  600. </span>
  601. </span>
  602. <br />
  603. <span class="pf-ptitle">
  604. 风雨雪中检查
  605. </span><br />
  606. <span class="pf-pitem-li">
  607. <span class="pf-pitem-lit">天气情况:</span>
  608. <span class="pf-pitem-lic">
  609. <input class="easyui-textbox" name="doingWeather">
  610. </span>
  611. </span>
  612. <span class="pf-pitem-li">
  613. <span class="pf-pitem-lit">门窗是否关好:</span>
  614. <span class="pf-pitem-lic">
  615. <!--<input class="easyui-textbox" name="doingWindowClose">-->
  616. <select class="easyui-combobox doingWindowClose" data-options="panelHeight:'auto'" name="doingWindowClose"
  617. editable="false" style="width: 120px">
  618. <option value="是">是</option>
  619. <option value="否">否</option>
  620. </select>
  621. </span>
  622. </span>
  623. <br />
  624. <span class="pf-pitem-li">
  625. <span class="pf-pitem-lit">水沟是否通畅:</span>
  626. <span class="pf-pitem-lic">
  627. <!--<input class="easyui-textbox " name="doingWaterClean">-->
  628. <select class="easyui-combobox doingWaterClean" data-options="panelHeight:'auto'" name="doingWaterClean"
  629. editable="false" style="width: 120px">
  630. <option value="是">是</option>
  631. <option value="否">否</option>
  632. </select>
  633. </span>
  634. </span>
  635. <span class="pf-pitem-li" style="margin-left: 23px;">
  636. <span class="pf-pitem-lit">仓房有无渗漏:</span>
  637. <span class="pf-pitem-lic">
  638. <!--<input class="easyui-textbox " name="doingWaterIn">-->
  639. <select class="easyui-combobox doingWaterIn" data-options="panelHeight:'auto'" name="doingWaterIn"
  640. editable="false" style="width: 120px">
  641. <option value="无">无</option>
  642. <option value="有">有</option>
  643. </select>
  644. </span>
  645. </span>
  646. <br />
  647. <span class="pf-pitem-li">
  648. <span class="pf-pitem-lit">发生部位:</span>
  649. <span class="pf-pitem-lic">
  650. <input class="easyui-textbox easyui-validatebox" data-options="validType:'happenPosition'"
  651. name="doingWaterInPosition">
  652. </span>
  653. </span>
  654. <br />
  655. <span class="pf-pitem-li">
  656. <span class="pf-pitem-lit">采取措施:</span>
  657. <span class="pf-pitem-lic">
  658. <input class="easyui-textbox easyui-validatebox" data-options="validType:'takeSteps',width:'416px'"
  659. name="doingWaterInSolution">
  660. </span>
  661. </span>
  662. <br />
  663. <span class="pf-ptitle">
  664. 风雨雪后检查
  665. </span><br />
  666. <span class="pf-pitem-li">
  667. <span class="pf-pitem-lit">日期:</span>
  668. <span class="pf-pitem-lic">
  669. <input class="easyui-datebox" editable="false" name="postCheckDate" missingMessage="请填写日期">
  670. </span>
  671. </span>
  672. <span class="pf-pitem-li">
  673. <span class="pf-pitem-lit">仓温℃:</span>
  674. <span class="pf-pitem-lic input-pestType-span">
  675. <input class="easyui-numberbox " precision="2" name="postHouseTemp">
  676. </span>
  677. </span>
  678. <br />
  679. <span class="pf-pitem-li gsi-pestVolum">
  680. <span class="pf-pitem-lit">仓湿%:</span>
  681. <span class="pf-pitem-lic">
  682. <input class="easyui-numberbox" name="postHouseWater">
  683. </span>
  684. </span>
  685. <span class="pf-pitem-li">
  686. <span class="pf-pitem-lit">仓房有无渗漏:</span>
  687. <span class="pf-pitem-lic">
  688. <!--<input class="easyui-textbox easyui-validatebox" data-options="validType:'length[0,20]'"
  689. name="postWaterIn">-->
  690. <select class="easyui-combobox postWaterIn" data-options="panelHeight:'auto'" name="postWaterIn"
  691. editable="false" style="width: 120px">
  692. <option value="无">无</option>
  693. <option value="有">有</option>
  694. </select>
  695. </span>
  696. </span>
  697. <span class="pf-pitem-li">
  698. <span class="pf-pitem-lit">发生部位:</span>
  699. <span class="pf-pitem-lic input-waterArea-span">
  700. <input class="easyui-textbox easyui-validatebox" data-options="validType:'happenPosition'"
  701. name="postWaterInPosition">
  702. </span>
  703. </span>
  704. <br />
  705. <span class="pf-pitem-li">
  706. <span class="pf-pitem-lit">采取措施:</span>
  707. <span class="pf-pitem-lic">
  708. <input class="easyui-textbox easyui-validatebox" data-options="validType:'takeSteps',width:'416px'"
  709. name="postWaterInSolution">
  710. </span>
  711. </span><br />
  712. <span class="pf-pitem-li">
  713. <span class="pf-pitem-lit">检查人员:</span>
  714. <span class="pf-pitem-lic input-waterArea-span">
  715. <input class="easyui-textbox checkPerson easyui-validatebox" data-options="validType:'length[0,20]'"
  716. name="checkSign">
  717. </span>
  718. </span>
  719. <br />
  720. </form>
  721. <a href="#" class="easyui-linkbutton bd-add-s windrainsnow-add-new" plain="true" style="margin-top: 20px;">确定</a>
  722. <span class="error-message">
  723. </span>
  724. </div>
  725. <style type="text/css">
  726. .red {
  727. color: red;
  728. }
  729. .hide {
  730. display: none;
  731. }
  732. .error-message {
  733. margin: 4px 0 0 0;
  734. padding: 0;
  735. color: red;
  736. line-height: 36px;
  737. font-size: 18px;
  738. display: block;
  739. }
  740. .div-wrap-table .datagrid-wrap {
  741. border: none;
  742. }
  743. div.upload-btn {
  744. position: relative;
  745. width: auto;
  746. background-repeat: no-repeat;
  747. }
  748. .upload-btn a {
  749. text-decoration: none;
  750. position: absolute;
  751. top: 0;
  752. left: 120px;
  753. display: inline-block;
  754. width: 100px;
  755. height: 40px;
  756. line-height: 40px;
  757. border-radius: 5px;
  758. text-align: center;
  759. font-size: 15px;
  760. color: #fff;
  761. background: #1A9856;
  762. }
  763. </style>
  764. <script>
  765. $("input[name=xinxin]:eq(0)").attr("checked", 'true');
  766. $("input[name=xinxen]:eq(0)").attr("checked", 'true');
  767. $("input[name=xinxrn]:eq(0)").attr("checked", 'true');
  768. $("input[name=xirxen]:eq(0)").attr("checked", 'true');
  769. </script>
  770. <script type="text/javascript">
  771. var selector = $("#upload-file");
  772. var wid = localStorage.warehouseID;
  773. $(selector).AjaxFileUpload({
  774. action: "/sys/upload/doupload?type=house",
  775. dataType: 'json',//返回值类型 一般设置为json
  776. onChange: function (filename) {
  777. },
  778. onSubmit: function (data) {
  779. return true;
  780. },
  781. onComplete: function (data, response) {
  782. if (response.lastname == 'xls' || response.lastname == 'xlsx') {
  783. if (response.code == 0) {
  784. base.ajaxFunc('get', "/daily/foodinfo/saveTemperatureExcel", {
  785. houseId: wid,
  786. excelPath: response.uploadDir
  787. }, function (e) {
  788. grainInspectInfo.getTemp('/daily/foodinfo/getTemperByHouseId', {
  789. houseId: localStorage.warehouseID
  790. }, '.gsi-record');
  791. base.requestTip(e, '#uploadInfo', '', 0);
  792. });
  793. } else {
  794. // $(formSelector+" #upload-info").html("上传失败").fadeIn();
  795. return;
  796. }
  797. } else {
  798. $.messager.alert('提示', "文件格式不正确");
  799. return;
  800. }
  801. }
  802. });
  803. $(function () {
  804. // $.extend($.fn.validatebox.defaults.rules, {
  805. // validDate: {
  806. // validator: function(value){
  807. // var date = $.fn.datebox.defaults.parser(value);
  808. // var s = $.fn.datebox.defaults.formatter(date);
  809. // return s==value;
  810. // },
  811. // message: '请输入有效的日期.'
  812. // }
  813. // });
  814. $.extend($.fn.datebox.defaults.rules, {
  815. validDate: {
  816. validator: function (value) {
  817. var date = $.fn.datebox.defaults.parser(value);
  818. var s = $.fn.datebox.defaults.formatter(date);
  819. return s == value;
  820. },
  821. message: 'Please input the correct date format'
  822. }
  823. });
  824. });
  825. function err(target, message) {
  826. var t = $(target);
  827. if (t.hasClass('textbox-text')) {
  828. t = t.parent();
  829. }
  830. var m = t.next('.error-message');
  831. if (!m.length) {
  832. m = $('<div class="error-message"></div>').insertAfter(t);
  833. }
  834. m.html(message);
  835. }
  836. </script>