代码更新

This commit is contained in:
2023-02-19 17:31:34 +08:00
parent 47df45110b
commit dd547b846f
6 changed files with 117 additions and 57 deletions

View File

@@ -465,8 +465,14 @@ export default {
}
},
printExcel(jo) {
if (jo.shd_dtl_num === '') {
return this.crud.notify('客户为空!', CRUD.NOTIFICATION_TYPE.INFO)
if (jo.bill_type !== '1004') {
if (jo.shd_dtl_num === '') {
return this.crud.notify('客户为空!', CRUD.NOTIFICATION_TYPE.INFO)
}
}
if (jo.bill_type === '1004') {
jo.shd_dtl_num = 44
}
checkoutbill.getDisNum({ 'iostorinv_id': jo.iostorinv_id }).then(res => {
const j = Math.ceil(res.num / jo.shd_dtl_num)