Browse Source

打印单添加无数据提示

hella_online_20240906
zhang_li 2 months ago
parent
commit
959a688ff7
  1. 3
      src/pages/pointPutawayJob/index.vue

3
src/pages/pointPutawayJob/index.vue

@ -87,7 +87,7 @@
style='background:rgb(60, 156, 255) !important ;color: white;margin-top: 80rpx;'> 打印上架指引单 style='background:rgb(60, 156, 255) !important ;color: white;margin-top: 80rpx;'> 打印上架指引单
</button> </button>
</view> </view>
<u-empty text="无打印数据" mode="list" v-if="(tabIndex == 1 &&(!data1.inspectDTOList || data1.inspectDTOList && data1.inspectDTOList.length==0))||(tabIndex == 2&&isHaveOn && (!data.sublist || data.sublist && data.sublist.length==0))"></u-empty>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
</view> </view>
</template> </template>
@ -359,6 +359,7 @@
if (this.data1 && this.data1.inspectDTOList && this.data1.inspectDTOList.length == 0) { if (this.data1 && this.data1.inspectDTOList && this.data1.inspectDTOList.length == 0) {
this.tabIndex = 2 this.tabIndex = 2
} }
console.log(88,this.data1)
this.getTableInspectDTOList() this.getTableInspectDTOList()
}) })
.catch(error => { .catch(error => {

Loading…
Cancel
Save