|
@@ -378,10 +378,12 @@ $(".dccrtype").click(function() {
|
|
|
let url = "/whlabel/"+$("select[name=dccz]").find("option:selected").data("url")+"js?excel="+$("select[name=dccz]").find("option:selected").val()+"&"+f;
|
|
let url = "/whlabel/"+$("select[name=dccz]").find("option:selected").data("url")+"js?excel="+$("select[name=dccz]").find("option:selected").val()+"&"+f;
|
|
|
$("select[name=dccz] option:eq(0)").prop('selected','selected');
|
|
$("select[name=dccz] option:eq(0)").prop('selected','selected');
|
|
|
$.get(url,{},function(res){
|
|
$.get(url,{},function(res){
|
|
|
|
|
+ layx.destroy('loadId');
|
|
|
if(res.code == 1){
|
|
if(res.code == 1){
|
|
|
importRukuData(res.data,res.title)
|
|
importRukuData(res.data,res.title)
|
|
|
}else{
|
|
}else{
|
|
|
-
|
|
|
|
|
|
|
+ layx.alert('错误',res.msg,function(id,button){
|
|
|
|
|
+ },{dialogIcon:'error'});
|
|
|
}
|
|
}
|
|
|
},'json')
|
|
},'json')
|
|
|
|
|
|