Browse Source

检验单打印页面不显示问题

lijuncheng0816
zhang_li 4 months ago
parent
commit
c534b06d4c
  1. 39
      src/pages/pointPutawayJob/index.vue

39
src/pages/pointPutawayJob/index.vue

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

Loading…
Cancel
Save