Browse Source

修改生产退料申请按钮判断

wms3.0_pda
lijuncheng 8 months ago
parent
commit
cca898061d
  1. 12
      pages/productionReturn/coms/comReturnCommonRequest.vue

12
pages/productionReturn/coms/comReturnCommonRequest.vue

@ -241,25 +241,25 @@
swipeClick(e, dataContent) { swipeClick(e, dataContent) {
var text = clearTirmAndWrap(e.content.text) var text = clearTirmAndWrap(e.content.text)
if (e.content.text == "详情") { if (text == "详情") {
this.openRequestInfoPopup(dataContent); this.openRequestInfoPopup(dataContent);
} else if (e.content.text == "处理") { } else if (text == "处理") {
this.showQuestionMessage("确定要处理当前申请吗?", res => { this.showQuestionMessage("确定要处理当前申请吗?", res => {
this.productionReturnRequestHandle(dataContent.id) this.productionReturnRequestHandle(dataContent.id)
}) })
} else if (e.content.text == "审批") { } else if (text == "提交审批") {
this.showQuestionMessage("确定要审批当前申请吗?", res => { this.showQuestionMessage("确定要审批当前申请吗?", res => {
this.productionReturnRequestSubmitApprove(dataContent.id) this.productionReturnRequestSubmitApprove(dataContent.id)
}) })
} else if (e.content.text == "审批通过") { } else if (text == "审批通过") {
this.showQuestionMessage("确定要审批通过当前申请吗?", res => { this.showQuestionMessage("确定要审批通过当前申请吗?", res => {
this.productionReturnRequestSubmitApproveAgree(dataContent.id) this.productionReturnRequestSubmitApproveAgree(dataContent.id)
}) })
} else if (e.content.text == "审批驳回") { } else if (text == "审批驳回") {
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => { this.showQuestionMessage("确定要审批驳回当前申请吗?", res => {
this.productionReturnRequestSubmitApproveRefused(dataContent.id) this.productionReturnRequestSubmitApproveRefused(dataContent.id)
}) })
} else if (e.content.text == "关闭") { } else if (text == "关闭") {
this.showQuestionMessage("确定要关闭当前申请吗?", res => { this.showQuestionMessage("确定要关闭当前申请吗?", res => {
this.productionReturnRequestClose(dataContent.id) this.productionReturnRequestClose(dataContent.id)
}) })

Loading…
Cancel
Save