|
@@ -1261,7 +1261,9 @@ $("select[name='warehouse']").change(function() {
|
|
|
zttj(f);
|
|
|
}
|
|
|
**/
|
|
|
- zttj(f);
|
|
|
+ //zttj(f);
|
|
|
+ //根据实际需求先将 执行判断 后期提交 其实可以直接写再这里 但是这个方法 太长了 所以另开一个方法写
|
|
|
+ checkOrderShowNotice(f);
|
|
|
}
|
|
|
});
|
|
|
function zttj(f){
|
|
@@ -1858,4 +1860,42 @@ $("li .return").html(a.data);
|
|
|
});
|
|
|
layx.destroy(id);
|
|
|
},{shadable:0.6,dialogIcon:'help'});
|
|
|
- });
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * 提交订单的提示信息
|
|
|
+ */
|
|
|
+
|
|
|
+function checkOrderShowNotice(f) {
|
|
|
+ let country = $("select[name=country]").find("option:selected").val()
|
|
|
+ let express = $("select[name='express']").find("option:selected").val();
|
|
|
+ let servioce_js = $("select[name='js']").find("option:selected").val();
|
|
|
+ // alert(country+"-"+express+"-"+servioce_js)
|
|
|
+ //美国 dhl官方 如果没有选择发件方付税 会提醒
|
|
|
+ if(country == '192' && express == '1' && servioce_js!= '6'){
|
|
|
+ layx.confirm('提示',"请确认是否需要从发件方付税!",null,{
|
|
|
+ buttons:[
|
|
|
+ {
|
|
|
+ label:'确定',
|
|
|
+ callback:function(id, button, event){
|
|
|
+
|
|
|
+ zztj(f)
|
|
|
+ layx.destroy(id);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label:'取消',
|
|
|
+ callback:function(id, button, event){
|
|
|
+
|
|
|
+ layx.destroy(id);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],dialogIcon:'help',shadable:0.6
|
|
|
+ });
|
|
|
+
|
|
|
+ }else{
|
|
|
+ zttj(f);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|