| | |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | | |
| | | var status = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.status))'; |
| | | gridConfig = { multiselect: true, selectcol: "Id" }; |
| | | loseherght = 40; |
| | | dataCol = [ |
| | |
| | | { 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>"; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | }, |
| | | |
| | |
| | | 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) }, |
| | | |
| | | |
| | | |
| | |
| | | // OpenWindow("新增班次", "98%", "90%", "/CooperOrder/Edit/"); |
| | | //} |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var _afterSave = function (result) { |