|
@@ -612,10 +612,13 @@ $("#currency").change(function(){
|
|
|
//printtype();暂时不用
|
|
|
//快递变动引发申报品名变动
|
|
|
let tmp_sbpm = $("select[name=express]").find("option:selected").data('sbpm');
|
|
|
- if(tmp_sbpm.length > 0){
|
|
|
- $("select[name=sbpm]").val(tmp_sbpm).trigger('change')
|
|
|
+ if(tmp_sbpm){
|
|
|
+ if(tmp_sbpm.length > 0){
|
|
|
+ $("select[name=sbpm]").val(tmp_sbpm).trigger('change')
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+
|
|
|
|
|
|
var type = $(this).find("option:selected").data("type");
|
|
|
$("select[name=printtype]").find("option[value='"+type+"']").prop("selected","selected");
|