Browse Source

feat: update 按钮展示问题调整

master
TengXF 6 months ago
parent
commit
8ae634e893
  1. 7
      src/pages/mes/reworkBatch/create.vue
  2. 2
      src/pages/mes/reworkBatch/index.vue
  3. 7
      src/pages/mes/reworkSingle/create.vue
  4. 2
      src/pages/mes/reworkSingle/index.vue

7
src/pages/mes/reworkBatch/create.vue

@ -61,14 +61,17 @@
</view>
</u-form-item>
</view>
<view class="btns">
<button class="sure" @click="handleSubmit" :loading='loading' :disabled='loading'>提交处理</button>
</view>
</u-form>
<view class="footer">
<!-- <view class="footer">
<view class="btns">
<button class="sure" @click="handleSubmit" :loading='loading' :disabled='loading'>提交处理</button>
</view>
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view>
</view>
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view>
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view> -->
</view>
<view>
<u-select v-model="showProduct" :list="productList" @confirm="selectProduct"></u-select>

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

@ -49,7 +49,7 @@
<view class="dec" v-if="item.status==3">
<view>返修结果</view><view>{{item.reworkResult}}</view>
</view>
<view class="dec">
<view>
<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="error" @click="handleSuspend(item)" >中止</u-button>

7
src/pages/mes/reworkSingle/create.vue

@ -45,14 +45,15 @@
</view>
</u-form-item>
</view>
</u-form>
<view class="footer">
<view class="btns">
<button class="sure" @click="handleSubmit" :loading='loading' :disabled='loading'>提交处理</button>
</view>
</u-form>
<!-- <view class="footer">
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view>
</view>
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view>
<view style="height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom);"></view> -->
</view>
<view>
<u-select v-model="showProduct" :list="productList" @confirm="selectProduct"></u-select>

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

@ -43,7 +43,7 @@
<view class="dec" v-if="item.status==3">
<view>返修结果</view><view>{{item.reworkResult}}</view>
</view>
<view class="dec">
<view>
<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" size="medium" type="error" @click="handleSuspend(item)" >中止</u-button>

Loading…
Cancel
Save