| | |
| | | </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"> |
| | |
| | | // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据 |
| | | 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) |
| | | }, |
| | | }, |
| | |
| | | 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; |