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