|
|
@@ -1226,17 +1226,19 @@
|
|
|
"sign_type":1,
|
|
|
},
|
|
|
success: function (result) {
|
|
|
- //console.log(result);
|
|
|
- large = result.largrlabel;//大标签列表
|
|
|
- small = result.smalllabel;//小标签列表
|
|
|
- var newlabel_type1 = $('#newlabel_type1').val();
|
|
|
-
|
|
|
- if (newlabel_type1 == 'v010') {
|
|
|
- //打印盒包装纸(100*150)大件
|
|
|
- small_v010_print(result,reFormData.printType1,idList.toString(),reptQty,1);
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
+ if(result.code==0){
|
|
|
+ large = result.largrlabel;//大标签列表
|
|
|
+ small = result.smalllabel;//小标签列表
|
|
|
+ var newlabel_type1 = $('#newlabel_type1').val();
|
|
|
+
|
|
|
+ if (newlabel_type1 == 'v010') {
|
|
|
+ //打印盒包装纸(100*150)大件
|
|
|
+ small_v010_print(result,reFormData.printType1,idList.toString(),reptQty,1);
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ $.messager.alert('系统提示', result.msg, 'error');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
},
|
|
|
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
|
|
$.messager.alert('系统提示', '数据加载错误,请刷新重试!', 'error');
|