代码更新
This commit is contained in:
@@ -169,4 +169,11 @@ export function moneySubmit(data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
export default { add, edit, del, allDiv, allCancel, getOutBillDtl, getOutBillDis, setPoint, getOutBillTask, getStructIvt, manualDiv, confirm, issueTask, finishTask, cancleTaskfinish, getInvTypes, paramByCodeType, schAreaType, backConfirm, getOutBillDisDtl, getType, allDivOne, moneySubmit }
|
||||
export function getDisNum(data) {
|
||||
return request({
|
||||
url: '/api/checkoutbill/getDisNum',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export default { add, edit, del, allDiv, allCancel, getOutBillDtl, getOutBillDis, setPoint, getOutBillTask, getStructIvt, manualDiv, confirm, issueTask, finishTask, cancleTaskfinish, getInvTypes, paramByCodeType, schAreaType, backConfirm, getOutBillDisDtl, getType, allDivOne, moneySubmit, getDisNum }
|
||||
|
||||
@@ -550,16 +550,18 @@ export default {
|
||||
return strStyle + arr.join('')
|
||||
},
|
||||
printExcel(jo) {
|
||||
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
|
||||
})
|
||||
}
|
||||
checkoutbill.getDisNum({ 'iostorinv_id': jo.iostorinv_id }).then(res => {
|
||||
debugger
|
||||
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 => {
|
||||
downloadFile(result, '', 'xlsx')
|
||||
crud.downloadLoading = false
|
||||
}).catch(() => {
|
||||
crud.downloadLoading = false
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user