Browse Source

检验单打印页面不显示问题 2024/8/7

hella_vue3
王志国 4 weeks ago
parent
commit
f3a7deb83e
  1. 38
      src/pages/pointPutawayJob/index.vue

38
src/pages/pointPutawayJob/index.vue

@ -280,24 +280,28 @@ export default {
},
async onShow() {
//
await getJimuPutawayJobDetail({
masterIds: this.data.ids
}).then(res => {
this.data.sublist = res.data
this.getTableSubList()
})
if(this.data.ids){
await getJimuPutawayJobDetail({
masterIds: this.data.ids
}).then(res => {
this.data.sublist = res.data
this.getTableSubList()
})
}
//
await queryInspectionFreeFlag({
number: this.number
}).then(async res1 => {
this.data1 = res1.data
this.data1.inspectDTOList = this.data1.inspectDTOList.filter(item=>item.sampleQty>0)
// this.data1.inspectDTOList=[]
if(this.data1&&this.data1.inspectDTOList&&this.data1.inspectDTOList.length == 0){
this.tabIndex =2
}
this.getTableInspectDTOList()
})
if(this.number){
await queryInspectionFreeFlag({
number: this.number
}).then(async res1 => {
this.data1 = res1.data
this.data1.inspectDTOList = this.data1.inspectDTOList.filter(item=>item.sampleQty>0)
// this.data1.inspectDTOList=[]
if(this.data1&&this.data1.inspectDTOList&&this.data1.inspectDTOList.length == 0){
this.tabIndex =2
}
this.getTableInspectDTOList()
})
}
this.getPointPutawayJobHtml()
this.getPurchaseReceiptJobHtml()
},

Loading…
Cancel
Save