纽威
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.

744 lines
26 KiB

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