|
@@ -82,7 +82,12 @@ var bootstrap = function ($, learun) { |
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
if (learun.checkrow(keyValue)) { |
|
|
if (learun.checkrow(keyValue)) { |
|
|
if (keyValue.indexOf(',') != -1) { |
|
|
if (keyValue.indexOf(',') != -1) { |
|
|
learun.alert.warning("只能选择一条记录进行编辑!"); |
|
|
|
|
|
|
|
|
learun.alert.warning("只能选择一条记录进行查看!"); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
var CheckMark = $('#gridtable').jfGridValue('F_EnabledMark'); |
|
|
|
|
|
if (CheckMark.indexOf('0') != -1) { |
|
|
|
|
|
learun.alert.warning("请选择已生效项进行查看!"); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
learun.layerForm({ |
|
|
learun.layerForm({ |
|
|