批量验收改为直接选择就可以保存

master
erzhongxmu 2021-01-16 16:15:45 +08:00
parent 10c61df76e
commit edc5683035
1 changed files with 3 additions and 3 deletions

View File

@ -50,9 +50,9 @@
function saveData(title,addurl,gname){
if(!endEdit(gname))
return false;
var rows=$('#'+gname).datagrid("getChanges","inserted");
var uprows=$('#'+gname).datagrid("getChanges","updated");
rows=rows.concat(uprows);
var rows=$('#'+gname).datagrid("getSelections");
// var uprows=$('#'+gname).datagrid("getChanges","updated");
// rows=rows.concat(uprows);
if(rows.length<=0){
tip("没有需要保存的数据!")
return false;