Commit bd77b46a by wuwenlong

项目立项修改BUGFIX;

parent 942399c4
......@@ -92,11 +92,11 @@ function create() {
function update() {
let rows = resultGrid.getCheckedRows()
if (rows.length < 1||rows.length > 1) {
message("请选择一条需要修改的数据");
message2("修改","请选择一条需要修改的数据");
return;
}
if(rows[0].approvalStatus>0){
message("项目已提交不可修改!");
message("修改","项目已提交不可修改!");
return;
}
let id = rows[0].id;
......@@ -111,7 +111,7 @@ function update() {
function remove() {
let rows = resultGrid.getCheckedRows()
if (rows.length < 1) {
message("删除","没有选中的行");
message2("删除","没有选中的行");
return;
}
IPLAT.confirm({
......@@ -142,7 +142,7 @@ function remove() {
function complete() {
let rows = resultGrid.getCheckedRows()
if (rows.length < 1) {
message("完工","没有选中的行");
message2("完工","没有选中的行");
return;
}
IPLAT.confirm({
......@@ -173,7 +173,7 @@ function complete() {
function commit() {
let rows = resultGrid.getCheckedRows()
if (rows.length < 1) {
message("提交","没有选中的行");
message2("提交","没有选中的行");
return;
}
IPLAT.confirm({
......
......@@ -85,7 +85,7 @@ function message(msg) {
* @param title
* @param msg
*/
function message(title,msg) {
function message2(title,msg) {
WindowUtil({
title: title,
content: "<div class='kendo-del-message'>" + msg + "</div>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment