ccjgmwz vor 3 Jahren
Ursprung
Commit
ed2b9fdd9c

+ 2 - 0
src/components/balanceAlert.vue

@@ -77,6 +77,7 @@ export default {
         }
         // 监听来自串行设备的数据
         while (true) {
+          
           const { value, done } = await this.reader.read()
           // console.log('value',value);
           if (done) {
@@ -149,6 +150,7 @@ export default {
                 result += tmp
               }
             }
+            debugger
             if (this.information.indexOf('毛重') > -1) {
               if (parseInt(result) || parseInt(result) == 0) {
                 this.grossWeightVal = parseInt(result)

+ 3 - 0
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -476,6 +476,8 @@
             this.monitorUrl1 = this.warehouseList[0].monitorUrl1
             this.monitorUrl2 = this.warehouseList[0].monitorUrl2
           }
+          
+          this.deptBudgetList.warehouseName = this.warehouseName
           if (this.allowEdit == 0) {
             this.disabled = true
           } else if (this.allowEdit == 1) {
@@ -589,6 +591,7 @@
         this.getList()
       },
       setVal(data) {
+        debugger
         if (this.information == '毛重') {
           this.weighingList.grossWeight = data
         } else {