瀏覽代碼

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

chensibo 1 周之前
父節點
當前提交
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;