Przeglądaj źródła

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

chensibo 1 tydzień temu
rodzic
commit
7ce10ffa14
1 zmienionych plików z 2 dodań i 2 usunięć
  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;