From 89407fcd5270579842b864e53fd33c1bae6abef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 12 Jun 2023 16:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93=E6=8A=A5?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/project/listingItems/bond.js | 28 +++++++++++++------------- view/listingItems/bond.html | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/static/js/project/listingItems/bond.js b/static/js/project/listingItems/bond.js index 81dcf4f..52c0075 100644 --- a/static/js/project/listingItems/bond.js +++ b/static/js/project/listingItems/bond.js @@ -257,20 +257,20 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) return false; } - let array = [] - $('#cupload-3').find('input').each(function() { - if($(this).val()!=''){ - array.push($(this).val()) - } - }); - if(array.length<1){ - $('#cupload-3')[0].focus() - tools.initTips('请上传相关凭证', 'right', $('#cupload-3')[0], 2000) - return false; - } - else{ - return true; - } + // let array = [] + // $('#cupload-3').find('input').each(function() { + // if($(this).val()!=''){ + // array.push($(this).val()) + // } + // }); + // if(array.length<1){ + // $('#cupload-3')[0].focus() + // tools.initTips('请上传相关凭证', 'right', $('#cupload-3')[0], 2000) + // return false; + // } + // else{ + // return true; + // } } module.toTips = function(data){ console.log(data) diff --git a/view/listingItems/bond.html b/view/listingItems/bond.html index 7b1a716..22af729 100644 --- a/view/listingItems/bond.html +++ b/view/listingItems/bond.html @@ -201,7 +201,7 @@