This commit is contained in:
2022-11-26 19:21:18 +08:00
parent 1c3c153ed9
commit a2f3c1f09d
4 changed files with 62 additions and 27 deletions

View File

@@ -553,7 +553,7 @@ export default {
checkoutbill.getDisNum({ 'iostorinv_id': jo.iostorinv_id }).then(res => {
const j = Math.ceil(res.num / jo.shd_dtl_num)
for (let i = 0; i < j; i++) {
download('/api/checkoutbill/downloadExcel', { 'iostorinv_id': jo.iostorinv_id, 'j': i }).then(result => {
download('/api/checkoutbill/downloadExcel', { 'iostorinv_id': jo.iostorinv_id, 'j': i, 'pageNum': j }).then(result => {
downloadFile(result, '发货单', 'xlsx')
crud.downloadLoading = false
}).catch(() => {