|
|
@ -326,10 +326,10 @@ |
|
|
|
productionReturnRequestSubmitApprove(id) { |
|
|
|
productionReturnRequestSubmitApprove(id).then(res => { |
|
|
|
if (res.data) { |
|
|
|
this.getList("refresh") |
|
|
|
uni.showToast({ |
|
|
|
title: "申请提交审批成功" |
|
|
|
}) |
|
|
|
this.getList("refresh") |
|
|
|
} else { |
|
|
|
this.showMessage("申请提交审批失败") |
|
|
|
} |
|
|
@ -342,10 +342,10 @@ |
|
|
|
productionReturnRequestClose(id) { |
|
|
|
productionReturnRequestClose(id).then(res => { |
|
|
|
if (res.data) { |
|
|
|
this.getList("refresh") |
|
|
|
uni.showToast({ |
|
|
|
title: "申请关闭成功" |
|
|
|
}) |
|
|
|
this.getList("refresh") |
|
|
|
} else { |
|
|
|
this.showMessage("申请关闭失败") |
|
|
|
} |
|
|
@ -357,10 +357,10 @@ |
|
|
|
productionReturnRequestSubmitApproveAgree(id) { |
|
|
|
productionReturnRequestSubmitApproveAgree(id).then(res => { |
|
|
|
if (res.data) { |
|
|
|
this.getList("refresh") |
|
|
|
uni.showToast({ |
|
|
|
title: "申请审批通过成功" |
|
|
|
}) |
|
|
|
this.getList("refresh") |
|
|
|
} else { |
|
|
|
this.showMessage("申请审批通过失败") |
|
|
|
} |
|
|
@ -372,10 +372,10 @@ |
|
|
|
productionReturnRequestSubmitApproveRefused(id) { |
|
|
|
productionReturnRequestSubmitApproveRefused(id).then(res => { |
|
|
|
if (res.data) { |
|
|
|
this.getList("refresh") |
|
|
|
uni.showToast({ |
|
|
|
title: "申请审批驳回成功" |
|
|
|
}) |
|
|
|
this.getList("refresh") |
|
|
|
} else { |
|
|
|
this.showMessage("申请审批驳回失败") |
|
|
|
} |
|
|
@ -387,10 +387,10 @@ |
|
|
|
productionReturnRequestHandle(id) { |
|
|
|
productionReturnRequestHandle(id).then(res => { |
|
|
|
if (res.data) { |
|
|
|
this.getList("refresh") |
|
|
|
uni.showToast({ |
|
|
|
title: "申请处理成功" |
|
|
|
}) |
|
|
|
this.getList("refresh") |
|
|
|
} else { |
|
|
|
this.showMessage("申请处理失败") |
|
|
|
} |
|
|
|