| | |
| | | <view class="eidt-btn" v-if="(item.type === 2 && item.status === 0) || (item.type === 2 && item.status === 3)" @click.stop="jumpEdit(item)">继续支付</view> |
| | | <view class="eidt-btn" v-if="item.status === 2" @click.stop="startJobs(item.id)">开始作业</view> |
| | | <view class="eidt-btn" v-if="item.status === 3" @click.stop="jumpDesc(item)">完成并支付</view> |
| | | <!-- <view class="eidt-close">删除订单</view> |
| | | <view class="eidt-phone">联系师傅</view> |
| | | <view class="eidt-phone">评价订单</view> |
| | | <view class="eidt-btn">修改订单</view> |
| | | <view class="eidt-btn">完成并支付</view> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="eidt-right"> |
| | | <view class="eidt-close" v-if="item.status === 2" @click.stop="orderId = item.id, show = true">取消订单</view> |
| | | <view class="eidt-phone" v-if="[2,3].includes(item.status)" @click.stop="phoneCall(item.linkPhone)">联系业主</view> |
| | | |
| | | <!-- <view class="eidt-close">删除订单</view> |
| | | <view class="eidt-phone">联系师傅</view> |
| | | <view class="eidt-phone">评价订单</view> |
| | | <view class="eidt-btn">修改订单</view> |
| | | <view class="eidt-btn">完成并支付</view> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="index-list-item"> |
| | | <view class="index-list-item-head"> |
| | | <view class="index-list-item-head-l"> |
| | | <view class="xoam"></view> |
| | | <text>运货单-小货车-厢式</text> |
| | | <view class="tips1">自主抢单</view> |
| | | </view> |
| | | <view class="index-list-item-head-r">已接单</view> |
| | | </view> |
| | | <view class="index-list-item-info"> |
| | | 葡萄|20000斤|需2辆 |
| | | </view> |
| | | <view class="index-list-item-date"> |
| | | <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> |
| | | <text>07-26 至 07-27(2天)</text> |
| | | </view> |
| | | <view class="address"> |
| | | <view class="address-xian"></view> |
| | | <view class="address-row"> |
| | | <image src="/static/icon/ic_qidian@2x.png" mode="widthFix"></image> |
| | | <text>长江西路大蜀山森林公园西门保安室</text> |
| | | </view> |
| | | <view class="address-row"> |
| | | <image src="/static/icon/ic_jingguo@2x.png" mode="widthFix"></image> |
| | | <text>长江西路大蜀山森林公园东门保安室</text> |
| | | </view> |
| | | <view class="address-row"> |
| | | <image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix"></image> |
| | | <text>安徽莲花科技产业园豆米科技有限公司</text> |
| | | </view> |
| | | </view> |
| | | <view class="index-list-item-price"> |
| | | <text>预估:</text> |
| | | <text>¥1000.00</text> |
| | | </view> |
| | | <view class="eidt"> |
| | | <view></view> |
| | | <view class="eidt-right"> |
| | | <view class="eidt-close">取消订单</view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <!-- <view class="index-list-item"> |
| | | <view class="index-list-item-head"> |
| | | <view class="index-list-item-head-l"> |
| | | <view class="xoam"></view> |
| | | <text>用工单-采摘工</text> |
| | | <view class="tips1">自主抢单</view> |
| | | </view> |
| | | <view class="index-list-item-head-r">待接单</view> |
| | | </view> |
| | | <view class="index-list-item-info"> |
| | | 葡萄|2000斤 |
| | | </view> |
| | | <view class="index-list-item-dz"> |
| | | <image src="/static/icon/order_ic_location@2x.png" mode="widthFix"></image> |
| | | <text>长江西路大蜀山森林公园西门保安室</text> |
| | | </view> |
| | | <view class="index-list-item-dz"> |
| | | <image src="/static/icon/order_ic_time@2x.png" mode="widthFix"></image> |
| | | <text>07-26 至 07-27(2天)</text> |
| | | </view> |
| | | <view class="index-list-item-price"> |
| | | <text>预估:</text> |
| | | <text>¥1000.00</text> |
| | | </view> |
| | | <view class="eidt"> |
| | | <view></view> |
| | | <view class="eidt-right"> |
| | | <view class="eidt-close">取消订单</view> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | } |
| | | }, |
| | | cancelOrder() { |
| | | this.$u.api.receiveCancelOrder({ |
| | | this.$u.api.cancelOrder({ |
| | | orderId: this.orderId |
| | | }).then(res => { |
| | | this.show = false |