The end time of the PWC oa process form is greater than the start time

<script type="text/javascript" src="/workflow/exceldesign/js/customPublicFun_wev8.js"></script>
<script type="text/javascript">
    jQuery(document).ready(function(){
    
    

   checkCustomize = function() {
    
    
 var com1=fun();

 if(com1==1){
    
    
    return true;
 }else{
    
    
    return false;
 }
}





function fun(){
    
    
    var state= cus_CompareTime("field8822,field12223", "field8823,field12224");
    if(!state){
    
    
        window.top.Dialog.alert("结束时间必须大于开始时间");
        return "0";
    }
    return "1";
}

   });

</script>

Please leave a message in the comment area and discuss together~~~

If necessary, please contact WeChat: hdygzh2019 At the same time, please explain your intention and make progress together! ! !

Guess you like

Origin blog.csdn.net/Y_6155/article/details/109019136