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.

576 lines
24 KiB

2 months ago
3 weeks ago
2 months ago
3 weeks ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
3 weeks ago
2 months ago
3 weeks ago
2 months ago
  1. 
  2. @{
  3. ViewBag.Title = "Index";
  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. <script>
  11. $(function () {
  12. $.ajax({
  13. url: "/SRM/InvAdd/ClearInvTemp?" + Math.random(),
  14. async: false,
  15. datatype: "json"
  16. })
  17. gridList();
  18. })
  19. function gridList() {
  20. debugger;
  21. //var status = "";
  22. //if ($("#AddStatus").prop("checked") == true)
  23. // status += "'New',"
  24. //if ($("#PubStatus").prop("checked") == true)
  25. // status += "'Publish',"
  26. ////if ($("#ExamStatus").prop("checked") == true)
  27. //// status += "'Examine',"
  28. ////if ($("#HasExamStatus").prop("checked") == true)
  29. //// status += "'HasExamine',"
  30. //if ($("#CloseStatus").prop("checked") == true)
  31. // status += "'Close,'"
  32. var queryJson = {
  33. PruOrganize: $("#txt_poorg").val(),
  34. PruTeam: $("#txt_PoTeam").val(),
  35. RFQCode: $("#txt_RFQNO").val(),
  36. RFQName: $("#txt_INVName").val(),
  37. SupplierCode: $("#txt_VenCode").val(),
  38. SupplierName: $("#txt_VenName").val(),
  39. InvCode: $("#txt_INVCode").val(),
  40. InvName: $("#txt_INVName").val(),
  41. InvStd: $("#txt_INVStd").val(),
  42. TimeFrom: $("#txt_FromDate").val(),
  43. TimeTo: $("#txt_EndDate").val(),
  44. ReleaseState: $("#selShow").val(),
  45. }
  46. $("#gridList").dataGrid({
  47. cellEdit: true,
  48. url: "/SRM/PriceInquiry/GetGridJsonICSSORRFQRequestFrom" + "?" + Math.random(),
  49. datatype:'json',
  50. postData: { JSON: JSON.stringify(queryJson) },
  51. height: $(window).height() - 270,
  52. width: $(window).width() - 300,
  53. loadonce:false,
  54. colModel: [
  55. {
  56. label: '操作', width: 130, align: 'center',
  57. formatter: btnLook,
  58. },
  59. { label: '申请单号', name: 'RFQCODE', width: 120, align: 'left', key: true },
  60. { label: '申请单名称', name: 'RFQNAME', width: 150, align: 'left' },
  61. {
  62. label: '状态', name: 'STATUS', width: 60, align: 'left',
  63. formatter: function (cellvalue, options, rowObject) {
  64. debugger;
  65. var html = "";
  66. if (rowObject.STATUS == "新增") {
  67. html += '<span class=\'label label-success\'>新增</span>';
  68. } else if (rowObject.STATUS == "发布") {
  69. html += '<span class=\'label label-warning\'>发布</span>';
  70. } else if (rowObject.STATUS == "关闭") {
  71. html += '<span class=\'label label-danger\'>关闭</span>';
  72. } else if (rowObject.STATUS == "定价通过") {
  73. html += '<span class=\'label label-success\'>定价通过</span>';
  74. } else if (rowObject.STATUS == "OA待审核") {
  75. html += '<span class=\'label label-warning\'>OA待审核</span>';
  76. } else if (rowObject.STATUS == "OA已审核") {
  77. html += '<span class=\'label label-success\'>OA已审核</span>';
  78. } else if (rowObject.STATUS == "OA审核拒绝") {
  79. html += '<span class=\'label label-danger\'>OA审核拒绝</span>';
  80. } else if (rowObject.STATUS == "未分配") {
  81. html += '<span class=\'label label-info\'>未分配</span>';
  82. } else if (rowObject.STATUS == "已分配") {
  83. html += '<span class=\'label label-success\'>已分配</span>';
  84. } else if (rowObject.STATUS == "退回") {
  85. html += '<span class=\'label label-danger\'>退回</span>';
  86. } else if (rowObject.STATUS == "已结束") {
  87. html += '<span class=\'label label-danger\'>已结束</span>';
  88. }
  89. return cellvalue = html;
  90. }
  91. },
  92. { label: 'HIDDSTATUS', name: 'HIDDSTATUS', width: 150, align: 'left',hidden:true },
  93. { label: '开始日期', name: 'BEGINDATE', width: 150, align: 'left', hidden: true },
  94. { label: 'ADDITION1', name: 'ADDITION1', width: 150, align: 'left', hidden: true },
  95. { label: 'ADDITION2', name: 'ADDITION2', width: 150, align: 'left', hidden: true },
  96. //{ label: '采购组织', name: 'PURORG', width: 100, align: 'left' },
  97. //{ label: '采购负责人', name: 'PURTEAM', width: 100, align: 'left' },
  98. { label: '单据创建时间', name: 'LOGDATE', width: 150, align: 'left' },
  99. { label: '维护人', name: 'LOGUSER', width: 100, align: 'left' },
  100. { label: '站点', name: 'workpoint', width: 90, align: 'left' },
  101. ],
  102. pager: "#gridPager",
  103. sortorder: "desc",
  104. sortname: 'CREATETIME ',
  105. viewrecords: true,
  106. multiselect: true,
  107. gridComplete: function () {
  108. },
  109. rowNum: 10000,
  110. subGrid: true, // (1)开启子表格支持
  111. subGridRowExpanded: function (subgrid_id, rowid) { // (2)子表格容器的id和需要展开子表格的行id,将传入此事件函数
  112. $("#gridList").jqGrid("setSelection", rowid, false);
  113. bindSubGrid(subgrid_id, rowid)
  114. },
  115. });
  116. }
  117. function bindSubGrid(subgrid_id, rowid) {
  118. $("#gridList").jqGrid("setSelection", rowid, false);
  119. var subgrid_table_id;
  120. subgrid_table_id = subgrid_id + "_t"; // (3)根据subgrid_id定义对应的子表格的table的id
  121. var subgrid_pager_id;
  122. subgrid_pager_id = subgrid_id + "_pgr" // (4)根据subgrid_id定义对应的子表格的pager的id
  123. // (5)动态添加子报表的table和pager
  124. $("#" + subgrid_id).html("<table id='" + subgrid_table_id + "' class='scroll'></table><div id='" + subgrid_pager_id + "' class='scroll'></div>");
  125. var RFQCODE = $("#gridList").jqGrid('getRowData', rowid).RFQCODE;
  126. var WorkPoint = $("#gridList").jqGrid('getRowData', rowid).workpoint;
  127. // (6)创建jqGrid对象
  128. $("#" + subgrid_table_id).dataGrid({
  129. cellEdit: true,
  130. url: "/SRM/PriceInquiry/GetSubGridJsonICSSORRFQRequestFrom?RFQCODE=" + RFQCODE + "&WorkPoint=" + WorkPoint + "&" + Math.random(), // (7)子表格数据对应的url,注意传入的contact.id参数
  131. colModel: [
  132. { label: '主键', name: 'ID', width: 150, align: 'left', hidden: true, key: true },
  133. { label: '物料代码', name: 'itemcode', width: 150, align: 'left' },
  134. { label: '物料描述', name: 'itemname', width: 150, align: 'left' },
  135. { label: '物料规格', name: 'invstd', width: 150, align: 'lreft' },
  136. { label: '单位', name: 'unit', width: 50, align: 'left' },
  137. { label: '询价备注', name: 'memo', width: 150, align: 'left' },
  138. { label: '预计需求量', name: 'REQUESTQUANTITY', width: 50, align: 'left' },
  139. { label: '询价单单号', name: 'RFQCODE', width: 50, align: 'left' },
  140. ],
  141. multiselect: true,
  142. pager: subgrid_pager_id,
  143. //shrinkToFit: true,//宽度自适应
  144. prmNames: { search: "search" },
  145. viewrecords: true,
  146. height: "100%",
  147. rowNum: 20
  148. });
  149. }
  150. function Search() {
  151. debugger;
  152. //var status = "";
  153. //if ($("#AddStatus").prop("checked") == true)
  154. // status += "'New',"
  155. //if ($("#PubStatus").prop("checked") == true)
  156. // status += "'Publish',"
  157. ////if ($("#ExamStatus").prop("checked") == true)
  158. //// status += "'Examine',"
  159. ////if ($("#HasExamStatus").prop("checked") == true)
  160. //// status += "'HasExamine',"
  161. //if ($("#CloseStatus").prop("checked") == true)
  162. // status += "'Close',"
  163. var queryJson = {
  164. PruOrganize: $("#txt_poorg").val(),
  165. PruTeam: $("#txt_PoTeam").val(),
  166. RFQCode: $("#txt_RFQNO").val(),
  167. RFQName: $("#txt_RFQName").val(),
  168. SupplierCode: $("#txt_VenCode").val(),
  169. SupplierName: $("#txt_VenName").val(),
  170. InvCode: $("#txt_INVCode").val(),
  171. InvName: $("#txt_INVName").val(),
  172. InvStd: $("#txt_INVStd").val(),
  173. TimeFrom: $("#txt_FromDate").val(),
  174. TimeTo: $("#txt_EndDate").val(),
  175. ReleaseState: $("#selShow").val(),
  176. }
  177. $("#gridList").jqGrid().setGridParam({ postData: { JSON: JSON.stringify(queryJson) } }).trigger('reloadGrid')
  178. }
  179. function btnpubJS() {
  180. debugger;
  181. var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  182. if (ids.length <= 0) {
  183. $.modalAlert("请选择要发布的数据!", "warning");
  184. return;
  185. }
  186. for (var i = 0; i < ids.length; i++) {
  187. var data = $("#gridList").jqGrid('getRowData', ids[i]);
  188. if (data.HIDDSTATUS == "新增") {
  189. var json = JSON.stringify(ids)
  190. $.ajax({
  191. url: "/SRM/PriceInquiry/JSPublish?json=" + json + "&" + Math.random(),
  192. async: false,
  193. success: function (data) {
  194. $.modalAlert(data, "warning");
  195. }
  196. })
  197. $("#gridList").jqGrid().setGridParam({ datatype: 'json' }).trigger('reloadGrid')
  198. } else {
  199. $.modalAlert(data.RFQCODE + ":当前状态无法发布!", "warning");
  200. return;
  201. }
  202. }
  203. }
  204. function btnLook(cellvalue, options, rowObject) {
  205. if (rowObject.HIDDSTATUS == "新增" || rowObject.HIDDSTATUS == "退回") {
  206. return cellvalue = "<a class=\"btn btn-warning dropdown-text\" onclick=\"UpLoadClick1('" + rowObject.RFQCODE + "','" + rowObject.workpoint + "','" + rowObject.HIDDSTATUS + "')\">修改 </a> <a class=\"btn btn-warning dropdown-text\" onclick=\"btnUpdateDownload('" + rowObject.RFQCODE + "','" + rowObject.WorkPoint + "')\">导出</a> ";
  207. }
  208. else {
  209. return cellvalue = "<a class=\"btn btn-warning dropdown-text\" onclick=\"UpLoadClick('" + rowObject.RFQCODE + "','" + rowObject.workpoint + "','" + rowObject.HIDDSTATUS + "')\">详情 </a> <a class=\"btn btn-warning dropdown-text\" onclick=\"btnUpdateDownload('" + rowObject.RFQCODE + "','" + rowObject.WorkPoint + "')\">导出</a> ";
  210. }
  211. }
  212. //导出
  213. function btnUpdateDownload(RFQCODE, WorkPoint) {
  214. debugger;
  215. var keyValue = '';
  216. //var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow'); //获取 多行数据
  217. //if (ids.length <= 0) {
  218. // $.modalAlert("请选择数据!");
  219. // return;
  220. //}
  221. //for (var i = 0; i < ids.length; i++) {
  222. // var rowData = $("#gridList").jqGrid('getRowData', ids[i]).ID;
  223. // keyValue += "'" + rowData + "',";
  224. //}
  225. var postData = "&keyValue=1";
  226. if (RFQCODE != null && RFQCODE != "") {
  227. postData = "&RFQCODE=" + RFQCODE
  228. }
  229. if (WorkPoint != null && WorkPoint != "") {
  230. postData += "&WorkPoint=" + WorkPoint
  231. }
  232. $.download("/SRM/PriceInquiry/Export" + "?" + Math.random(), postData, 'post');
  233. }
  234. //查看
  235. function UpLoadClick(rfqcode, workpoint, HIDDSTATUS) {
  236. debugger;
  237. $.modalOpenClean({
  238. id: "RFQ",
  239. title: "查看",
  240. url: "/SRM/PriceInquiry/TechnicalRequirementsFormLook?rfqcode=" + rfqcode + "&" + Math.random(),
  241. width: "90%",
  242. height: "90%",
  243. callBack: function (iframeId) {
  244. top.frames[iframeId].submitForm();
  245. top.frames[iframeId].Close();
  246. $("#gridList").jqGrid().setGridParam({ datatype: 'json' }).trigger('reloadGrid')
  247. }
  248. })
  249. }
  250. //新增需求单
  251. function btnCreate() {
  252. debugger;
  253. var sfqcode="";
  254. $.modalOpen2({
  255. id: "TechnicalRequirementsFormAdd",
  256. title: "新增",
  257. url: "/SRM/PriceInquiry/TechnicalRequirementsFormAdd?" + Math.random() + "&status=" + 2,
  258. width: "95%",
  259. height: "95%",
  260. callBack: function (iframeId) {
  261. top.frames[iframeId].submitForm();
  262. }
  263. })
  264. }
  265. //修改
  266. function UpLoadClick1(rfqcode, workpoint, HIDDSTATUS) {
  267. debugger;
  268. if (HIDDSTATUS == "新增" || HIDDSTATUS == "退回") {
  269. $.modalOpen2({
  270. id: "TechnicalRequirementsFormAddChange",
  271. title: "修改",
  272. url: "/SRM/PriceInquiry/TechnicalRequirementsFormAdd?rfqcode=" + rfqcode + "&" + Math.random() + "&status=" + 1,
  273. width: "90%",
  274. height: "90%",
  275. callBack: function (iframeId) {
  276. top.frames[iframeId].submitForm();
  277. }
  278. })
  279. } else {
  280. $.modalAlert("当亲状态不可修改!", "warning");
  281. return;
  282. }
  283. }
  284. //删除
  285. function btn_delete() {
  286. //var ids = $("#gridList").jqGridRowValue().RFQCODE;
  287. var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  288. if (ids.lenth <= 0) {
  289. $.modalAlert("请选择要删除的数据!", "warning");
  290. return;
  291. }
  292. for (var i = 0; i < ids.length; i++) {
  293. var data = $("#gridList").jqGrid('getRowData', ids[i]);
  294. if (data.HIDDSTATUS == "发布") {
  295. $.modalAlert(data.RFQCODE + ":当前订单已发布无法删除!", "warning");
  296. return;
  297. }
  298. }
  299. var json = JSON.stringify(ids)
  300. $.modalConfirm("请确认是否删除询价单!", function (r) {
  301. if (r) {
  302. $.ajax({
  303. url: "/SRM/PriceInquiry/DELETEICSSORRFQRequestFrom?json=" + json + "&" + Math.random(),
  304. async: false,
  305. datatype: 'json',
  306. success: function (data) {
  307. $.modalAlert(data, "warning");
  308. }
  309. })
  310. $("#gridList").jqGrid().setGridParam({ datatype: 'json' }).trigger('reloadGrid')
  311. }
  312. });
  313. }
  314. //分配采购
  315. function btnPurchaserPersAllocation() {
  316. debugger;
  317. var RFQCODE = '';
  318. var PURORG = '';
  319. var PURTEAM = '';
  320. var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  321. if (ids.lenth <= 0) {
  322. $.modalAlert("请选择要分配的数据!", "warning");
  323. return;
  324. }
  325. for (var i = 0; i < ids.length; i++) {
  326. var data = $("#gridList").jqGrid('getRowData', ids[i]);
  327. RFQCODE = data.RFQCODE
  328. PURTEAM = data.PURTEAM
  329. PURORG = data.PURORG
  330. if (data.HIDDSTATUS != "未分配") {
  331. $.modalAlert("当亲状态不可操作!", "warning");
  332. return;
  333. }
  334. }
  335. $.modalOpen2({
  336. id: "PurchaserAllocation",
  337. title: "分配采购",
  338. url: "/SRM/PriceInquiry/PurchaserAllocation?rfqcode=" + RFQCODE + "&" + Math.random() + "&status=" + 1 + "&PURTEAM=" + encodeURI(encodeURI(PURTEAM)) + "&PURORG=" + encodeURI(encodeURI(PURORG)),
  339. width: "95%",
  340. height: "95%",
  341. callBack: function (iframeId) {
  342. top.frames[iframeId].submitForm();
  343. }
  344. })
  345. }
  346. //分配供应商
  347. function btnVendorPersAllocation() {
  348. debugger;
  349. var RFQCODE = '';
  350. var PURORG = '';
  351. var PURTEAM = '';
  352. var ids = $("#gridList").jqGrid('getGridParam', 'selarrrow');
  353. if (ids.lenth <= 0) {
  354. $.modalAlert("请选择要分配的数据!", "warning");
  355. return;
  356. }
  357. for (var i = 0; i < ids.length; i++) {
  358. var data = $("#gridList").jqGrid('getRowData', ids[i]);
  359. RFQCODE = data.RFQCODE
  360. PURTEAM = data.PURTEAM
  361. PURORG = data.PURORG
  362. if (data.HIDDSTATUS != "已分配") {
  363. $.modalAlert("当亲状态不可操作!", "warning");
  364. return;
  365. }
  366. }
  367. $.modalOpen2({
  368. id: "VendorPersAllocation",
  369. title: "分配供应商",
  370. url: "/SRM/PriceInquiry/VendorPersAllocation?rfqcode=" + RFQCODE + "&" + Math.random() + "&status=" + 1 + "&PURTEAM=" + encodeURI(encodeURI(PURTEAM)) + "&PURORG=" + encodeURI(encodeURI(PURORG)),
  371. width: "95%",
  372. height: "95%",
  373. callBack: function (iframeId) {
  374. top.frames[iframeId].submitForm();
  375. }
  376. })
  377. }
  378. </script>
  379. <div class="topPanel" style="height:200px">
  380. <div class="toolbar">
  381. <div class="btn-group">
  382. <a id="CreateRFQ" authorize="yes" style="margin-left:3px;" class="btn btn-info" onclick="btnCreate()"><i class="fa fa-pencil-square-o"></i>新增</a>
  383. @*<a id="PubRFQ" authorize="yes" style="margin-left:3px;" class="btn btn-info" onclick="btnpub()"><i class="fa fa-pencil-square-o"></i>发布</a>*@
  384. <a id="btnpubJS" authorize="yes" style="margin-left:3px;" class="btn btn-info" onclick="btnpubJS()"><i class="fa fa-pencil-square-o"></i>技术发布</a>
  385. <a id="PurchaserPersAllocation" authorize="yes" style="margin-left:3px;" class="btn btn-info" onclick="btnPurchaserPersAllocation()"><i class="fa fa-pencil-square-o"></i>采购员分配</a>
  386. </div>
  387. <div class="btn-group" style="display:block;padding-left:2px;">
  388. <a id="VendorPersAllocation" authorize="yes" style="margin-left:3px;" class="btn btn-info" onclick="btnVendorPersAllocation()"><i class="fa fa-pencil-square-o"></i>供应商分配</a>
  389. @*<a id="CloseRFQ" authorize="yes" style="margin-left:3px;" class="btn btn-warning" onclick="btn_close()"><i class="fa fa-pencil-square-o"></i>关闭</a>*@
  390. <a id="deleteRFQ" authorize="yes" style="margin-left:3px;" class="btn btn-danger" onclick="btn_delete()"><i class="fa fa-pencil-square-o"></i>删除</a>
  391. @*<a id="CleanOA" authorize="yes" style="margin-left:3px;" class="btn btn-danger" onclick="btn_CleanOA()"><i class="fa fa-pencil-square-o"></i>取消OA流程</a>*@
  392. <a class="btn btn-info" style="margin-left:3px;" onclick="$.reload()"><span class="glyphicon glyphicon-refresh"></span></a>
  393. </div>
  394. <script>$('.toolbar').authorizeButton()</script>
  395. </div>
  396. <div class="search">
  397. <table>
  398. <tr>
  399. <td>
  400. <label>申请单号:</label>
  401. </td>
  402. <td>
  403. <div class="input-group">
  404. <input id="txt_RFQNO" type="text" class="form-control" placeholder="申请单号" style="width: 120px;">
  405. </div>
  406. </td>
  407. <td>
  408. <label>&nbsp;&nbsp;&nbsp;申请单名称:</label>
  409. </td>
  410. <td>
  411. <div class="input-group">
  412. <input id="txt_RFQName" type="text" class="form-control" placeholder="申请单名称" style="width: 100px;">
  413. </div>
  414. </td>
  415. <td>
  416. <label>&nbsp;&nbsp;&nbsp;单据日期(从):</label>
  417. </td>
  418. <td>
  419. <div class="input-group">
  420. <input type="text" name="txt_FromDate" id="txt_FromDate" class="form-control" style="width: 100px;" maxlength="10" onclick=" WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="单据日期(从)" />
  421. </div>
  422. </td>
  423. <td>
  424. <label>&nbsp;&nbsp;&nbsp;单据日期(到):</label>
  425. </td>
  426. <td>
  427. <div class="input-group">
  428. <input type="text" name="txt_NoDate" id="txt_EndDate" class="form-control" style="width: 100px;" maxlength="10" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd', minDate: txt_FromDate.value })" placeholder="单据日期(到)" />
  429. </div>
  430. </td>
  431. </tr>
  432. <tr>
  433. @*<td>
  434. <label>采购负责人:</label>
  435. </td>
  436. <td>
  437. <div class="input-group">
  438. <input id="txt_PoTeam" type="text" class="form-control" placeholder="采购负责人" style="width: 120px;">
  439. </div>
  440. </td>*@
  441. @*<td>
  442. <label>&nbsp;&nbsp;&nbsp;采购组织:</label>
  443. </td>
  444. <td>
  445. <div class="input-group">
  446. <input type="text" name="txt_poorg" id="txt_poorg" class="form-control" style="width: 100px;" maxlength="10" placeholder="采购组织" />
  447. </div>
  448. </td>*@
  449. <td>
  450. <label>供应商编码:</label>
  451. </td>
  452. <td>
  453. <div class="input-group">
  454. <input id="txt_VenCode" type="text" class="form-control" placeholder="供应商编码" style="width: 100px;">
  455. </div>
  456. </td>
  457. <td>
  458. <label>&nbsp;&nbsp;&nbsp;供应商名称:</label>
  459. </td>
  460. <td>
  461. <div class="input-group">
  462. <input id="txt_VenName" type="text" class="form-control" placeholder="供应商名称" style="width: 100px;">
  463. </div>
  464. </td>
  465. <td>
  466. <label>&nbsp;&nbsp;&nbsp;物料编码:</label>
  467. </td>
  468. <td>
  469. <div class="input-group">
  470. <input id="txt_INVCode" type="text" class="form-control" placeholder="物料编码" style="width: 120px;">
  471. </div>
  472. </td>
  473. <td>
  474. <label>&nbsp;&nbsp;&nbsp;物料名称:</label>
  475. </td>
  476. <td>
  477. <div class="input-group">
  478. <input id="txt_INVName" type="text" class="form-control" placeholder="物料名称" style="width: 100px;">
  479. </div>
  480. </td>
  481. </tr>
  482. <tr>
  483. <td>
  484. <label>物料规格:</label>
  485. </td>
  486. <td>
  487. <div class="input-group">
  488. <input id="txt_INVStd" type="text" class="form-control" placeholder="物料规格" style="width: 100px;">
  489. </div>
  490. </td>
  491. <td>
  492. <label>询价单状态:&nbsp;&nbsp;&nbsp;&nbsp;</label>
  493. </td>
  494. <td>
  495. <div class="input-group">
  496. <select id="selShow" name="F_Target" class="form-control" style="width: 100px;">
  497. <option value="" selected>显示全部</option>
  498. <option value="New">新增</option>
  499. <option value="Publish">发布</option>
  500. <option value="PricingApprove">定价通过</option>
  501. <option value="End">已结束</option>
  502. @*<option value="Close">关闭</option>
  503. <option value="PricingApproveByOA">OA待审核</option>
  504. <option value="PricingApproveByOASH">OA已审核</option>
  505. <option value="PricingApproveByOABack">OA审核拒绝</option>*@
  506. </select>
  507. </div>
  508. </td>
  509. <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  510. <td>
  511. <span class="input-group-btn">
  512. <button id="btn_search" type="button" class="btn btn-info" onclick="Search()"><i class="fa fa-search"></i></button>
  513. </span>
  514. </td>
  515. </tr>
  516. </table>
  517. </div>
  518. </div>
  519. <div class="gridPanel">
  520. <table id="gridList"></table>
  521. <div id="gridPager"></div>
  522. </div>