소스 검색

货位管理打印货位信息时传入货位编码

chensibo 3 주 전
부모
커밋
7ce10ffa14
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/wms/base/components/StockLocation.vue

+ 2 - 2
src/views/wms/base/components/StockLocation.vue

@@ -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;