diff --git a/public/themes/simpleboot3/cart/zj_cart/order_confirm.html b/public/themes/simpleboot3/cart/zj_cart/order_confirm.html index f5fdda6..e675d3e 100644 --- a/public/themes/simpleboot3/cart/zj_cart/order_confirm.html +++ b/public/themes/simpleboot3/cart/zj_cart/order_confirm.html @@ -953,6 +953,7 @@ var code_id=""; var eidtid=""; var editdistrict=""; + var dis=""; $(".managerplace").on("click",".edit",function(){ window.event.stopPropagation(); @@ -994,8 +995,9 @@ phone=$("#phone").val(); place=$("#place").val(); editdistrict=$("#end").val(); - - + editdistrict=editdistrict.split(" "); + editdistrict=editdistrict[0]+editdistrict[1]+editdistrict[2]; + dis= editdistrict; localStorage.setItem("editname",name); localStorage.setItem("editphone",phone); @@ -1006,9 +1008,10 @@ code=code_id; }else{ code=$("#end").attr("data-codes"); + } //省市区 - label=$("#end").val(); + // label=$("#end").val(); var url = 'address/Place/editDo'; var params = { @@ -1016,7 +1019,7 @@ name:name, mobile:phone, code:code, - label:label, + label:dis, place:place, uid:'{$uid}' }; @@ -1113,7 +1116,6 @@ '</div>' + '</div>' + ' <div class="default_body">' + - '\n' + '<div class="default">' + ' <p class="iconfont icon-xuanzekuang xuan" ></p>' + '<p class="iconfont icon-xuanze-fangkuang" style="display:none"></p>' +