Browse Source

退回改为撤回

xiaohaizhao 2 years ago
parent
commit
803f4079e5
1 changed files with 10 additions and 10 deletions
  1. 10 10
      packageA/remitVoucher/detail.js

+ 10 - 10
packageA/remitVoucher/detail.js

@@ -59,18 +59,18 @@ Page({
 				label: "删除",
 				icon: "icon-guanlian-shanchu"
 			}]
-			if (res.data.status == '提交') tabbarsList = [{
+			/* {
 				label: "审核",
 				icon: "icon-shenhe"
-			}, {
-				label: "退回",
+			}, */
+			if (res.data.status == '提交') tabbarsList = [ {
+				label: "撤回",
 				icon: "icon-a-fanshenhetuihui"
 			}]
-			if (res.data.status == '审核') tabbarsList = [{
-				label: "退回",
+			/* if (res.data.status == '审核') tabbarsList = [{
+				label: "回",
 				icon: "icon-a-fanshenhetuihui"
-			}]
-
+			}] */
 			this.setPreview(res.data);
 			this.setData({
 				detail: res.data,
@@ -195,10 +195,10 @@ Page({
 					show: true
 				})
 				break;
-			case "退回":
+			case "回":
 				wx.showModal({
 					title: '提示',
-					content: `是否确认退回该打款凭证?`,
+					content: `是否确认回该打款凭证?`,
 					complete: ({
 						confirm
 					}) => {
@@ -209,7 +209,7 @@ Page({
 							}
 						}).then(res => {
 							wx.showToast({
-								title: res.msg == '成功' ? `已退回该凭证` : res.msg,
+								title: res.msg == '成功' ? `已回该凭证` : res.msg,
 								icon: "none"
 							});
 							if (res.msg == '成功') {