Browse Source

feat: update 去掉退回按钮

master
TengXF 6 months ago
parent
commit
14647415e1
  1. 4
      src/pages/mes/reworkBatch/index.vue
  2. 8
      src/pages/mes/reworkSingle/index.vue

4
src/pages/mes/reworkBatch/index.vue

@ -50,11 +50,11 @@
<view>返修结果</view><view>{{item.reworkResult}}</view> <view>返修结果</view><view>{{item.reworkResult}}</view>
</view> </view>
<view class="dec"> <view class="dec">
<u-button v-if="item.status==1" size="medium" type="primary" @click="handleItem(item)" >处理</u-button> <u-button v-if="item.status==1" size="medium" type="primary" @click="handleItem(item)" >处理</u-button>
<!-- <u-button v-if="item.status==2" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> --> <!-- <u-button v-if="item.status==2" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> -->
<u-button v-if="item.status==2" size="medium" type="error" @click="handleSuspend(item)" >中止</u-button> <u-button v-if="item.status==2" size="medium" type="error" @click="handleSuspend(item)" >中止</u-button>
<u-button v-if="item.status==2" size="medium" type="success" @click="handleSuccess(item)" >完成</u-button> <u-button v-if="item.status==2" size="medium" type="success" @click="handleSuccess(item)" >完成</u-button>
<u-button v-if="item.status==3" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> <!-- <u-button v-if="item.status==3" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> -->
</view> </view>
</view> </view>
<view style="height: 94rpx;padding-top: 30rpx;"> <view style="height: 94rpx;padding-top: 30rpx;">

8
src/pages/mes/reworkSingle/index.vue

@ -44,11 +44,11 @@
<view>返修结果</view><view>{{item.reworkResult}}</view> <view>返修结果</view><view>{{item.reworkResult}}</view>
</view> </view>
<view class="dec"> <view class="dec">
<u-button v-if="item.status==1" class="btn" size="medium" type="primary" @click="handleItem(item)" >处理</u-button> <u-button v-if="item.status==1" size="medium" type="primary" @click="handleItem(item)" >处理</u-button>
<!-- <u-button v-if="item.status==2" class="btn" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> --> <!-- <u-button v-if="item.status==2" class="btn" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> -->
<u-button v-if="item.status==2" class="btn" size="medium" type="error" @click="handleSuspend(item)" >中止</u-button> <u-button v-if="item.status==2" size="medium" type="error" @click="handleSuspend(item)" >中止</u-button>
<u-button v-if="item.status==2" class="btn" size="medium" type="success" @click="handleSuccess(item)" >完成</u-button> <u-button v-if="item.status==2" size="medium" type="success" @click="handleSuccess(item)" >完成</u-button>
<u-button v-if="item.status==3" class="btn" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> <!-- <u-button v-if="item.status==3" class="btn" size="medium" type="warning" @click="handleRefuse(item)" >退回</u-button> -->
</view> </view>
</view> </view>
<view style="height: 94rpx;padding-top: 30rpx;"> <view style="height: 94rpx;padding-top: 30rpx;">

Loading…
Cancel
Save