Commit e31b6a72 by cen

fix: 完成施工屏蔽再来一单

1 parent 0868e302
<template> <template>
<view class="order-detail"> <view class="order-detail">
<view class="common-title">{{ orderInfo.constructionFlag == 'Y' && orderInfo.status != 10 ? '完成施工' : '工单详情' }}</view> <view class="common-title">{{ orderInfo.constructionFlag == 'Y' && orderInfo.status != 10 ? '完成施工' : '工单详情' }}</view>
<view v-if="isShow" class="px-48 scroll-y" :class="{ 'construction-flag-y': orderInfo && orderInfo.constructionFlag !== 'Y' && !isMake }"> <view v-if="isShow" class="px-48 scroll-y" :class="{ 'construction-flag-y': !isMake }">
<view class="top-tips flex align-center" v-if="orderInfo.status != 10 && orderInfo.status != 9 && orderInfo.constructionFlag !== 'Y'"> <view class="top-tips flex align-center" v-if="orderInfo.status != 10 && orderInfo.status != 9 && orderInfo.constructionFlag !== 'Y'">
<uni-icons class="checkbox-filled" type="checkbox-filled" color="#4ac18e"></uni-icons> <uni-icons class="checkbox-filled" type="checkbox-filled" color="#4ac18e"></uni-icons>
<view> <view>
...@@ -206,9 +206,9 @@ ...@@ -206,9 +206,9 @@
<view class="flex align-center footer-box justify-center" v-if="isMake"> <view class="flex align-center footer-box justify-center" v-if="isMake">
<view class="edit btn flex-1" @click="repeal">撤销工单</view> <view class="edit btn flex-1" @click="repeal">撤销工单</view>
</view> </view>
<view class="flex align-center footer-box justify-center" v-if="orderInfo.constructionFlag == 'Y'"> <!-- <view class="flex align-center footer-box justify-center" v-if="orderInfo.constructionFlag == 'Y'">
<view class="edit btn flex-1" @click="repeal">再来一单</view> <view class="edit btn flex-1" @click="repeal">再来一单</view>
</view> </view> -->
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 --> <!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
<view v-if="!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6) && ((orderInfo.subOrderList && orderInfo.subOrderList.length) || (orderInfo.packageGoodsList && orderInfo.packageGoodsList.length))"> <view v-if="!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6) && ((orderInfo.subOrderList && orderInfo.subOrderList.length) || (orderInfo.packageGoodsList && orderInfo.packageGoodsList.length))">
<!-- 不需要走签名逻辑 --> <!-- 不需要走签名逻辑 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!