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.

617 lines
30 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. 
  2. @{
  3. ViewBag.Title = "MoProducePlan";
  4. Layout = "~/Views/Shared/_Form.cshtml";
  5. }
  6. <script src="~/Content/js/datepicker/WdatePicker.js"></script>
  7. <script>
  8. $(function () {
  9. var service = {
  10. isCanEditDate: false,
  11. Init: function () {
  12. var that = this;
  13. $("#txt_ItemCode").val('');
  14. $("#txt_ItemName").val('');
  15. $("#txt_SSName").val('');
  16. that.initControl();
  17. that.loadGrid();
  18. that.loadEvent();
  19. that.loadViewGrid();
  20. },
  21. initControl: function () {
  22. let that = this;
  23. let orgName = '';
  24. let userName = '@NFine.Code.OperatorProvider.Provider.GetCurrent().UserName';
  25. $.ajax({
  26. url: "/OMAY/Aps/GetOrgAName" + "?" + Math.random(),
  27. type: "Get",
  28. dataType: "json",
  29. async: false,
  30. success: function (data) {
  31. //
  32. console.log(data);
  33. if (data.state == "success") {
  34. orgName = data.message;
  35. }
  36. }
  37. });
  38. if (userName.indexOf('L') > -1 || userName.indexOf('C') > -1) {
  39. $("#txt_SSName").val(userName.substr(0, 2));
  40. $("#txt_SSName").attr("disabled", "disabled");
  41. $("#NF-UpdateMoPlan").attr("disabled", "disabled");
  42. }
  43. else {
  44. $("#NF-PrintLabel").attr("disabled", "disabled");
  45. }
  46. if (orgName == "生产主管") {
  47. //生产主管
  48. that.isCanEditDate = true;
  49. //$("#txt_SSName2").css("display", "block");
  50. //$("#lbl_SSName2").css("display", "block");
  51. }
  52. else if (orgName == "生产人员") {
  53. //生产人员
  54. that.isCanEditDate = false;
  55. $("#txt_SSName2").css("display", "none");
  56. $("#lbl_SSName2").css("display", "none");
  57. }
  58. else {
  59. that.isCanEditDate = false;
  60. $("#txt_SSName2").css("display", "none");
  61. $("#lbl_SSName2").css("display", "none");
  62. }
  63. if (!that.isCanEditDate) {
  64. var obj_Item1 = $("#gridList");
  65. var rowIds_Item1 = obj_Item1.getDataIDs();
  66. for (var i = 0; i < rowIds_Item1.length; i++) {
  67. $("#gridList").jqGrid('setCell', rowIds_Item1[i], "PlanStartDate", '', 'not-editable-cell');
  68. $("#gridList").jqGrid('setCell', rowIds_Item1[i], "PlanEndDate", '', 'not-editable-cell');
  69. $("#gridList").jqGrid('setCell', rowIds_Item1[i], "ApsOrderDate", '', 'not-editable-cell');
  70. }
  71. }
  72. },
  73. addArriveDateCellAttr(rowId, val, rawObject, cm, rdata) {
  74. //if (rdata.ApsOrderDate != "" && rdata.ApsOrderDate != null) {
  75. // if (rdata.Free5 == "" || rdata.Free5 == null) {
  76. // //var nowDate = GetNowDate();
  77. // //var pass = new Date(rdata.PreArriveDate).getDate() - new Date(rdata.ArriveDate).getDate();
  78. // var pass = daysBetween(rdata.PreArriveDate, rdata.ArriveDate);
  79. // if (pass <= 3 && pass >= 0) {
  80. // //return "style='background-color:darkgray'";
  81. // return "style='background-color:yellow'";
  82. // }
  83. // else if (pass > 3) {
  84. // return "style='background-color:darkgray'";
  85. // }
  86. // else {
  87. // return "style='background-color:red'";
  88. // }
  89. // }
  90. //}
  91. //else {
  92. // return "style='background-color:null'";
  93. //}
  94. },
  95. loadGrid: function () {
  96. var that = this;
  97. var queryJson = {
  98. ItemCode: $("#txt_ItemCode").val(),
  99. ItemName: $("#txt_ItemName").val(),
  100. SSName: $("#txt_SSName").val(),
  101. SSName2: $("#txt_SSName2").val(),
  102. MoCode: $("#txt_MoCode").val(),
  103. OrderStatus: $("#txt_OrderStatus").val(),
  104. }
  105. var $gridList = $("#gridList");
  106. $gridList.dataGrid({
  107. url: "/OMAY/Aps/GetGridJsonChengPing" + "?" + Math.random(),
  108. postData: { queryJson: JSON.stringify(queryJson) },
  109. mtype: "POST",
  110. height: 400,
  111. width: $(window).width() - 300,
  112. cellEdit: true,
  113. cellsubmit: "clientArray",
  114. colModel: [
  115. { label: "主键", name: "ID", hidden: true, key: true },
  116. { label: '预订单号', name: 'PreOrderNo', width: 100, align: 'left' },
  117. { label: '业务员', name: 'BusinessName', width: 100, align: 'left' },
  118. { label: '工单', name: 'MOCode', width: 100, align: 'left' },
  119. { label: '工单行', name: 'MoSeq', width: 100, align: 'left' },
  120. { label: '工单类型', name: 'MoTypeValue', hidden: true, width: 100, align: 'left' },
  121. { label: '部门', name: 'DepName', width: 100, align: 'left' },
  122. { label: '生产日期', name: 'CreateDateTime', width: 150, align: 'left' },
  123. { label: '包装要求', name: 'PackageAsk', width: 100, align: 'left' },
  124. { label: '特殊要求', name: 'SpecialAsk', width: 100, align: 'left' },
  125. { label: '用途', name: 'Useage', width: 100, align: 'left' },
  126. { label: '存货编码', name: 'ItemCode', width: 100, align: 'left' },
  127. { label: '存货名称', name: 'ItemName', width: 100, align: 'left' },
  128. { label: '存货代码', name: 'ItemAddCode', width: 100, align: 'left' },
  129. { label: '规格', name: 'ItemStd', width: 150, align: 'left' },
  130. { label: '单位', name: 'ItemUnit', width: 100, align: 'left' },
  131. { label: '同步状态', name: 'APSStatus', width: 100, align: 'left' },
  132. { label: '订单状态', name: 'OrderStatus', width: 100, align: 'left' },
  133. { label: '数量', name: 'Amount', width: 100, align: 'left' },
  134. {
  135. label: '计划开始时间', name: 'PlanStartDate', width: 150, align: 'left',
  136. editable: true,
  137. editoptions: {
  138. dataInit: function (el) {
  139. console.log(that.isCanEditDate);
  140. if (!that.isCanEditDate)
  141. return;
  142. $(el).click(function () {
  143. WdatePicker({
  144. dateFmt: "yyyy-MM-dd"//时间显示格式
  145. });
  146. })
  147. }
  148. },
  149. },
  150. {
  151. label: '计划结束时间', name: 'PlanEndDate', width: 150, align: 'left',
  152. editable: true,
  153. editoptions: {
  154. dataInit: function (el) {
  155. $(el).click(function () {
  156. WdatePicker({
  157. dateFmt: "yyyy-MM-dd"//时间显示格式
  158. });
  159. })
  160. }
  161. },
  162. },
  163. {
  164. label: '排序时间', name: 'ApsOrderDate', align: 'left', width: 150,
  165. editable: true,
  166. editoptions: {
  167. dataInit: function (el) {
  168. $(el).click(function () {
  169. WdatePicker({
  170. dateFmt: "yyyy-MM-dd HH:mm:ss"//时间显示格式
  171. });
  172. })
  173. }
  174. },
  175. },
  176. ],
  177. shrinkToFit: true,//宽度自适应
  178. width: "100%",
  179. autowidth: true,
  180. gridComplete: function () {
  181. if (!that.isCanEditDate) {
  182. var obj_Item1 = $("#gridList");
  183. var rowIds_Item1 = obj_Item1.getDataIDs();
  184. for (var i = 0; i < rowIds_Item1.length; i++) {
  185. $("#gridList").jqGrid('setCell', rowIds_Item1[i], "PlanStartDate", '', 'not-editable-cell');
  186. $("#gridList").jqGrid('setCell', rowIds_Item1[i], "PlanEndDate", '', 'not-editable-cell');
  187. $("#gridList").jqGrid('setCell', rowIds_Item1[i], "ApsOrderDate", '', 'not-editable-cell');
  188. }
  189. }
  190. },
  191. pager: "#gridPager",
  192. sortname: 'ApsOrderDate,PlanStartDate',
  193. sortorder: "asc",
  194. viewrecords: true,
  195. multiselect: true,
  196. subGrid: true, // (1)开启子表格支持
  197. subGridRowExpanded: function (subgrid_id, rowid) { // (2)子表格容器的id和需要展开子表格的行id,将传入此事件函数
  198. // console.log(subgrid_id, rowid);
  199. //
  200. $("#gridList").jqGrid("setSelection", rowid, false);
  201. that.bindSubGrid3(subgrid_id, rowid);
  202. }
  203. });
  204. },
  205. loadViewGrid: function () {
  206. var objList = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  207. if (objList.length == 0) {
  208. objList = ['-1'];
  209. }
  210. var $gridList = $("#gridList2");
  211. $gridList.dataGrid({
  212. url: "/OMAY/Aps/GetApsPlanSelectSubItemList" + "?" + Math.random(),
  213. postData: { ids: objList.join() },
  214. mtype: "POST",
  215. height: 280,
  216. width: $(window).width() - 300,
  217. colModel: [
  218. { label: "主键", name: "ID", hidden: true, key: true },
  219. { label: '子件料号', name: 'SubItemCode', width: 150, align: 'left' },
  220. { label: '子件名称', name: 'SubItemName', width: 150, align: 'left' },
  221. { label: '子件规格', name: 'SubItemStd', width: 150, align: 'left' },
  222. { label: '主数量', name: 'Quantity', width: 100, align: 'left' },
  223. { label: '主单位', name: 'InvUnit', width: 100, align: 'left' },
  224. { label: '辅计量', name: 'Amount', width: 100, align: 'left' },
  225. { label: '辅单位', name: 'AmountUnit', width: 100, align: 'left' },
  226. ],
  227. shrinkToFit: true,//宽度自适应
  228. width: "100%",
  229. autowidth: true,
  230. gridComplete: function () {
  231. },
  232. pager: "#gridPager2",
  233. sortname: 'MOCode,MoSeq',
  234. sortorder: "asc",
  235. viewrecords: true,
  236. multiselect: false
  237. });
  238. },
  239. bindSubGrid3: function (subgrid_id, rowid) {
  240. //
  241. $("#gridList").jqGrid("setSelection", rowid, false);
  242. var subgrid_table_id;
  243. subgrid_table_id = subgrid_id + "_t"; // (3)根据subgrid_id定义对应的子表格的table的id
  244. var subgrid_pager_id;
  245. subgrid_pager_id = subgrid_id + "_pgr" // (4)根据subgrid_id定义对应的子表格的pager的id
  246. $("#" + subgrid_id).html("<table id='" + subgrid_table_id + "' class='scroll'></table><div id='" + subgrid_pager_id + "' class='scroll'></div>");
  247. var MOCode = $("#gridList").jqGrid('getRowData', rowid).MOCode;
  248. var MoSeq = $("#gridList").jqGrid('getRowData', rowid).MoSeq;
  249. // (6)创建jqGrid对象
  250. $("#" + subgrid_table_id).dataGrid({
  251. cellEdit: true,
  252. mtype: "GET",
  253. url: "/OMAY/Aps/GetApsPlanSubGridJsonList?moCode=" + MOCode + "&moSeq=" + MoSeq + "&" + Math.random(), // (7)子表格数据对应的url,注意传入的contact.id参数
  254. colModel: [
  255. { label: "主键", name: "ID", hidden: true, key: true },
  256. { label: '子件行号', name: 'SubSeq', width: 150, align: 'left' },
  257. { label: '子件料号', name: 'SubItemCode', width: 150, align: 'left' },
  258. { label: '子件名称', name: 'SubItemName', width: 150, align: 'left' },
  259. { label: '子件规格', name: 'SubItemDtd', width: 150, align: 'left' },
  260. { label: '比例', name: 'Rate', width: 100, align: 'left' },
  261. { label: '主数量', name: 'Quantity', width: 100, align: 'left' },
  262. { label: '主单位', name: 'InvUnit', width: 100, align: 'left' },
  263. { label: '辅计量', name: 'Amount', width: 100, align: 'left' },
  264. { label: '辅单位', name: 'AmountUnit', width: 100, align: 'left' },
  265. ],
  266. //colModel: ColModelSub,
  267. shrinkToFit: true,//宽度自适应
  268. multiselect: true,
  269. prmNames: { search: "search" },
  270. viewrecords: true,
  271. height: "100%",
  272. //rowNum: 20,
  273. //pager: subgrid_pager_id,
  274. });
  275. },
  276. query: function () {
  277. console.log("点击查询");
  278. let queryJson = {
  279. ItemCode: $("#txt_ItemCode").val(),
  280. ItemName: $("#txt_ItemName").val(),
  281. SSName: $("#txt_SSName").val(),
  282. SSName2: $("#txt_SSName2").val(),
  283. MoCode: $("#txt_MoCode").val(),
  284. OrderStatus: $("#txt_OrderStatus").val(),
  285. };
  286. // that.loadGrid(queryJson);
  287. $("#gridList").jqGrid('setGridParam', {
  288. postData: { queryJson: JSON.stringify(queryJson) },
  289. }).trigger('reloadGrid');
  290. },
  291. loadEvent: function () {
  292. var that = this;
  293. $("#btn_search").click(function () {
  294. that.query();
  295. });
  296. $("#NF-InstructionBill").click(function () {
  297. // console.log("编辑指令单");
  298. var objList = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  299. // console.log(objList);
  300. if (objList.length == 0) {
  301. $.modalMsg("请选择一条数据", "warning");
  302. return;
  303. }
  304. var idstr = objList.join();
  305. // return;
  306. $.modalOpen({
  307. id: "Form",
  308. title: "指令单",
  309. url: "/OMAY/Aps/EditInstructionBill?ids=" + idstr + "",
  310. width: "600px",
  311. height: "400px",
  312. callBack: function (iframeId) {
  313. top.frames[iframeId].submitForm();
  314. }
  315. });
  316. });
  317. $("#NF-ViewSubItem").click(function () {
  318. console.log("点击预览");
  319. //let queryJson = {
  320. // ItemCode: $("#txt_ItemCode").val(),
  321. // ItemName: $("#txt_ItemName").val(),
  322. // SSName: $("#txt_SSName").val(),
  323. //};
  324. // that.loadGrid(queryJson);
  325. var objList = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  326. // console.log(objList);
  327. if (objList.length == 0) {
  328. $.modalMsg("请选择一条数据", "warning");
  329. return;
  330. }
  331. console.log(objList);
  332. $("#gridList2").jqGrid('setGridParam', {
  333. postData: { ids: objList.join() },
  334. }).trigger('reloadGrid');
  335. });
  336. $("#NF-PrintLabel").click(function () {
  337. console.log("打印条码");
  338. var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow'); //获取 多行数据
  339. if (ids.length != 1) {
  340. $.modalMsg("请选择一条数据", "warning");
  341. return;
  342. }
  343. var POCode = "";
  344. var PORow = "";
  345. for (var i in ids) {
  346. MODetailID = $("#gridList").jqGrid('getRowData', ids[i]).MODetailID;
  347. MOCode = $("#gridList").jqGrid('getRowData', ids[i]).MOCode;
  348. Sequence = $("#gridList").jqGrid('getRowData', ids[i]).MoSeq;
  349. InvCode = $("#gridList").jqGrid('getRowData', ids[i]).ItemCode;
  350. MoTypeValue = $("#gridList").jqGrid('getRowData', ids[i]).MoTypeValue;
  351. }
  352. $.modalOpen({
  353. id: "FormAddItemLot",
  354. title: "成品条码产生",
  355. url: "/OMAY/ICSMoCreateLot/From?MOCode=" + encodeURI(encodeURI(MOCode)) + "&Sequence=" + Sequence + "&InvCode=" + InvCode + "&Type=" + 3 + "&MODetailID=" + MODetailID + "&MoTypeValue=" + MoTypeValue + "&" + Math.random(),
  356. width: "550px",
  357. height: "1000px",
  358. callBack: function (iframeId) {
  359. top.frames[iframeId].submitForm();
  360. }
  361. });
  362. });
  363. $("#NF-UpdateMoPlan").click(function () {
  364. // console.log('@NFine.Code.OperatorProvider.Provider.GetCurrent().RoleEnCode');
  365. // return;
  366. var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow'); //获取 多行数据
  367. if (ids.length != 1) {
  368. $.modalMsg("请选择一条数据", "warning");
  369. return;
  370. }
  371. let obj = {
  372. isCanUpdateStatus:false,
  373. ids: ids[0],
  374. line: $("#gridList").jqGrid('getRowData', ids[0]).DepName,
  375. planStartDate: $("#gridList").jqGrid('getRowData', ids[0]).PlanStartDate,
  376. planEndDate: $("#gridList").jqGrid('getRowData', ids[0]).PlanEndDate,
  377. orderDate: $("#gridList").jqGrid('getRowData', ids[0]).ApsOrderDate,
  378. };
  379. //if (!obj.orderDate) {
  380. // $.modalMsg("排序时间格式错误", "warning");
  381. // return;
  382. //}
  383. //if (!obj.planStartDate) {
  384. // $.modalMsg("计划开始时间必填", "warning");
  385. // return;
  386. //}
  387. //if (!obj.planEndDate) {
  388. // $.modalMsg("计划结束时间必填", "warning");
  389. // return;
  390. //}
  391. if (new Date(obj.planStartDate) > new Date(obj.planEndDate)) {
  392. $.modalMsg("计划开始时间不能大于结束时间", "warning");
  393. return;
  394. }
  395. //if (!obj.orderDate) {
  396. // obj.orderDate = new Date().toLocaleDateString();
  397. //}
  398. $.ajax({
  399. url: "/OMAY/Aps/UpdateMoPlan" + "?" + Math.random(),
  400. type: "POST",
  401. dataType: "json",
  402. async: false,
  403. data: {
  404. keyValue: JSON.stringify(obj)
  405. },
  406. success: function (data) {
  407. //
  408. console.log(data);
  409. if (data.state == "success") {
  410. $.modalMsg("修改成功", "success");
  411. that.query();
  412. }
  413. else
  414. $.modalMsg(data.message, "warning");
  415. }
  416. });
  417. });
  418. $("#txt_SSName").change(function (event,handle) {
  419. //console.log( $("#txt_SSName").val());
  420. // console.log(val);
  421. // console.log("值改变了");
  422. let val = $("#txt_SSName").val();
  423. if (!val) {
  424. $("#NF-PrintLabel").attr("disabled", "disabled");
  425. }
  426. else {
  427. $("#NF-PrintLabel").removeAttr("disabled");
  428. }
  429. });
  430. $("#NF-UpdateMoOrderStatus").click(function () {
  431. var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow'); //获取 多行数据
  432. if (ids.length == 0) {
  433. $.modalMsg("请选择一条数据", "warning");
  434. return;
  435. }
  436. let status = $("#txt_OrderStatus").val();
  437. let obj = {
  438. ids: ids.join(),
  439. orderStatus: status==''?'Close':''
  440. };
  441. $.ajax({
  442. url: "/OMAY/Aps/UpdateMoOrderStatus" + "?" + Math.random(),
  443. type: "POST",
  444. dataType: "json",
  445. async: false,
  446. data: {
  447. keyValue: JSON.stringify(obj)
  448. },
  449. success: function (data) {
  450. //
  451. console.log(data);
  452. if (data.state == "success") {
  453. $.modalMsg("变更成功", "success");
  454. that.query();
  455. }
  456. else
  457. $.modalMsg(data.message, "warning");
  458. }
  459. });
  460. });
  461. }
  462. }
  463. service.Init();
  464. })
  465. </script>
  466. <iframe id="ifrm" src="" width="0" height="0"></iframe>
  467. <script>
  468. </script>
  469. <div class="topPanel" style="height:100px;">
  470. <div class="toolbar">
  471. <div class="btn-group">
  472. <a id="NF-InstructionBill" authorize="no" style="margin-left:3px;" class="btn btn-primary"><i class="fa fa-pencil-square-o"></i>指令单</a>
  473. <a id="NF-ViewSubItem" authorize="no" style="margin-left:3px;" class="btn btn-primary"><i class="fa fa-pencil-square-o"></i>预览子料</a>
  474. <a id="NF-PrintLabel" authorize="no" style="margin-left:3px;" class="btn btn-primary"><i class="fa fa-pencil-square-o"></i>生成条码</a>
  475. <a id="NF-UpdateMoPlan" authorize="yes" style="margin-left:3px;" class="btn btn-primary"><i class="fa fa-pencil-square-o"></i>修改</a>
  476. <a id="NF-UpdateMoOrderStatus" authorize="yes" style="margin-left:3px;" class="btn btn-primary"><i class="fa fa-pencil-square-o"></i>变更订单状态</a>
  477. @*<a id="NF-ExportAll" authorize="yes" class="btn btn-default" onclick="btn_ExportAll()"><i class="fa fa-download"></i>导出</a>*@
  478. <a class="btn btn-primary" onclick="$.reload()"><span class="glyphicon glyphicon-refresh"></span></a>
  479. </div>
  480. <div class="btn-group" style="display:block;padding-left:2px;">
  481. <a class="btn btn-primary" id="downPrintControl" href="~/PrintActivex.exe" style="display:none">点击下载打印组件</a>
  482. </div>
  483. @*<script>$('.toolbar').authorizeButton()</script>*@
  484. </div>
  485. <div class="search">
  486. <table>
  487. <tr>
  488. <td class="HideItems" style="text-align:right;"><label class="lglabel HideItems" for="txt_MoCode">&nbsp;&nbsp;&nbsp;&nbsp;生产工单</label>:</td>
  489. <td class="HideItems">
  490. <div class="input-group HideItems">
  491. <input id="txt_MoCode" type="text" class="form-control HideItems" style="width: 100px;">
  492. </div>
  493. </td>
  494. <td class="HideItems" style="text-align:right;"><label class="lglabel HideItems" for="txt_ItemCode">&nbsp;&nbsp;&nbsp;&nbsp;存货编码</label>:</td>
  495. <td class="HideItems">
  496. <div class="input-group HideItems">
  497. <input id="txt_ItemCode" type="text" class="form-control HideItems" style="width: 100px;">
  498. </div>
  499. </td>
  500. <td class="HideItems" style="text-align:right;"><label class="lglabel HideItems" for="txt_ItemName">&nbsp;&nbsp;&nbsp;&nbsp;存货名称</label>:</td>
  501. <td class="HideItems">
  502. <div class="input-group HideItems">
  503. <input id="txt_ItemName" type="text" class="form-control HideItems" style="width: 100px;">
  504. </div>
  505. </td>
  506. <td class="HideItems" style="text-align:right;"><label class="lglabel HideItems" for="txt_SSName">&nbsp;&nbsp;&nbsp;&nbsp;已下发产线</label>:</td>
  507. <td class="HideItems">
  508. <div class="input-group HideItems">
  509. @*<input id="txt_SSName" type="text" class="form-control HideItems" style="width: 100px;">*@
  510. <select id="txt_SSName" name="ssName" class="form-control select2 required" style="width: 200px;">
  511. <option value=""></option>
  512. <option value="L1">L1</option>
  513. <option value="L2">L2</option>
  514. <option value="L3">L3</option>
  515. <option value="L4">L4</option>
  516. <option value="L5">L5</option>
  517. <option value="L6">L6</option>
  518. <option value="L7">L7</option>
  519. <option value="C1">C1</option>
  520. <option value="C2">C2</option>
  521. </select>
  522. </div>
  523. </td>
  524. <td class="HideItems" style="text-align:right;"><label id="lbl_SSName2" class="lglabel HideItems" for="txt_SSName">未下发产线</label>:</td>
  525. <td class="HideItems">
  526. <div class="input-group HideItems">
  527. @*<input id="txt_SSName" type="text" class="form-control HideItems" style="width: 100px;">*@
  528. <select id="txt_SSName2" name="ssName2" class="form-control select2 required" style="width: 200px;">
  529. <option value=""></option>
  530. <option value="L1">L1</option>
  531. <option value="L2">L2</option>
  532. <option value="L3">L3</option>
  533. <option value="L4">L4</option>
  534. <option value="L5">L5</option>
  535. <option value="L6">L6</option>
  536. <option value="L7">L7</option>
  537. <option value="C1">C1</option>
  538. <option value="C2">C2</option>
  539. </select>
  540. </div>
  541. </td>
  542. <td class="HideItems" style="text-align:right;">&nbsp;&nbsp;&nbsp;&nbsp;订单状态</td>
  543. <td class="HideItems">
  544. <div class="input-group HideItems">
  545. <select id="txt_OrderStatus" name="OrderStatus" class="form-control select2 required" style="width: 200px;">
  546. <option value="">打开</option>
  547. <option value="Close">关闭</option>
  548. </select>
  549. </div>
  550. </td>
  551. <td>
  552. <span class="input-group-btn">
  553. <button id="btn_search" type="button" class="btn btn-primary"><i class="fa fa-search"></i></button>
  554. </span>
  555. </td>
  556. </tr>
  557. </table>
  558. </div>
  559. </div>
  560. <div class="gridPanel">
  561. <table id="gridList"></table>
  562. <div id="gridPager"></div>
  563. </div>
  564. <div class="gridPane2">
  565. <table id="gridList2"></table>
  566. <div id="gridPager2"></div>
  567. </div>