|
|
@@ -696,8 +696,8 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
console.log(this.currentRows);
|
|
|
- const { id } = this.currentRows[0];
|
|
|
- const src = `${this.baseUrl}/jmreport/view/${this.reportId}?token=${this.tokens}&id=${id}`;
|
|
|
+ const { id, locationCode } = this.currentRows[0];
|
|
|
+ const src = `${this.baseUrl}/jmreport/view/${this.reportId}?token=${this.tokens}&id=${id}&code=${locationCode}`;
|
|
|
this.$refs.issuePrint.title = "单据打印";
|
|
|
this.$refs.issuePrint.dialogVisible = true;
|
|
|
this.$refs.issuePrint.src = src;
|