下面是脚本内容:
var fgrid1 = getData("硅料季度产能");
var fgrid2 = getViewData("硅料季度产能");
//获取填报人
var submit_by = TUSER.getSelectedObjects()[0];
var Errorflag = "0";
var rowsOld = fgrid1.rows(ORIGINAL);
var rowsAdded = fgrid1.rows(ADDED);
var rowsChanged = fgrid1.rows(MODIFIED);
var rowsDeleted = fgrid1.rows(DELETED);
var ww=param['_USER_WORKGROUP']
var tel=param['TEL']
if (len(tel)==0 || len(tel) !=11 || substring(tel,0,1)!=1){
debug('电话输入错误,请重新输入')