|
|
@ -120,7 +120,7 @@ |
|
|
|
|
|
|
|
openRequestDetail(item) { |
|
|
|
uni.navigateTo({ |
|
|
|
url: './putawayRequestDetail?id=' + item.id |
|
|
|
url: './putawayRequestDetail?id=' + item.masterId |
|
|
|
}); |
|
|
|
}, |
|
|
|
openRequestInfoPopup(item) { |
|
|
@ -215,27 +215,27 @@ |
|
|
|
this.openRequestInfoPopup(dataContent); |
|
|
|
} else if (text == "处理") { |
|
|
|
this.showQuestionMessage("确定要处理当前申请吗?", res => { |
|
|
|
this.putawayRequestHandle(dataContent.id) |
|
|
|
this.putawayRequestHandle(dataContent.masterId) |
|
|
|
}) |
|
|
|
} else if (text == "提交审批") { |
|
|
|
this.showQuestionMessage("确定要审批当前申请吗?", res => { |
|
|
|
this.putawayRequestApprove(dataContent.id) |
|
|
|
this.putawayRequestApprove(dataContent.masterId) |
|
|
|
}) |
|
|
|
} else if (text == "审批通过") { |
|
|
|
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { |
|
|
|
this.putawayRequestApproveAgree(dataContent.id) |
|
|
|
this.putawayRequestApproveAgree(dataContent.masterId) |
|
|
|
}) |
|
|
|
} else if (text == "审批驳回") { |
|
|
|
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { |
|
|
|
this.putawayRequestApproveRefused(dataContent.id) |
|
|
|
this.putawayRequestApproveRefused(dataContent.masterId) |
|
|
|
}) |
|
|
|
} else if (text == "关闭") { |
|
|
|
this.showQuestionMessage("确定要关闭当前申请吗?", res => { |
|
|
|
this.putawayRequestClose(dataContent.id) |
|
|
|
this.putawayRequestClose(dataContent.masterId) |
|
|
|
}) |
|
|
|
} else if (text == "重新添加") { |
|
|
|
this.showQuestionMessage("确定要重新添加当前申请吗?", res => { |
|
|
|
this.putawayRequestAddAgain(dataContent.id) |
|
|
|
this.putawayRequestAddAgain(dataContent.masterId) |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|