Преглед изворни кода

Merge branch 'dev' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend-wms into dev

yusheng пре 5 месеци
родитељ
комит
c66cf0db89

+ 10 - 1
src/views/warehouseManagement/components/AssetsDialog.vue

@@ -553,9 +553,18 @@
           } else {
             finalValue = singleDotValue;
           }
-          return (row.outboundNum = finalValue);
+          row.outboundNum = finalValue;
+          const currentIndex = this.selectionList.findIndex(item => item.id === row.id)
+          if(currentIndex > -1) {
+            this.$set(this.selectionList, currentIndex, row);
+          }
+          return
         } else {
           row.outboundNum = row.measureQuantity;
+          const currentIndex = this.selectionList.findIndex(item => item.id === row.id)
+          if(currentIndex > -1) {
+            this.$set(this.selectionList, currentIndex, row);
+          }
         }
       },
 

+ 6 - 0
src/views/warehouseManagement/outgoingManagement/index.vue

@@ -311,6 +311,12 @@
   // import { deepClone } from '@/utils'
   export default {
     components: { outboundOrderPrint, print, print1, print2, print3, print4 },
+    computed: {
+      // 是否开启响应式布局
+      styleResponsive() {
+        return this.$store.state.theme.styleResponsive;
+      }
+    },
     data() {
       return {
         currentId: '',