|
|
@ -134,7 +134,7 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.Loading.appMainLoading = true |
|
|
|
getPageList(this.PageListParams, 'basedata/item-basic').then(res => { |
|
|
|
getPageList(this.PageListParams, 'basedata/item-basic').then(async res => { |
|
|
|
this.Loading.appMainLoading = false |
|
|
|
res.items.forEach(res_item=>{ |
|
|
|
this.tableDataDetails.details.forEach(detail=>{ |
|
|
@ -143,12 +143,12 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
let data = initPrintAllData(this.tableDataDetails,'fsctl.rdlx',false,false,true); |
|
|
|
let data = await initPrintAllData(this.tableDataDetails,'fsctl.rdlx',false,false,true); |
|
|
|
this.Print(data) |
|
|
|
}).catch(err => { |
|
|
|
}).catch(async err => { |
|
|
|
this.Loading.appMainLoading = false |
|
|
|
this.$message.error('物品信息配置获取失败'); |
|
|
|
let data = initPrintAllData(this.tableDataDetails,'fsctl.rdlx',false,false,true); |
|
|
|
let data = await initPrintAllData(this.tableDataDetails,'fsctl.rdlx',false,false,true); |
|
|
|
this.Print(data) |
|
|
|
}) |
|
|
|
} else { |
|
|
|