报工提交更新

This commit is contained in:
赵正易 2025-06-03 13:44:02 +08:00
parent e667c77cb7
commit b5765083ca

View File

@ -248,11 +248,14 @@ export default {
} }
if(this.processName === '出货'){ if(this.processName === '出货'){
reportWorkOrderApi.ShipmentProcessReportwork(params).then((res) => { reportWorkOrderApi.ShipmentProcessReportwork(params).then((res) => {
if (res.code === 200) { if (res.code === 200 && res.data === "成功") {
this.uModal2.show = false; this.uModal2.show = false;
this.uModal.content = '出货成功!'; this.uModal.content = '出货成功!';
this.openModal(); this.openModal();
this.clear(); this.clear();
}else{
this.uModal.content = res.data;
this.openModal();
} }
}); });
}else{ }else{