rev:临期报表

This commit is contained in:
2023-12-28 11:07:28 +08:00
parent e0d4df181c
commit 3bbc5dfef3
5 changed files with 62 additions and 57 deletions

View File

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

View File

@@ -309,7 +309,8 @@ export default {
'sap_pcsn': this.crud.query.sap_pcsn,
'date_of_production': this.crud.query.date_of_production,
'sale_order_name': this.crud.query.sale_order_name,
'customer_name': this.crud.query.customer_name
'customer_name': this.crud.query.customer_name,
'is_sid': this.crud.query.is_sid
}
if (this.crud.query.createTime !== undefined) {
data.begin_time = this.crud.query.createTime[0]