|
|
@@ -590,7 +590,7 @@
|
|
|
</li>
|
|
|
|
|
|
|
|
|
-{if in_array($fullordertt['express'],[85])}
|
|
|
+{if in_array($fullordertt['express'],[85,87])}
|
|
|
<li class="length">
|
|
|
<em>快递承运商:</em>
|
|
|
<select name="ttsp_xz" class="select class">
|
|
|
@@ -793,7 +793,7 @@ $(".yzxx").click(function() {
|
|
|
}
|
|
|
}else if([35,38].includes(shop)){
|
|
|
let express = $("select[name='express']").find("option:selected").val();
|
|
|
- if(express != 85){
|
|
|
+ if(express != 85 && express != 87){
|
|
|
layx.confirm('提示','确定shipping发货模式店铺不走shipping吗?',null,{
|
|
|
buttons:[
|
|
|
{
|
|
|
@@ -1044,6 +1044,16 @@ $("input[name=refundy]").bind("input propertychange",function(event){
|
|
|
$(".refund").hide();
|
|
|
}
|
|
|
});
|
|
|
+$("select[name=ttsp_xz]").on('change',function(){
|
|
|
+ let text = $(this).find("option:selected").text();
|
|
|
+ text = text.toLowerCase();
|
|
|
+ if(text.includes("usps")){
|
|
|
+ $("select[name=express]").val(85).trigger('change')
|
|
|
+ }
|
|
|
+ if(text.includes("fedex")){
|
|
|
+ $("select[name=express]").val(87).trigger('change')
|
|
|
+ }
|
|
|
+})
|
|
|
//监听input结束
|
|
|
layx.tip('订单物流类型:{$fullordertt["shippingmethod"]}',document.getElementById('method'),'bottom');
|
|
|
$("#klarnadata").click(function() {
|