| | |
| | | <text>{{ item.carNum }}</text> |
| | | 张 |
| | | </view> |
| | | <view class="card-left__utils"><u-button @tap.stop="qiangDanBtn(item)" text="抢单" type="primary" shape="circle"></u-button></view> |
| | | <view class="card-left__utils"> |
| | | <u-button @tap.stop="qiangDanBtn(item)" text="抢单" type="primary" shape="circle" v-if="item.carNum - item.taskNum !== 0"></u-button> |
| | | </view> |
| | | </template> |
| | | <template v-slot:right-top> |
| | | <view class="right-top"> |
| | |
| | | <!-- 待预约提煤单 --> |
| | | <view class="daiYuYue" v-for="(item, index) in driverBillOfLoadingData.list3" :key="index"> |
| | | <view class="daiYuYueTop"> |
| | | <text class="tmcode">提煤单编号:{{ item.code }}</text> |
| | | <view class="tmcode">提煤单编号:{{ item.code }}</view> |
| | | </view> |
| | | <view class="daiYuYueTable"> |
| | | <!-- <view>{{ item.deptName }}</view> |
| | |
| | | <view>排队数:暂无{{}}</view> |
| | | </view> |
| | | <view class="haveYuYueBottom"> |
| | | <text>{{ item.yuYueTime || '时段' }}</text> |
| | | <text>{{ item.yuYueSection || '时段' }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | watch: { |
| | | indexdriverBillOfLoadingData: { |
| | | handler(v) { |
| | | console.log(v, '刷新之后的司机首页'); |
| | | this.driverBillOfLoadingData = v; |
| | | }, |
| | | deep: true, |
| | |
| | | title: '加载中...' |
| | | }); |
| | | this.$reqGet('qiangDanList').then(res => { |
| | | console.log(res, '司机首页'); |
| | | uni.hideLoading(); |
| | | this.driverBillOfLoadingData = res.data; |
| | | }); |
| | |
| | | background-color: #f5f5f5; |
| | | height: vww(60); |
| | | padding-left: vww(12); |
| | | line-height: vww(40); |
| | | line-height: vww(31); |
| | | border: vww(1) solid #eeeeee; |
| | | font-weight: 400; |
| | | // .tmcode { |
| | | // overflow: hidden; |
| | | // text-overflow: ellipsis; |
| | | // white-space: nowrap; |
| | | // width: 100%; |
| | | // } |
| | | .tmcode { |
| | | word-break: break-all; |
| | | width: 100%; |
| | | } |
| | | } |
| | | &Table { |
| | | .uni-table { |
| | |
| | | background-color: #f5f5f5; |
| | | height: vww(60); |
| | | padding-left: vww(12); |
| | | line-height: vww(40); |
| | | line-height: vww(31); |
| | | border: vww(1) solid #eeeeee; |
| | | font-weight: 400; |
| | | // .tmcode { |
| | | // overflow: hidden; |
| | | // text-overflow: ellipsis; |
| | | // white-space: nowrap; |
| | | // width: 100%; |
| | | // } |
| | | .tmcode { |
| | | word-break: break-all; |
| | | width: 100%; |
| | | } |
| | | } |
| | | &Center { |
| | | border: vww(1) solid #eeeeee; |