|
@@ -597,6 +597,7 @@ $("#currency").change(function(){
|
|
$("select[name=productdescription]").html("");
|
|
$("select[name=productdescription]").html("");
|
|
$("input[name=customs]").val("0");
|
|
$("input[name=customs]").val("0");
|
|
//express() 暂时固定运费为20USD 不在查找设置价格
|
|
//express() 暂时固定运费为20USD 不在查找设置价格
|
|
|
|
+ dhl_r_tax_id();
|
|
printtype();
|
|
printtype();
|
|
});
|
|
});
|
|
$("select[name='express']").change(function() {
|
|
$("select[name='express']").change(function() {
|
|
@@ -627,6 +628,7 @@ $("#currency").change(function(){
|
|
$("select[name=productdescription]").html("");
|
|
$("select[name=productdescription]").html("");
|
|
$("input[name=customs]").val("0");
|
|
$("input[name=customs]").val("0");
|
|
eqm($(this).find("option:selected").val());
|
|
eqm($(this).find("option:selected").val());
|
|
|
|
+ dhl_r_tax_id()
|
|
//express() 暂时固定运费为20USD 不在查找设置价格
|
|
//express() 暂时固定运费为20USD 不在查找设置价格
|
|
//printtype();暂时不用
|
|
//printtype();暂时不用
|
|
var type = $(this).find("option:selected").data("type");
|
|
var type = $(this).find("option:selected").data("type");
|
|
@@ -697,7 +699,24 @@ $("#currency").change(function(){
|
|
'<option selected="selected" value="4">FICP</option><option value="3" hidden>IP</option>'
|
|
'<option selected="selected" value="4">FICP</option><option value="3" hidden>IP</option>'
|
|
);
|
|
);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ //dhl 是 巴西或者墨西哥的时候需要怼收件人税号
|
|
|
|
+ function dhl_r_tax_id(){
|
|
|
|
+ let express_id = $("select[name='express']").val();
|
|
|
|
+ let country = $("select[name='country']").val();
|
|
|
|
+ if((country == 119)){
|
|
|
|
+ if(express_id == 1){
|
|
|
|
+ $(".r_tax_id").removeClass('none')
|
|
|
|
+ }else{
|
|
|
|
+ $(".r_tax_id").addClass('none')
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ $(".r_tax_id").addClass('none')
|
|
|
|
+
|
|
|
|
+ }
|
|
}
|
|
}
|
|
$("select[name='printtype']").change(function() {
|
|
$("select[name='printtype']").change(function() {
|
|
$("select[name=productdescription]").html("");
|
|
$("select[name=productdescription]").html("");
|