| | |
| | | <view class="loc-info"> |
| | | <text class="loc-no">{{item.locNo}}</text> |
| | | </view> |
| | | <view class="qty-badge"> |
| | | <!-- <view class="qty-badge"> |
| | | <text class="qty-text">{{item.anfme}}</text> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view class="card-body"> |
| | | <view class="info-row"> |
| | |
| | | <view class="info-col half"> |
| | | <text class="info-label">批号</text> |
| | | <text class="info-value batch">{{item.batch || '-'}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="info-row"> |
| | | <view class="info-col half"> |
| | | <text class="info-label">数量</text> |
| | | <text class="info-value qty">{{item.anfme}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | // 搜索物料 |
| | | findMat() { |
| | | let that = this; |
| | | let m = that.matnr.split(";"); |
| | | let matnr1 = m[0].slice(3); |
| | | setTimeout(() => { |
| | | that.matnr = matnr1; |
| | | }, 100); |
| | | // let m = that.matnr.split(";"); |
| | | // let matnr1 = m[0].slice(3); |
| | | // setTimeout(() => { |
| | | // that.matnr = matnr1; |
| | | // }, 100); |
| | | }, |
| | | search() { |
| | | let that = this; |
| | | that.loading = true; |
| | | uni.request({ |
| | | url: that.baseUrl + '/manLocDetl/list/auth', |
| | | url: that.baseUrl + '/locDetl/list/auth', |
| | | header: { 'token': uni.getStorageSync('token') }, |
| | | data: { |
| | | curr: 1, |
| | | limit: 100, |
| | | loc_no: that.locNo, |
| | | locNo: that.locNo, |
| | | matnr: that.matnr |
| | | }, |
| | | method: "GET", |
| | |
| | | } |
| | | |
| | | .count-badge { |
| | | background: linear-gradient(135deg, #F4C823 0%, #E6A817 100%); |
| | | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| | | border-radius: 16rpx; |
| | | padding: 2rpx 12rpx; |
| | | margin-left: 12rpx; |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | padding: 14rpx 16rpx; |
| | | background: linear-gradient(135deg, #F4C823 0%, #E6A817 100%); |
| | | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| | | } |
| | | |
| | | .card-index { |
| | |
| | | } |
| | | |
| | | .info-value.code { |
| | | color: #F4C823; |
| | | color: #303133; |
| | | font-weight: 600; |
| | | } |
| | | |
| | | .info-value.batch { |
| | | color: #e6a23c; |
| | | color: #667eea; |
| | | } |
| | | |
| | | .info-value.qty { |
| | | font-size: 28rpx; |
| | | color: #303133; |
| | | font-weight: 600; |
| | | } |
| | | |
| | | /* 空状态 */ |