|
|
|
@ -172,6 +172,11 @@ |
|
|
|
checkCustomerID, |
|
|
|
getSupplierDetail, |
|
|
|
} from "@/api/base/site.js" |
|
|
|
/*打印数据*/ |
|
|
|
import { |
|
|
|
printMaterialLabel, |
|
|
|
} from "@/views/modules/yieldReport/print_roll_label.js" |
|
|
|
|
|
|
|
import { |
|
|
|
searchSAPPurchaseOrder, |
|
|
|
searchCRollInfoDetail, |
|
|
|
@ -925,7 +930,12 @@ |
|
|
|
}) |
|
|
|
this.$message.success('操作成功') |
|
|
|
//打印材料卷标签 |
|
|
|
|
|
|
|
let printList = data.obj; |
|
|
|
debugger; |
|
|
|
//调用打印的方法 |
|
|
|
for(let i = 0; i < printList.length; i++){ |
|
|
|
printMaterialLabel(printList[i]); |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
|