From a7ae63ad871b986eb1bede54219638edd4e29b63 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 21 十一月 2023 10:45:24 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Indexzhuanjia.cshtml | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Indexzhuanjia.cshtml b/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Indexzhuanjia.cshtml index a09f697..7def965 100644 --- a/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Indexzhuanjia.cshtml +++ b/zhengcaioa/zhengcaioa/Views/OrderBanciOrder/Indexzhuanjia.cshtml @@ -30,17 +30,23 @@ { label: '瀛﹁垂', name: 'Xuefei', labtype: 'txt', hidden: false, width: 70 }, { label: '鎶ュ悕浜烘暟', name: 'Baomingrenshu', labtype: 'txt', hidden: false, width: 50 }, { label: '绉垎', name: 'Jifen', labtype: 'txt', hidden: false, width: 50 }, + { label: '搴т綅', name: 'SeatName', labtype: 'txt', hidden: false, width: 50 }, //{ label: '閲戦', name: 'Jine', labtype: 'txt', hidden: false, width: 100 }, { label: '鎵撳嵃鍚堝悓', name: 'dayin', labtype: 'txt', hidden: false, width: 70 , formatter: function (cellvalue, options, rowObject) { - return "<a class=\"Dayin\" style=\"display: none;\" onclick=\"OpenWindow('鎵撳嵃鍚堝悓','100%','100%', '/OrderBanciOrder/Printhetong?id=" + rowObject.Id + "')\" >鎵撳嵃鍚堝悓</a>"; + if (rowObject.KechengleixingId == "2") { + return "<a class=\"Dayin\" style=\"display: none;\" onclick=\"OpenWindow('鎵撳嵃鍚堝悓','100%','100%', '/OrderBanciOrder/Printhetong?id=" + rowObject.Id + "')\" >鎵撳嵃鍚堝悓</a>"; + } else { + return ""; + } + } }, ]; - dataUrl = "/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6,8&Baomingtime=" + Baomingtimebegin + "|" + Baomingtimeend; + dataUrl = "/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6,8,9&Baomingtime=" + Baomingtimebegin + "|" + Baomingtimeend; searchCol = [ { label: '鎶ュ悕鏃堕棿', name: 'Baomingtime', labtype: 'datearea', hidden: false }, { label: '鍩硅鐝', name: 'Peixunbanci', labtype: 'txt', hidden: false }, @@ -59,7 +65,7 @@ //} var _pageSearch = function () { $("#jqGrid").jqGrid('setGridParam', { - url: '/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6', postData: jsons, page: 1 + url: '/OrderBanciOrder/GetList?Kechengleixings=0,1,2,4,5,6,8,9', postData: jsons, page: 1 }); //閲嶆柊杞藉叆 var jsons = GetSearchEnd(); if (jsons == false) { -- Gitblit v1.9.1