| | |
| | | <view class="info code"> |
| | | 订单编号:{{item.code}} |
| | | </view> |
| | | <view class="info confirmPeople" |
| | | v-if="item.confirmPeople"> |
| | | 审核人:{{item.confirmPeople}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="confirm-button"> |
| | |
| | | @click.stop="loadOrder(item.id)" |
| | | :loading="loading" |
| | | loadingText="确认" |
| | | v-if='!item.ableDischar'></u-button> |
| | | v-if='!item.ableDischar&&item.isContainLoginUser'></u-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | ], // 状态 |
| | | } |
| | | }, |
| | | computed: { |
| | | userId() { |
| | | return uni.getStorageSync('userId') |
| | | } |
| | | }, |
| | | onLoad(params) { |
| | | this.name = params.coalName ? params.coalName : '' |
| | | this.init() |
| | |
| | | return { |
| | | ...v, |
| | | ableDischar: v.skin === v.hair || v.hair === 0 && v.skin === 0 || v |
| | | .isPretendDischar !== 0 || errorStatusArr.indexOf(v.status) !== -1 |
| | | .isPretendDischar !== 0 || errorStatusArr.indexOf(v.status) !== -1, |
| | | isContainLoginUser: v.confirmPeopleId ? v.confirmPeopleId.split(',') |
| | | .indexOf(this.userId) === - |
| | | 1 : true |
| | | } |
| | | }) |
| | | } else { |
| | |
| | | } |
| | | |
| | | .createTime, |
| | | .code { |
| | | .code, |
| | | .confirmPeople { |
| | | width: 100%; |
| | | margin-left: vww(9); |
| | | display: flex; |
| | | justify-content: flex-start; |
| | | } |
| | | |
| | | .confirmPeople { |
| | | margin-top: vww(24); |
| | | } |
| | | } |
| | | |
| | | |