|
|
@@ -47,7 +47,7 @@ var bootstrap = function ($, learun) { |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
var Status = $('#gridtable').jfGridValue('Status'); |
|
|
|
if (Status != 0) { |
|
|
|
return learun.alert.warning('该项已审批,不可编辑!'); |
|
|
|
return learun.alert.warning('该项已提交,不可编辑!'); |
|
|
|
} |
|
|
|
learun.layerForm({ |
|
|
|
id: 'form', |
|
|
@@ -67,7 +67,7 @@ var bootstrap = function ($, learun) { |
|
|
|
if (learun.checkrow(keyValue)) { |
|
|
|
var Status = $('#gridtable').jfGridValue('Status'); |
|
|
|
if (Status != 0) { |
|
|
|
return learun.alert.warning('该项已审批,不可删除!'); |
|
|
|
return learun.alert.warning('该项已提交,不可删除!'); |
|
|
|
} |
|
|
|
learun.layerConfirm('是否确认删除该项!', function (res) { |
|
|
|
if (res) { |
|
|
|