|
@@ -688,7 +688,7 @@
|
|
|
if (index === 0) {
|
|
|
sums[index] = '合计'
|
|
|
} else if (index === _number[0] || index === _number[1] || index === _number[2] || index === _number[
|
|
|
- 3] || index === _number[4]) {
|
|
|
+ 3] || index === _number[4]) {
|
|
|
const values = data.map((item) => Number(item[column.property]))
|
|
|
if (!values.every((value) => isNaN(value))) {
|
|
|
sums[index] = values.reduce((prev, curr) => {
|
|
@@ -1222,16 +1222,18 @@
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- workflowcontent({
|
|
|
- workflowId: item.workflowId,
|
|
|
- businessKey: item.id,
|
|
|
- type: '付款管理'
|
|
|
- }).toPromise()
|
|
|
- .then((response1) => {
|
|
|
- console.log(response1)
|
|
|
- // this.$message.success('审核成功')
|
|
|
- // this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
|
- })
|
|
|
+ if (index == 0) {
|
|
|
+ workflowcontent({
|
|
|
+ workflowId: item.workflowId,
|
|
|
+ businessKey: item.id,
|
|
|
+ type: '付款管理'
|
|
|
+ }).toPromise()
|
|
|
+ .then((response1) => {
|
|
|
+ console.log(response1)
|
|
|
+ // this.$message.success('审核成功')
|
|
|
+ // this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
|
+ })
|
|
|
+ }
|
|
|
this.audit(
|
|
|
this.modification[index + 1],
|
|
|
index + 1,
|
|
@@ -1249,16 +1251,18 @@
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- workflowcontent({
|
|
|
- workflowId: item.workflowId,
|
|
|
- businessKey: item.id,
|
|
|
- type: '付款管理'
|
|
|
- }).toPromise()
|
|
|
- .then((response1) => {
|
|
|
- console.log(response1)
|
|
|
- // this.$message.success('审核成功')
|
|
|
- // this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
|
- })
|
|
|
+ if (index == 0) {
|
|
|
+ workflowcontent({
|
|
|
+ workflowId: item.workflowId,
|
|
|
+ businessKey: item.id,
|
|
|
+ type: '付款管理'
|
|
|
+ }).toPromise()
|
|
|
+ .then((response1) => {
|
|
|
+ console.log(response1)
|
|
|
+ // this.$message.success('审核成功')
|
|
|
+ // this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
|
|
|
+ })
|
|
|
+ }
|
|
|
// postqueryhandle({workflowId:item.workflowId}).toPromise()
|
|
|
// .then((response) => {
|
|
|
this.audit(
|