浏览代码

Merge branch 'master' of http://git.zthymaoyi.com:3000/gdc/yiliangyiyun-pc

gjy 3 年之前
父节点
当前提交
696a9b1148

+ 1 - 1
public/static/weightCheck.html

@@ -440,7 +440,7 @@
           console.log(this.tableData)
           console.log(this.tableData)
         }
         }
         // sessionStorage.setItem('record_print', JSON.stringify(response))
         // sessionStorage.setItem('record_print', JSON.stringify(response))
-        this.tableData = JSON.parse(sessionStorage.getItem("record_print"))
+        // this.tableData = JSON.parse(sessionStorage.getItem("record_print"))
 
 
         document.title = "粮食检斤单"
         document.title = "粮食检斤单"
         window.print()
         window.print()

+ 3 - 1
src/views/home/index.vue

@@ -360,7 +360,9 @@
       //    }, 2000);
       //    }, 2000);
       //获取新闻列表
       //获取新闻列表
       // this.getNewList()
       // this.getNewList()
-      gChartsData().toPromise().then(res => {
+      gChartsData({
+        compId:localStorage.getItem('ws-pf_compId')
+      }).toPromise().then(res => {
         console.log(res)
         console.log(res)
         this.chartsData = res
         this.chartsData = res
         this.carCount1 = res[6].biViewInfoList[0].count
         this.carCount1 = res[6].biViewInfoList[0].count

+ 1 - 1
src/views/houseSelfCollect/weightCheck.vue

@@ -499,7 +499,7 @@
                 }
                 }
               }
               }
             }
             }
-            else if (this.warehouseName && (this.warehouseName == '顺粮库'||this.warehouseName == '鲅鱼圈金信库')) {
+            else if (this.warehouseName && (this.warehouseName == '顺粮库'||this.warehouseName == '鲅鱼圈金信库')) {
               for (var i = value.length - 1; i >= 0; i--) {
               for (var i = value.length - 1; i >= 0; i--) {
                 var tmp = String.fromCharCode(value[i])
                 var tmp = String.fromCharCode(value[i])
                 console.log(tmp)
                 console.log(tmp)

+ 1 - 1
src/views/outboundManagement/weighing.vue

@@ -233,7 +233,7 @@
 						}
 						}
 					}
 					}
 				}
 				}
-				else if (this.warehouseName && (this.warehouseName == '顺粮库'||this.warehouseName == '鲅鱼圈金信库')) {
+				else if (this.warehouseName && (this.warehouseName == '顺粮库'||this.warehouseName == '鲅鱼圈金信库')) {
 					for (var i = value.length - 1; i >= 0; i--) {
 					for (var i = value.length - 1; i >= 0; i--) {
 						var tmp = String.fromCharCode(value[i])
 						var tmp = String.fromCharCode(value[i])
 						console.log(tmp)
 						console.log(tmp)

+ 1 - 1
src/views/warehouse/warehouseManagementNoWeightIn.vue

@@ -524,7 +524,7 @@
                 this.dataList.tare = parseInt(result)
                 this.dataList.tare = parseInt(result)
               }
               }
             }
             }
-            else if (this.deptBudgetList1.warehouseName && (this.deptBudgetList1.warehouseName == '顺粮库'||this.deptBudgetList1.warehouseName == '鲅鱼圈金信库')) {
+            else if (this.deptBudgetList1.warehouseName && (this.deptBudgetList1.warehouseName == '顺粮库'||this.deptBudgetList1.warehouseName == '鲅鱼圈金信库')) {
               for (var i = value.length - 1; i >= 0; i--) {
               for (var i = value.length - 1; i >= 0; i--) {
                 var tmp = String.fromCharCode(value[i])
                 var tmp = String.fromCharCode(value[i])
                 console.log(tmp)
                 console.log(tmp)

+ 1 - 1
src/views/warehouse/warehouseManagementNoWeightOut.vue

@@ -460,7 +460,7 @@
                 this.dataList.grossWeight = parseInt(result)
                 this.dataList.grossWeight = parseInt(result)
               }
               }
             }
             }
-            else if (this.deptBudgetList1.warehouseName && (this.deptBudgetList1.warehouseName == '顺粮库'||this.deptBudgetList1.warehouseName == '鲅鱼圈金信库')) {
+            else if (this.deptBudgetList1.warehouseName && (this.deptBudgetList1.warehouseName == '顺粮库'||this.deptBudgetList1.warehouseName == '鲅鱼圈金信库')) {
               for (var i = value.length - 1; i >= 0; i--) {
               for (var i = value.length - 1; i >= 0; i--) {
                 var tmp = String.fromCharCode(value[i])
                 var tmp = String.fromCharCode(value[i])
                 console.log(tmp)
                 console.log(tmp)

+ 1 - 1
src/views/warehouse/warehouseManagementTare.vue

@@ -446,7 +446,7 @@
                 }
                 }
               }
               }
             }
             }
-            else if (this.deptBudgetList.warehouseName && (this.deptBudgetList.warehouseName == '顺粮库'||this.deptBudgetList.warehouseName == '鲅鱼圈金信库')) {
+            else if (this.deptBudgetList.warehouseName && (this.deptBudgetList.warehouseName == '顺粮库'||this.deptBudgetList.warehouseName == '鲅鱼圈金信库')) {
               for (var i = value.length - 1; i >= 0; i--) {
               for (var i = value.length - 1; i >= 0; i--) {
                 var tmp = String.fromCharCode(value[i])
                 var tmp = String.fromCharCode(value[i])
                 console.log(tmp)
                 console.log(tmp)