| | |
| | | <view class="edc-sampling-line"> |
| | | <h1>{{item.carNo}}</h1> |
| | | <!-- #ifdef H5 --> |
| | | <view class="status" :class="statusClassComputed(item.status)" v-if="item.status">{{statusComputed(item.status)}}</view> |
| | | <view class="status" :class="statusClassComputed(item.checkStatus)" v-if="item.checkStatus">{{statusComputed(item.checkStatus)}}</view> |
| | | <!-- #endif --> |
| | | |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <view class="status" v-if="item.status">{{statusComputed(item.status)}}</view> |
| | | <view class="status" v-if="item.status">{{statusComputed(item.checkStatus)}}</view> |
| | | <!-- #endif --> |
| | | </view> |
| | | <view class="edc-sampling-line"> |
| | |
| | | }else if(status == 7) { |
| | | return 'black' |
| | | }else { |
| | | return '' |
| | | return null |
| | | } |
| | | }, |
| | | async getPageList(callBack) { |
| | |
| | | }, |
| | | onPullDownRefresh() { //下拉刷新 |
| | | console.log() |
| | | this.flag = false |
| | | this.current = 1 |
| | | this.edcList = [] |
| | | setTimeout(() => { |
| | |
| | | uni.showLoading({ |
| | | title: "加载中" |
| | | }) |
| | | let params = { |
| | | customerId:item.customerId, |
| | | customerName:item.customerName, |
| | | carNo:item.carNo, |
| | | productId:item.productId, |
| | | productName:item.productName, |
| | | bunkerId:item.bunkerId, |
| | | id:item.id |
| | | } |
| | | uni.showModal({ |
| | | title: '确认', |
| | | content: '确认创建EDC质检单吗', |
| | | success: (res) => { |
| | | if(res.confirm) { |
| | | //调用接口 |
| | | this.$reqPost('edcSampling',item,'json').then(res => { |
| | | this.$reqPost('edcSampling',params,'json').then(res => { |
| | | console.log(res,'res=====-----') |
| | | if(res.code == 0) { |
| | | uni.hideLoading() |
| | |
| | | } |
| | | } |
| | | } |
| | | .isOver{ |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | padding: 40rpx 0; |
| | | font-size: 30rpx; |
| | | color: #999999; |
| | | } |
| | | .empty-box{ |
| | | margin: auto; |
| | | position: absolute; |