diff --git a/lms/nladmin-ui/src/views/wms/st/outbill/index.vue b/lms/nladmin-ui/src/views/wms/st/outbill/index.vue index f0faf3d26..ac4d72c23 100644 --- a/lms/nladmin-ui/src/views/wms/st/outbill/index.vue +++ b/lms/nladmin-ui/src/views/wms/st/outbill/index.vue @@ -550,12 +550,16 @@ export default { return strStyle + arr.join('') }, printExcel(jo) { - download('/api/checkoutbill/downloadExcel', { 'iostorinv_id': jo.iostorinv_id }).then(result => { - downloadFile(result, '', 'xlsx') - crud.downloadLoading = false - }).catch(() => { - crud.downloadLoading = false - }) + debugger + const j = Math.ceil(jo.detail_count / jo.shd_dtl_num) + for (let i = 0; i < j; i++) { + download('/api/checkoutbill/downloadExcel', { 'iostorinv_id': jo.iostorinv_id, 'j': i }).then(result => { + downloadFile(result, '', 'xlsx') + crud.downloadLoading = false + }).catch(() => { + crud.downloadLoading = false + }) + } } } }