|
@ -125,7 +125,7 @@ |
|
|
}, |
|
|
}, |
|
|
openRequestDetail(item) { |
|
|
openRequestDetail(item) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: './putawayRequestDetail?id=' + item.id |
|
|
url: './putawayRequestDetail?id=' + item.masterId |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -218,27 +218,27 @@ |
|
|
this.openRequestInfoPopup(dataContent); |
|
|
this.openRequestInfoPopup(dataContent); |
|
|
} else if (text == "处理") { |
|
|
} else if (text == "处理") { |
|
|
this.showQuestionMessage("确定要处理当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要处理当前申请吗?", res => { |
|
|
this.productPutawayRequestHandle(dataContent.id) |
|
|
this.productPutawayRequestHandle(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "提交审批") { |
|
|
} else if (text == "提交审批") { |
|
|
this.showQuestionMessage("确定要审批当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批当前申请吗?", res => { |
|
|
this.productPutawayRequestApprove(dataContent.id) |
|
|
this.productPutawayRequestApprove(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "审批通过") { |
|
|
} else if (text == "审批通过") { |
|
|
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { |
|
|
this.productPutawayRequestApproveAgree(dataContent.id) |
|
|
this.productPutawayRequestApproveAgree(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "审批驳回") { |
|
|
} else if (text == "审批驳回") { |
|
|
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { |
|
|
this.productPutawayRequestApproveRefused(dataContent.id) |
|
|
this.productPutawayRequestApproveRefused(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "关闭") { |
|
|
} else if (text == "关闭") { |
|
|
this.showQuestionMessage("确定要关闭当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要关闭当前申请吗?", res => { |
|
|
this.productPutawayRequestClose(dataContent.id) |
|
|
this.productPutawayRequestClose(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "重新添加") { |
|
|
} else if (text == "重新添加") { |
|
|
this.showQuestionMessage("确定要重新添加当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要重新添加当前申请吗?", res => { |
|
|
this.productPutawayRequestAddAgain(dataContent.id) |
|
|
this.productPutawayRequestAddAgain(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|