Browse Source

采购收货打印单提示问题

hella_online_20240906
zhang_li 3 months ago
parent
commit
5773ccedea
  1. 6
      src/pages/pointPutawayJob/index.vue

6
src/pages/pointPutawayJob/index.vue

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

Loading…
Cancel
Save