#
zjj
2024-04-17 e4dc67055ea0c21e72815054c044b56a76ec625e
pages/pakin/goodsDown.vue
@@ -33,9 +33,9 @@
                  </view>
               </view> -->
               <view class="list-left-item">
                  <view class="desc">料号:</view>
                  <view class="desc">编码:</view>
                  <view class="left-item">
                     <uni-tag :text="item.matnr" type="primary" style="width: 350rpx; overflow: auto;"></uni-tag>
                     <view class="left-item">{{item.matnr}}</view>
                  </view>
               </view>
               <view class="list-left-item">
@@ -255,6 +255,13 @@
                        // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据
                        events: {
                           matList: function(data) {
                              if(data.data.batch == "" || data.data.batch == null){
                                 const now = new Date();
                                 const year = now.getFullYear();
                                 const month = now.getMonth() + 1; // 月份从0开始,需要加1
                                 const day = now.getDate();
                                 data.data.batch = (""+year+month+day)
                              }
                              that.checkMat(data.data)
                           },
                        },
@@ -444,7 +451,7 @@
      box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.2);
   }
   .list:first-child {
      margin-top: 410rpx;
      margin-top:320rpx;
   }
   .list:last-child {
      margin-bottom: 120rpx;