1.经销商额度池如果为空判断为0

This commit is contained in:
zhangbb 2019-06-18 16:35:14 +08:00
parent 57828ae2b0
commit 7830619b40
2 changed files with 4 additions and 0 deletions

View File

@ -154,6 +154,8 @@
var result1 = Checkfield();
//if(result==true){
if(result==true && result1==true){
var total = getItemValue(0,0,'TOTAL');
if(total==null||total==""){setItemValue(0, 0, "TOTAL", "0")}
as_save("0","saveproj_name()");
}
}

View File

@ -54,6 +54,8 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function save(){
var total = getItemValue(0,0,'TOTAL');
if(total==null||total==""){setItemValue(0, 0, "TOTAL", "0")};
as_save(0,"saveproj_name()");
}
function saveproj_name(){