|
@@ -143,7 +143,7 @@
|
|
></u-button>
|
|
></u-button>
|
|
<u-button plain type="primary" text="加急" @tap="actionUrgent(item.id, true)" v-else></u-button>
|
|
<u-button plain type="primary" text="加急" @tap="actionUrgent(item.id, true)" v-else></u-button>
|
|
<u-button
|
|
<u-button
|
|
- v-if="userInfo.workerNumber == item.workerNumber"
|
|
|
|
|
|
+ v-if="item.orderType == 'INSTALL' ? userInfo.workerNumber == item.workerNumber : true"
|
|
type="primary"
|
|
type="primary"
|
|
text="接单"
|
|
text="接单"
|
|
@tap="actionReceive(item)"
|
|
@tap="actionReceive(item)"
|
|
@@ -152,7 +152,7 @@
|
|
<!-- 服务中 -->
|
|
<!-- 服务中 -->
|
|
<block v-if="orderStatus_v(item.orderStatus) == 'FWZ' || orderStatus_v(item.orderStatus) == 'YCD'">
|
|
<block v-if="orderStatus_v(item.orderStatus) == 'FWZ' || orderStatus_v(item.orderStatus) == 'YCD'">
|
|
<u-button
|
|
<u-button
|
|
- v-if="userInfo.workerNumber == item.workerNumber"
|
|
|
|
|
|
+ v-if="item.orderType == 'INSTALL' ? userInfo.workerNumber == item.workerNumber : true"
|
|
plain
|
|
plain
|
|
type="primary"
|
|
type="primary"
|
|
text="变更小工"
|
|
text="变更小工"
|
|
@@ -184,7 +184,12 @@
|
|
<u-button plain type="primary" text="配件收费" @tap="toCharge(item.id, 'P')" v-else></u-button>
|
|
<u-button plain type="primary" text="配件收费" @tap="toCharge(item.id, 'P')" v-else></u-button>
|
|
</block>
|
|
</block>
|
|
<!-- 待抢单 -->
|
|
<!-- 待抢单 -->
|
|
- <block v-if="orderStatus_v(item.orderStatus) == 'DQD'">
|
|
|
|
|
|
+ <block
|
|
|
|
+ v-if="
|
|
|
|
+ orderStatus_v(item.orderStatus) == 'DQD' &&
|
|
|
|
+ (item.orderType == 'INSTALL' ? userInfo.workerNumber == item.workerNumber : true)
|
|
|
|
+ "
|
|
|
|
+ >
|
|
<u-button type="primary" text="抢单" @tap="qdOrder(item)"></u-button>
|
|
<u-button type="primary" text="抢单" @tap="qdOrder(item)"></u-button>
|
|
</block>
|
|
</block>
|
|
</view>
|
|
</view>
|