$(function () { //$("input[name='rd']:checked").val(); //$('#divUpFile').dialog('close'); //initData(); //初始化常量数据 //$('input:radio').click(function () { // jjOK(); //}); //$('input:checkbox').click(function () { // jjOK(); //}); //$("#ddcsj").hide(); //默认选择飞针测试,隐藏测试架选项 }); function hyqzifu() { $("#zdybiao").hide(); } function zifuzdy() { $("#zdybiao").show(); } function linewidth1() { //$("#dlkon").hide(); //$("#dwkon").hide(); $(".zifu").hide(); } function linewidth2() { //$("#dlkon").show(); //$("#dwkon").show(); var radFontColor = $("input[name='radFontColor']:checked").val(); if (radFontColor == "无") { $(".zifu").hide(); } else { $(".zifu").show(); } } function zfcolor() { var LineWeight = "大于等于0.15mm" $("#dszf").show(); if (LineWeight == "大于等于0.15mm") { $(".zifu").show(); } } function nonecolor() { $("#dszf").hide(); $(".zifu").hide(); } function khzipin() { $("#khpin").show(); $("#dp1").show(); $("#dp2").show(); }; //成品尺寸计价 function ziyou() { //window.location.href = "pcbpricingV2.aspx"; $("#khpin").show(); $("#dp1").show(); $("#dp2").show(); }; function dpch() { $("#khpin").hide(); $("#dp1").show(); $("#dp2").hide(); $("#dpgyb").hide(); }; function cxtype() { $("#cxmuj").show(); $("#mjxb").hide(); } function cxtype2() { $("#cxmuj").hide(); $("#mjxb").show(); $("#gyongmj").hide(); } function dccsj() { var TestType = $("#Measurement").text(); if (TestType == "电测") { $("#ddcsj").show(); $("#ddcsf").show(); $("#csjzy").hide(); $("#gyong").hide(); } else { $("#ddcsj").hide(); $("#ddcsf").hide(); $("#csjzy").hide(); $("#gyong").hide(); } } function kcsj() { var TestType = $("input[name='csj']:checked").val(); if (TestType == "新开测试架") { $("#ddcsf").show(); $("#csjzy").hide(); $("#gyong").hide(); } else if (TestType == "共用测试架") { $("#ceshjprice").text("0"); $("#ddcsf").hide(); $("#csjzy").hide(); $("#gyong").show(); } else { $("#ceshjprice").text("0"); $("#ddcsf").hide(); $("#csjzy").hide(); $("#gyong").show(); } } function mojux() { var mj = $("input[name='mj']:checked").val(); if (mj == "共用模具" || mj == "客供模具") { $("#gyongmj").show(); } else { $("#gyongmj").hide(); } } //第一步:计价 function jjOK() { //成品尺寸 //finishedpro(); //获取工艺信息 //var pcbtype = $("input[name='pcbtype']:checked").val(); //PCB类型 HDIPCB、常规PCB、特种PCB、FPC var pinbantype = $("#pinbanyaoqiu").text();//出货方式 客户自拼、成品尺寸、单PCS出货 var kehup1 = $("#hidXCount").val();//客户拼版 var kehup2 = $("#hidYCount").val(); var gongyikuan = $("#gongyikuan").val();//自由拼版 var pbjianju = $("#pbjianju").val(); var gongyb = $("#gongyb").val(); var length = $("#hidLength").val();//长度 var width = $("#hidWidth").val();//宽度 var nums = $("#hidNum").val();//板子数量set var layers = $("#selectLayers").text();//板层 var bctype = $("#bctype").val();//板材类型 var BoardThickness = $("#banzihoudu").text();//板材厚度 var PlatingType = $("#CharacterColor").text();//焊盘喷镀 var SolderColor = $("#selectSolderColor").text();//顶面阻焊颜色 var SolderColor2 = $("#selectSolderColor").text();//底面阻焊颜色 var SolderColor3 = "不需要";//是否需要双面颜色 var radFontColor = $("#SolderCoating").text();//字符颜色 var dszf = "无字符";//字符 var LineWeight = "大于等于0.15mm" //最小线宽 var pcb_minholesize = "0.3mm"; //最小过孔 //var dlkon = $("input[name='dlkon']:checked").val();//独立孔 var CopperThickness = $("#copperThickness").text();//外层铜厚 var CopperThickness2 = $("#copperThickness").text();//内层铜厚 var Zhfg = $("#ResistanceWeldingCover").text(); //阻焊覆盖 var TestType = $("#Measurement").text(); //测试方式 var csj = "目测";//测试架 //var csf = $("input[name='csf']:checked").val();//测试费 var specificType = "无"; //成型方式 var mj = "无"; //模具 var mouldingType = "否"; //是否阻抗 var charMark = "无"; //字符标记 var Bill = $("#fapiao").text(); //发票信息 //var printPeriod = $("input[name='printPeriod']:checked").val(); //丝印周期 var yzhounian = ""; //丝印周期 印周年 var ynianyueri = ""; //丝印周期 年月日 var ynoprint = ""; //丝印周期 不印 var TeiShu_3 = ""; //特殊工艺 隔白纸服务 var TeiShu_1 = ""; //特殊工艺 阻抗 var TeiShu_2 = ""; //特殊工艺 埋孔 var TeiShu_4 = ""; //特殊工艺 盲孔 var TeiShu_5 = ""; //特殊工艺 盲埋孔 var TeiShu_6 = ""; //特殊工艺 半孔 debugger var selectTeiShu = $("#selectTeiShu").val(); if (selectTeiShu == "2") { TeiShu_1 = "阻抗" } else if (selectTeiShu == "3") { TeiShu_2 = "埋孔" } else if (selectTeiShu == "4") { TeiShu_4 = "盲孔" } else if (selectTeiShu == "5") { TeiShu_5 = "盲埋孔" } else if (selectTeiShu == "6") { TeiShu_6 = "半孔" } //var shipmentReport = $("input[name='shipmentReport']:checked").val(); //出货要求 var yangbencrs = "";//出货要求 样本承认书 //var impedance = $("input[name='impedance']:checked").val(); //是否有阻抗 //var BGA = $("input[name='BGA']:checked").val(); //是否有BGA var lylv = ""; //额外收费项 利用率 var caokon = ""; //额外收费项 超孔 var impedance = ""; //额外收费项 阻抗 var BGA = ""; //额外收费项 BGA var appearance = ""; //额外收费项 外观要求 var urgent = $("#fahuofangshi").text(); //加急时间 var xiakon = ""; //额外收费项 四线低阻过孔全测 var ynianzhou = ""; //额外收费项 指定板材供应商 var TeiShu_3 = ""; //额外收费项 隔白纸服务 var chuhuobg = ""; //额外收费项 不接受打叉板 var ipc = ""; //IPC var payfor = ""; //赔偿要求 //debugger; if (length == "") { //alert("温馨提示:请填写板子长度!"); return false; } if (width == "") { //alert("温馨提示:请填写板子宽度!"); return false; } if (nums == "") { //alert("温馨提示:请填写板子宽度!"); return false; } /**************** 出货方式 ****************/ var chtype = ""; var gybk = 0; var pbjj = 0; if (pinbantype == "客户自拼") { chtype = kehup1 + "*" + kehup2; gybk = gongyikuan; pbjj = pbjianju; } else if (pinbantype == "自由拼版" || pinbantype == "成品尺寸") { gybk = gongyikuan; pbjj = pbjianju; } /**************** 计算pcs数量 ****************/ if (pinbantype == "客户自拼" || pinbantype == "成品尺寸") { var jspcs = kehup1 * kehup2 * nums; $("#pcsnums").val(jspcs); } else { $("#pcsnums").val(nums); } var pcsnums = $("#pcsnums").val(); //板子数量pcs /**************** 板子面积 ****************/ //var pf = ((length * width * nums) / 10000); //pf = Math.round(pf * 1000) / 1000; var pbjianju = $("#pbjianju").val();//工艺间隙 //pbjianju = parseFloat(pbjianju);//转换数字格式 var jianxifx = $("#jianxifx").val();//工艺间隙方向 var pf = 0; var zuo = 0; var you = 0; var zon = kehup1 * kehup2; var jj1 = parseFloat(kehup1) - 1; var jj2 = parseFloat(kehup2) - 1; if (pinbantype == "客户自拼") { if (gongyb == "长边") { if (jianxifx == "X方向") { zuo = length * kehup1 + gongyikuan * 2; you = width * kehup2 + jj2 * pbjianju; } else { zuo = length * kehup1 + gongyikuan * 2; you = width * kehup2; } } else if (gongyb == "短边") { if (jianxifx == "Y方向") { zuo = length * kehup1 + jj1 * pbjianju; you = width * kehup2 + gongyikuan * 2; } else { zuo = length * kehup1; you = width * kehup2 + gongyikuan * 2; } } else if (gongyb == "四边") { if (jianxifx == "X方向") { zuo = length * kehup1 + gongyikuan * 2 + jj2 * pbjianju; you = width * kehup2 + gongyikuan * 2; } else if (jianxifx == "Y方向") { zuo = length * kehup1 + gongyikuan * 2; you = width * kehup2 + gongyikuan * 2 + jj1 * pbjianju; } else { zuo = length * kehup1 + gongyikuan * 2; you = width * kehup2 + gongyikuan * 2; } } else { zuo = length * kehup1; you = width * kehup2; } pf = ((zuo * you * nums) / 10000); //pf = Math.round(pf * 1000) / 1000; zuo = Math.round(zuo * 1000) / 1000; you = Math.round(you * 1000) / 1000; } else if (pinbantype == "成品尺寸") { pf = ((length * width * nums) / 10000); //pf = Math.round(pf * 1000) / 1000; zuo = Math.round(zuo * 1000) / 1000; you = Math.round(you * 1000) / 1000; zon = kehup1 * kehup2; } else { if (gongyb == "长边") { zuo = parseFloat(length) + gongyikuan * 2; you = parseFloat(width); } else if (gongyb == "短边") { zuo = parseFloat(length); you = parseFloat(width) + gongyikuan * 2; } else if (gongyb == "四边") { zuo = parseFloat(length) + gongyikuan * 2; you = parseFloat(width) + gongyikuan * 2; } else { zuo = parseFloat(length); you = parseFloat(width); } pf = ((zuo * you * nums) / 10000); //pf = Math.round(pf * 1000) / 1000; zuo = Math.round(zuo * 1000) / 1000; you = Math.round(you * 1000) / 1000; zon = 1; } pf = Math.round(pf * 10000) / 10000; //pf = pf.toFixed(4); zon = Math.round(zon * 1000) / 1000; //板费价格区间 var boardType = ""; if (pf >= 0 && pf < 5) { boardType = "1-5"; } else if (pf >= 5 && pf < 20) { boardType = "5-20"; } else if (pf >= 20 && pf < 30) { boardType = "20-50"; } else if (pf >= 30 && pf < 50) { boardType = "50-100"; } else if (pf >= 50 && pf < 100) { boardType = "100-200"; } else if (pf >= 100 && pf < 200) { boardType = "200-300"; } else if (pf >= 200) { boardType = "300-500"; } else if (pf >= 500) { boardType = "500-600"; } else if (pf >= 600) { boardType = ">600"; } //多层板不可选线宽线距大于0.3选项 //if (layers > 2) { // $("#dayu03").hide(); //} else { // $("#dayu03").show(); //} //大于20平米不可飞针 var price7 = 0; var price17 = 0; if (pf > 2) { $("#mu").attr("checked", "checked"); $("#fei").removeAttr("checked"); $("#dia").attr("checked", "checked"); $("#ddcsj").show(); TestType = $("#Measurement").text(); } else { $("#fei").attr("checked", "checked"); $(".fei").show(); if (TestType == "目测") { $("#mu").attr("checked", "checked"); price17 = 0; } else if (TestType == "电测") { $("#dia").attr("checked", "checked"); } } if (csj == "新开测试架") { if (layers == 1) { price7 = parseInt(getPriceByID(1397)); } else if (layers == 2) { price7 = parseInt(getPriceByID(1398)); } else if (layers == 4) { price7 = parseInt(getPriceByID(1399)); } else if (layers == 6) { price7 = parseInt(getPriceByID(1400)); } else if (layers == 8) { price7 = parseInt(getPriceByID(1401)); } else if (layers == 10) { price7 = parseInt(getPriceByID(1402)); } else if (layers == 12) { price7 = parseInt(getPriceByID(1403)); } else if (layers == 14) { price7 = parseInt(getPriceByID(1404)); } else if (layers == 16) { price7 = parseInt(getPriceByID(1405)); } else if (layers == 18) { price7 = parseInt(getPriceByID(1406)); } else if (layers == 20) { price7 = parseInt(getPriceByID(1407)); } } else if (TestType != "共用测试架") { price7 = 0; } else if (TestType != "客供测试架") { price7 = 0; } if (TestType == "飞针测试") { price7 = 0; if (layers == 1) { price17 = parseInt(getPriceByID(1408) * pf); } else if (layers == 2) { price17 = parseInt(getPriceByID(1409) * pf); } else if (layers == 4) { price17 = parseInt(getPriceByID(1410) * pf); } else if (layers == 6) { price17 = parseInt(getPriceByID(1411) * pf); } else if (layers == 8) { price17 = parseInt(getPriceByID(1412) * pf); } else if (layers == 10) { price17 = parseInt(getPriceByID(1413) * pf); } else if (layers == 12) { price17 = parseInt(getPriceByID(1414) * pf); } else if (layers == 14) { price17 = parseInt(getPriceByID(1415) * pf); } else if (layers == 16) { price17 = parseInt(getPriceByID(1416) * pf); } else if (layers == 18) { price17 = parseInt(getPriceByID(1417) * pf); } else if (layers == 20) { price17 = parseInt(getPriceByID(1418) * pf); } //vincent 2020-10-10 样板 //if (pf <= 1) { // if (layers == 1) { // price17 = parseInt(getPriceByID(1430)); // } else if (layers == 2) { // price17 = parseInt(getPriceByID(1431)); // } else if (layers == 4) { // price17 = parseInt(getPriceByID(1432)); // } else if (layers == 6) { // price17 = parseInt(getPriceByID(1433)); // } else if (layers == 8) { // price17 = parseInt(getPriceByID(1434)); // } else if (layers == 10) { // price17 = parseInt(getPriceByID(1435)); // } else if (layers == 12) { // price17 = parseInt(getPriceByID(1436)); // } else if (layers == 14) { // price17 = parseInt(getPriceByID(1437)); // } else if (layers == 16) { // price17 = parseInt(getPriceByID(1438)); // } else if (layers == 18) { // price17 = parseInt(getPriceByID(1439)); // } else if (layers == 20) { // price17 = parseInt(getPriceByID(1440)); // } //} } /**************** 预计交货时间 ****************/ var today = new Date(); // 获取今天时间 var addDate = 0; if (pf < 1) { if (layers == 1) { addDate = parseInt(getPriceByID(1364)); } else if (layers == 2) { addDate = parseInt(getPriceByID(1365)); } else if (layers == 4) { addDate = parseInt(getPriceByID(1366)); } else if (layers == 6) { addDate = parseInt(getPriceByID(1367)); } else if (layers == 8) { addDate = parseInt(getPriceByID(1368)); } else if (layers == 10) { addDate = parseInt(getPriceByID(1369)); } else if (layers == 12) { addDate = parseInt(getPriceByID(1370)); } else if (layers == 14) { addDate = parseInt(getPriceByID(1371)); } else if (layers == 16) { addDate = parseInt(getPriceByID(1372)); } else if (layers == 18) { addDate = parseInt(getPriceByID(1373)); } else if (layers == 20) { addDate = parseInt(getPriceByID(1374)); } } else { if (layers == 1) { addDate = parseInt(getPriceByID(1375)); } else if (layers == 2) { addDate = parseInt(getPriceByID(1376)); } else if (layers == 4) { addDate = parseInt(getPriceByID(1377)); } else if (layers == 6) { addDate = parseInt(getPriceByID(1378)); } else if (layers == 8) { addDate = parseInt(getPriceByID(1379)); } else if (layers == 10) { addDate = parseInt(getPriceByID(1380)); } else if (layers == 12) { addDate = parseInt(getPriceByID(1381)); } else if (layers == 14) { addDate = parseInt(getPriceByID(1382)); } else if (layers == 16) { addDate = parseInt(getPriceByID(1383)); } else if (layers == 18) { addDate = parseInt(getPriceByID(1384)); } else if (layers == 20) { addDate = parseInt(getPriceByID(1385)); } } today.setDate(today.getDate() + addDate); $("#spanLastDate").text(today.getFullYear() + "-" + (today.getMonth() + 1) + "-" + today.getDate()); /**************** 客户价格信息 ****************/ //debugger; var partype = $("#fangshi").val();//支付方式 var zheko = 1;//折扣 var jjprice = $("#jiajia").val();//用户基价加价 if (jjprice == "" || jjprice == null || jjprice == 0) { jjprice = 0; } /**************** 板费单价 ****************/ var price = 0; if (BoardThickness == "无") { if (layers == 12) { if (pf >= 0 && pf < 5) { price = parseFloat(getPriceByID(1116)); } else if (pf >= 5 && pf < 20) { price = parseFloat(getPriceByID(1215)); } else if (pf >= 20) { price = parseFloat(getPriceByID(1314)); } } else if (layers == 14) { if (pf >= 0 && pf < 5) { price = parseFloat(getPriceByID(1127)); } else if (pf >= 5 && pf < 20) { price = parseFloat(getPriceByID(1226)); } else if (pf >= 20) { price = parseFloat(getPriceByID(1325)); } } else if (layers == 16) { if (pf >= 0 && pf < 5) { price = parseFloat(getPriceByID(1138)); } else if (pf >= 5 && pf < 20) { price = parseFloat(getPriceByID(1237)); } else if (pf >= 20) { price = parseFloat(getPriceByID(1336)); } } else if (layers == 18) { if (pf >= 0 && pf < 5) { price = parseFloat(getPriceByID(1149)); } else if (pf >= 5 && pf < 20) { price = parseFloat(getPriceByID(1248)); } else if (pf >= 20) { price = parseFloat(getPriceByID(1347)); } } else if (layers == 20) { if (pf >= 0 && pf < 5) { price = parseFloat(getPriceByID(1160)); } else if (pf >= 5 && pf < 20) { price = parseFloat(getPriceByID(1259)); } else if (pf >= 20) { price = parseFloat(getPriceByID(1358)); } } } else { price = getBoardPrice(boardType, layers, BoardThickness); } ////客户基价+支付方式加价 //var jprice = 0; //jjprice = (jjprice * 1000) / 1000; //if (partype == 8) { // jprice = parseInt(getPriceByID(765)) + jjprice; //} else if (partype == 5) { // jprice = parseInt(getPriceByID(766)) + jjprice; //} else if (partype == 6) { // jprice = parseInt(getPriceByID(767)) + jjprice; //} else if (partype == 1) { // jprice = parseInt(getPriceByID(768)) + jjprice; //} else if (partype == 2) { // jprice = parseInt(getPriceByID(769)) + jjprice; //} else if (partype == 3) { // jprice = parseInt(getPriceByID(770)) + jjprice; //} else if (partype == 4) { // jprice = parseInt(getPriceByID(771)) + jjprice; //} else if (partype == 7) { // jprice = parseInt(getPriceByID(772)) + jjprice; //} else if (partype == 9) { // jprice = parseInt(getPriceByID(773)) + jjprice; //} //price = (price * 1000) / 1000 + (jprice * 1000) / 1000; /**************** 板费 ****************/ var price1 = parseFloat(parseFloat(pf) * parseFloat(price)); //板费 = 平方数*板费单价 //var price1 = 0; var price32 = 0; //TG180 TG170 TG150.... 板材类型费 //if (bctype == "FR-4") { // if (layers == 1) { // price_2 = 400; // } // else if (layers == 2) { // price_2 = 400; // } // else if (layers == 4) { // price_2 = 800; // } // else if (layers == 6) { // price_2 = 1200;// // } // else if (layers == 8) { // price_2 = 1600; // } // else if (layers == 10) { // price_2 = 2200; // } // price1 = parseFloat(parseFloat(getPriceByID(1027)) * parseFloat(pf)); //} //if(bctype == "TG180"){ // price1 = price1 + parseInt(getPriceByID(1027)); // price32 = parseInt(getPriceByID(1027) * pf); //} else if (bctype == "TG170") { // price1 = price1 + parseInt(getPriceByID(1028)); // price32 = parseInt(getPriceByID(1028) * pf); //} else if (bctype == "TG150") { // price1 = price1 + parseInt(getPriceByID(1029)); // price32 = parseInt(getPriceByID(1029) * pf); //} else if (bctype == "无卤素") { // price1 = price1 + parseInt(getPriceByID(1030)); // price32 = parseInt(getPriceByID(1030) * pf); //} else if (bctype == "TG150+无卤素") { // price1 = price1 + parseInt(getPriceByID(1031)); // price32 = parseInt(getPriceByID(1031) * pf); //} else if (bctype == "TG170+无卤素") { // price1 = price1 + parseInt(getPriceByID(1032)); // price32 = parseInt(getPriceByID(1032) * pf); //} else if (bctype == "TG180+无卤素") { // price1 = price1 + parseInt(getPriceByID(1033)); // price32 = parseInt(getPriceByID(1033) * pf); //} price1 = Math.round(price1 * 1000) / 1000; //debugger; //vincent 2020-10-10 样板 //if (pf <= 0.3) { // if (layers == 1) { // price1 = parseInt(getPriceByID(1419)); // } else if (layers == 2) { // price1 = parseInt(getPriceByID(1420)); // } else if (layers == 4) { // price1 = parseInt(getPriceByID(1421)); // } else if (layers == 6) { // price1 = parseInt(getPriceByID(1422)); // } else if (layers == 8) { // price1 = parseInt(getPriceByID(1423)); // } else if (layers == 10) { // price1 = parseInt(getPriceByID(1424)); // } else if (layers == 12) { // price1 = parseInt(getPriceByID(1425)); // } else if (layers == 14) { // price1 = parseInt(getPriceByID(1426)); // } else if (layers == 16) { // price1 = parseInt(getPriceByID(1427)); // } else if (layers == 18) { // price1 = parseInt(getPriceByID(1428)); // } else if (layers == 20) { // price1 = parseInt(getPriceByID(1429)); // } // if (bctype == "TG180") { // price1 = price1 + parseInt(getPriceByID(1452)); // } else if (bctype == "TG170") { // price1 = price1 + parseInt(getPriceByID(1451)); // } else if (bctype == "TG150") { // price1 = price1 + parseInt(getPriceByID(1450)); // } else if (bctype == "无卤素") { // price1 = price1 + parseInt(getPriceByID(1446)); // } else if (bctype == "TG150+无卤素") { // price1 = price1 + parseInt(getPriceByID(1447)); // } else if (bctype == "TG170+无卤素") { // price1 = price1 + parseInt(getPriceByID(1448)); // } else if (bctype == "TG180+无卤素") { // price1 = price1 + parseInt(getPriceByID(1449)); // } // //板厚加收费用 // if (BoardThickness == 0.4) { // price1 = price1 + parseInt(getPriceByID(1470)); // } else if (BoardThickness == 2.0) { // price1 = price1 + parseInt(getPriceByID(1471)); // } //} /**************** 板材厚度外加板材费 ****************/ //if (BoardThickness == 0.4 || BoardThickness == 2.0) { // price1 += 45 * pf; // price1 = Math.round(price1 * 1000) / 1000; //} /**************** 拼板费 ****************/ var price2 = 0; /**************** 工程费 ****************/ var price3 = 0; if (layers == 1) { price3 = getPriceByID(10); } else if (layers == 2) { price3 = getPriceByID(268); } else if (layers == 4) { price3 = getPriceByID(269); } else if (layers == 6) { price3 = getPriceByID(270); } else if (layers == 8) { price3 = getPriceByID(271); } else if (layers == 10) { price3 = getPriceByID(782); } else if (layers == 12) { price3 = getPriceByID(783); } else if (layers == 14) { price3 = getPriceByID(784); } else if (layers == 16) { price3 = getPriceByID(785); } else if (layers == 18) { price3 = getPriceByID(786); } else if (layers == 20) { price3 = getPriceByID(787); } //vincent 2020-10-10 样板 //if (pf <= 0.3) { // price3 = 0; //} //if (layers < 3 && pf >= 5) { // price3 = 0; //} //if (layers >= 4 && pf >= 10) { // price3 = 0; //} price3 = Math.round(price3 * 1000) / 1000; /**************** 菲林费 ****************/ var price4 = getPriceByID(11); price4 = Math.round(price4 * 1000) / 1000; /**************** 焊盘喷镀费 ****************/ var price6 = 0; if (PlatingType == "有铅喷锡") { price6 = getPriceByID(211); } else if (PlatingType == "无铅喷锡") { price6 = getPriceByID(212); } else if (PlatingType == "有铅整面喷锡") { price6 = getPriceByID(216); } else if (PlatingType == "镀镍" || PlatingType == "沉镍") { price6 = getPriceByID(217); } else if (PlatingType == "沉金") { var PlatingTypeH = $("input:radio[name=chenjgy]:checked").val(); //var PlatingTypeH = $("input[name='PlatingTypeH']:checked").val(); if (PlatingTypeH == "1") { price6 = getPriceByID(213); } else if (PlatingTypeH == "2") { price6 = getPriceByID(210); } else if (PlatingTypeH == "1.5") { price6 = getPriceByID(216); } else { price6 = getPriceByID(213); } } else if (PlatingType == "OSP") { price6 = getPriceByID(214); } else if (PlatingType == "裸铜") { price6 = getPriceByID(215); } else if (PlatingType == "沉金OSP") { price6 = getPriceByID(777); } else if (PlatingType == "电金") { var PlatingTypeD = $("input[name='PlatingTypeD']:checked").val(); if (PlatingTypeD == "10U") { price6 = getPriceByID(207); } else if (PlatingTypeD == "20U") { price6 = getPriceByID(208); } else if (PlatingTypeD == "30U") { price6 = getPriceByID(209); } else { price6 = getPriceByID(207); } } //碳油另外加收费用 vincent 2019-06-01 var typrcie = 0; var PlatingType_Ty = $("input[name='PlatingType_Ty']:checked").val(); if (PlatingType_Ty == "碳油") { typrcie += getPriceByID(554); } typrcie = Math.round(typrcie * 1000) / 1000; //vincent 2020-10-10 样板 //if (pf <= 0.3) { // if (PlatingType == "无铅喷锡") { // price6 = parseInt(getPriceByID(1444)); // } else if (PlatingType == "沉金") { // var PlatingTypeH = $("input[name='PlatingTypeH']:checked").val(); // if (PlatingTypeH == "1U") { // price6 = parseInt(getPriceByID(1441)); // } else if (PlatingTypeH == "2U") { // price6 = parseInt(getPriceByID(1442)); // } else { // price6 = 300; // } // } else if (PlatingType == "沉金OSP") { // price6 = parseInt(getPriceByID(1443)); // } // if (PlatingType_Ty == "碳油") { // typrcie += parseInt(getPriceByID(1445)); // } // typrcie = Math.round(typrcie * 1000) / 1000; //} price6 = Math.round(price6 * 1000) / 1000; /**************** 测试费 ****************/ price7 = Math.round(parseInt(price7) * 1000) / 1000; //测试架费 if (pf > 0.3) price17 = Math.round(price17 * 1000) / 1000; //飞测费 /**************** 颜色费 ****************/ var price9 = 0; //颜色费 if (SolderColor3 != "特殊选项") { if (SolderColor == "绿色") { price9 = getPriceByID(187); } else if (SolderColor == "红色") { price9 = getPriceByID(188); } else if (SolderColor == "黄色") { price9 = getPriceByID(189); } else if (SolderColor == "蓝色") { price9 = getPriceByID(190); } else if (SolderColor == "白色") { price9 = getPriceByID(191); } else if (SolderColor == "亚光黑油") { price9 = getPriceByID(193); } else if (SolderColor == "黑色") { price9 = getPriceByID(548); } else if (SolderColor == "紫色") { price9 = getPriceByID(549); } price9 = Math.round(price9 * 1000) / 1000; } else { if (SolderColor == SolderColor2) { if (SolderColor == "绿色") { price9 = getPriceByID(187); } else if (SolderColor == "红色") { price9 = getPriceByID(188); } else if (SolderColor == "黄色") { price9 = getPriceByID(189); } else if (SolderColor == "蓝色") { price9 = getPriceByID(190); } else if (SolderColor == "白色") { price9 = getPriceByID(191); } else if (SolderColor == "亚光黑油") { price9 = getPriceByID(193); } else if (SolderColor == "黑色") { price9 = getPriceByID(548); } else if (SolderColor == "紫色") { price9 = getPriceByID(549); } price9 = Math.round(price9 * 1000) / 1000; } else { if (SolderColor == "绿色") { price9 = getPriceByID(187); } else if (SolderColor == "红色") { price9 = getPriceByID(188); } else if (SolderColor == "黄色") { price9 = getPriceByID(189); } else if (SolderColor == "蓝色") { price9 = getPriceByID(190); } else if (SolderColor == "白色") { price9 = getPriceByID(191); } else if (SolderColor == "亚光黑油") { price9 = getPriceByID(193); } else if (SolderColor == "黑色") { price9 = getPriceByID(548); } else if (SolderColor == "紫色") { price9 = getPriceByID(549); } var price9_2 = 0; if (SolderColor2 == "绿色") { price9_2 = getPriceByID(187); } else if (SolderColor2 == "红色") { price9_2 = getPriceByID(188); } else if (SolderColor2 == "黄色") { price9_2 = getPriceByID(189); } else if (SolderColor2 == "蓝色") { price9_2 = getPriceByID(190); } else if (SolderColor2 == "白色") { price9_2 = getPriceByID(191); } else if (SolderColor2 == "亚光黑油") { price9_2 = getPriceByID(193); } else if (SolderColor2 == "黑色") { price9_2 = getPriceByID(548); } else if (SolderColor2 == "紫色") { price9_2 = getPriceByID(549); } if (layers < 2) { price9_2 = 0; } price9 = Math.round(price9 * 1000) / 1000 + Math.round(price9_2 * 1000) / 1000; } } if (bctype == "黑芯料") { price9 = 0; } price9 = Math.round(price9 * 1000) / 1000; /**************** 字符费用 ****************/ var price11 = 0; if (radFontColor == "无") { price11 = 0; } else if (radFontColor == "白色") { price11 = getPriceByID(203); } else if (radFontColor == "黑色") { price11 = getPriceByID(204); } else if (radFontColor == "其他颜色") { price11 = getPriceByID(764); } price11 = Math.round(price11 * 1000) / 1000; /**************** 单双面字符费用 ****************/ var price15 = 0; if (radFontColor != "无" && dszf == "双面字符") { //price15 = pf * 5; if (LineWeight == "大于等于0.15mm") { price15 = 5; } else { price15 = 0; } } else if (dszf == "无字符" || dszf == "单面字符" || dszf == "按资料") { price15 = 0; } price15 = Math.round(price15 * 1000) / 1000; /**************** 铜厚 ****************/ //debugger; debugger var price21 = 0; if (CopperThickness == "1/1oz") { price21 = getPriceByID(1034); } else if (CopperThickness == "1.5/1.5oz") { price21 = getPriceByID(1035); } else if (CopperThickness == "2/2oz") { price21 = getPriceByID(1036); } else if (CopperThickness == "3/3oz") { price21 = getPriceByID(1037); } else if (CopperThickness == "4/4oz") { price21 = getPriceByID(1038); } //vincent 2020-10-10 样板 //if (pf <= 0.3) { // if (CopperThickness == "1/1oz") { // price21 = parseInt(getPriceByID(1465)); // } else if (CopperThickness == "1.5/1.5oz") { // price21 = parseInt(getPriceByID(1466)); // } else if (CopperThickness == "2/2oz") { // price21 = parseInt(getPriceByID(1467)); // } else if (CopperThickness == "3/3oz") { // price21 = parseInt(getPriceByID(1468)); // } else if (CopperThickness == "4/4oz") { // price21 = parseInt(getPriceByID(1469)); // } //} var wcth = 0; if (CopperThickness2 == "1/1oz") { wcth = getPriceByID(1034); } else if (CopperThickness2 == "1.5/1.5oz") { wcth = getPriceByID(1035); } else if (CopperThickness2 == "2/2oz") { wcth = getPriceByID(1036); } else if (CopperThickness2 == "3/3oz") { wcth = getPriceByID(1037); } else if (CopperThickness2 == "4/4oz") { wcth = getPriceByID(1038); } //vincent 2020-10-10 样板 //if (pf <= 0.3) { // if (CopperThickness2 == "1/1oz") { // wcth = parseInt(getPriceByID(1465)); // } else if (CopperThickness2 == "1.5/1.5oz") { // wcth = parseInt(getPriceByID(1466)); // } else if (CopperThickness2 == "2/2oz") { // wcth = parseInt(getPriceByID(1467)); // } else if (CopperThickness2 == "3/3oz") { // wcth = parseInt(getPriceByID(1468)); // } else if (CopperThickness2 == "4/4oz") { // wcth = parseInt(getPriceByID(1469)); // } //} if (layers < 4) { wcth = 0; } price21 = Math.round(price21 * 1000) / 1000 + Math.round(wcth * 1000) / 1000; /**************** 成型费用 ****************/ var price10 = 0; var price16 = 0; var xbf = 0; var mjf = 0; if (specificType == "铣边") { if (mouldingType == "内槽四边形") { xbf = getPriceByID(565); } price16 = xbf * pf; } price16 = Math.round(price16 * 1000) / 1000; if (specificType == "模冲") { if (mj == "新开模具") { mjf = getPriceByID(557); } price10 = mjf; } price10 = Math.round(price10 * 1000) / 1000; /**************** 特殊工艺 ****************/ debugger var price12 = 0; var bk = 0; if (TeiShu_1 == "阻抗") { bk = parseInt(getPriceByID(552)); bk = Math.round(bk * 1000) / 1000; } if (TeiShu_2 == "埋孔") { bk = bk + parseInt(getPriceByID(553)); bk = Math.round(bk * 1000) / 1000; } if (TeiShu_4 == "盲孔") { bk = bk + parseInt(getPriceByID(780)); bk = Math.round(bk * 1000) / 1000; } if (TeiShu_5 == "盲埋孔") { bk = bk + parseInt(getPriceByID(781)); bk = Math.round(bk * 1000) / 1000; } if (TeiShu_6 == "半孔") { bk = bk + parseInt(getPriceByID(1060)); bk = Math.round(bk * 1000) / 1000; } //vincent 2020-10-10 样板 //if (pf <= 0.3) { // bk = 0; // if (TeiShu_1 == "半孔") { // bk = parseInt(getPriceByID(1457)); // bk = Math.round(bk * 1000) / 1000; // } // if (TeiShu_2 == "盘中孔") { // bk = bk + parseInt(getPriceByID(1458)); // bk = Math.round(bk * 1000) / 1000; // } // if (TeiShu_6 == "压接孔") { // bk = bk + parseInt(getPriceByID(1460)); // bk = Math.round(bk * 1000) / 1000; // } // if (TeiShu_4 == "台阶孔") { // bk = bk + parseInt(getPriceByID(1461)); // bk = Math.round(bk * 1000) / 1000; // } // if (TeiShu_5 == "控深孔") { // bk = bk + parseInt(getPriceByID(1462)); // bk = Math.round(bk * 1000) / 1000; // } //} price12 = bk; price12 = Math.round(price12 * 1000) / 1000; //alert(price12) //最小过孔 var minholesize_price = 0; //增加多少费用 if (pcb_minholesize == "0.15mm") { minholesize_price = getPriceByID(1044); minholesize_price = Math.round(minholesize_price * 1000) / 1000; } else if (pcb_minholesize == "0.2mm") { minholesize_price = getPriceByID(1045); minholesize_price = Math.round(minholesize_price * 1000) / 1000; } else if (pcb_minholesize == "0.25mm") { minholesize_price = getPriceByID(1046); minholesize_price = Math.round(minholesize_price * 1000) / 1000; } else if (pcb_minholesize == "0.3mm") { minholesize_price = getPriceByID(1047); minholesize_price = Math.round(minholesize_price * 1000) / 1000; } else if (pcb_minholesize == "0.4mm") { minholesize_price = getPriceByID(1048); minholesize_price = Math.round(minholesize_price * 1000) / 1000; } else if (pcb_minholesize == "0.5mm") { minholesize_price = getPriceByID(1049); minholesize_price = Math.round(minholesize_price * 1000) / 1000; } var price34 = Math.round(minholesize_price * 1000) / 1000; //vincent 2020-10-10 样板 //if (pf <= 1) { // if (pcb_minholesize == "0.15mm") { // minholesize_price = parseInt(getPriceByID(1453)); // minholesize_price = Math.round(minholesize_price * 1000) / 1000; // } else if (pcb_minholesize == "0.2mm") { // minholesize_price = parseInt(getPriceByID(1454)); // minholesize_price = Math.round(minholesize_price * 1000) / 1000; // } else if (pcb_minholesize == "0.25mm") { // minholesize_price = parseInt(getPriceByID(1455)); // minholesize_price = Math.round(minholesize_price * 1000) / 1000; // } // price34 = Math.round(minholesize_price * 1000) / 1000; //} //是否阻抗 var mouldingType_price = 0; //增加多少费用 if (mouldingType == "是") { mouldingType_price = getPriceByID(562); mouldingType_price = Math.round(mouldingType_price * 1000) / 1000; } //vincent 2020-10-10 样板 //if (pf <= 0.3) { // if (mouldingType == "是") { // mouldingType_price = parseInt(getPriceByID(1456)); // mouldingType_price = Math.round(mouldingType_price * 1000) / 1000; // } //} var price33 = Math.round(mouldingType_price * 1000) / 1000; //IPC 验收标准 var ipc_price = 0; //增加多少费用 if (ipc == "IPC二级") { ipc_price = getPriceByID(1050); ipc_price = Math.round(ipc_price * 1000) / 1000; } else if (ipc == "IPC三级") { ipc_price = getPriceByID(1051); ipc_price = Math.round(ipc_price * 1000) / 1000; } var price35 = Math.round(ipc_price * 1000) / 1000; // 赔偿要求 var payfor_price = 0; //增加多少费用 if (payfor == "1:1") { payfor_price = getPriceByID(1052); payfor_price = Math.round(payfor_price * 1000) / 1000; } else if (payfor == "1:10") { payfor_price = getPriceByID(1053); payfor_price = Math.round(payfor_price * 1000) / 1000; } else if (payfor == "PCBA") { payfor_price = parseInt($("#spanCompensate").text()); payfor_price = Math.round(payfor_price * 1000) / 1000; } else if (payfor == "总额*1%") { payfor_price = getPriceByID(1055); payfor_price = Math.round(payfor_price * 1000) / 1000; } price31 = price31 + Math.round(payfor_price * 1000) / 1000; //额外收费项 四线低阻过孔全测 var other_price = 0; if (xiakon == "全部测试") { other_price = getPriceByID(1056); other_price = Math.round(other_price * 1000) / 1000; } price12 = price12 + Math.round(other_price * 1000) / 1000; //额外收费项 指定板材供应商 other_price = 0; if (ynianzhou == "生益") { other_price = getPriceByID(1057); other_price = Math.round(other_price * 1000) / 1000; } price12 = price12 + Math.round(other_price * 1000) / 1000; //额外收费项 隔白纸服务 other_price = 0; if (TeiShu_3 == "隔纸") { other_price = getPriceByID(1058); other_price = Math.round(other_price * 1000) / 1000; } price12 = price12 + Math.round(other_price * 1000) / 1000; //额外收费项 不接受打叉板 other_price = 0; if (chuhuobg == "不接受打叉板") { other_price = getPriceByID(1059); other_price = Math.round(other_price * 1000) / 1000; } price12 = price12 + Math.round(other_price * 1000) / 1000; /**************** 阻焊覆盖费 ****************/ var price5 = 0; if (Zhfg == "过孔盖油") { price5 = getPriceByID(218); } else if (Zhfg == "过孔开窗") { price5 = getPriceByID(219); } else if (Zhfg == "过孔塞油") { price5 = getPriceByID(220); } price5 = Math.round(price5 * 1000) / 1000; price12 = parseInt(price12) + parseInt(price5); /**************** 线宽线距 无铜孔 ****************/ var price13 = 0; if (pf <= 0.3) { if (LineWeight == "小于0.10mm") { price13 = parseInt(getPriceByID(1472)); price13 = Math.round(price13 * 1000) / 1000; } } /**************** 额外收费项 ****************/ var price14 = 0; var xb = 0; var lyl = 0; var ck = 0; var zk = 0; var isbga = 0; var wgfei = 0; if (xiakon == "小板") { xb = getPriceByID(558); xb = Math.round(xb * 1000) / 1000; } if (lylv == "利用率") { lyl = getPriceByID(559); lyl = Math.round(lyl * 1000) / 1000; } if (caokon == "超孔") { ck = getPriceByID(560); ck = Math.round(ck * 1000) / 1000; } if (impedance == "有") { zk = getPriceByID(562); zk = Math.round(zk * 1000) / 1000; } if (BGA == "有") { isbga = getPriceByID(563); isbga = Math.round(isbga * 1000) / 1000; } if (appearance == "外观要求") { wgfei = getPriceByID(564); wgfei = Math.round(wgfei * 1000) / 1000; } price14 = xb + lyl + ck + zk + isbga + wgfei; price14 = Math.round(price14 * 1000) / 1000; /**************** 加急费 ****************/ var urgent_price = 0; if (urgent == "24小时加急") { var jjMoney = getPriceByID(233); if (layers == 1) { jjMoney = pf * getPriceByID(233); if (jjMoney < getPriceByID(233)) jjMoney = getPriceByID(233); } else if (layers == 2) { jjMoney = pf * getPriceByID(234); if (jjMoney < getPriceByID(234)) jjMoney = getPriceByID(234); } else if (layers == 4) { jjMoney = pf * getPriceByID(235); if (jjMoney < getPriceByID(235)) jjMoney = getPriceByID(235); } else if (layers == 6) { jjMoney = pf * getPriceByID(236); if (jjMoney < getPriceByID(236)) jjMoney = getPriceByID(236); } else if (layers == 8) { jjMoney = pf * getPriceByID(237); if (jjMoney < getPriceByID(237)) jjMoney = getPriceByID(237); } else if (layers == 10) { jjMoney = pf * getPriceByID(238); if (jjMoney < getPriceByID(238)) jjMoney = getPriceByID(238); } else if (layers == 12) { jjMoney = pf * getPriceByID(239); if (jjMoney < getPriceByID(239)) jjMoney = getPriceByID(239); } else if (layers == 14) { jjMoney = pf * getPriceByID(240); if (jjMoney < getPriceByID(240)) jjMoney = getPriceByID(240); } else if (layers == 16) { jjMoney = pf * getPriceByID(241); if (jjMoney < getPriceByID(241)) jjMoney = getPriceByID(241); } else if (layers == 18) { jjMoney = pf * getPriceByID(242); if (jjMoney < getPriceByID(242)) jjMoney = getPriceByID(242); } else if (layers == 20) { jjMoney = pf * getPriceByID(243); if (jjMoney < getPriceByID(243)) jjMoney = getPriceByID(243); } urgent_price = jjMoney; } //大于5㎡取消选中,加急费为0 //if (pf > 5) { // urgent_price = 0; // $("#jj5").hide(); // $("#jj6").hide(); // $("#jj7").hide(); // $("#jj10").hide(); // $("#jj11").hide(); // $("#jj12").hide(); // //$('input:radio[name="urgent"]').removeAttr('checked'); // $(":radio[name='urgent'][value='']").prop("checked", "checked"); //} else { // if (layers < 3) { // $("#jj5").show(); // $("#jj6").show(); // $("#jj7").show(); // $("#jj10").hide(); // $("#jj11").hide(); // $("#jj12").hide(); // //$('input:radio[name="urgent"]').removeAttr('checked'); // } else if (layers == 4) { // $("#jj5").hide(); // $("#jj6").hide(); // $("#jj7").hide(); // $("#jj10").show(); // $("#jj11").show(); // $("#jj12").show(); // //$('input:radio[name="urgent"]').removeAttr('checked'); // } else if (layers == 6) { // $("#jj5").hide(); // $("#jj6").hide(); // $("#jj7").hide(); // $("#jj10").hide(); // $("#jj11").hide(); // $("#jj12").hide(); // //$('input:radio[name="urgent"]').removeAttr('checked'); // } //} urgent_price = Math.round(urgent_price * 1000) / 1000; //31、赔偿要求费 var price31 = 0; if ($("#spanCompensate").text() != "" && $("#spanCompensate").text() != "¥0.0") { price31 = parseInt($("#spanCompensate").text()); } if (price31 == undefined) price31 = 0; /**************** 平米基价 ****************/ debugger; var totle = 0; //1、板费 2、拼版费 3、工程费 4、菲林费 5、阻焊覆盖费 6、焊盘喷镀费 7、测试架费 8、税费 9、颜色费 21、铜厚费 16、成型费用 11、字符费用 //12、特殊工艺 13、线宽线距 无铜孔 14、额外收费项 17、飞测费 typrcie:碳油 10、模具费 + price17 + price16 //31 PCBA赔偿费 32板材类型费(TG180....) 33阻抗 34最小孔 35验收标准 totle = Math.round((price1 + price2 + price4 + price5 + price6 + price9 + price21 + price11 + typrcie + price12 + price13 + price14 + price15 + urgent_price + price33 + price34 + price35) * 1000) / 1000; //客户折扣后基价 if (zheko == "" || zheko == null) { zheko = 1; } //折扣后的平米价 totle = parseFloat(totle * zheko).toFixed(2); /**************** 板费单价 ****************/ var prodprice = 0; if (pinbantype == "单拼出货") { prodprice = zuo * you * (totle / 10000); } else if (pinbantype == "成品尺寸") { prodprice = length * width * (totle / 10000) / zon; } else { prodprice = zuo * you * (totle / 10000) / zon; } prodprice = prodprice.toFixed(3); var zhekpp = 0;//折扣金额 if (zheko == 1) { zhekpp = 0; } else { zhekpp = (prodprice * pcsnums).toFixed(2); zhekpp = Math.round(zhekpp * 1000) / 1000; } debugger /**************** 总价 ****************/ var zj = 0; var zj = price1 + price3 + price4 + price9 + price11 + price34 + price12 + price16 + price17 + price31 + price21 + urgent_price; zj = zj + parseFloat(price7) + parseFloat(mjf); /**************** 税费 ****************/ var price8 = 0; //特价板 //if (pf <= 0.3) { // zj = parseFloat(totle); //} //vincent 2020-10-10 样板 if (Bill == "增值税发票") { price8 = zj * getPriceByID(184); } else if (Bill == "要盖章收据") { price8 = zj * getPriceByID(183); } price8 = Math.round(price8 * 10000) / 10000; /**************** 加上税费后的总价 ****************/ zj = zj + parseFloat(price8); $("#pfprice").text(price1);//板费基价 $("#zjprice").text(zj.toFixed(2));//订单总价 //$("#dprice").text((((pfjj / pcsnums) * 1000) / 1000).toFixed(3));//单pcs价格 //$("#dprice").text(pcsdj);//单pcs价格 $("#feilinfei").text(price4);//菲林费 $("#span4").text(price4 * 2);//菲林费 $("#ceshifei").text(price17);//测试费 $("#span7").text(price17);//测试费 $("#dprice").text(prodprice); $("#gcprice").text(price3); $("#csprice").text(price17.toFixed(2)); $("#ddzprice").text(zj.toFixed(2));//订单总价 $("#zongprice").text(zj.toFixed(2));//订单总价 $("#shuiprice").text((price8).toFixed(2)); $("#jiajiprice").text((urgent_price).toFixed(2));//加急费 $("#span8").text((urgent_price).toFixed(2));//加急费 $("#nums").text(pcsnums); $("#area").text(pf); $("#ddarea").text(pf); $("#xbprice").text(price16.toFixed(2)); //$("#mjfei").text(mjf); if (TestType == "目测" || TestType == "飞针测试") { csj = ""; $("#ceshjprice").text("0"); } else { if (csj == "新开测试架") { $("#ceshjprice").text(price7);//测试架费 } else { $("#ceshjprice").text("0"); } } $("#smkongj").text(price12 + price34);//其它费用 $("#span22").text(price12 + price34);//其它费用 $("#zkprice").val(zhekpp); //1、板费 2、拼版费 3、工程费 4、菲林费 5、阻焊覆盖费 6、焊盘喷镀费 7、测试架费 8、税费 9、颜色费 21、铜厚费 16、成型费用 11、字符费用 //12、特殊工艺 13、线宽线距 无铜孔 14、额外收费项 typrcie:碳油 10、模具费 + price17 + price16 //31 PCBA赔偿费 32板材类型费(TG180....) 33阻抗 $("#otherPrice5").text(price5); $("#otherPrice6").text(price6);//B套餐喷镀费 $("#span6").text(price6);//A套餐喷镀费 $("#otherPrice9").text(price9); $("#otherPrice21").text(price21);//B套餐铜厚费 $("#span21").text(price21);//A套餐铜厚费 $("#otherPrice16").text(price16); $("#otherPrice11").text(price11); $("#otherPrice13").text(price13); $("#otherPrice31").text(price31); $("#otherPrice32").text(price32); $("#otherPrice33").text(price33); $("#otherPrice34").text(price34); $("#otherPrice35").text(price35); $("#yansefei").text(parseFloat(price9) + parseFloat(price11)); $("#span9").text(parseFloat(price9) + parseFloat(price11)); //详情赋值 var finiarea = $("#finiarea").text(); $("#spancpchicun").text(finiarea); $("#spanLayers").text(layers); $("#spanPinban_x").text(kehup1); $("#spanPinban_y").text(kehup2); $("#spanCailiao").text(bctype);//板材 $("#spanBoardThickness").text(BoardThickness);//板厚 $("#spanNum").text(nums);//set数量 $("#spanNumpcs").text(pcsnums);//pcs数量 $("#spanCopperThickness").text(CopperThickness);//铜厚 $("#spanteshu_3").text(TeiShu_3); //特殊工艺 隔白纸服务 $("#spanLineweight").text(LineWeight); //线宽 $("#spanteshu_1").text(TeiShu_1 + TeiShu_4 + TeiShu_5 + TeiShu_6); //特殊工艺1 $("#spanteshu_2").text(TeiShu_2); //最小孔径 $("#spanSolderColor").text(SolderColor);//阻焊颜色 $("#spanZhfg").text(Zhfg);//过孔 $("#spanzfbiaoj").text(charMark);//字符标记 $("#spanFontColor").text(radFontColor);//字符颜色 $("#spansiyin_1").text(ynianzhou);//丝印 $("#spansiyin_2").text(yzhounian);// $("#spansiyin_3").text(ynianyueri);// $("#spansiyin_4").text(ynoprint);// $("#spanchengxing").text(specificType);//成型 var csjnum = $("#csjnum").val(); if (TestType == "目测" || TestType == "飞针测试") { csj = ""; } else { if (csj == "新开测试架") { csj = csj; } else { csj = csj + csjnum; } } $("#spanTestType").text(TestType);//测试方式 $("#spancsj").text(csj);//测试架 $("#spanBill").text(Bill);//发票 $("#spanPlatingType").text(PlatingType);//焊盘喷镀 $("#spanPlatingType_2").text(PlatingType_Ty);//碳油 var baozhuang = $("input[name='baozhuang']:checked").val();//包装 $("#spanBaozhuang").text(baozhuang);//包装 $("#spanchuhuoyaoq_1").text(chuhuobg);//出货要求 $("#spanchuhuoyaoq_2").text(yangbencrs);// $("#spanchtype").text(pinbantype);//出货方式 $("#spanArea").text(pf);//订单总面积 $("#spandsFontColor").text(dszf);//单双面字符 $("#span2_Net").text(prodprice);//单pcs价格 $("#span5_Net").text(price3);//工程费 $("#span3").text(price3 * 2);//工程费 $("#span1_Net").text(Math.round(prodprice));//每平米基价 //$("#span3_Net").text(price10);//模具费 //$("#span4_Net").text(price7);//测试架费 $("#spanTotalprice").text(zj.toFixed(2));//订单总费用 $("#span6_Net").text((price8).toFixed(2));//税费 $("#span5").text((price8).toFixed(2));//税费 $("#spanTotal_Net").text(zj.toFixed(2));//合计总价 //A套餐板费 var AspanTotal = (parseFloat(zj) + parseFloat(price4) + parseFloat(price3) - parseFloat(price1)); if (layers == "1") { if (BoardThickness >= 0.6 && BoardThickness <= 1.6) { price1 = parseFloat(pf) * parseFloat(getPriceByID(1473)); } else { price1 = parseFloat(pf) * parseFloat(getPriceByID(1473)) + parseFloat(getPriceByID(1474)); } } else if (layers == "2") { if (BoardThickness >= 0.6 && BoardThickness <= 1.6) { price1 = parseFloat(pf) * parseFloat(getPriceByID(1475)); } else { price1 = parseFloat(pf) * parseFloat(getPriceByID(1475)) + parseFloat(getPriceByID(1476)); } } else if (layers == "4") { if (BoardThickness >= 0.8 && BoardThickness <= 1.6) { price1 = parseFloat(pf) * parseFloat(getPriceByID(1477)); } else { price1 = parseFloat(pf) * parseFloat(getPriceByID(1477)) + parseFloat(getPriceByID(1478)); } } else if (layers == "6") { if (BoardThickness >= 1.0 && BoardThickness <= 2.0) { price1 = parseFloat(pf) * parseFloat(getPriceByID(1479)); } else { price1 = parseFloat(pf) * parseFloat(getPriceByID(1479)) + parseFloat(getPriceByID(1480)); } } else if (layers == "8") { if (BoardThickness >= 1.2 && BoardThickness <= 2.4) { price1 = parseFloat(pf) * parseFloat(getPriceByID(1481)); } else { price1 = parseFloat(pf) * parseFloat(getPriceByID(1481)) + parseFloat(getPriceByID(1482)); } } else if (layers == "10") { if (BoardThickness >= 1.6 && BoardThickness <= 3.0) { price1 = parseFloat(pf) * parseFloat(getPriceByID(1483)); } else { price1 = parseFloat(pf) * parseFloat(getPriceByID(1483)) + parseFloat(getPriceByID(1484)); } } $("#span1").text(price1) $("#spanTotal").text((parseFloat(AspanTotal) + parseFloat(price1)).toFixed(2));//A套餐总价 var iptaddress = $("#iptaddress").val(); $("#spanaddress").text(iptaddress);//地址 var note = $("#note").val(); $("#spanRemark").text(note);//备注 }; //选择快递 function changeExpressType() { $("#selExpressName").empty(); var selExpressType = SingGooJS.GetSelectValue("selExpressType"); if (selExpressType == "广东省内") { $("#selExpressName").append(""); } else if (selExpressType == "广东省外") { $("#selExpressName").append(""); $("#selExpressName").append(""); $("#selExpressName").append(""); $("#selExpressName").append(""); $("#selExpressName").append(""); } }; function ockdprice() { var kdprice = 0; var selExpressName = SingGooJS.GetSelectValue("selExpressName"); var selPayType = SingGooJS.GetSelectValue("selPayType"); var selExpressType = SingGooJS.GetSelectValue("selExpressType"); var zprice = $("#zongprice").text(); var dprice = $("#ddzprice").text(); var pf = $("#ddarea").text(); pf = Math.round(pf * 1000) / 1000; if (selExpressType == "广东省外") { if (selPayType == "寄付") { if (selExpressName == "顺丰专线普运") { kdprice = 10 * pf; } else if (selExpressName == "跨越速运") { kdprice = 10 * pf; } else if (selExpressName == "安能快运") { kdprice = 10 * pf; } else if (selExpressName == "优速快递") { kdprice = 10 * pf; } } } if (zprice == "") { zprice = 0; } if (dprice == "") { dprice = 0; } dprice = Math.round(dprice * 1000) / 1000; var price1 = Math.round(kdprice * 1000) / 1000; var price2 = Math.round(dprice * 1000) / 1000; var zj = price1 + price2; $("#kdf").text(price1); $("#kuaidif").text(price1); $("#zongprice").text(zj); }; function ocfprice() { var kdprice = 0; var selPayType = SingGooJS.GetSelectValue("selPayType"); var selExpressName = SingGooJS.GetSelectValue("selExpressName"); var selExpressType = SingGooJS.GetSelectValue("selExpressType"); var zprice = $("#zongprice").text(); var dprice = $("#ddzprice").text(); var pf = $("#ddarea").text(); pf = Math.round(pf * 1000) / 1000; if (selExpressType == "广东省外") { if (selPayType == "寄付") { if (selExpressName == "顺丰专线普运") { kdprice = 10 * pf; } else if (selExpressName == "跨越速运") { kdprice = 10 * pf; } else if (selExpressName == "安能快运") { kdprice = 10 * pf; } else if (selExpressName == "优速快递") { kdprice = 10 * pf; } } } if (zprice == "") { zprice = 0; } if (dprice == "") { dprice = 0; } dprice = Math.round(dprice * 1000) / 1000; var price1 = Math.round(kdprice * 1000) / 1000; var price2 = Math.round(dprice * 1000) / 1000; var zj = price1 + price2; $("#kdf").text(price1); $("#kuaidif").text(price1); $("#zongprice").text(zj); }; //打开上传框 登录 //function uploadPcb_Onclick() { // var pinbantype = $("input[name='onlinetype']:checked").val(); //拼版方式 // var length = $("#length").val(); //长度 // var width = $("#width").val(); //宽度 // var nums = $("#bordnum").val(); //板子数量 // var khpb1 = $("#khpb1").val(); // var khpb2 = $("#khpb2").val(); // var gongyb = $("#gongyb").val(); // var gongyikuan = $("#gongyikuan").val(); // var iptaddress = $("#iptaddress").val(); // if (length == "") { // $.messager.alert('提示:', '请填写长度!'); // return false; // } // if (width == "") { // $.messager.alert('提示:', '请填写宽度!'); // return false; // } // if (nums == "") { // $.messager.alert('提示:', '请填写数量!'); // return false; // } // if (pinbantype == null) { // $.messager.alert('提示:', '请选择出货方式!'); // return false; // } // if (pinbantype == "客户自拼") { // if (khpb1 == "" || khpb2 == "") { // $.messager.alert('提示:', '请填写拼版方式!'); // return false; // } // } // if (pinbantype == "客户自拼" || pinbantype == "客户自拼") { // if (gongyikuan != 0 && gongyb == "") { // $.messager.alert('提示:', '请选择工艺边!'); // return false; // } // } // if (iptaddress == "") { // $.messager.alert('提示:', '请填写收获地址!'); // return false; // } // $.ajax({ // type: 'POST', // url: 'tools/registered.ashx', // data: 'param=IsLogin', // timeout: 30000, // dataType: 'text', // error: function () { // //$.messager.alert('温馨提示', '系统繁忙,请稍候后试!', 'error'); // }, success: function (outmsg) { // if (outmsg != "您暂未登录,请登录后继续下单操作") { // //$.ajax({ // // type: 'POST', // // url: '../tools/registered.ashx', // // data: 'param=IsAddress', // // timeout: 30000, // // dataType: 'text', // // error: function () { // // //$.messager.alert('温馨提示', '系统繁忙,请稍候后试!', 'error'); // // }, success: function (outmsg) { // // if (outmsg != "欢迎登陆冠众鑫后台管理系统") { // // $.messager.alert('温馨提示', outmsg); // // return false; // // } else { // // $('#divUpFile').dialog('open'); // // $('#divUpFile').dialog('move', { // // top: 1460 // // }); // // } // // } // //}); // $('#divUpFile').dialog('open'); // $('#divUpFile').dialog('move', { // top: 460 // }); // } // else { // $.messager.confirm('温馨提示', outmsg, function (r) { // if (r) { // window.open("login.aspx"); // } // }); // } // } // }); //} var orderdata = ""; function orderfunction() { //下单详情 var fileIdAndName = $("#hFileUpload").val(); //var pcbtype = $("input[name='pcbtype']:checked").val(); //PCB类型 HDIPCB、常规PCB、特种PCB、FPC var pinbantype = $("input[name='onlinetype']:checked").val(); //出货方式 客户自拼、成品尺寸、单PCS出货 var kehup1 = $("#khpb1").val(); //客户拼版 var kehup2 = $("#khpb2").val(); var gongyikuan = $("#gongyikuan").val(); //工艺边款 var gongyb = $("#gongyb").val();//工艺边选择 if (pinbantype == "单拼出货") { kehup1 = 1; kehup2 = 1; gongyikuan = 0; gongyb = ""; } else if (pinbantype == "自由拼版") { gongyikuan = 0; gongyb = ""; } var area = $("#area").text();//面积 var length = $("#length").val(); //长度 var width = $("#width").val(); //宽度 var setlength = $("#setlength").val(); //成品尺寸长度 var setwidth = $("#setwidth").val(); //成品尺寸宽度 var nums = $("#bordnum").val(); //板子数量set var pcsnums = $("#pcsnums").val(); //板子数量pcs var layers = $("input[name='layers']:checked").val(); //板层 var bctype = $("input[name='bctype']:checked").val(); //板材类型 var BoardThickness = $("input[name='radBoardThickness']:checked").val(); //板材厚度 var PlatingType = $("input[name='PlatingType']:checked").val(); //焊盘喷镀 var PlatingType_Ty = $("input[name='PlatingType_Ty']:checked").val(); //碳油 //if (PlatingType == "") { // PlatingType = PlatingType + " " + PlatingType_Ty //} if (PlatingType_Ty == undefined || PlatingType_Ty == null || PlatingType_Ty == "") { PlatingType_Ty = ""; } var SolderColor = $("input[name='radSolderColor']:checked").val(); //顶面阻焊颜色 var SolderColor2 = $("input[name='radSolderColor2']:checked").val(); //底面阻焊颜色 var SolderColor3 = $("input[name='radSolderColor3']:checked").val();//是否需要双面颜色 if (SolderColor3 != "特殊选项") { if (layers == 1) { SolderColor2 = ""; } else { SolderColor2 = SolderColor; } } var radFontColor = $("input[name='radFontColor']:checked").val(); //字符颜色 var dszf = $("input[name='dszf']:checked").val(); //单双字符 var LineWeight = "大于等于0.15mm" //最小线宽 var CopperThickness = $("input[name='CopperThickness']:checked").val(); //铜箔厚度 var CopperThickness2 = $("input[name='CopperThickness2']:checked").val(); if (layers < 4) { CopperThickness2 = ""; } var Zhfg = $("input[name='Zhfg']:checked").val(); //阻焊覆盖 var TestType = $("#Measurement").text(); //测试方式 var csj = $("input[name='csj']:checked").val();//测试架 var csf = $("input[name='csf']:checked").val();//测试费 var csjnum = $("#csjnum").val();//测试架型号 if (TestType == "目测" || TestType == "飞针测试") { csj = ""; } var specificType = $("input[name='specificType']:checked").val(); //成型方式 var mj = $("input[name='mj']:checked").val(); //模具 var mouldingType = $("input[name='mouldingType']:checked").val(); //是否阻抗 if (specificType == "铣边") { mj = ""; } var charMark = $("input[name='charMark']:checked").val(); //字符标记 if (charMark == "客户自定义") { charMark = "客户自定义:" + $("#zdybiao").val(); } var Bill = $("input[name='Bill']:checked").val(); //发票信息 var ynianzhou = $("input[name='ynianzhou']:checked").val(); //丝印周期 印年周 var yzhounian = $("input[name='yzhounian']:checked").val(); //丝印周期 印周年 var ynianyueri = $("input[name='ynianyueri']:checked").val(); //丝印周期 年月日 var ynoprint = $("input[name='ynoprint']:checked").val(); //丝印周期 不印 if (ynianzhou == undefined || ynianzhou == null || ynianzhou == "") { ynianzhou = ""; } if (yzhounian == undefined || yzhounian == null || yzhounian == "") { yzhounian = ""; } if (ynianyueri == undefined || ynianyueri == null || ynianyueri == "") { ynianyueri = ""; } if (ynoprint == undefined || ynoprint == null || ynoprint == "") { ynoprint = ""; } var TeiShu_3 = $("input[name='TeiShu_3']:checked").val(); //特殊工艺 隔白纸服务 var TeiShu_1 = $("input[name='TeiShu_1']:checked").val(); //特殊工艺 半孔 var TeiShu_2 = $("input[name='TeiShu_2']:checked").val(); //特殊工艺 盘中孔 var TeiShu_4 = $("input[name='TeiShu_4']:checked").val(); //特殊工艺 台阶孔 var TeiShu_5 = $("input[name='TeiShu_5']:checked").val(); //特殊工艺 控深孔 var TeiShu_6 = $("input[name='TeiShu_6']:checked").val(); //特殊工艺 压接孔 var chuhuobg = $("input[name='chuhuobg']:checked").val();//出货要求 出货报告 var yangbencrs = $("input[name='yangbencrs']:checked").val();//出货要求 样本承认书 if (chuhuobg == undefined || chuhuobg == null || chuhuobg == "") { chuhuobg = ""; } if (yangbencrs == undefined || yangbencrs == null || yangbencrs == "") { yangbencrs = ""; } var impedance = $("input[name='impedance']:checked").val(); //是否有阻抗 var BGA = $("input[name='BGA']:checked").val(); //是否有BGA //var zxkj = xiakon + " " + lylv + " " + caokon; var note = $("#note").val(); var kptype = kehup1 + " * " + kehup2; var pinnum = kehup1 * kehup2; var selExpressType = $("#selExpressType").val();//省内省外 var selExpressName = $("#selExpressName").val();//快递公司 var selPayType = $("#selPayType").val();//到付 寄付 //var iptaddress = $("#iptaddress").text();//地址 var fhtime = $("#spanLastDate").text();//交货日期 var baozhuang = $("input[name='baozhuang']:checked").val();//包装 //费用 var dprice = $("#dprice").text(); //单pcs价格 var mjfei = $("#mjfei").text(); //模具费 var ceshjprice = $("#ceshjprice").text(); //测试架费 var pfprice = $("#pfprice").text(); //板费 var gcprice = $("#gcprice").text(); //工程费 var shuiprice = $("#shuiprice").text(); //税费 var totle = $("#zongprice").text(); //总价 var ddzprice = $("#ddzprice").text(); //订单费用 var kuaidif = $("#kuaidif").text(); //快递费 var csprice = $("#csprice").text(); //测试费 var xbprice = $("#xbprice").text(); //铣边费 var otherPrice9 = $("#otherPrice9").text(); //阻焊异色费 var otherPrice32 = $("#otherPrice32").text(); //板材类型费 var smkongj = $("#smkongj").text(); //特殊工艺费 var otherPrice21 = $("#otherPrice21").text(); //铜厚费 var otherPrice34 = $("#otherPrice34").text(); //最小孔费 var otherPrice6 = $("#otherPrice6").text(); //表面处理费 var otherPrice13 = $("#otherPrice13").text(); //最小线宽线距费 var otherPrice5 = $("#otherPrice5").text(); //过孔处理费 var otherPrice33 = $("#otherPrice33").text(); //阻抗费 var otherPrice35 = $("#otherPrice35").text(); //验收标准费 var otherPrice31 = $("#otherPrice31").text(); //赔偿要求费 var jjprice = $("#jjprice").text(); //加急费 dprice = parseFloat(dprice).toFixed(3); mjfei = parseFloat(mjfei).toFixed(2); ceshjprice = parseFloat(ceshjprice).toFixed(2); pfprice = parseFloat(pfprice).toFixed(2); gcprice = parseFloat(gcprice).toFixed(2); shuiprice = parseFloat(shuiprice).toFixed(2); totle = parseFloat(totle).toFixed(2); ddzprice = parseFloat(ddzprice).toFixed(2); kuaidif = parseFloat(kuaidif).toFixed(2); area = parseFloat(area).toFixed(4); BoardThickness = parseFloat(BoardThickness).toFixed(2); otherPrice9 = parseFloat(otherPrice9).toFixed(2); otherPrice32 = parseFloat(otherPrice32).toFixed(2); smkongj = parseFloat(smkongj).toFixed(2); otherPrice21 = parseFloat(otherPrice21).toFixed(2); otherPrice34 = parseFloat(otherPrice34).toFixed(2); otherPrice6 = parseFloat(otherPrice6).toFixed(2); otherPrice13 = parseFloat(otherPrice13).toFixed(2); otherPrice5 = parseFloat(otherPrice5).toFixed(2); otherPrice33 = parseFloat(otherPrice33).toFixed(2); otherPrice35 = parseFloat(otherPrice35).toFixed(2); otherPrice31 = parseFloat(otherPrice31).toFixed(2); jjprice = parseFloat(jjprice).toFixed(2); var finiarea = $("#finiarea").text(); var zkprice = $("#zkprice").val(); var iptaddress = $("#iptaddress").val(); var urgent = $("input[name='urgent']:checked").val();//加急时间 var urgent = $("#urgent").val(); var mjnum = $("#mjnum").val();//模具型号 if (urgent == "" || urgent == null || urgent == undefined || urgent == "undefined") { urgent = ""; } if (area > 5) { urgent = ""; } var jiajiprice = $("#jiajiprice").text(); var pbjianju = $("#pbjianju").val();//工艺间隙 var jianxifx = $("#jianxifx").val();//工艺间隙方向 if (pbjianju == 0) { jianxifx = ""; } if (jianxifx == "") { pbjianju = 0; } var pcb_minholesize = $("input[name='pcb_minholesize']:checked").val(); //最小过孔 //var PlatingTypeH = $("input[name='PlatingTypeH']:checked").val(); //沉金厚度 var PlatingTypeH = $("input:radio[name=chenjgy]:checked").val(); if (PlatingType == "电金") { PlatingTypeH = $("input[name='PlatingTypeD']:checked").val(); //电金厚度 } var ipc = $("input[name='ipc']:checked").val(); //IPC验收标准 var xiakon = $("input[name='xiakon']:checked").val(); //额外收费项 四线低阻过孔全测 var lylv = $("input[name='ynianzhou']:checked").val(); //额外收费项 指定板材供应商 var caokon = $("input[name='TeiShu_3']:checked").val(); //额外收费项 隔白纸服务 var appearance = $("input[name='chuhuobg']:checked").val(); //额外收费项 不接受打叉板 var agreementNum = $("#agreementNum").val(); //赔偿多少片 var agreementPrice = $("#agreementPrice").val(); //每片赔偿多少钱 //提交的数据 orderdata = 'fileIdAndName=' + fileIdAndName + "&kehup1=" + kehup1 + "&pinbantype=" + escape(pinbantype) + "&kehup2=" + kehup2 + "&length=" + length + "&width=" + width + "&nums=" + nums + "&pcsnums=" + pcsnums + "&layers=" + layers + "&bctype=" + escape(bctype) + "&BoardThickness=" + BoardThickness + "&PlatingType=" + escape(PlatingType) + "&SolderColor=" + escape(SolderColor) + "&radFontColor=" + escape(radFontColor) + "&LineWeight=" + escape(LineWeight) + "&CopperThickness=" + escape(CopperThickness) + "&Zhfg=" + escape(Zhfg) + "&TestType=" + escape(TestType) + "&csj=" + escape(csj) + "&csf=" + escape(csf) + "&specificType=" + escape(specificType) + "&mj=" + escape(mj) + "&mouldingType=" + escape(mouldingType) + "&charMark=" + escape(charMark) + "&Bill=" + escape(Bill) + "&impedance=" + escape(impedance) + "&BGA=" + escape(BGA) + "¬e=" + escape(note) + "&kptype=" + escape(kptype) + "&selExpressType=" + escape(selExpressType) + "&selExpressName=" + escape(selExpressName) + "&selPayType=" + escape(selPayType) + "&fhtime=" + escape(fhtime) + "&iptaddress=" + escape(iptaddress) + "&totle=" + totle + "&ddzprice=" + ddzprice + "&kuaidif=" + kuaidif + "&dprice=" + dprice + "&mjfei=" + mjfei + "&ceshjprice=" + ceshjprice + "&pfprice=" + pfprice + "&gcprice=" + gcprice + "&shuiprice=" + shuiprice + "&baozhuang=" + escape(baozhuang) + "&dszf=" + escape(dszf) + "&area=" + area + "&PlatingType_Ty=" + escape(PlatingType_Ty) + "&ynianzhou=" + escape(ynianzhou) + "&yzhounian=" + escape(yzhounian) + "&ynianyueri=" + escape(ynianyueri) + "&ynoprint=" + escape(ynoprint) + "&TeiShu_1=" + escape(TeiShu_1) + "&TeiShu_2=" + escape(TeiShu_2) + "&TeiShu_3=" + escape(TeiShu_3) + "&TeiShu_4=" + escape(TeiShu_4) + "&TeiShu_5=" + escape(TeiShu_5) + "&TeiShu_6=" + escape(TeiShu_6) + "&xiakon=" + escape(xiakon) + "&lylv=" + escape(lylv) + "&caokon=" + escape(caokon) + "&appearance=" + escape(appearance) + "&gongyb=" + escape(gongyb) + "&chuhuobg=" + escape(chuhuobg) + "&yangbencrs=" + escape(yangbencrs) + "&gongyikuan=" + gongyikuan + "&finiarea=" + escape(finiarea) + "&pinnum=" + pinnum + "&zkprice=" + zkprice + "&csjnum=" + escape(csjnum) + "&urgent=" + escape(urgent) + "&jiajiprice=" + jiajiprice + "&SolderColor2=" + escape(SolderColor2) + "&SolderColor3=" + escape(SolderColor3) + "&CopperThickness2=" + escape(CopperThickness2) + "&setlength=" + escape(setlength) + "&setwidth=" + escape(setwidth) + "&mjnum=" + escape(mjnum) + "&csprice=" + escape(csprice) + "&xbprice=" + escape(xbprice) + "&pbjianju=" + escape(pbjianju) + "&jianxifx=" + escape(jianxifx) + "&pcb_minholesize=" + escape(pcb_minholesize) + "&PlatingTypeH=" + escape(PlatingTypeH) + "&ipc=" + escape(ipc) + "&otherPrice9=" + escape(otherPrice9) + "&otherPrice32=" + escape(otherPrice32) + "&smkongj=" + escape(smkongj) + "&otherPrice21=" + escape(otherPrice21) + "&otherPrice34=" + escape(otherPrice34) + "&otherPrice6=" + escape(otherPrice6) + "&otherPrice13=" + escape(otherPrice13) + "&otherPrice5=" + escape(otherPrice5) + "&otherPrice33=" + escape(otherPrice33) + "&otherPrice35=" + escape(otherPrice35) + "&otherPrice31=" + escape(otherPrice31) + "&jjprice=" + escape(jjprice) + "&agreementNum=" + escape(agreementNum) + "&agreementPrice=" + escape(agreementPrice) ; return orderdata; } //提交订单 //function btnOK() { // $("#btnSubmitOK").attr("disabled", "disabled"); //var pinbantype = $("input[name='onlinetype']:checked").val(); //拼版方式 //var length = $("#length").val(); //长度 //var width = $("#width").val(); //宽度 //var nums = $("#bordnum").val(); //板子数量 //if (length == "") { // $.messager.alert('提示:', '请填写长度!'); // return false; //} //if (width == "") { // $.messager.alert('提示:', '请填写宽度!'); // return false; //} //if (nums == "") { // $.messager.alert('提示:', '请填写数量!'); // return false; //} //if (pinbantype == null) { // $.messager.alert('提示:', '请选择出货方式!'); // return false; //} // $.ajax({ // type: 'POST', // url: 'tools/registered.ashx', // data: 'param=AddOrder&' + (orderdata = orderfunction()), // timeout: 30000, // dataType: 'text', // error: function () { // //$.messager.alert('温馨提示', '系统繁忙,请稍候后试!', 'error'); // }, success: function (outmsg) { // if (parseInt(outmsg) > 0) { // alert("恭喜您,下单成功!"); // $('#divUpFile').dialog('close'); // window.location.href = "/preset.aspx"; // } // else { // $("#btnSubmitOK").removeAttr("disabled"); // $.messager.alert('温馨提示', outmsg); // } // } // }); //} // 获取板费单价 boardType 样板、小批量、批量, boardLayers 板子层数, boardThicknes板子厚度 function getBoardPrice(boardType, boardLayers, boardThicknes) { if (boardThicknes > 3.0) { boardThicknes = 3.0 } //debugger; var outBoardPrice; var LineWeight = "大于等于0.15mm" //最小线宽 if (LineWeight == "大于等于0.15mm") { //全局常量中取 if (boardType == "1-5" && boardThicknes == 0.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[566]; else if (boardLayers == 2) outBoardPrice = arrOptionList[577]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1062]; } else if (boardType == "1-5" && boardThicknes == 0.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[567]; else if (boardLayers == 2) outBoardPrice = arrOptionList[578]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1063]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1074]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1085]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1096]; } else if (boardType == "1-5" && boardThicknes == 0.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[568]; else if (boardLayers == 2) outBoardPrice = arrOptionList[579]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1064]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1075]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1086]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1097]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1108]; } else if (boardType == "1-5" && boardThicknes == 1.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[569]; else if (boardLayers == 2) outBoardPrice = arrOptionList[580]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1065]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1076]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1087]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1098]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1109]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1120]; } else if (boardType == "1-5" && boardThicknes == 1.2) { if (boardLayers == 1) outBoardPrice = arrOptionList[570]; else if (boardLayers == 2) outBoardPrice = arrOptionList[581]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1066]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1077]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1088]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1099]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1110]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1121]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1132]; } else if (boardType == "1-5" && boardThicknes == 1.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[571]; else if (boardLayers == 2) outBoardPrice = arrOptionList[582]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1067]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1078]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1089]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1100]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1111]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1122]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1133]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1144]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1155]; } else if (boardType == "1-5" && boardThicknes == 1.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[572]; else if (boardLayers == 2) outBoardPrice = arrOptionList[583]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1068]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1079]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1090]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1101]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1112]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1123]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1134]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1145]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1156]; } else if (boardType == "1-5" && boardThicknes == 2.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[573]; else if (boardLayers == 2) outBoardPrice = arrOptionList[584]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1069]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1080]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1091]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1102]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1113]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1124]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1135]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1146]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1157]; } else if (boardType == "1-5" && boardThicknes == 2.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[574]; else if (boardLayers == 2) outBoardPrice = arrOptionList[585]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1070]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1081]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1092]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1103]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1114]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1125]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1136]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1147]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1158]; } else if (boardType == "1-5" && boardThicknes == 2.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[575]; else if (boardLayers == 2) outBoardPrice = arrOptionList[586]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1071]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1082]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1093]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1104]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1115]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1126]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1137]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1148]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1159]; } else if (boardType == "1-5" && boardThicknes == 3.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[576]; else if (boardLayers == 2) outBoardPrice = arrOptionList[587]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1072]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1083]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1094]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1105]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1116]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1127]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1138]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1149]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1160]; } if (boardType == "5-20" && boardThicknes == 0.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[588]; else if (boardLayers == 2) outBoardPrice = arrOptionList[599]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1161]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1172]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1183]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1194]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1205]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1216]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1227]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1238]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1249]; } else if (boardType == "5-20" && boardThicknes == 0.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[589]; else if (boardLayers == 2) outBoardPrice = arrOptionList[600]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1162]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1173]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1184]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1195]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1206]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1217]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1228]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1239]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1250]; } else if (boardType == "5-20" && boardThicknes == 0.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[590]; else if (boardLayers == 2) outBoardPrice = arrOptionList[601]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1163]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1174]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1185]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1196]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1207]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1218]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1229]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1240]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1251]; } else if (boardType == "5-20" && boardThicknes == 1.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[591]; else if (boardLayers == 2) outBoardPrice = arrOptionList[602]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1164]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1175]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1186]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1197]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1208]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1219]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1230]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1241]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1252]; } else if (boardType == "5-20" && boardThicknes == 1.2) { if (boardLayers == 1) outBoardPrice = arrOptionList[592]; else if (boardLayers == 2) outBoardPrice = arrOptionList[603]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1165]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1176]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1187]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1198]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1209]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1220]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1231]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1242]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1253]; } else if (boardType == "5-20" && boardThicknes == 1.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[593]; else if (boardLayers == 2) outBoardPrice = arrOptionList[604]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1166]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1177]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1188]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1199]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1210]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1221]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1232]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1243]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1254]; } else if (boardType == "5-20" && boardThicknes == 1.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[594]; else if (boardLayers == 2) outBoardPrice = arrOptionList[605]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1167]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1178]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1189]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1200]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1211]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1222]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1233]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1244]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1255]; } else if (boardType == "5-20" && boardThicknes == 2.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[595]; else if (boardLayers == 2) outBoardPrice = arrOptionList[606]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1168]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1179]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1190]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1201]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1212]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1223]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1234]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1245]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1256]; } else if (boardType == "5-20" && boardThicknes == 2.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[596]; else if (boardLayers == 2) outBoardPrice = arrOptionList[607]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1169]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1180]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1191]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1202]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1213]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1224]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1235]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1246]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1257]; } else if (boardType == "5-20" && boardThicknes == 2.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[597]; else if (boardLayers == 2) outBoardPrice = arrOptionList[608]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1170]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1181]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1192]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1203]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1214]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1225]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1236]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1247]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1258]; } else if (boardType == "5-20" && boardThicknes == 3.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[598]; else if (boardLayers == 2) outBoardPrice = arrOptionList[609]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1171]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1182]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1193]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1204]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1215]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1226]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1237]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1248]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1259]; } if (boardType == "20-50" && boardThicknes == 0.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[610]; else if (boardLayers == 2) outBoardPrice = arrOptionList[621]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1260]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1271]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1282]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1293]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1304]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1315]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1326]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1337]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1348]; } else if (boardType == "20-50" && boardThicknes == 0.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[611]; else if (boardLayers == 2) outBoardPrice = arrOptionList[622]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1261]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1272]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1283]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1294]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1305]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1316]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1327]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1338]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1349]; } else if (boardType == "20-50" && boardThicknes == 0.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[612]; else if (boardLayers == 2) outBoardPrice = arrOptionList[623]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1262]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1273]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1284]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1295]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1306]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1317]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1328]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1339]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1350]; } else if (boardType == "20-50" && boardThicknes == 1.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[613]; else if (boardLayers == 2) outBoardPrice = arrOptionList[624]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1263]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1274]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1285]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1296]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1307]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1318]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1329]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1340]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1351]; } else if (boardType == "20-50" && boardThicknes == 1.2) { if (boardLayers == 1) outBoardPrice = arrOptionList[614]; else if (boardLayers == 2) outBoardPrice = arrOptionList[625]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1264]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1275]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1286]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1297]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1308]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1319]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1330]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1341]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1352]; } else if (boardType == "20-50" && boardThicknes == 1.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[615]; else if (boardLayers == 2) outBoardPrice = arrOptionList[626]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1265]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1276]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1287]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1298]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1309]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1320]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1331]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1342]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1353]; } else if (boardType == "20-50" && boardThicknes == 1.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[616]; else if (boardLayers == 2) outBoardPrice = arrOptionList[627]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1266]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1277]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1288]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1299]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1310]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1321]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1332]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1343]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1354]; } else if (boardType == "20-50" && boardThicknes == 2.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[617]; else if (boardLayers == 2) outBoardPrice = arrOptionList[628]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1267]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1278]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1289]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1300]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1311]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1322]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1333]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1344]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1355]; } else if (boardType == "20-50" && boardThicknes == 2.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[618]; else if (boardLayers == 2) outBoardPrice = arrOptionList[629]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1268]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1279]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1290]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1301]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1312]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1323]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1334]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1345]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1356]; } else if (boardType == "20-50" && boardThicknes == 2.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[619]; else if (boardLayers == 2) outBoardPrice = arrOptionList[630]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1269]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1280]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1291]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1302]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1313]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1324]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1335]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1346]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1357]; } else if (boardType == "20-50" && boardThicknes == 3.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[620]; else if (boardLayers == 2) outBoardPrice = arrOptionList[631]; else if (boardLayers == 4) outBoardPrice = arrOptionList[1270]; else if (boardLayers == 6) outBoardPrice = arrOptionList[1281]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1292]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1303]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1314]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1325]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1336]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1347]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1358]; } if (boardType == "50-100" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[632]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[633]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[634]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[635]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[636]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[637]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[638]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[639]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[640]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[641]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[642]; } } else if (boardType == "50-100" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[643]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[644]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[645]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[646]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[647]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[648]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[649]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[650]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[651]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[652]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[653]; } } else if (boardType == "100-200" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[654]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[655]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[656]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[657]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[658]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[659]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[660]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[661]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[662]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[663]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[664]; } } else if (boardType == "100-200" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[665]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[666]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[667]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[668]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[669]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[670]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[671]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[672]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[673]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[674]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[675]; } } else if (boardType == "200-300" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[676]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[677]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[678]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[679]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[680]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[681]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[682]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[683]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[684]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[685]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[686]; } } else if (boardType == "200-300" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[687]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[688]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[689]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[690]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[691]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[692]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[693]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[694]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[695]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[696]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[697]; } } else if (boardType == "300-500" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[698]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[699]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[700]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[701]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[702]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[703]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[704]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[705]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[706]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[707]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[708]; } } else if (boardType == "300-500" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[709]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[710]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[711]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[712]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[713]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[714]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[715]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[716]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[717]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[718]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[719]; } } else if (boardType == "500-600" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[720]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[721]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[722]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[723]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[724]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[725]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[726]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[727]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[728]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[729]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[730]; } } else if (boardType == "500-600" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[731]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[732]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[733]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[734]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[735]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[736]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[737]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[738]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[739]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[740]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[741]; } } else if (boardType == ">600" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[742]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[743]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[744]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[745]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[746]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[747]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[748]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[749]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[750]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[751]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[752]; } } else if (boardType == ">600" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[753]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[754]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[755]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[756]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[757]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[758]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[759]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[760]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[761]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[762]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[763]; } } } else { //全局常量中取 if (boardType == "1-5" && boardThicknes == 0.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[12]; else if (boardLayers == 2) outBoardPrice = arrOptionList[46]; else if (boardLayers == 4) outBoardPrice = arrOptionList[80]; else if (boardLayers == 6) outBoardPrice = arrOptionList[114]; else if (boardLayers == 8) outBoardPrice = arrOptionList[148]; else if (boardLayers == 10) outBoardPrice = arrOptionList[820]; else if (boardLayers == 12) outBoardPrice = arrOptionList[851]; else if (boardLayers == 14) outBoardPrice = arrOptionList[882]; else if (boardLayers == 16) outBoardPrice = arrOptionList[913]; else if (boardLayers == 18) outBoardPrice = arrOptionList[944]; else if (boardLayers == 20) outBoardPrice = arrOptionList[975]; } else if (boardType == "1-5" && boardThicknes == 0.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[13]; else if (boardLayers == 2) outBoardPrice = arrOptionList[47]; else if (boardLayers == 4) outBoardPrice = arrOptionList[81]; else if (boardLayers == 6) outBoardPrice = arrOptionList[115]; else if (boardLayers == 8) outBoardPrice = arrOptionList[149]; else if (boardLayers == 10) outBoardPrice = arrOptionList[821]; else if (boardLayers == 12) outBoardPrice = arrOptionList[852]; else if (boardLayers == 14) outBoardPrice = arrOptionList[883]; else if (boardLayers == 16) outBoardPrice = arrOptionList[914]; else if (boardLayers == 18) outBoardPrice = arrOptionList[945]; else if (boardLayers == 20) outBoardPrice = arrOptionList[976]; } else if (boardType == "1-5" && boardThicknes == 0.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[14]; else if (boardLayers == 2) outBoardPrice = arrOptionList[48]; else if (boardLayers == 4) outBoardPrice = arrOptionList[82]; else if (boardLayers == 6) outBoardPrice = arrOptionList[116]; else if (boardLayers == 8) outBoardPrice = arrOptionList[150]; else if (boardLayers == 10) outBoardPrice = arrOptionList[822]; else if (boardLayers == 12) outBoardPrice = arrOptionList[853]; else if (boardLayers == 14) outBoardPrice = arrOptionList[884]; else if (boardLayers == 16) outBoardPrice = arrOptionList[915]; else if (boardLayers == 18) outBoardPrice = arrOptionList[946]; else if (boardLayers == 20) outBoardPrice = arrOptionList[977]; } else if (boardType == "1-5" && boardThicknes == 1.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[15]; else if (boardLayers == 2) outBoardPrice = arrOptionList[49]; else if (boardLayers == 4) outBoardPrice = arrOptionList[83]; else if (boardLayers == 6) outBoardPrice = arrOptionList[117]; else if (boardLayers == 8) outBoardPrice = arrOptionList[151]; else if (boardLayers == 10) outBoardPrice = arrOptionList[823]; else if (boardLayers == 12) outBoardPrice = arrOptionList[854]; else if (boardLayers == 14) outBoardPrice = arrOptionList[885]; else if (boardLayers == 16) outBoardPrice = arrOptionList[916]; else if (boardLayers == 18) outBoardPrice = arrOptionList[947]; else if (boardLayers == 20) outBoardPrice = arrOptionList[978]; } else if (boardType == "1-5" && boardThicknes == 1.2) { if (boardLayers == 1) outBoardPrice = arrOptionList[16]; else if (boardLayers == 2) outBoardPrice = arrOptionList[50]; else if (boardLayers == 4) outBoardPrice = arrOptionList[84]; else if (boardLayers == 6) outBoardPrice = arrOptionList[118]; else if (boardLayers == 8) outBoardPrice = arrOptionList[152]; else if (boardLayers == 10) outBoardPrice = arrOptionList[824]; else if (boardLayers == 12) outBoardPrice = arrOptionList[855]; else if (boardLayers == 14) outBoardPrice = arrOptionList[886]; else if (boardLayers == 16) outBoardPrice = arrOptionList[917]; else if (boardLayers == 18) outBoardPrice = arrOptionList[948]; else if (boardLayers == 20) outBoardPrice = arrOptionList[979]; } else if (boardType == "1-5" && boardThicknes == 1.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[17]; else if (boardLayers == 2) outBoardPrice = arrOptionList[51]; else if (boardLayers == 4) outBoardPrice = arrOptionList[85]; else if (boardLayers == 6) outBoardPrice = arrOptionList[119]; else if (boardLayers == 8) outBoardPrice = arrOptionList[153]; else if (boardLayers == 10) outBoardPrice = arrOptionList[825]; else if (boardLayers == 12) outBoardPrice = arrOptionList[856]; else if (boardLayers == 14) outBoardPrice = arrOptionList[887]; else if (boardLayers == 16) outBoardPrice = arrOptionList[918]; else if (boardLayers == 18) outBoardPrice = arrOptionList[949]; else if (boardLayers == 20) outBoardPrice = arrOptionList[980]; } else if (boardType == "1-5" && boardThicknes == 1.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[18]; else if (boardLayers == 2) outBoardPrice = arrOptionList[52]; else if (boardLayers == 4) outBoardPrice = arrOptionList[86]; else if (boardLayers == 6) outBoardPrice = arrOptionList[120]; else if (boardLayers == 8) outBoardPrice = arrOptionList[154]; else if (boardLayers == 10) outBoardPrice = arrOptionList[826]; else if (boardLayers == 12) outBoardPrice = arrOptionList[857]; else if (boardLayers == 14) outBoardPrice = arrOptionList[888]; else if (boardLayers == 16) outBoardPrice = arrOptionList[919]; else if (boardLayers == 18) outBoardPrice = arrOptionList[950]; else if (boardLayers == 20) outBoardPrice = arrOptionList[981]; } else if (boardType == "1-5" && boardThicknes == 2.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[19]; else if (boardLayers == 2) outBoardPrice = arrOptionList[53]; else if (boardLayers == 4) outBoardPrice = arrOptionList[87]; else if (boardLayers == 6) outBoardPrice = arrOptionList[121]; else if (boardLayers == 8) outBoardPrice = arrOptionList[155]; else if (boardLayers == 10) outBoardPrice = arrOptionList[827]; else if (boardLayers == 12) outBoardPrice = arrOptionList[858]; else if (boardLayers == 14) outBoardPrice = arrOptionList[889]; else if (boardLayers == 16) outBoardPrice = arrOptionList[920]; else if (boardLayers == 18) outBoardPrice = arrOptionList[951]; else if (boardLayers == 20) outBoardPrice = arrOptionList[982]; } else if (boardType == "1-5" && boardThicknes == 2.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[20]; else if (boardLayers == 2) outBoardPrice = arrOptionList[54]; else if (boardLayers == 4) outBoardPrice = arrOptionList[88]; else if (boardLayers == 6) outBoardPrice = arrOptionList[122]; else if (boardLayers == 8) outBoardPrice = arrOptionList[156]; else if (boardLayers == 10) outBoardPrice = arrOptionList[828]; else if (boardLayers == 12) outBoardPrice = arrOptionList[859]; else if (boardLayers == 14) outBoardPrice = arrOptionList[890]; else if (boardLayers == 16) outBoardPrice = arrOptionList[921]; else if (boardLayers == 18) outBoardPrice = arrOptionList[952]; else if (boardLayers == 20) outBoardPrice = arrOptionList[983]; } else if (boardType == "1-5" && boardThicknes == 2.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[272]; else if (boardLayers == 2) outBoardPrice = arrOptionList[275]; else if (boardLayers == 4) outBoardPrice = arrOptionList[278]; else if (boardLayers == 6) outBoardPrice = arrOptionList[281]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1006]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1009]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1012]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1015]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1018]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1021]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1024]; } else if (boardType == "1-5" && boardThicknes == 3.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[21]; else if (boardLayers == 2) outBoardPrice = arrOptionList[55]; else if (boardLayers == 4) outBoardPrice = arrOptionList[89]; else if (boardLayers == 6) outBoardPrice = arrOptionList[123]; else if (boardLayers == 8) outBoardPrice = arrOptionList[157]; else if (boardLayers == 10) outBoardPrice = arrOptionList[829]; else if (boardLayers == 12) outBoardPrice = arrOptionList[860]; else if (boardLayers == 14) outBoardPrice = arrOptionList[891]; else if (boardLayers == 16) outBoardPrice = arrOptionList[922]; else if (boardLayers == 18) outBoardPrice = arrOptionList[953]; else if (boardLayers == 20) outBoardPrice = arrOptionList[984]; } if (boardType == "5-20" && boardThicknes == 0.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[22]; else if (boardLayers == 2) outBoardPrice = arrOptionList[56]; else if (boardLayers == 4) outBoardPrice = arrOptionList[90]; else if (boardLayers == 6) outBoardPrice = arrOptionList[124]; else if (boardLayers == 8) outBoardPrice = arrOptionList[158]; else if (boardLayers == 10) outBoardPrice = arrOptionList[830]; else if (boardLayers == 12) outBoardPrice = arrOptionList[861]; else if (boardLayers == 14) outBoardPrice = arrOptionList[892]; else if (boardLayers == 16) outBoardPrice = arrOptionList[923]; else if (boardLayers == 18) outBoardPrice = arrOptionList[954]; else if (boardLayers == 20) outBoardPrice = arrOptionList[985]; } else if (boardType == "5-20" && boardThicknes == 0.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[23]; else if (boardLayers == 2) outBoardPrice = arrOptionList[57]; else if (boardLayers == 4) outBoardPrice = arrOptionList[91]; else if (boardLayers == 6) outBoardPrice = arrOptionList[125]; else if (boardLayers == 8) outBoardPrice = arrOptionList[159]; else if (boardLayers == 10) outBoardPrice = arrOptionList[831]; else if (boardLayers == 12) outBoardPrice = arrOptionList[862]; else if (boardLayers == 14) outBoardPrice = arrOptionList[893]; else if (boardLayers == 16) outBoardPrice = arrOptionList[924]; else if (boardLayers == 18) outBoardPrice = arrOptionList[955]; else if (boardLayers == 20) outBoardPrice = arrOptionList[986]; } else if (boardType == "5-20" && boardThicknes == 0.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[24]; else if (boardLayers == 2) outBoardPrice = arrOptionList[58]; else if (boardLayers == 4) outBoardPrice = arrOptionList[92]; else if (boardLayers == 6) outBoardPrice = arrOptionList[126]; else if (boardLayers == 8) outBoardPrice = arrOptionList[160]; else if (boardLayers == 10) outBoardPrice = arrOptionList[832]; else if (boardLayers == 12) outBoardPrice = arrOptionList[863]; else if (boardLayers == 14) outBoardPrice = arrOptionList[894]; else if (boardLayers == 16) outBoardPrice = arrOptionList[925]; else if (boardLayers == 18) outBoardPrice = arrOptionList[956]; else if (boardLayers == 20) outBoardPrice = arrOptionList[987]; } else if (boardType == "5-20" && boardThicknes == 1.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[25]; else if (boardLayers == 2) outBoardPrice = arrOptionList[59]; else if (boardLayers == 4) outBoardPrice = arrOptionList[93]; else if (boardLayers == 6) outBoardPrice = arrOptionList[127]; else if (boardLayers == 8) outBoardPrice = arrOptionList[161]; else if (boardLayers == 10) outBoardPrice = arrOptionList[833]; else if (boardLayers == 12) outBoardPrice = arrOptionList[864]; else if (boardLayers == 14) outBoardPrice = arrOptionList[895]; else if (boardLayers == 16) outBoardPrice = arrOptionList[926]; else if (boardLayers == 18) outBoardPrice = arrOptionList[957]; else if (boardLayers == 20) outBoardPrice = arrOptionList[988]; } else if (boardType == "5-20" && boardThicknes == 1.2) { if (boardLayers == 1) outBoardPrice = arrOptionList[26]; else if (boardLayers == 2) outBoardPrice = arrOptionList[60]; else if (boardLayers == 4) outBoardPrice = arrOptionList[94]; else if (boardLayers == 6) outBoardPrice = arrOptionList[128]; else if (boardLayers == 8) outBoardPrice = arrOptionList[162]; else if (boardLayers == 10) outBoardPrice = arrOptionList[834]; else if (boardLayers == 12) outBoardPrice = arrOptionList[865]; else if (boardLayers == 14) outBoardPrice = arrOptionList[896]; else if (boardLayers == 16) outBoardPrice = arrOptionList[927]; else if (boardLayers == 18) outBoardPrice = arrOptionList[958]; else if (boardLayers == 20) outBoardPrice = arrOptionList[989]; } else if (boardType == "5-20" && boardThicknes == 1.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[27]; else if (boardLayers == 2) outBoardPrice = arrOptionList[61]; else if (boardLayers == 4) outBoardPrice = arrOptionList[95]; else if (boardLayers == 6) outBoardPrice = arrOptionList[129]; else if (boardLayers == 8) outBoardPrice = arrOptionList[163]; else if (boardLayers == 10) outBoardPrice = arrOptionList[835]; else if (boardLayers == 12) outBoardPrice = arrOptionList[866]; else if (boardLayers == 14) outBoardPrice = arrOptionList[897]; else if (boardLayers == 16) outBoardPrice = arrOptionList[928]; else if (boardLayers == 18) outBoardPrice = arrOptionList[959]; else if (boardLayers == 20) outBoardPrice = arrOptionList[990]; } else if (boardType == "5-20" && boardThicknes == 1.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[28]; else if (boardLayers == 2) outBoardPrice = arrOptionList[62]; else if (boardLayers == 4) outBoardPrice = arrOptionList[96]; else if (boardLayers == 6) outBoardPrice = arrOptionList[130]; else if (boardLayers == 8) outBoardPrice = arrOptionList[164]; else if (boardLayers == 10) outBoardPrice = arrOptionList[836]; else if (boardLayers == 12) outBoardPrice = arrOptionList[867]; else if (boardLayers == 14) outBoardPrice = arrOptionList[898]; else if (boardLayers == 16) outBoardPrice = arrOptionList[929]; else if (boardLayers == 18) outBoardPrice = arrOptionList[960]; else if (boardLayers == 20) outBoardPrice = arrOptionList[991]; } else if (boardType == "5-20" && boardThicknes == 2.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[29]; else if (boardLayers == 2) outBoardPrice = arrOptionList[63]; else if (boardLayers == 4) outBoardPrice = arrOptionList[97]; else if (boardLayers == 6) outBoardPrice = arrOptionList[131]; else if (boardLayers == 8) outBoardPrice = arrOptionList[165]; else if (boardLayers == 10) outBoardPrice = arrOptionList[837]; else if (boardLayers == 12) outBoardPrice = arrOptionList[868]; else if (boardLayers == 14) outBoardPrice = arrOptionList[899]; else if (boardLayers == 16) outBoardPrice = arrOptionList[930]; else if (boardLayers == 18) outBoardPrice = arrOptionList[961]; else if (boardLayers == 20) outBoardPrice = arrOptionList[992]; } else if (boardType == "5-20" && boardThicknes == 2.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[30]; else if (boardLayers == 2) outBoardPrice = arrOptionList[64]; else if (boardLayers == 4) outBoardPrice = arrOptionList[98]; else if (boardLayers == 6) outBoardPrice = arrOptionList[132]; else if (boardLayers == 8) outBoardPrice = arrOptionList[166]; else if (boardLayers == 10) outBoardPrice = arrOptionList[838]; else if (boardLayers == 12) outBoardPrice = arrOptionList[869]; else if (boardLayers == 14) outBoardPrice = arrOptionList[900]; else if (boardLayers == 16) outBoardPrice = arrOptionList[931]; else if (boardLayers == 18) outBoardPrice = arrOptionList[962]; else if (boardLayers == 20) outBoardPrice = arrOptionList[993]; } else if (boardType == "5-20" && boardThicknes == 2.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[273]; else if (boardLayers == 2) outBoardPrice = arrOptionList[276]; else if (boardLayers == 4) outBoardPrice = arrOptionList[279]; else if (boardLayers == 6) outBoardPrice = arrOptionList[282]; else if (boardLayers == 8) outBoardPrice = arrOptionList[1007]; else if (boardLayers == 10) outBoardPrice = arrOptionList[1010]; else if (boardLayers == 12) outBoardPrice = arrOptionList[1013]; else if (boardLayers == 14) outBoardPrice = arrOptionList[1016]; else if (boardLayers == 16) outBoardPrice = arrOptionList[1019]; else if (boardLayers == 18) outBoardPrice = arrOptionList[1022]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1025]; } else if (boardType == "5-20" && boardThicknes == 3.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[31]; else if (boardLayers == 2) outBoardPrice = arrOptionList[65]; else if (boardLayers == 4) outBoardPrice = arrOptionList[99]; else if (boardLayers == 6) outBoardPrice = arrOptionList[133]; else if (boardLayers == 8) outBoardPrice = arrOptionList[167]; else if (boardLayers == 10) outBoardPrice = arrOptionList[839]; else if (boardLayers == 12) outBoardPrice = arrOptionList[870]; else if (boardLayers == 14) outBoardPrice = arrOptionList[901]; else if (boardLayers == 16) outBoardPrice = arrOptionList[932]; else if (boardLayers == 18) outBoardPrice = arrOptionList[963]; else if (boardLayers == 20) outBoardPrice = arrOptionList[993]; } if (boardType == "20-50" && boardThicknes == 0.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[32]; else if (boardLayers == 2) outBoardPrice = arrOptionList[66]; else if (boardLayers == 4) outBoardPrice = arrOptionList[100]; else if (boardLayers == 6) outBoardPrice = arrOptionList[134]; else if (boardLayers == 8) outBoardPrice = arrOptionList[168]; else if (boardLayers == 10) outBoardPrice = arrOptionList[840]; else if (boardLayers == 12) outBoardPrice = arrOptionList[871]; else if (boardLayers == 14) outBoardPrice = arrOptionList[902]; else if (boardLayers == 16) outBoardPrice = arrOptionList[933]; else if (boardLayers == 18) outBoardPrice = arrOptionList[964]; else if (boardLayers == 20) outBoardPrice = arrOptionList[995]; } else if (boardType == "20-50" && boardThicknes == 0.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[33]; else if (boardLayers == 2) outBoardPrice = arrOptionList[67]; else if (boardLayers == 4) outBoardPrice = arrOptionList[101]; else if (boardLayers == 6) outBoardPrice = arrOptionList[135]; else if (boardLayers == 8) outBoardPrice = arrOptionList[169]; else if (boardLayers == 10) outBoardPrice = arrOptionList[841]; else if (boardLayers == 12) outBoardPrice = arrOptionList[872]; else if (boardLayers == 14) outBoardPrice = arrOptionList[903]; else if (boardLayers == 16) outBoardPrice = arrOptionList[934]; else if (boardLayers == 18) outBoardPrice = arrOptionList[965]; else if (boardLayers == 20) outBoardPrice = arrOptionList[996]; } else if (boardType == "20-50" && boardThicknes == 0.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[34]; else if (boardLayers == 2) outBoardPrice = arrOptionList[68]; else if (boardLayers == 4) outBoardPrice = arrOptionList[102]; else if (boardLayers == 6) outBoardPrice = arrOptionList[136]; else if (boardLayers == 8) outBoardPrice = arrOptionList[170]; else if (boardLayers == 10) outBoardPrice = arrOptionList[842]; else if (boardLayers == 12) outBoardPrice = arrOptionList[873]; else if (boardLayers == 14) outBoardPrice = arrOptionList[904]; else if (boardLayers == 16) outBoardPrice = arrOptionList[935]; else if (boardLayers == 18) outBoardPrice = arrOptionList[966]; else if (boardLayers == 20) outBoardPrice = arrOptionList[997]; } else if (boardType == "20-50" && boardThicknes == 1.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[35]; else if (boardLayers == 2) outBoardPrice = arrOptionList[69]; else if (boardLayers == 4) outBoardPrice = arrOptionList[103]; else if (boardLayers == 6) outBoardPrice = arrOptionList[137]; else if (boardLayers == 8) outBoardPrice = arrOptionList[171]; else if (boardLayers == 10) outBoardPrice = arrOptionList[843]; else if (boardLayers == 12) outBoardPrice = arrOptionList[874]; else if (boardLayers == 14) outBoardPrice = arrOptionList[905]; else if (boardLayers == 16) outBoardPrice = arrOptionList[936]; else if (boardLayers == 18) outBoardPrice = arrOptionList[967]; else if (boardLayers == 20) outBoardPrice = arrOptionList[998]; } else if (boardType == "20-50" && boardThicknes == 1.2) { if (boardLayers == 1) outBoardPrice = arrOptionList[36]; else if (boardLayers == 2) outBoardPrice = arrOptionList[70]; else if (boardLayers == 4) outBoardPrice = arrOptionList[104]; else if (boardLayers == 6) outBoardPrice = arrOptionList[138]; else if (boardLayers == 8) outBoardPrice = arrOptionList[172]; else if (boardLayers == 10) outBoardPrice = arrOptionList[844]; else if (boardLayers == 12) outBoardPrice = arrOptionList[875]; else if (boardLayers == 14) outBoardPrice = arrOptionList[906]; else if (boardLayers == 16) outBoardPrice = arrOptionList[937]; else if (boardLayers == 18) outBoardPrice = arrOptionList[968]; else if (boardLayers == 20) outBoardPrice = arrOptionList[999]; } else if (boardType == "20-50" && boardThicknes == 1.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[37]; else if (boardLayers == 2) outBoardPrice = arrOptionList[71]; else if (boardLayers == 4) outBoardPrice = arrOptionList[105]; else if (boardLayers == 6) outBoardPrice = arrOptionList[139]; else if (boardLayers == 8) outBoardPrice = arrOptionList[173]; else if (boardLayers == 10) outBoardPrice = arrOptionList[845]; else if (boardLayers == 12) outBoardPrice = arrOptionList[876]; else if (boardLayers == 14) outBoardPrice = arrOptionList[907]; else if (boardLayers == 16) outBoardPrice = arrOptionList[938]; else if (boardLayers == 18) outBoardPrice = arrOptionList[969]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1000]; } else if (boardType == "20-50" && boardThicknes == 1.8) { if (boardLayers == 1) outBoardPrice = arrOptionList[38]; else if (boardLayers == 2) outBoardPrice = arrOptionList[72]; else if (boardLayers == 4) outBoardPrice = arrOptionList[106]; else if (boardLayers == 6) outBoardPrice = arrOptionList[140]; else if (boardLayers == 8) outBoardPrice = arrOptionList[174]; else if (boardLayers == 10) outBoardPrice = arrOptionList[846]; else if (boardLayers == 12) outBoardPrice = arrOptionList[877]; else if (boardLayers == 14) outBoardPrice = arrOptionList[908]; else if (boardLayers == 16) outBoardPrice = arrOptionList[939]; else if (boardLayers == 18) outBoardPrice = arrOptionList[970]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1001]; } else if (boardType == "20-50" && boardThicknes == 2.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[39]; else if (boardLayers == 2) outBoardPrice = arrOptionList[73]; else if (boardLayers == 4) outBoardPrice = arrOptionList[107]; else if (boardLayers == 6) outBoardPrice = arrOptionList[141]; else if (boardLayers == 8) outBoardPrice = arrOptionList[175]; else if (boardLayers == 10) outBoardPrice = arrOptionList[847]; else if (boardLayers == 12) outBoardPrice = arrOptionList[878]; else if (boardLayers == 14) outBoardPrice = arrOptionList[909]; else if (boardLayers == 16) outBoardPrice = arrOptionList[940]; else if (boardLayers == 18) outBoardPrice = arrOptionList[971]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1002]; } else if (boardType == "20-50" && boardThicknes == 2.4) { if (boardLayers == 1) outBoardPrice = arrOptionList[40]; else if (boardLayers == 2) outBoardPrice = arrOptionList[74]; else if (boardLayers == 4) outBoardPrice = arrOptionList[108]; else if (boardLayers == 6) outBoardPrice = arrOptionList[142]; else if (boardLayers == 8) outBoardPrice = arrOptionList[176]; else if (boardLayers == 10) outBoardPrice = arrOptionList[848]; else if (boardLayers == 12) outBoardPrice = arrOptionList[879]; else if (boardLayers == 14) outBoardPrice = arrOptionList[910]; else if (boardLayers == 16) outBoardPrice = arrOptionList[941]; else if (boardLayers == 18) outBoardPrice = arrOptionList[972]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1003]; } else if (boardType == "20-50" && boardThicknes == 2.6) { if (boardLayers == 1) outBoardPrice = arrOptionList[274]; else if (boardLayers == 2) outBoardPrice = arrOptionList[277]; else if (boardLayers == 4) outBoardPrice = arrOptionList[280]; else if (boardLayers == 6) outBoardPrice = arrOptionList[283]; else if (boardLayers == 8) outBoardPrice = arrOptionList[177]; else if (boardLayers == 10) outBoardPrice = arrOptionList[849]; else if (boardLayers == 12) outBoardPrice = arrOptionList[880]; else if (boardLayers == 14) outBoardPrice = arrOptionList[911]; else if (boardLayers == 16) outBoardPrice = arrOptionList[942]; else if (boardLayers == 18) outBoardPrice = arrOptionList[973]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1004]; } else if (boardType == "20-50" && boardThicknes == 3.0) { if (boardLayers == 1) outBoardPrice = arrOptionList[41]; else if (boardLayers == 2) outBoardPrice = arrOptionList[75]; else if (boardLayers == 4) outBoardPrice = arrOptionList[109]; else if (boardLayers == 6) outBoardPrice = arrOptionList[143]; else if (boardLayers == 8) outBoardPrice = arrOptionList[178]; else if (boardLayers == 10) outBoardPrice = arrOptionList[850]; else if (boardLayers == 12) outBoardPrice = arrOptionList[881]; else if (boardLayers == 14) outBoardPrice = arrOptionList[912]; else if (boardLayers == 16) outBoardPrice = arrOptionList[943]; else if (boardLayers == 18) outBoardPrice = arrOptionList[974]; else if (boardLayers == 20) outBoardPrice = arrOptionList[1005]; } if (boardType == "50-100" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[284]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[285]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[286]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[287]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[288]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[289]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[290]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[291]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[292]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[293]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[294]; } } else if (boardType == "50-100" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[295]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[296]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[297]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[298]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[299]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[300]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[301]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[302]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[303]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[304]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[305]; } } else if (boardType == "50-100" && boardLayers == 4) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[306]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[307]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[308]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[309]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[310]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[311]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[312]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[313]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[314]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[315]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[316]; } } else if (boardType == "50-100" && boardLayers == 6) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[317]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[318]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[319]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[320]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[321]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[322]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[323]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[324]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[325]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[326]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[327]; } } else if (boardType == "100-200" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[328]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[329]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[330]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[331]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[332]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[333]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[334]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[335]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[336]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[337]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[338]; } } else if (boardType == "100-200" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[339]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[340]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[341]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[342]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[343]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[344]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[345]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[346]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[347]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[348]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[349]; } } else if (boardType == "100-200" && boardLayers == 4) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[350]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[351]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[352]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[353]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[354]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[355]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[356]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[357]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[358]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[359]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[360]; } } else if (boardType == "100-200" && boardLayers == 6) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[361]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[362]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[363]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[364]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[365]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[366]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[367]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[368]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[369]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[370]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[371]; } } else if (boardType == "200-300" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[372]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[373]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[374]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[375]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[376]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[377]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[378]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[379]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[380]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[381]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[382]; } } else if (boardType == "200-300" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[383]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[384]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[385]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[386]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[387]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[388]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[389]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[390]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[391]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[392]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[393]; } } else if (boardType == "200-300" && boardLayers == 4) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[394]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[395]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[396]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[397]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[398]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[399]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[400]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[401]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[402]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[403]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[404]; } } else if (boardType == "200-300" && boardLayers == 6) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[405]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[406]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[407]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[408]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[409]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[410]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[411]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[412]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[413]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[414]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[415]; } } else if (boardType == "300-500" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[416]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[417]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[418]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[419]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[420]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[421]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[422]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[423]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[424]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[425]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[426]; } } else if (boardType == "300-500" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[427]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[428]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[429]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[430]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[431]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[432]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[433]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[434]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[435]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[436]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[437]; } } else if (boardType == "300-500" && boardLayers == 4) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[438]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[439]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[440]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[441]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[442]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[443]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[444]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[445]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[446]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[447]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[448]; } } else if (boardType == "300-500" && boardLayers == 6) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[449]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[450]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[451]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[452]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[453]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[454]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[455]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[456]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[457]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[458]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[459]; } } else if (boardType == "500-600" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[460]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[461]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[462]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[463]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[464]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[465]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[466]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[467]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[468]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[469]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[470]; } } else if (boardType == "500-600" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[471]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[472]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[473]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[474]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[475]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[476]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[477]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[478]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[479]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[480]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[481]; } } else if (boardType == "500-600" && boardLayers == 4) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[482]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[483]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[484]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[485]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[486]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[487]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[488]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[489]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[490]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[491]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[492]; } } else if (boardType == "500-600" && boardLayers == 6) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[493]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[494]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[495]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[496]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[497]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[498]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[499]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[500]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[501]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[502]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[503]; } } else if (boardType == ">600" && boardLayers == 1) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[504]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[505]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[506]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[507]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[508]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[509]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[510]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[511]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[512]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[513]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[514]; } } else if (boardType == ">600" && boardLayers == 2) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[515]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[516]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[517]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[518]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[519]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[520]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[521]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[522]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[523]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[524]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[525]; } } else if (boardType == ">600" && boardLayers == 4) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[526]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[527]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[528]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[529]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[530]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[531]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[532]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[533]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[534]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[535]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[536]; } } else if (boardType == ">600" && boardLayers == 6) { if (boardThicknes == 0.4) { outBoardPrice = arrOptionList[537]; } else if (boardThicknes == 0.6) { outBoardPrice = arrOptionList[538]; } else if (boardThicknes == 0.8) { outBoardPrice = arrOptionList[539]; } else if (boardThicknes == 1.0) { outBoardPrice = arrOptionList[540]; } else if (boardThicknes == 1.2) { outBoardPrice = arrOptionList[541]; } else if (boardThicknes == 1.6) { outBoardPrice = arrOptionList[542]; } else if (boardThicknes == 1.8) { outBoardPrice = arrOptionList[543]; } else if (boardThicknes == 2.0) { outBoardPrice = arrOptionList[544]; } else if (boardThicknes == 2.4) { outBoardPrice = arrOptionList[545]; } else if (boardThicknes == 2.6) { outBoardPrice = arrOptionList[546]; } else if (boardThicknes == 3.0) { outBoardPrice = arrOptionList[547]; } } } return outBoardPrice; } //打开上传框,检测是否已登录 function uploadPcb_Onclick() { $.ajax({ type: 'POST', url: 'tools/registered.ashx', data: 'param=IsLogin', timeout: 30000, dataType: 'text', error: function () { //$.messager.alert('温馨提示', '系统繁忙,请稍候后试!', 'error'); }, success: function (outmsg) { if (outmsg != "您暂未登录,请登录后继续下单操作") { layer.open({ type: 1, skin: 'layui-layer-demo', //样式类名 area: ['500px', '250px'], title: ['文件上传', 'background:#009688;color:#fff'], closeBtn: 1, //不显示关闭按钮 anim: 2, shadeClose: false, //开启遮罩关闭 content: $('#divUpFile') }); //$('#divUpFile').dialog('open'); //$('#divUpFile').dialog('move', { // top: 450 //}); } else { layer.open({ title: '温馨提示', type: 0, btn: ["确定", "取消"], content: outmsg, icon: 0, success: function () {//弹出层弹出后回调 }, btn1: function () { top.location.href = "/login.html"; }, btn2: function () { } }); } } }); } //提交 function btnOK() { //layer.confirm("是否需要SMT!", { title: "温馨提示", icon: 0, btn: ['需要', '不需要'], }, // function (index) { // if (index) { // layer.open({ // type: 2, // skin: 'layui-layer-demo', //样式类名 // area: ['80%', '80%'], // title: ['SMT计价', 'background:#009688;color:#fff'], // closeBtn: 1, //不显示关闭按钮 // anim: 2, // shadeClose: false, //开启遮罩关闭 // content: "pcba_quote.aspx?AddSmt=1", // }); // } // }, // function (index) { // if (index) { $("#btnSubmitOK").attr("disabled", "disabled"); var fileIdAndName = $("#hFileUpload").val(); var width = $("#banzichicunlength").text();//板子尺寸长 var length = $("#banzichicunwidth").text();//板子尺寸宽 var num = $("#banzishuliang").text();//板子数量 var cailiao = "FR-4";//板材 var area = $("#banzimianji").text();//板子面积 var copperThickness = $("#copperThickness").text();//铜箔厚度 var layers = $("#selectLayers").text();//板子层数 var solderColor = $("#selectSolderColor").text();//阻焊颜色 var boardThickness = $("#banzihoudu").text();//板子厚度 var fontColor = $("#SolderCoating").text();//字符颜色 var testType = $("#Measurement").text();//测试方式 var platingType = $("#CharacterColor").text();//焊盘喷镀 var bill = $("#fapiao").text();//发票 var zhfg = $("#ResistanceWeldingCover").text();//阻焊覆盖 var Jhsj = $("#fahuofangshi").text();//发货时间 var pingBan = $("#spanPingBan").val();//拼版款数 var expressType = SingGooJS.GetSelectText("selExpressType"); var expressName = SingGooJS.GetSelectText("selExpressName"); var payType = SingGooJS.GetSelectValue("selPayType"); var txtNote = $("#txtNote").val();//备注 var txtAddress = $("#txtAddress").val(); //收货地址 var bitzil = $("#selectprogaoz").val(); var lineweight = $("#selectLineWeight").val(); //线宽线距 var visa = $("#selectVias").val(); //孔径孔数 var totalNet = $("#spanTotal_Net").text(); //网络支付总价 var total = $("#spanTotal_Net").text(); //网络支付总价 var zq_total = $("#Zq_Pay_Total").val(); //代金券抵消的费用 var lastDate = $("#spanLastDate").text(); //交货日期 var jhsj = $("#radDeliveryType").val(); //交货时间 如 正常样板(3-4)天 var baoZhuang = $("#selectBaoZhuang").val();// $('input[name="hidBaoZhuang"]:checked').val(); //包装 1有公司商标 2无公司商标 var pingBanType = $("#pinbanyaoqiu").text(); // 拼板方式 if (pingBanType == "自由拼板") { pingBanType = $("#spanPingBan").val(); } //价格 var totalPrice = $("#spanTotal_Net").text(); var totalPriceNet = $("#spanTotal_Net").text(); var price1 = $("#pfprice").text();//A套餐板费 var priceNet1 = $("#pfprice").text();//B套餐板费 var price2 = 0; var priceNet2 = 0; var price3 = $("#span5_Net").text();//A套餐工程费 var priceNet3 = $("#span5_Net").text();//B套餐工程费用 var price4 = $("#feilinfei").text();//A套餐菲林费 var priceNet4 = $("#feilinfei").text();//B套餐菲林费 var price5 = $("#span6_Net").text();//A套餐税费 var priceNet5 = $("#span6_Net").text();//B套餐税费 var price6 = $("#otherPrice6").text();//A套餐喷镀费 var priceNet6 = $("#otherPrice6").text();//B套餐喷镀费 var price7 = $("#ceshifei").text();//A套餐测试费 var priceNet7 = $("#ceshifei").text();//B套餐测试费 var price8 = $("#jiajiprice").text();//A套餐加急费 var priceNet8 = $("#jiajiprice").text();//B套餐加急费 var price9 = $("#yansefei").text();//A套餐颜色费 var priceNet9 = $("#yansefei").text();//B套餐颜色费 var price10 = $("#otherPrice21").text();//A套餐铜厚费 var priceNet10 = $("#otherPrice21").text();//B套餐铜厚费 var price22 = $("#smkongj").text();//A套餐工艺费 var priceNet22 = $("#smkongj").text();//B套餐工艺费 //确认资料价格 var zlprice = $("#spanzl").text(); var zlnetprice = $("#spanzl_Net").text(); var price11 = $("#Hidden11").val(); //快递费 var usedScore = $("#iUsedBeans").val(); //使用了多少积分 var totalPriceNetB = $("#spanTotal_Net_B").text(); //网络支付50%,总价 //钢网内容 var guige = $("#spanGwGuig").text();//规格 var youxiaomianj = $("#spanGwArea").text();//有效面积 var shuliang = $("#spanGwNum").text();//数量 var Mark = $("#spanMark").text();//mark要求 var yongtu = $("#spanGwYongtu").text();//钢网用途 var pggyi = $("#spanGwpggy").text();//抛光工艺 var pggyifei = $("#spanpggyfei").text();//抛光费 var gcchuliyaoq = $("#spangcyq").text();//工程处理要求 var beizhu = $("#spanGwTxtNote").text();//备注 var Aprice = $("#spangw").text();//a套餐 var Bkuaididais = $("#span1_Gw_B").text();//B快递代收费 var wangluofei = $("#span1_Gw_C").text();//C网络支付 //1:pcb订单 2:pcb和钢网订单 3:pcb和SMT订单 var gangwang = $("#selectgangwang").val(); //获取一元订单数量 if (totalNet < 10) { $.ajax({ type: 'POST', url: 'tools/registered.ashx', data: 'param=isyynums', timeout: 30000, dataType: 'text', error: function () { //$.messager.alert('温馨提示', '系统繁忙,请稍候后试!', 'error'); }, success: function (outmsg) { if (outmsg >= 3) { alert("该特价板每客户每日只可成交三笔,请明日再来!"); return false; } } }); } var NumsPcs = num; if (pingBanType != "(pcs)单片出货") { NumsPcs = eval(pingBanType) * num } //alert("测试"); debugger $.ajax({ type: 'POST', url: 'tools/registered.ashx', data: 'param=AddOrder&fileIdAndName=' + fileIdAndName + "&totalNet=" + totalNet + "&total=" + total + "&zq_total=" + zq_total + "&numpcs=" + NumsPcs + "&lastDate=" + lastDate + "&jhsjType=" + jhsj + "&width=" + width + "&length=" + length + "&num=" + num + "&cailiao=" + cailiao + "&area=" + area + "&copperThickness=" + copperThickness + "&layers=" + layers + "&solderColor=" + solderColor + "&boardThickness=" + boardThickness + "&fontColor=" + fontColor + "&testType=" + testType + "&platingType=" + platingType + "&bill=" + bill + "&zhfg=" + zhfg + "&Jhsj=" + Jhsj + "&pingBan=" + pingBan + "&expressType=" + expressType + "&expressName=" + expressName + "&payType=" + payType + "&txtNote=" + escape(txtNote) + "&txtAddress=" + escape(txtAddress) + "&lineweight=" + lineweight + "&visa=" + visa + lineweight + "&baoZhuang=" + baoZhuang + "&pintype=" + pingBanType + "&totalPrice=" + Math.round(totalPrice * 100) / 100 + "&totalPriceNet=" + Math.round(totalPriceNet * 100) / 100 + "&price1=" + price1 + "&priceNet1=" + priceNet1 + "&price2=" + price2 + "&priceNet2=" + priceNet2 + "&price3=" + price3 + "&priceNet3=" + priceNet3 + "&price4=" + price4 + "&priceNet4=" + priceNet4 + "&price5=" + price5 + "&priceNet5=" + priceNet5 + "&price6=" + price6 + "&priceNet6=" + priceNet6 + "&price7=" + price7 + "&priceNet7=" + priceNet7 + "&price8=" + price8 + "&priceNet8=" + priceNet8 + "&price9=" + price9 + "&priceNet9=" + priceNet9 + "&price10=" + price10 + "&priceNet10=" + priceNet10 + "&price22=" + price22 + "&priceNet22=" + priceNet22 + "&zlprice=" + zlprice + "&zlnetprice=" + zlnetprice + "&price11=" + price11 + "&usedScore=" + usedScore + "&bitzil=" + bitzil + "&totalPriceNetB=" + Math.round(totalPriceNetB * 100) / 100 + "&IsGo=0", timeout: 30000, dataType: 'text', error: function () { //$.messager.alert('温馨提示', '系统繁忙,请稍候后试!', 'error'); }, success: function (outmsg) { if (parseInt(outmsg) > 0) { if (gangwang == 3) { var smt_width = $("#smt_width").text(); var smt_length = $("#smt_length").text(); var smt_pcsnum = $("#smt_pcsnum").text(); var smt_wlnum = $("#smt_wlnum").text(); var smt_hhdiannums = $("#smt_hhdiannums").text(); var smt_yjnum = $("#smt_yjnum").text(); var smt_ICnums = $("#smt_ICnums").text(); var smt_gongyi = $("#smt_gongyi").text(); var smt_zhiju = $("#smt_zhiju").text(); var zhouqi = $("#zhouqi").val(); var smt_gwdk = $("#smt_gwdk").text(); var smt_gwth = $("#smt_gwth").text(); var smt_dsgy = $("#smt_dsgy").text(); var smt_fb = $("#smt_fb").text(); var smt_wlyj = $("#smt_wlyj").text(); var smt_note = $("#smt_note").text(); var lianxuser = $("#lianxuser").val(); var lianxtel = $("#lianxtel").val(); var shouhuodz = $("#txtAddresss").val(); var wlprice = $('#smt_wlprice').text();//物料费用 var tpprice = $('#smt_yjprice').text();//贴片费用 var hhprice = $('#smt_hhprice').text();//后焊费用 var gyprice = $('#smt_fbprice').text();//工艺费用 var gwprice = $('#smt_gwprice').text();//钢网费用 var allprice = $('#smt_zongprice').text();//总费用 $.ajax({ type: 'POST', url: 'admin/ajax/PCBAOrdersData.ashx?param=add_pcbaorder', data: "pcsnums=" + escape(smt_pcsnum) + "&pcblength=" + escape(smt_length) + "&pcbwidth=" + escape(smt_width) + "&wlnums=" + escape(smt_wlnum) + "&tpnums=" + escape(smt_yjnum) + "&ICnum=" + escape(smt_ICnums) + "&wldg=" + escape(smt_fb) + "&gwdk=" + escape(smt_gwdk) + "&gwth=" + escape(smt_gwth) + "&dsmian=" + escape(smt_dsgy) + "&wultig=" + escape(smt_wlyj) + "&lianxuser=" + escape(lianxuser) + "&lianxtel=" + escape(lianxtel) + "&shouhuodz=" + escape(shouhuodz) + "&beiznote=" + escape(smt_note) + "&wlprice=" + escape(wlprice) + "&tpprice=" + escape(tpprice) + "&hhprice=" + escape(hhprice) + "&gyprice=" + escape(gyprice) + "&gwprice=" + escape(gwprice) + "&allprice=" + escape(allprice) + "&hhdiannums=" + escape(smt_hhdiannums) + "&datenum=" + escape(zhouqi) + "&gongyi=" + escape(smt_gongyi) + "&zhiju=" + escape(smt_zhiju), timeout: 30000, //dataType: 'json', error: function () { }, success: function (outmsg) { if (outmsg == "下单成功") { alert("恭喜您,下单成功!"); top.location.href = "/client/order_smt.aspx"; } else { alert(outmsg); } } }); } else { alert("恭喜您,下单成功!"); top.location.href = "/client/order.aspx"; } } else { $("#btnSubmitOK").removeAttr("disabled"); alert(outmsg); } } }); // } // } //); }