优化采购流程审批细节问题

This commit is contained in:
905166056 2021-08-20 08:42:38 +08:00
parent 7a203c4e3b
commit 979780a080
6 changed files with 8 additions and 5 deletions

View File

@ -379,6 +379,7 @@ export function saveAuditAllocationStoreOrder(_that,_data){
reslove(res.data);
},
fail: function(e) {
_that.onoff = true;
wx.showToast({
title: "服务器异常了",
icon: 'none',
@ -598,6 +599,7 @@ export function saveUrgentPurchaseApply(_that,_data){
reslove(res.data);
},
fail: function(e) {
_that.onoff = true;
wx.showToast({
title: "服务器异常了",
icon: 'none',

View File

@ -126,10 +126,10 @@
saveItemOutApply(this, _data)
.then(function(res) {
if (res.code == 0) {
_that.onoff = true;
uni.navigateBack({
delta:1
})
_that.onoff = true;
return;
}
});

View File

@ -52,6 +52,7 @@
import conf from '../../conf/config.js'
import * as TanslateImage from '../../lib/java110/utils/translate-image.js';
import {preventClick} from '../../lib/java110/utils/common.js';
import {queryDictInfo} from '../../api/inspection/inspection.js';
import {getCurrentCommunity} from '../../api/community/community.js'
import url from '../../constant/url.js'
import Vue from 'vue'

View File

@ -170,12 +170,12 @@
};
saveMyAuditOrders(this,_auditInfo)
.then(function(res){
_that.onoff = true;
uni.showToast({
title:res.msg,
icon: 'none'
});
setTimeout(() => {
_that.onoff = true;
uni.navigateBack({
delta:1
})

View File

@ -136,12 +136,12 @@
};
saveMyAuditOrders(this,_auditInfo)
.then(function(res){
_that.onoff = true;
uni.showToast({
title:res.msg,
icon: 'none'
});
setTimeout(() => {
setTimeout(() => {
_that.onoff = true;
uni.navigateBack({
delta:1
})

View File

@ -137,6 +137,7 @@
};
saveUrgentPurchaseApply(this, _data)
.then(function(res) {
_that.onoff = true;
if (res.code == 0) {
// uni.navigateTo({
// url: '/pages/purchaseApplyManage/purchaseApplyManage'
@ -146,7 +147,6 @@
})
return;
}else{
_that.onoff = true;
_that._showToast(res.msg);
}
});