|
@@ -43,7 +43,7 @@
|
|
|
<view class="left">合计金额(元)</view>
|
|
|
<view class="right">{{auditInfo.requestFundsTotal}}</view>
|
|
|
</view>
|
|
|
- <!-- <view class="row">
|
|
|
+ <!-- <view class="row">
|
|
|
<view class="left">仓库名称</view>
|
|
|
<view class="right">{{auditInfo.warehouseName}}</view>
|
|
|
</view>
|
|
@@ -72,7 +72,7 @@
|
|
|
</view>
|
|
|
<view class="mx-bottom">
|
|
|
<view class="mx-row1">
|
|
|
-
|
|
|
+
|
|
|
<!-- <view class="mx-item">
|
|
|
平均容重
|
|
|
</view>
|
|
@@ -322,7 +322,6 @@
|
|
|
// },
|
|
|
//审核确定
|
|
|
passSubmit() {
|
|
|
- debugger
|
|
|
var that = this
|
|
|
that.show = false
|
|
|
if (this.title == '驳回原因(驳回)') {
|
|
@@ -342,21 +341,21 @@
|
|
|
})
|
|
|
var count = 0
|
|
|
// for (let num = 0; num < that.List.length; num++) {
|
|
|
- that.$api.doRequest('post', '/workflow/api/handle', {
|
|
|
- taskId: that.auditInfo.taskId,
|
|
|
- approved: false,
|
|
|
- auditMind: that.auditMind ? that.auditMind : "",
|
|
|
- needReapply: true
|
|
|
- }).then(res => {
|
|
|
- // count++
|
|
|
- // if (count == that.List.length) {
|
|
|
- uni.hideLoading()
|
|
|
- that.$api.msg('审核成功!')
|
|
|
- setTimeout(function() {
|
|
|
- uni.navigateBack();
|
|
|
- }, 2000);
|
|
|
- // }
|
|
|
- })
|
|
|
+ that.$api.doRequest('post', '/workflow/api/handle', {
|
|
|
+ taskId: that.auditInfo.taskId,
|
|
|
+ approved: false,
|
|
|
+ auditMind: that.auditMind ? that.auditMind : "",
|
|
|
+ needReapply: true
|
|
|
+ }).then(res => {
|
|
|
+ // count++
|
|
|
+ // if (count == that.List.length) {
|
|
|
+ uni.hideLoading()
|
|
|
+ that.$api.msg('审核成功!')
|
|
|
+ setTimeout(function() {
|
|
|
+ uni.navigateBack();
|
|
|
+ }, 2000);
|
|
|
+ // }
|
|
|
+ })
|
|
|
// }
|
|
|
}
|
|
|
}
|
|
@@ -377,21 +376,21 @@
|
|
|
})
|
|
|
// for (let num = 0; num < that.List.length; num++) {
|
|
|
// var tmp = 0
|
|
|
- that.$api.doRequest('post', '/workflow/api/handle', {
|
|
|
- taskId: that.auditInfo.taskId,
|
|
|
- approved: true,
|
|
|
- auditMind: that.auditMind ? that.auditMind : "",
|
|
|
- needReapply: false
|
|
|
- }).then(res => {
|
|
|
- // tmp++
|
|
|
- // if (tmp == that.List.length) {
|
|
|
- uni.hideLoading()
|
|
|
- that.$api.msg('审核成功!')
|
|
|
- setTimeout(function() {
|
|
|
- uni.navigateBack();
|
|
|
- }, 2000);
|
|
|
- // }
|
|
|
- })
|
|
|
+ that.$api.doRequest('post', '/workflow/api/handle', {
|
|
|
+ taskId: that.auditInfo.taskId,
|
|
|
+ approved: true,
|
|
|
+ auditMind: that.auditMind ? that.auditMind : "",
|
|
|
+ needReapply: false
|
|
|
+ }).then(res => {
|
|
|
+ // tmp++
|
|
|
+ // if (tmp == that.List.length) {
|
|
|
+ uni.hideLoading()
|
|
|
+ that.$api.msg('审核成功!')
|
|
|
+ setTimeout(function() {
|
|
|
+ uni.navigateBack();
|
|
|
+ }, 2000);
|
|
|
+ // }
|
|
|
+ })
|
|
|
// }
|
|
|
}
|
|
|
}
|
|
@@ -750,7 +749,7 @@
|
|
|
}
|
|
|
|
|
|
.mx-item {
|
|
|
- text-align:left;
|
|
|
+ text-align: left;
|
|
|
// width: 33%;
|
|
|
// text-align: center;
|
|
|
}
|