|
@@ -245,6 +245,10 @@ function handlePrintCarrierCode() {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
printCarriers.value = res.data
|
|
printCarriers.value = res.data
|
|
nextTick(_ => {
|
|
nextTick(_ => {
|
|
|
|
+ if (printCarriers.value.length == 0) {
|
|
|
|
+ proxy.$modal.msgWarning('选中外协单无可打印箱码')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
const imageGroup = document.getElementById("image-group");
|
|
const imageGroup = document.getElementById("image-group");
|
|
printJS({
|
|
printJS({
|
|
printable: "image-group", // 这里是你要打印内容的DOM元素的id
|
|
printable: "image-group", // 这里是你要打印内容的DOM元素的id
|