Browse Source

数据为空去掉打印按钮 2024/8/5

hella_vue3
王志国 1 month ago
parent
commit
84cc39bcc9
  1. 8
      src/pages/pointPutawayJob/index.vue

8
src/pages/pointPutawayJob/index.vue

@ -59,8 +59,12 @@
</view>
<view class="" style="position: fixed;width: 100%;bottom: 0rpx;left: 0px;">
<button @click="printImage"
style='background:rgb(60, 156, 255) !important ;color: white;margin-top: 80rpx;'> 打印<text v-if="tabIndex == 1">检验指引单</text><text v-if="tabIndex == 2&&isHave">上架指引单</text></button>
<button @click="printImage" v-if="tabIndex == 1 && data1.inspectDTOList && data1.inspectDTOList.length>0"
style='background:rgb(60, 156, 255) !important ;color: white;margin-top: 80rpx;'> 打印检验指引单
</button>
<button @click="printImage" v-if="tabIndex == 2&&isHave && data.sublist && data.sublist.length>0"
style='background:rgb(60, 156, 255) !important ;color: white;margin-top: 80rpx;'> 打印上架指引单
</button>
</view>
</view>

Loading…
Cancel
Save