瀏覽代碼

bug 修复

lilei 3 年之前
父節點
當前提交
1bd6736f3e
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/views/numsGoodsShelves/replenishmentManagement/printView.vue

+ 4 - 2
src/views/numsGoodsShelves/replenishmentManagement/printView.vue

@@ -19,7 +19,7 @@
           {{ nowData.dealerName }}
         </div>
         <div style="overflow: hidden;">
-          <div style="padding-right: 3pt;float: left;">
+          <div style="padding-right: 3pt;float: left;width:80%;">
             <div class="shelfName" style="margin-bottom: 2pt;">
               {{ nowData.shelfInfo.shelfName }}
             </div>
@@ -88,7 +88,7 @@ export default {
       this.nowData.dealerName = dearInfo.orgName
       this.nowData.dealerSn = dearInfo.orgSn
       this.nowData.parintUser = dearInfo.userNameCN
-      console.log(this.$store.state.user.info)
+      console.log(this.list)
     }
   },
   watch: {
@@ -99,6 +99,8 @@ export default {
     //  重定义的弹框状态
     isShow (newValue, oldValue) {
       if (!newValue) {
+        this.nowData = null
+        this.list = []
         this.$emit('close')
       }
     }