mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
优化采购流程审批细节问题
This commit is contained in:
parent
7a203c4e3b
commit
979780a080
@ -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',
|
||||
|
||||
@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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
|
||||
})
|
||||
|
||||
@ -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
|
||||
})
|
||||
|
||||
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user