username@email.com
2021-12-06 5a50381b4d3b30a8de467d01d657a3a842ee0298
zhengcaioa/zhengcaioa/Views/CooperOrder/selectWenshu.cshtml
@@ -5,6 +5,9 @@
@section headerStyle{
    <script type="text/javascript">
        var Wenshuleixing = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Wenshuleixing))';
        var status = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.status))';
        gridConfig = { multiselect: true, selectcol: "Id" };
        loseherght = 40;
        dataCol = [
@@ -21,17 +24,17 @@
            { label: '采购人', name: 'PurchaserName', labtype: 'txt', hidden: false, width: 100 },
            { label: '采购代理机构', name: 'Agency', labtype: 'txt', hidden: false, width: 100 },
            { label: '客户单位', name: 'KhdwName', labtype: 'txt', hidden: false, width: 100 },
            { label: '状态', name: 'StatusName', labtype: 'txt', hidden: false, width: 100 },
            {
                label: '查看文书', name: 'Status', labtype: 'txt', hidden: false, width: 100
                ,
                formatter: function (cellvalue, options, rowObject) {
                    if (rowObject.OrderType1 == "代拟投诉书") {
                        return "<a onclick=\"OpenWindow('查看投诉书','98%','100%', '/OrderBanciOrder/Edit?id=" + rowObject.Id + "')\"  >查看投诉书</a>";
                        return "<a onclick=\"OpenWindow('查看投诉书','98%','100%', '/CooperOrder/EditZhiyihan?id=" + rowObject.Id + "')\"  >查看投诉书</a>";
                    }
                    else if (rowObject.OrderType1 == "代拟质疑函") {
                        return "<a onclick=\"OpenWindow('查看质疑函','98%','100%', '/OrderBanciOrder/Edit?id=" + rowObject.Id + "')\"  >查看质疑函</a>";
                        return "<a onclick=\"OpenWindow('查看质疑函','98%','100%', '/CooperOrder/EditZhiyihan?id=" + rowObject.Id + "')\"  >查看质疑函</a>";
                    }
                }
            },
@@ -48,8 +51,8 @@
            { label: '采购人', name: 'PurchaserName', labtype: 'txt', hidden: false },
            { label: '采购代理机构', name: 'Agency', labtype: 'txt', hidden: false },
            { label: '客户名称', name: 'KhdwName', labtype: 'txt', hidden: false },
            { label: '生成状态', name: 'status', labtype: 'combox', hidden: false, data: JSON.parse(status) },