爱思开
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

746 lines
27 KiB

2 years ago
  1. 
  2. @{
  3. ViewBag.Title = "SeachInventory";
  4. Layout = "~/Views/Shared/_Index.cshtml";
  5. }
  6. <link href="~/Content/js/select2/select2.min.css" rel="stylesheet" />
  7. <link href="~/Content/js/dialog/dialog.css" rel="stylesheet" />
  8. <script src="~/Content/js/datepicker/WdatePicker.js"></script>
  9. <script src="~/Content/js/select2/select2.min.js"></script>
  10. <style>
  11. .divbox {
  12. margin-left: 20px;
  13. margin-top: 10px;
  14. display: inline-block;
  15. float: left;
  16. }
  17. .divformValue {
  18. display: inline-block;
  19. float: left;
  20. }
  21. .divformTitle {
  22. display: inline-block;
  23. float: left;
  24. }
  25. /*.divformValue{
  26. display:inline-block;
  27. }*/
  28. </style>
  29. <script>
  30. var Type = '';
  31. debugger;
  32. $(function () {
  33. Extension();
  34. Init();
  35. });
  36. function Extension() {
  37. $.ajax({
  38. url: "/WMS/WMSCreateItemLot/SelectICSExtensionEnable" + "?" + Math.random(),
  39. dataType: "json",
  40. async: false,
  41. success: function (data) {
  42. debugger;
  43. if (data != null && data.length > 0) {
  44. for (var i = 0; i < data.length; i++) {
  45. if (data[i].ColCode == 'ProjectCode') { $("#ProjectCode").css('display', 'none'); }
  46. if (data[i].ColCode == 'BatchCode') { $("#BatchCode").css('display', 'none'); }
  47. if (data[i].ColCode == 'Version') { $("#Version").css('display', 'none'); }
  48. if (data[i].ColCode == 'Brand') { $("#Brand").css('display', 'none'); }
  49. if (data[i].ColCode == 'cFree1') { $("#cFree1").css('display', 'none'); }
  50. if (data[i].ColCode == 'cFree2') { $("#cFree2").css('display', 'none'); }
  51. if (data[i].ColCode == 'cFree3') { $("#cFree3").css('display', 'none'); }
  52. if (data[i].ColCode == 'cFree4') { $("#cFree4").css('display', 'none'); }
  53. if (data[i].ColCode == 'cFree5') { $("#cFree5").css('display', 'none'); }
  54. if (data[i].ColCode == 'cFree6') { $("#cFree6").css('display', 'none'); }
  55. if (data[i].ColCode == 'cFree7') { $("#cFree7").css('display', 'none'); }
  56. if (data[i].ColCode == 'cFree8') { $("#cFree8").css('display', 'none'); }
  57. if (data[i].ColCode == 'cFree9') { $("#cFree9").css('display', 'none'); }
  58. if (data[i].ColCode == 'cFree10') { $("#cFree10").css('display', 'none'); }
  59. }
  60. }
  61. }
  62. });
  63. }
  64. function Init() {
  65. document.getElementById("gridPanel").innerHTML = ' <span><strong>详细信息</strong></span> <table id="gridList"></table> ';//重置grid
  66. var LotNo = $("#txt_LotNo").val();
  67. $("#gridList").dataGrid({
  68. url: "/WMS/ICSMTDOC/GetRepertory" + "?LotNo=" + LotNo + "&" + Math.random(),
  69. height: $(window).height() - 20,
  70. width: $(window).width() - 300,
  71. colModel: [
  72. { label: '主键', name: 'ID', hidden: true, key: true },
  73. { label: '仓库', name: 'WarehouseCode', width: 100, align: 'left' },
  74. { label: '条码', name: 'LotNo', width: 100, align: 'left' },
  75. { label: '料品编码', name: 'InvCode', width: 100, align: 'left' },
  76. { label: '料品名称', name: 'InvName', width: 100, align: 'left' },
  77. { label: '料品描述', name: 'InvDesc', width: 100, align: 'left' },
  78. { label: '规格型号', name: 'InvStd', width: 100, align: 'left' },
  79. { label: '单位', name: 'InvUnit', width: 100, align: 'left' },
  80. { label: '总数量', name: 'Quantity', width: 100, align: 'left' },
  81. { label: '辅计量数量', name: 'Amount', width: 100, align: 'left' },
  82. { label: '批次', name: 'BatchCode', width: 100, align: 'left' },
  83. ],
  84. shrinkToFit: false,//宽度自适应
  85. autowidth: true,
  86. gridComplete: function () {
  87. },
  88. rowNum: 10000,
  89. autoScroll: true,
  90. sortname: 'LotNO',
  91. sortorder: "desc",
  92. viewrecords: true,
  93. multiselect: true,
  94. })
  95. };
  96. function submitForm() {
  97. var rows = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  98. if (rows.length <= 0) {
  99. $.modalAlertNew("WMS00080");
  100. return;
  101. }
  102. var InvCode = $("#txtInvCode").val();
  103. var Memo = $("#txtMemo").val();
  104. var ICSMTDOC = [];
  105. for (var i = 0; i < rows.length; i++) {
  106. var rowData = $("#gridList").jqGrid('getRowData', rows[i]);
  107. if (rowData.Amount=='') {
  108. var Amounts = 0;
  109. } else {
  110. var Amounts = rowData.Amount;
  111. }
  112. var FlagProjectCode = '';
  113. var FlagBatchCode = '';
  114. var FlagVersion = '';
  115. var FlagBrand = '';
  116. var FlagcFree1 = '';
  117. var FlagcFree2 = '';
  118. var FlagcFree3 = '';
  119. var FlagcFree4 = '';
  120. var FlagcFree5 = '';
  121. var FlagcFree6 = '';
  122. var FlagcFree7 = '';
  123. var FlagcFree8 = '';
  124. var FlagcFree9 = '';
  125. var FlagcFree10 = '';
  126. var FlagInvCode = '';
  127. if ($("#BatchCodebox").is(':checked')) {
  128. FlagBatchCode = '1';
  129. }
  130. if ($("#ProjectCodebox").is(':checked')) {
  131. FlagProjectCode = '1';
  132. }
  133. if ($("#Versionbox").is(':checked')) {
  134. FlagVersion = '1';
  135. }
  136. if ($("#Brandbox").is(':checked')) {
  137. FlagBrand = '1';
  138. }
  139. if ($("#cFree1box").is(':checked')) {
  140. FlagcFree1 = '1';
  141. }
  142. if ($("#cFree2box").is(':checked')) {
  143. FlagcFree2 = '1';
  144. }
  145. if ($("#cFree3box").is(':checked')) {
  146. FlagcFree3 = '1';
  147. }
  148. if ($("#cFree4box").is(':checked')) {
  149. FlagcFree4 = '1';
  150. }
  151. if ($("#cFree5box").is(':checked')) {
  152. FlagcFree5 = '1';
  153. }
  154. if ($("#cFree6box").is(':checked')) {
  155. FlagcFree6 = '1';
  156. }
  157. if ($("#cFree7box").is(':checked')) {
  158. FlagcFree7 = '1';
  159. }
  160. if ($("#cFree8box").is(':checked')) {
  161. FlagcFree8 = '1';
  162. }
  163. if ($("#cFree9box").is(':checked')) {
  164. FlagcFree9 = '1';
  165. }
  166. if ($("#cFree10box").is(':checked')) {
  167. FlagcFree10 = '1';
  168. }
  169. if ($("#InvCodebox").is(':checked')) {
  170. FlagInvCode = '1';
  171. }
  172. var obj = {
  173. WHCode: rowData.WarehouseCode,//仓库
  174. LotNo: rowData.LotNo,//条码
  175. Quantity: rowData.Quantity,//数量
  176. Amount: Amounts,//辅计量数量
  177. MTDOCQuantity: rowData.Quantity,//已转换数量
  178. ProjectCode: $("#txtProjectCode").val(),
  179. BatchCode: $("#txtBatchCode").val(),
  180. Version: $("#txtVersion").val(),
  181. Brand: $("#txtBrand").val(),
  182. cFree1: $("#txtcFree1").val(),
  183. cFree2: $("#txtcFree2").val(),
  184. cFree3: $("#txtcFree3").val(),
  185. cFree4: $("#txtcFree4").val(),
  186. cFree5: $("#txtcFree5").val(),
  187. cFree6: $("#txtcFree6").val(),
  188. cFree7: $("#txtcFree7").val(),
  189. cFree8: $("#txtcFree8").val(),
  190. cFree9: $("#txtcFree9").val(),
  191. cFree10: $("#txtcFree10").val(),
  192. FlagProjectCode: FlagProjectCode,
  193. FlagBatchCode: FlagBatchCode,
  194. FlagVersion: FlagVersion,
  195. FlagBrand: FlagBrand,
  196. FlagcFree1: FlagcFree1,
  197. FlagcFree2: FlagcFree2,
  198. FlagcFree3: FlagcFree3,
  199. FlagcFree4: FlagcFree4,
  200. FlagcFree5: FlagcFree5,
  201. FlagcFree6: FlagcFree6,
  202. FlagcFree7: FlagcFree7,
  203. FlagcFree8: FlagcFree8,
  204. FlagcFree9: FlagcFree9,
  205. FlagcFree10: FlagcFree10,
  206. FlagInvCode: FlagInvCode,
  207. }
  208. ICSMTDOC.push(obj);
  209. }
  210. $.modalConfirm("确定保存吗?", function (r) {
  211. if (r) {
  212. $.submitForm({
  213. url: "/WMS/ICSMTDOC/CreateICSMTDOC?InvCode=" + InvCode + "&Memo=" + Memo + "&" + Math.random(),
  214. param: { ICSMTDOC: JSON.stringify(ICSMTDOC) },
  215. success: function () {
  216. $.currentWindow().$("#gridList").trigger("reloadGrid");
  217. }
  218. })
  219. }
  220. });
  221. };
  222. //监听Check事件
  223. function OncheckBox1() {
  224. if ($("#InvCodebox").is(':checked')) {
  225. $('#txtInvCode').attr("disabled", false);
  226. } else {
  227. $("#txtInvCode").attr("disabled", "disabled");
  228. }
  229. }
  230. function OncheckBox2() {
  231. if ($("#BatchCodebox").is(':checked')) {
  232. $('#txtBatchCode').attr("disabled", false);
  233. } else {
  234. $("#txtBatchCode").attr("disabled", "disabled");
  235. }
  236. }
  237. function OncheckBoxProjectCode() {
  238. if ($("#ProjectCodebox").is(':checked')) {
  239. $('#txtProjectCode').attr("disabled", false);
  240. } else {
  241. $("#txtProjectCode").attr("disabled", "disabled");
  242. }
  243. }
  244. function OncheckBoxVersion() {
  245. if ($("#Versionbox").is(':checked')) {
  246. $('#txtVersion').attr("disabled", false);
  247. } else {
  248. $("#txtVersion").attr("disabled", "disabled");
  249. }
  250. }
  251. function OncheckBoxBrand() {
  252. if ($("#Brandbox").is(':checked')) {
  253. $('#txtBrand').attr("disabled", false);
  254. } else {
  255. $("#txtBrand").attr("disabled", "disabled");
  256. }
  257. }
  258. function OncheckBoxcFree1() {
  259. if ($("#cFree1box").is(':checked')) {
  260. $('#txtcFree1').attr("disabled", false);
  261. } else {
  262. $("#txtcFree1").attr("disabled", "disabled");
  263. }
  264. }
  265. function OncheckBoxcFree2() {
  266. if ($("#cFree2box").is(':checked')) {
  267. $('#txtcFree2').attr("disabled", false);
  268. } else {
  269. $("#txtcFree2").attr("disabled", "disabled");
  270. }
  271. }
  272. function OncheckBoxcFree3() {
  273. if ($("#cFree3box").is(':checked')) {
  274. $('#txtcFree3').attr("disabled", false);
  275. } else {
  276. $("#txtcFree3").attr("disabled", "disabled");
  277. }
  278. }
  279. function OncheckBoxcFree4() {
  280. if ($("#cFree4box").is(':checked')) {
  281. $('#txtcFree4').attr("disabled", false);
  282. } else {
  283. $("#txtcFree4").attr("disabled", "disabled");
  284. }
  285. }
  286. function OncheckBoxcFree5() {
  287. if ($("#cFree5box").is(':checked')) {
  288. $('#txtcFree5').attr("disabled", false);
  289. } else {
  290. $("#txtcFree5").attr("disabled", "disabled");
  291. }
  292. }
  293. function OncheckBoxcFree6() {
  294. if ($("#cFree6box").is(':checked')) {
  295. $('#txtcFree6').attr("disabled", false);
  296. } else {
  297. $("#txtcFree6").attr("disabled", "disabled");
  298. }
  299. }
  300. function OncheckBoxcFree7() {
  301. if ($("#cFree7box").is(':checked')) {
  302. $('#txtcFree7').attr("disabled", false);
  303. } else {
  304. $("#txtcFree7").attr("disabled", "disabled");
  305. }
  306. }
  307. function OncheckBoxcFree8() {
  308. if ($("#cFree8box").is(':checked')) {
  309. $('#txtcFree8').attr("disabled", false);
  310. } else {
  311. $("#txtcFree8").attr("disabled", "disabled");
  312. }
  313. }
  314. function OncheckBoxcFree9() {
  315. if ($("#cFree9box").is(':checked')) {
  316. $('#txtcFree9').attr("disabled", false);
  317. } else {
  318. $("#txtcFree9").attr("disabled", "disabled");
  319. }
  320. }
  321. function OncheckBoxcFree10() {
  322. if ($("#cFree10box").is(':checked')) {
  323. $('#txtcFree10').attr("disabled", false);
  324. } else {
  325. $("#txtcFree10").attr("disabled", "disabled");
  326. }
  327. }
  328. //物料
  329. function GetInventory() {
  330. $.modalOpen({
  331. id: "GetICSInventory",
  332. title: "形态转换",
  333. url: "/WMS/ICSMTDOC/GetICSInventory?"+ Math.random(),
  334. width: "1000px",
  335. height: "1000px",
  336. callBack: function (iframeId) {
  337. var obj = top.frames[iframeId].submitForm();
  338. $("#txtInvCode").val(obj.InvCode);
  339. top.frames[iframeId].Close();
  340. }
  341. })
  342. }
  343. ////批次
  344. //function GetBatchCode() {
  345. // $.modalOpen({
  346. // id: "GetBatchCode",
  347. // title: "批次",
  348. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 2 + "&" + Math.random(),
  349. // width: "1000px",
  350. // height: "1000px",
  351. // callBack: function (iframeId) {
  352. // var obj = top.frames[iframeId].submitForm();
  353. // $("#txtBatchCode").val(obj.Code);
  354. // top.frames[iframeId].Close();
  355. // }
  356. // })
  357. //}
  358. ////项目号
  359. //function GetProjectCode() {
  360. // debugger;
  361. // $.modalOpen({
  362. // id: "GetProjectCode",
  363. // title: "项目号",
  364. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 1 + "&" + Math.random(),
  365. // width: "1000px",
  366. // height: "1000px",
  367. // callBack: function (iframeId) {
  368. // var obj = top.frames[iframeId].submitForm();
  369. // $("#txtProjectCode").val(obj.Code);
  370. // top.frames[iframeId].Close();
  371. // }
  372. // })
  373. //}
  374. ////版本
  375. //function GetVersion() {
  376. // $.modalOpen({
  377. // id: "GetVersion",
  378. // title: "版本",
  379. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 3 + "&" + Math.random(),
  380. // width: "1000px",
  381. // height: "1000px",
  382. // callBack: function (iframeId) {
  383. // var obj = top.frames[iframeId].submitForm();
  384. // $("#txtVersion").val(obj.Code);
  385. // top.frames[iframeId].Close();
  386. // }
  387. // })
  388. //}
  389. ////厂牌
  390. //function GetBrand() {
  391. // $.modalOpen({
  392. // id: "GetBrand",
  393. // title: "版本",
  394. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 4 + "&" + Math.random(),
  395. // width: "1000px",
  396. // height: "1000px",
  397. // callBack: function (iframeId) {
  398. // var obj = top.frames[iframeId].submitForm();
  399. // $("#txtBrand").val(obj.Code);
  400. // top.frames[iframeId].Close();
  401. // }
  402. // })
  403. //}
  404. ////自由项1
  405. //function GetcFree1() {
  406. // $.modalOpen({
  407. // id: "GetcFree1",
  408. // title: "自由项1",
  409. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 5 + "&" + Math.random(),
  410. // width: "1000px",
  411. // height: "1000px",
  412. // callBack: function (iframeId) {
  413. // var obj = top.frames[iframeId].submitForm();
  414. // $("#txtcFree1").val(obj.Code);
  415. // top.frames[iframeId].Close();
  416. // }
  417. // })
  418. //}
  419. ////自由项2
  420. //function GetcFree2() {
  421. // $.modalOpen({
  422. // id: "GetcFree2",
  423. // title: "自由项2",
  424. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 6 + "&" + Math.random(),
  425. // width: "1000px",
  426. // height: "1000px",
  427. // callBack: function (iframeId) {
  428. // var obj = top.frames[iframeId].submitForm();
  429. // $("#txtcFree2").val(obj.Code);
  430. // top.frames[iframeId].Close();
  431. // }
  432. // })
  433. //}
  434. ////自由项3
  435. //function GetcFree3() {
  436. // $.modalOpen({
  437. // id: "GetcFree3",
  438. // title: "自由项3",
  439. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 7 + "&" + Math.random(),
  440. // width: "1000px",
  441. // height: "1000px",
  442. // callBack: function (iframeId) {
  443. // var obj = top.frames[iframeId].submitForm();
  444. // $("#txtcFree3").val(obj.Code);
  445. // top.frames[iframeId].Close();
  446. // }
  447. // })
  448. //}
  449. ////自由项4
  450. //function GetcFree4() {
  451. // $.modalOpen({
  452. // id: "GetcFree4",
  453. // title: "自由项4",
  454. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 8 + "&" + Math.random(),
  455. // width: "1000px",
  456. // height: "1000px",
  457. // callBack: function (iframeId) {
  458. // var obj = top.frames[iframeId].submitForm();
  459. // $("#txtcFree4").val(obj.Code);
  460. // top.frames[iframeId].Close();
  461. // }
  462. // })
  463. //}
  464. ////自由项5
  465. //function GetcFree5() {
  466. // $.modalOpen({
  467. // id: "GetcFree5",
  468. // title: "自由项5",
  469. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 9 + "&" + Math.random(),
  470. // width: "1000px",
  471. // height: "1000px",
  472. // callBack: function (iframeId) {
  473. // var obj = top.frames[iframeId].submitForm();
  474. // $("#txtcFree5").val(obj.Code);
  475. // top.frames[iframeId].Close();
  476. // }
  477. // })
  478. //}
  479. ////自由项6
  480. //function GetcFree6() {
  481. // $.modalOpen({
  482. // id: "GetcFree6",
  483. // title: "自由项6",
  484. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 10 + "&" + Math.random(),
  485. // width: "1000px",
  486. // height: "1000px",
  487. // callBack: function (iframeId) {
  488. // var obj = top.frames[iframeId].submitForm();
  489. // $("#txtcFree6").val(obj.Code);
  490. // top.frames[iframeId].Close();
  491. // }
  492. // })
  493. //}
  494. ////自由项7
  495. //function GetcFree7() {
  496. // $.modalOpen({
  497. // id: "GetcFree7",
  498. // title: "自由项7",
  499. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 11 + "&" + Math.random(),
  500. // width: "1000px",
  501. // height: "1000px",
  502. // callBack: function (iframeId) {
  503. // var obj = top.frames[iframeId].submitForm();
  504. // $("#txtcFree7").val(obj.Code);
  505. // top.frames[iframeId].Close();
  506. // }
  507. // })
  508. //}
  509. ////自由项8
  510. //function GetcFree8() {
  511. // $.modalOpen({
  512. // id: "GetcFree8",
  513. // title: "自由项8",
  514. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 12 + "&" + Math.random(),
  515. // width: "1000px",
  516. // height: "1000px",
  517. // callBack: function (iframeId) {
  518. // var obj = top.frames[iframeId].submitForm();
  519. // $("#txtcFree8").val(obj.Code);
  520. // top.frames[iframeId].Close();
  521. // }
  522. // })
  523. //}
  524. ////自由项9
  525. //function GetcFree9() {
  526. // $.modalOpen({
  527. // id: "GetcFree9",
  528. // title: "自由项9",
  529. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 13 + "&" + Math.random(),
  530. // width: "1000px",
  531. // height: "1000px",
  532. // callBack: function (iframeId) {
  533. // var obj = top.frames[iframeId].submitForm();
  534. // $("#txtcFree9").val(obj.Code);
  535. // top.frames[iframeId].Close();
  536. // }
  537. // })
  538. //}
  539. ////自由项10
  540. //function GetcFree10() {
  541. // $.modalOpen({
  542. // id: "GetcFree10",
  543. // title: "自由项10",
  544. // url: "/WMS/ICSMTDOC/GetBatchCode?Type=" + 14 + "&" + Math.random(),
  545. // width: "1000px",
  546. // height: "1000px",
  547. // callBack: function (iframeId) {
  548. // var obj = top.frames[iframeId].submitForm();
  549. // $("#txtcFree10").val(obj.Code);
  550. // top.frames[iframeId].Close();
  551. // }
  552. // })
  553. //}
  554. function Close() {
  555. $.modalClose();
  556. }
  557. function reloadData() {
  558. }
  559. </script>
  560. <div class="topPanel" style="height:50px">
  561. <div class="search">
  562. <table>
  563. <tr>
  564. <td>
  565. <label>条码:</label>
  566. </td>
  567. <td>
  568. <div class="input-group">
  569. <input id="txt_LotNo" type="text" class="form-control" placeholder="条码" style="width: 120px;">
  570. </div>
  571. </td>
  572. <td>
  573. <a id="Search" authorize="yes" style="margin-left:3px;" class="btn btn-primary" onclick="Init()"><i class="fa fa-pencil-square-o"></i>查询</a>
  574. </td>
  575. </tr>
  576. <tr></tr>
  577. </table>
  578. </div>
  579. </div>
  580. <div style="margin-right: 20px;">
  581. <table class="form">
  582. <thead>选择转换料品</thead>
  583. <tr>
  584. <th class="formTitle"><input id="InvCodebox" type="checkbox" onclick="OncheckBox1(this)"> 料品编码:</th>
  585. <td class="formValue">
  586. <input id="txtInvCode" type="text" disabled="disabled" class="form-control" onclick="GetInventory()" autocomplete="off" />
  587. </td>
  588. <th class="formTitle">转换原因:</th>
  589. <td class="formValue">
  590. <input id="txtMemo" type="text" class="form-control" />
  591. </td>
  592. </tr>
  593. </table>
  594. </div>
  595. <div style="height:135px">
  596. @*<div style="width:260px" class="divbox" id="ProjectCode">
  597. <div class="formTitle divformTitle" style="width:75px"><input id="ProjectCodebox" type="checkbox" onclick="OncheckBoxProjectCode(this)"> 项目号:</div>
  598. <div class="input-group divformValue">
  599. <input id="txtProjectCode" type="text" disabled="disabled" onclick="GetProjectCode()" autocomplete="off" />
  600. </div>
  601. </div>*@
  602. <div style="width:260px" class="divbox" id="BatchCode">
  603. <div class="formTitle divformTitle" style="width:75px"><input id="BatchCodebox" type="checkbox" onclick="OncheckBox2(this)"> 批次:</div>
  604. <div class="input-group divformValue">
  605. <input id="txtBatchCode" type="text" disabled="disabled" onclick="GetBatchCode()" autocomplete="off" />
  606. </div>
  607. </div>
  608. @*<div style="width:260px" class="divbox" id="Version">
  609. <div class="formTitle divformTitle" style="width:75px"><input id="Versionbox" type="checkbox" onclick="OncheckBoxVersion(this)"> 版本:</div>
  610. <div class="input-group divformValue">
  611. <input id="txtVersion" type="text" disabled="disabled" onclick="GetVersion()" autocomplete="off" />
  612. </div>
  613. </div>
  614. <div style="width:260px" class="divbox" id="Brand">
  615. <div class="formTitle divformTitle" style="width:75px"><input id="Brandbox" type="checkbox" onclick="OncheckBoxBrand(this)"> 厂牌:</div>
  616. <div class="input-group divformValue">
  617. <input id="txtBrand" type="text" disabled="disabled" onclick="GetBrand()" autocomplete="off" />
  618. </div>
  619. </div>
  620. <div style="width:260px" class="divbox" id="cFree1">
  621. <div class="formTitle divformTitle" style="width:75px"><input id="cFree1box" type="checkbox" onclick="OncheckBoxcFree1(this)"> 自由项1:</div>
  622. <div class="input-group divformValue">
  623. <input id="txtcFree1" type="text" disabled="disabled" onclick="GetcFree1()" autocomplete="off" />
  624. </div>
  625. </div>
  626. <div style="width:260px" class="divbox" id="cFree2">
  627. <div class="formTitle divformTitle" style="width:75px"><input id="cFree2box" type="checkbox" onclick="OncheckBoxcFree2(this)"> 自由项2:</div>
  628. <div class="input-group divformValue">
  629. <input id="txtcFree2" type="text" disabled="disabled" onclick="GetcFree2()" autocomplete="off" />
  630. </div>
  631. </div>
  632. <div style="width:260px" class="divbox" id="cFree3">
  633. <div class="formTitle divformTitle" style="width:75px"><input id="cFree3box" type="checkbox" onclick="OncheckBoxcFree2(this)"> 自由项3:</div>
  634. <div class="input-group divformValue">
  635. <input id="txtcFree3" type="text" disabled="disabled" onclick="GetcFree3()" autocomplete="off" />
  636. </div>
  637. </div>
  638. <div style="width:260px" class="divbox" id="cFree4">
  639. <div class="formTitle divformTitle" style="width:75px"><input id="cFree4box" type="checkbox" onclick="OncheckBoxcFree4(this)"> 自由项4:</div>
  640. <div class="input-group divformValue">
  641. <input id="txtcFree4" type="text" disabled="disabled" onclick="GetcFree4()" autocomplete="off" />
  642. </div>
  643. </div>
  644. <div style="width:260px" class="divbox" id="cFree5">
  645. <div class="formTitle divformTitle" style="width:75px"><input id="cFree5box" type="checkbox" onclick="OncheckBoxcFree5(this)"> 自由项5:</div>
  646. <div class="input-group divformValue">
  647. <input id="txtcFree5" type="text" disabled="disabled" onclick="GetcFree5()" autocomplete="off" />
  648. </div>
  649. </div>
  650. <div style="width:260px" class="divbox" id="cFree6">
  651. <div class="formTitle divformTitle" style="width:75px"><input id="cFree6box" type="checkbox" onclick="OncheckBoxcFree6(this)"> 自由项6:</div>
  652. <div class="input-group divformValue">
  653. <input id="txtcFree6" type="text" disabled="disabled" onclick="GetcFree6()" autocomplete="off" />
  654. </div>
  655. </div>
  656. <div style="width:260px" class="divbox" id="cFree7">
  657. <div class="formTitle divformTitle" style="width:75px"><input id="cFree7box" type="checkbox" onclick="OncheckBoxcFree7(this)"> 自由项7:</div>
  658. <div class="input-group divformValue">
  659. <input id="txtcFree7" type="text" disabled="disabled" onclick="GetcFree7()" autocomplete="off" />
  660. </div>
  661. </div>
  662. <div style="width:260px" class="divbox" id="cFree8">
  663. <div class="formTitle divformTitle" style="width:75px"><input id="cFree8box" type="checkbox" onclick="OncheckBoxcFree8(this)"> 自由项8:</div>
  664. <div class="input-group divformValue">
  665. <input id="txtcFree8" type="text" disabled="disabled" onclick="GetcFree8()" autocomplete="off" />
  666. </div>
  667. </div>
  668. <div style="width:260px" class="divbox" id="cFree9">
  669. <div class="formTitle divformTitle" style="width:75px"><input id="cFree9box" type="checkbox" onclick="OncheckBoxcFree9(this)"> 自由项9:</div>
  670. <div class="input-group divformValue">
  671. <input id="txtcFree9" type="text" disabled="disabled" onclick="GetcFree9()" autocomplete="off" />
  672. </div>
  673. </div>
  674. <div style="width:260px" class="divbox" id="cFree10">
  675. <div class="formTitle divformTitle" style="width:75px"><input id="cFree10box" type="checkbox" onclick="OncheckBoxcFree10(this)"> 自由项10:</div>
  676. <div class="input-group divformValue">
  677. <input id="txtcFree10" type="text" disabled="disabled" onclick="GetcFree10()" autocomplete="off" />
  678. </div>
  679. </div>*@
  680. </div>
  681. <div class="gridPanel" id="gridPanel" style="margin-top:10px">
  682. <table id="gridList"></table>
  683. <div id="gridPager"></div>
  684. </div>