|
@@ -27,11 +27,22 @@
|
|
<view class="left">合计重量(吨)</view>
|
|
<view class="left">合计重量(吨)</view>
|
|
<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
|
|
<view class="right">{{auditInfo.inWarehouseWeightTotal}}</view>
|
|
</view>
|
|
</view>
|
|
- <view class="row" style="border-bottom:0">
|
|
|
|
|
|
+ <view class="row">
|
|
<view class="left">合计金额(元)</view>
|
|
<view class="left">合计金额(元)</view>
|
|
<view class="right">{{auditInfo.requestFundsTotal}}</view>
|
|
<view class="right">{{auditInfo.requestFundsTotal}}</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
|
|
+ <view class="row">
|
|
|
|
+ <view class="left">仓库名称</view>
|
|
|
|
+ <view class="right">{{auditInfo.warehouseName}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="row">
|
|
|
|
+ <view class="left">入库日期</view>
|
|
|
|
+ <view class="right">{{auditInfo.issuingTime}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="row" style="border-bottom:0">
|
|
|
|
+ <view class="left">车数</view>
|
|
|
|
+ <view class="right">{{auditInfo.count}}</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="content1" v-if="url && url != 'ng'">
|
|
<view class="content1" v-if="url && url != 'ng'">
|
|
<view class="title ">
|
|
<view class="title ">
|
|
@@ -42,6 +53,30 @@
|
|
<text class="text_css">明细.xls</text>
|
|
<text class="text_css">明细.xls</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="content2">
|
|
|
|
+ <view class="title row">
|
|
|
|
+ 流程
|
|
|
|
+ </view>
|
|
|
|
+ <view v-for="(item,index) in auditList" :key='index' class="audit">
|
|
|
|
+ <view class="row">
|
|
|
|
+ <view class="left">
|
|
|
|
+ <view class="item1">
|
|
|
|
+ <image :src="src" style="width: 100rpx;height: 100rpx;border-radius: 500%;"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="item2">
|
|
|
|
+ <view class="name">{{item.operatorName ? item.operatorName:item.operatorMajorRoleName}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="status">{{item.approved ? "已审核":"待决策人审核"}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="right">
|
|
|
|
+ {{item.updateDate}}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="row-line" v-if="index!= auditList.length - 1"></view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
<view v-if='show' class="shade">
|
|
<view v-if='show' class="shade">
|
|
<view class="wrap">
|
|
<view class="wrap">
|
|
<view class="alert-top">
|
|
<view class="alert-top">
|
|
@@ -142,11 +177,11 @@
|
|
title: "加载中...",
|
|
title: "加载中...",
|
|
mask: true
|
|
mask: true
|
|
})
|
|
})
|
|
- // this.$api.doRequest('get', '/paymentManagement/selectPaymentManagement', {
|
|
|
|
|
|
+ // this.$api.doRequest('get', '/warehousingOrder/selectInfo', {
|
|
// currentPage: 1,
|
|
// currentPage: 1,
|
|
// pageSize: 100,
|
|
// pageSize: 100,
|
|
- // searchType: '1', //searchType:1待审核
|
|
|
|
- // warehouseName: this.vesselId,
|
|
|
|
|
|
+ // searchType: '2', //searchType:1待审核
|
|
|
|
+ // // warehouseName: this.vesselId,
|
|
// managementType: 1
|
|
// managementType: 1
|
|
// }).then(res1 => {
|
|
// }).then(res1 => {
|
|
// uni.hideLoading()
|
|
// uni.hideLoading()
|
|
@@ -180,20 +215,20 @@
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- // this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
|
|
|
|
- // businessCode: 'PAYMENT-MANAGEMENT-APPROVE',
|
|
|
|
- // tmpCompId: uni.getStorageSync('pcUserInfo').compId
|
|
|
|
- // }).then(res1 => {
|
|
|
|
- // this.updateDate = res1.data.data[0].updateDate
|
|
|
|
- // this.$api.doRequest('get', '/commonUser/getHis', {
|
|
|
|
- // workflowId: res1.data.data[0].id,
|
|
|
|
- // businessKey: this.id
|
|
|
|
- // }).then(response => {
|
|
|
|
- // // uni.hideLoading()
|
|
|
|
- // this.auditList = response.data.data
|
|
|
|
-
|
|
|
|
- // })
|
|
|
|
- // })
|
|
|
|
|
|
+ this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
|
|
|
|
+ businessCode: 'WAREHOUSING-ORDER-APPROVE',
|
|
|
|
+ tmpCompId: uni.getStorageSync('pcUserInfo').compId
|
|
|
|
+ }).then(res1 => {
|
|
|
|
+ this.updateDate = res1.data.data[0].updateDate
|
|
|
|
+ this.$api.doRequest('get', '/commonUser/getHis', {
|
|
|
|
+ workflowId: res1.data.data[0].id,
|
|
|
|
+ businessKey: this.id
|
|
|
|
+ }).then(response => {
|
|
|
|
+ // uni.hideLoading()
|
|
|
|
+ this.auditList = response.data.data
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ })
|
|
},
|
|
},
|
|
close() {
|
|
close() {
|
|
this.show = false
|
|
this.show = false
|
|
@@ -247,23 +282,23 @@
|
|
mask: true
|
|
mask: true
|
|
})
|
|
})
|
|
var count = 0
|
|
var count = 0
|
|
- for (let num = 0; num < that.List.length; num++) {
|
|
|
|
|
|
+ // for (let num = 0; num < that.List.length; num++) {
|
|
that.$api.doRequest('post', '/workflow/api/handle', {
|
|
that.$api.doRequest('post', '/workflow/api/handle', {
|
|
- taskId: that.List[num].taskId,
|
|
|
|
|
|
+ taskId: that.auditInfo.taskId,
|
|
approved: false,
|
|
approved: false,
|
|
auditMind: that.auditMind ? that.auditMind : "",
|
|
auditMind: that.auditMind ? that.auditMind : "",
|
|
needReapply: true
|
|
needReapply: true
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- count++
|
|
|
|
- if (count == that.List.length) {
|
|
|
|
|
|
+ // count++
|
|
|
|
+ // if (count == that.List.length) {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
that.$api.msg('审核成功!')
|
|
that.$api.msg('审核成功!')
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
uni.navigateBack();
|
|
uni.navigateBack();
|
|
}, 2000);
|
|
}, 2000);
|
|
- }
|
|
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -281,24 +316,24 @@
|
|
title: "审核中...",
|
|
title: "审核中...",
|
|
mask: true
|
|
mask: true
|
|
})
|
|
})
|
|
- for (let num = 0; num < that.List.length; num++) {
|
|
|
|
- var tmp = 0
|
|
|
|
|
|
+ // for (let num = 0; num < that.List.length; num++) {
|
|
|
|
+ // var tmp = 0
|
|
that.$api.doRequest('post', '/workflow/api/handle', {
|
|
that.$api.doRequest('post', '/workflow/api/handle', {
|
|
- taskId: that.List[num].taskId,
|
|
|
|
|
|
+ taskId: that.auditInfo.taskId,
|
|
approved: true,
|
|
approved: true,
|
|
auditMind: that.auditMind ? that.auditMind : "",
|
|
auditMind: that.auditMind ? that.auditMind : "",
|
|
needReapply: false
|
|
needReapply: false
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- tmp++
|
|
|
|
- if (tmp == that.List.length) {
|
|
|
|
|
|
+ // tmp++
|
|
|
|
+ // if (tmp == that.List.length) {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
that.$api.msg('审核成功!')
|
|
that.$api.msg('审核成功!')
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
uni.navigateBack();
|
|
uni.navigateBack();
|
|
}, 2000);
|
|
}, 2000);
|
|
- }
|
|
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|