|
@@ -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 == '成功') {
|