From 7ed6bb82f1e4f7bad2252f6b968ec45adf860efc Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期日, 27 六月 2021 15:18:22 +0800 Subject: [PATCH] 修改 --- zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml | 56 ++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 40 insertions(+), 16 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml b/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml index d7ec3a7..d23e13c 100644 --- a/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml @@ -33,7 +33,21 @@ - } }, + } + }, + { + label: '鏄惁鍑轰功', name: 'ChushuStatus', labtype: 'txt', hidden: false, width: 100, + formatter: function (cellvalue, options, rowObject) { + if (cellvalue == "D") { + return "鍚�" + } else { + return "鏄�" + } + + + + } + }, { label: '鐘舵��', name: 'RecStatus', labtype: 'txt', hidden: true }, { label: '鍒涘缓浜�', name: 'Creater', labtype: 'txt', hidden: true }, { label: '鍒涘缓鏃堕棿', name: 'Createtimetxt', labtype: 'txt', hidden: true }, @@ -50,8 +64,8 @@ { label: '鏄惁瀹℃牳', name: 'Shifoushenhe', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' }, { label: '褰曞叆鏃堕棿', name: 'Createtime', labtype: 'datearea', hidden: false }, { label: '褰曞叆浜�', name: 'Creater', labtype: 'combox', hidden: false, data: JSON.parse(Creater), cwidth: '5%', cccwidth: '8%' }, - - + { label: '鏄惁鍑轰功', name: 'ChushuStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' }, + //{ label: '鏄惁鏀惰棌', name: 'ShouCangStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' }, ]; var _pageAdd = function () { OpenWindow("鏂板闂", "98%", "90%", "/Liaotian/Edit/"); @@ -178,29 +192,39 @@ - function sendHuidaStatus() { + //function sendHuidaStatus() { - var msg = $("#PBSShifoushenhe"); + // var msg = $("#PBSShifoushenhe"); - if (msg.length > 0) { - $("#PBSShifoushenhe").val("D"); - $("#PBSShifoushenhe").trigger('chosen:updated');//鏇存柊閫夐」 - _pageSearch(); - } else { - setTimeout(sendHuidaStatus, 1000); - } - } - + // if (msg.length > 0) { + // $("#PBSShifoushenhe").val("D"); + // $("#PBSShifoushenhe").trigger('chosen:updated');//鏇存柊閫夐」 + // //_pageSearch(); + // } else { + // setTimeout(sendHuidaStatus, 1000); + // } + //} + //sendHuidaStatus(); send(); - sendHuidaStatus(); + - + + $(document).ready(function () { + setTimeout( + function () { + $("#PBSShifoushenhe").val("D"); + $("#PBSShifoushenhe").trigger('chosen:updated');//鏇存柊閫夐」 + _pageSearch(); + }, 2000); + + + }); -- Gitblit v1.9.1