|
|
@ -283,6 +283,7 @@ |
|
|
|
v-model="form.beginHostSN" |
|
|
|
placeholder="" |
|
|
|
clearable |
|
|
|
:disabled="true" |
|
|
|
size="small" |
|
|
|
style="width: 240px" |
|
|
|
/> |
|
|
@ -445,6 +446,7 @@ export default { |
|
|
|
list: null, |
|
|
|
totalCount: 0, |
|
|
|
listLoading: true, |
|
|
|
listLoaddingPrint: true, |
|
|
|
customerInfo: { |
|
|
|
bomId: "", |
|
|
|
}, |
|
|
@ -1124,6 +1126,7 @@ export default { |
|
|
|
}, |
|
|
|
/**保存*/ |
|
|
|
save() { |
|
|
|
//this.listLoaddingPrint = true; |
|
|
|
if (this.isShowHostSN === true) { |
|
|
|
if (this.form.beginHostSN === "" || this.form.endHostSN === "") { |
|
|
|
this.$message({ |
|
|
@ -1233,14 +1236,19 @@ export default { |
|
|
|
.then((response) => { |
|
|
|
console.log("获取文件base64编码"); |
|
|
|
console.log(response); |
|
|
|
this.formLoading = false; |
|
|
|
this.printpdf(response); //打印我文件流 |
|
|
|
|
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
this.formLoading = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(() => {}); |
|
|
|
} //无断号 |
|
|
|
else { |
|
|
|
} |
|
|
|
else {//无断号 |
|
|
|
//门板 |
|
|
|
//传递大众顺序号起止 |
|
|
|
this.$axios |
|
|
@ -1272,7 +1280,12 @@ export default { |
|
|
|
.then((response) => { |
|
|
|
console.log("获取文件base64编码"); |
|
|
|
console.log(response); |
|
|
|
this.formLoading = false; |
|
|
|
this.printpdf(response); //打印我文件流 |
|
|
|
|
|
|
|
}) |
|
|
|
.catch((error) => { |
|
|
|
this.formLoading = false; |
|
|
|
}); |
|
|
|
} |
|
|
|
}) |
|
|
|