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

@@ -143,6 +143,7 @@
<el-table-column prop="sap_pcsn" label="sap批次号" align="center" show-overflow-tooltip />
<el-table-column prop="box_no" label="箱号" align="center" width="250px" show-overflow-tooltip />
<el-table-column prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" />
<el-table-column prop="width_standard" label="幅宽" align="center" show-overflow-tooltip />
<el-table-column prop="struct_code" label="仓位" align="center" show-overflow-tooltip />
<!-- <el-table-column prop="next_point_code" label="目的位置" align="center" />-->
<!-- <el-table-column prop="task_code" label="任务号" align="center" />-->

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 => {