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() { 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