From 3a864ec2d204077d34bd0b874540829702581c6c Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 11 二月 2022 15:16:35 +0800 Subject: [PATCH] 删除知识点查询 --- zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Index.cshtml | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Index.cshtml b/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Index.cshtml index bc2cd85..10658fb 100644 --- a/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Index.cshtml +++ b/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Index.cshtml @@ -29,14 +29,31 @@ { label: '鍓╀綑鏁伴噺', name: 'GoodsLeft', labtype: 'txt', hidden: false, width: 100 }, { label: '鐗╁搧鐘舵��', name: 'GoodsStatusName', labtype: 'txt', hidden: false, width: 100 }, - + { + label: '鍏ュ簱', name: 'GoodsName', labtype: 'txt', hidden: false, width: 50, + formatter: function (cellvalue, options, rowObject) { + return "<a onclick=\"OpenWindow('鍏ュ簱','98%','100%', '/AdmGoodsManage/Ruku?id=" + rowObject.Id + "')\" >鍏ュ簱</a>"; + } + }, + { + label: '鍑哄簱', name: 'GoodsName', labtype: 'txt', hidden: false, width: 50, + formatter: function (cellvalue, options, rowObject) { + return "<a onclick=\"OpenWindow('鍑哄簱','98%','100%', '/AdmGoodsManage/Chuku?id=" + rowObject.Id + "')\" >鍑哄簱</a>"; + } + }, + { + label: '鍑哄叆搴撹褰�', name: 'Remark', labtype: 'txt', hidden: false, + formatter: function (cellvalue, options, rowObject) { + return "<a onclick=\"OpenWindow('" + rowObject.GoodsName + "','98%','100%', '/AdmGoodsManage/Liushuizhang?id=" + rowObject.Id + "')\" >鍑哄叆搴撹褰�</a>"; + } + }, ]; dataUrl = "/AdmGoodsManage/GetList"; searchCol = [ - { label: '鐗╁搧绫诲埆', name: 'ClassifyId', labtype: 'combox', hidden: false, data: JSON.parse(ClassifyId), cwidth: '5%', cccwidth: '8%' }, - { label: '鐗╁搧鍚嶇О', name: 'GoodsName', labtype: 'combox', hidden: false, data: JSON.parse(Goods), cwidth: '5%', cccwidth: '8%'}, - { label: '鐗╁搧鐘舵��', name: 'GoodsStatus', labtype: 'combox', hidden: false, data: JSON.parse(GoodsStatus), cwidth: '5%', cccwidth: '8%' }, + { label: '鐗╁搧绫诲埆', name: 'ClassifyId', labtype: 'combox', hidden: false, data: JSON.parse(ClassifyId), cwidth: '5%', cccwidth: '15%' }, + { label: '鐗╁搧鍚嶇О', name: 'GoodsName', labtype: 'combox', hidden: false, data: JSON.parse(Goods), cwidth: '5%', cccwidth: '15%'}, + { label: '鐗╁搧鐘舵��', name: 'GoodsStatus', labtype: 'combox', hidden: false, data: JSON.parse(GoodsStatus), cwidth: '5%', cccwidth: '15%' }, -- Gitblit v1.9.1