Merge branch 'master' of http://121.40.234.130:8899/root/lanzhouhailiang_one
This commit is contained in:
@@ -550,8 +550,12 @@ export default {
|
||||
return strStyle + arr.join('')
|
||||
},
|
||||
printExcel(jo) {
|
||||
if (jo.shd_dtl_num === '') {
|
||||
return this.crud.notify('客户为空!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
}
|
||||
checkoutbill.getDisNum({ 'iostorinv_id': jo.iostorinv_id }).then(res => {
|
||||
const j = Math.ceil(res.num / jo.shd_dtl_num)
|
||||
debugger
|
||||
for (let i = 0; i < j; i++) {
|
||||
download('/api/checkoutbill/downloadExcel', { 'iostorinv_id': jo.iostorinv_id, 'j': i, 'pageNum': j }).then(result => {
|
||||
downloadFile(result, '发货单', 'xlsx')
|
||||
|
||||
Reference in New Issue
Block a user