|
|
@@ -54,6 +54,11 @@ const EXPORT_VIEW = (() => {
|
|
|
}
|
|
|
const parentArea = $('#export-parent-area').val();
|
|
|
const subArea = $('#export-sub-area').val();
|
|
|
+ if (subArea === '池州') {
|
|
|
+ if ($('#certifyInputForAH_CZ')[0].value === null || $('#certifyInputForAH_CZ')[0].value.trim() === '') {
|
|
|
+ throw '请输入验证码。';
|
|
|
+ }
|
|
|
+ }
|
|
|
if (!parentArea || !subArea) {
|
|
|
throw '请选择有效地区。';
|
|
|
}
|
|
|
@@ -116,9 +121,11 @@ $(document).ready(() => {
|
|
|
})
|
|
|
|
|
|
function bidAreaSelectChange(dom) {
|
|
|
+ // const subArea = $('#export-sub-area').val();
|
|
|
if (dom.options[dom.selectedIndex].text === '广西') {
|
|
|
$('#certifyDivForGX')[0].style.display = "";
|
|
|
$('#certifyDivForXJ')[0].style.display = "none";
|
|
|
+ $('#certifyDivForAH_CZ')[0].style.display = "none";
|
|
|
$('#certifyInputForGX')[0].value = '';
|
|
|
let gxDom1 = $('#lblTtlDiv');
|
|
|
if (gxDom1 && gxDom1.length > 0) {
|
|
|
@@ -128,10 +135,25 @@ function bidAreaSelectChange(dom) {
|
|
|
if (gxDom2 && gxDom2.length > 0) {
|
|
|
gxDom2[0].style.display = "none";
|
|
|
}
|
|
|
+ } else if (dom.options[dom.selectedIndex].text === '池州') {
|
|
|
+ $('#certifyDivForXJ')[0].style.display = "none";
|
|
|
+ $('#certifyDivForGX')[0].style.display = "none";
|
|
|
+ $('#certifyDivForAH_CZ')[0].style.display = "";
|
|
|
+ $('#certifyInputForAH_CZ')[0].value = '';
|
|
|
+ //
|
|
|
+ let gxDom1 = $('#lblTtlDiv');
|
|
|
+ if (gxDom1 && gxDom1.length > 0) {
|
|
|
+ gxDom1[0].style.display = "none";
|
|
|
+ }
|
|
|
+ let gxDom2 = $('#bidCtlDiv');
|
|
|
+ if (gxDom2 && gxDom2.length > 0) {
|
|
|
+ gxDom2[0].style.display = "none";
|
|
|
+ }
|
|
|
} else if (dom.options[dom.selectedIndex].text === '新疆') {
|
|
|
//certifyDivForXJ
|
|
|
$('#certifyDivForXJ')[0].style.display = "";
|
|
|
$('#certifyDivForGX')[0].style.display = "none";
|
|
|
+ $('#certifyDivForAH_CZ')[0].style.display = "none";
|
|
|
$('#certifyInputForXJ')[0].value = '';
|
|
|
let gxDom1 = $('#lblTtlDiv');
|
|
|
if (gxDom1 && gxDom1.length > 0) {
|