报工提交更新
This commit is contained in:
parent
e667c77cb7
commit
b5765083ca
@ -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{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user