zhongtianhaoyuan vor 2 Jahren
Ursprung
Commit
7c859f8a13
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      public/static/warehousePrint.html

+ 3 - 1
public/static/warehousePrint.html

@@ -179,7 +179,7 @@
   <body>
   <body>
     <div id="app">
     <div id="app">
       <div class="center">
       <div class="center">
-        <div class="title">黑龙江中天昊元贸易有限公司<span v-if="type == '2'">出</span><span v-if="type == '3'">入</span>库单</div>
+        <div class="title">{{company?company:"黑龙江中天昊元贸易有限公司"}}<span v-if="type == '2'">出</span><span v-if="type == '3'">入</span>库单</div>
         <div class='title12'>
         <div class='title12'>
           <span>仓库名:</span>
           <span>仓库名:</span>
           <span>{{warehouseName}}</span>
           <span>{{warehouseName}}</span>
@@ -265,6 +265,7 @@
         binNoShow: "",
         binNoShow: "",
         startDate: "",
         startDate: "",
         endDate: "",
         endDate: "",
+        company:""
       },
       },
       computed: {},
       computed: {},
       methods: {
       methods: {
@@ -297,6 +298,7 @@
         printBig() {}
         printBig() {}
       },
       },
       mounted() {
       mounted() {
+        this.company = localStorage.getItem("ws-pf_compName")
         this.date = new Date().toLocaleString()
         this.date = new Date().toLocaleString()
         this.type = decodeURIComponent(this.getQueryVariable('type'))
         this.type = decodeURIComponent(this.getQueryVariable('type'))
         this.warehouseName = decodeURIComponent(this.getQueryVariable('warehouseName'))
         this.warehouseName = decodeURIComponent(this.getQueryVariable('warehouseName'))