| @@ -257,6 +257,9 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||||
| tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) | tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) | ||||
| return false; | return false; | ||||
| } | } | ||||
| else{ | |||||
| return true; | |||||
| } | |||||
| // let array = [] | // let array = [] | ||||
| // $('#cupload-3').find('input').each(function() { | // $('#cupload-3').find('input').each(function() { | ||||
| // if($(this).val()!=''){ | // if($(this).val()!=''){ | ||||
| @@ -268,9 +271,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||||
| // tools.initTips('请上传相关凭证', 'right', $('#cupload-3')[0], 2000) | // tools.initTips('请上传相关凭证', 'right', $('#cupload-3')[0], 2000) | ||||
| // return false; | // return false; | ||||
| // } | // } | ||||
| // else{ | |||||
| // return true; | |||||
| // } | |||||
| } | } | ||||
| module.toTips = function(data){ | module.toTips = function(data){ | ||||
| console.log(data) | console.log(data) | ||||