| | |
| | | TCarInfoDlg.oneChange9 = function (e) { |
| | | console.log(111) |
| | | var oneId=$(e).val(); |
| | | var elementById = document.getElementById("pt"); |
| | | |
| | | var operatorId; |
| | | if (elementById !== null) { |
| | | console.log(elementById) |
| | | operatorId = $("#account").val() |
| | | if (elementById.checked){ |
| | | operatorId = 0 |
| | | }else{ |
| | | operatorId = $("#account").val() |
| | | } |
| | | } |
| | | |
| | | |
| | | var ajax = new $ax(Feng.ctxPath + "/tShop/getCityYys", function(data){ |
| | | if(data!=null){ |
| | | if(language==1){ |
| | |
| | | } |
| | | }); |
| | | ajax.set("province",oneId); |
| | | ajax.set("operatorId",operatorId); |
| | | ajax.start(); |
| | | }; |
| | | TCarInfoDlg.oneChangeNext9 = function (e) { |
| | |
| | | if(!this.validate()){ |
| | | return ; |
| | | } |
| | | |
| | | |
| | | |
| | | var pCode = $("#pCode").val(); |
| | | if(pCode==""){ |
| | | Feng.info("请选择省"); |
| | |
| | | |
| | | console.log("===========oneId=========="+oneId) |
| | | var SelectValue=""; |
| | | if(SelectValue=='0' ){ |
| | | if(oneId=='0' ){ |
| | | oneId=0 |
| | | console.log("隐藏") |
| | | $("#yys1").hide(); |
| | | $("#account").hide(); |
| | | }else{ |
| | | console.log("展示") |
| | | $("#yys1").show(); |
| | | $("#account").show(); |
| | | } |
| | | // var ajax = new $ax(Feng.ctxPath + "/tSite/getChangeOne", function(data){ |
| | | // if(data!=null){ |
| | |
| | | }; |
| | | |
| | | |
| | | |
| | | TCarInfoDlg.oneChange3 = function (e) { |
| | | var operatorId=$(e).val(); |
| | | var ajax = new $ax(Feng.ctxPath + "/tShop/getProvinceYys", function(data){ |
| | | if(data!=null){ |
| | | var content='<option value="">选择市</option>'; |
| | | $.each(data, function(k,v) { |
| | | content += "<option value='"+v.code+"'>"+v.name+"</option>"; |
| | | }); |
| | | $("#pCode").empty().append(content); |
| | | } |
| | | }); |
| | | ajax.set("operatorId",operatorId); |
| | | ajax.start(); |
| | | }; |
| | | TCarInfoDlg.oneChange1 = function (e) { |
| | | console.log(111) |
| | | var oneId=$(e).val(); |