|
@ -124,7 +124,7 @@ |
|
|
}, |
|
|
}, |
|
|
openRequestDetail(item) { |
|
|
openRequestDetail(item) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: './customerReturnRequestDetail?id=' + item.id |
|
|
url: './customerReturnRequestDetail?id=' + item.masterId |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -211,27 +211,27 @@ |
|
|
this.openRequestInfoPopup(dataContent); |
|
|
this.openRequestInfoPopup(dataContent); |
|
|
} else if (text == "处理") { |
|
|
} else if (text == "处理") { |
|
|
this.showQuestionMessage("确定要处理当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要处理当前申请吗?", res => { |
|
|
this.customerReturnRequestHandle(dataContent.id) |
|
|
this.customerReturnRequestHandle(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "提交审批") { |
|
|
} else if (text == "提交审批") { |
|
|
this.showQuestionMessage("确定要审批当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批当前申请吗?", res => { |
|
|
this.customerReturnRequestApprove(dataContent.id) |
|
|
this.customerReturnRequestApprove(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "审批通过") { |
|
|
} else if (text == "审批通过") { |
|
|
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { |
|
|
this.customerReturnRequestApproveAgree(dataContent.id) |
|
|
this.customerReturnRequestApproveAgree(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "审批驳回") { |
|
|
} else if (text == "审批驳回") { |
|
|
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { |
|
|
this.customerReturnRequestApproveRefused(dataContent.id) |
|
|
this.customerReturnRequestApproveRefused(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "关闭") { |
|
|
} else if (text == "关闭") { |
|
|
this.showQuestionMessage("确定要关闭当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要关闭当前申请吗?", res => { |
|
|
this.customerReturnRequestClose(dataContent.id) |
|
|
this.customerReturnRequestClose(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} else if (text == "重新添加") { |
|
|
} else if (text == "重新添加") { |
|
|
this.showQuestionMessage("确定要重新添加当前申请吗?", res => { |
|
|
this.showQuestionMessage("确定要重新添加当前申请吗?", res => { |
|
|
this.customerReturnRequestAddAgain(dataContent.id) |
|
|
this.customerReturnRequestAddAgain(dataContent.masterId) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|