|
|
@@ -161,6 +161,15 @@ var bootstrap = function ($, learun) { |
|
|
|
// 部门审查 |
|
|
|
$('#lr_department').on('click', function () { |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
var Status = $('#gridtable').jfGridValue('Status'); |
|
|
|
if (Status != 1) { |
|
|
|
learun.alert.warning("当前项目操作项不允许!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (Status == 2) { |
|
|
|
learun.alert.warning("当前项目操作项不允许!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
learun.layerForm({ |
|
|
|
id: 'formformcheck', |
|
|
@@ -181,6 +190,10 @@ var bootstrap = function ($, learun) { |
|
|
|
learun.alert.warning("当前项目操作项不允许!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (Status == 3) { |
|
|
|
learun.alert.warning("当前项目操作项不允许!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
var keyValue = $('#gridtable').jfGridValue('ID'); |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
learun.layerForm({ |
|
|
|