dev:报表优化、入库加并发锁

This commit is contained in:
2023-10-23 17:50:13 +08:00
parent b8c9688018
commit c9f85aa08b
8 changed files with 47 additions and 21 deletions

View File

@@ -521,13 +521,13 @@ export default {
}
},
printExcel(jo) {
if (jo.bill_type !== '1004') {
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') {
if (jo.bill_type === '1004' || jo.bill_type === '1009') {
jo.shd_dtl_num = 44
}
checkoutbill.getDisNum({ 'iostorinv_id': jo.iostorinv_id }).then(res => {