username@email.com
2021-12-06 5a50381b4d3b30a8de467d01d657a3a842ee0298
zhengcaioa/zhengcaioa/Views/CooperOrder/IndexWenshu.cshtml
@@ -4,7 +4,7 @@
}
@section headerStyle{
    <script type="text/javascript">
        var status = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.status))';
        gridConfig = { multiselect: true, selectcol: "Id" };
        loseherght = 40;
        dataCol = [
@@ -21,20 +21,21 @@
            { 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>";
                    }
                }
            },
@@ -44,13 +45,13 @@
        searchCol = [
            { label: '项目名称', name: 'XmName', labtype: 'txt', hidden: false },
            { label: '项目编号', name: 'XmCode', labtype: 'txt', hidden: false },
            { label: '采购人', name: 'PurchaserName', labtype: 'txt', hidden: false },
            { label: '采购代理机构', name: 'Agency', labtype: 'txt', hidden: false },
            { label: '客户名称', name: 'KhdwName', labtype: 'txt', hidden: false },
            //{ label: '文书类别', name: 'Wenshuleixing', labtype: 'txt', hidden: false },
            //{ label: '时间', name: 'XdTime', labtype: 'datearea', hidden: false },
            { label: '生成状态', name: 'status', labtype: 'combox', hidden: false, data: JSON.parse(status) },
@@ -61,7 +62,7 @@
        //    OpenWindow("新增班次", "98%", "90%", "/CooperOrder/Edit/");
        //}
        var _afterSave = function (result) {