|
@@ -190,6 +190,7 @@ export default {
|
|
},
|
|
},
|
|
//暂缓上报
|
|
//暂缓上报
|
|
postponeSubmission() {
|
|
postponeSubmission() {
|
|
|
|
+ let that = this
|
|
if (this.modification.length > 0) {
|
|
if (this.modification.length > 0) {
|
|
this.$confirm('确定暂缓上报选中的条目?', '提示', {
|
|
this.$confirm('确定暂缓上报选中的条目?', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
@@ -200,13 +201,13 @@ export default {
|
|
dailyReportDeferEscalation({ hyFreightSettlementInfos: this.modification })
|
|
dailyReportDeferEscalation({ hyFreightSettlementInfos: this.modification })
|
|
.then(response => {
|
|
.then(response => {
|
|
if (response.code == 200) {
|
|
if (response.code == 200) {
|
|
- this.$notify({
|
|
|
|
|
|
+ that.$notify({
|
|
title: '成功',
|
|
title: '成功',
|
|
message: '操作成功!',
|
|
message: '操作成功!',
|
|
type: 'success'
|
|
type: 'success'
|
|
})
|
|
})
|
|
this.modification = []
|
|
this.modification = []
|
|
- this.getList()
|
|
|
|
|
|
+ that.getList()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
})
|
|
})
|
|
@@ -216,6 +217,7 @@ export default {
|
|
},
|
|
},
|
|
//批量上报
|
|
//批量上报
|
|
batchSubmission() {
|
|
batchSubmission() {
|
|
|
|
+ let that = this
|
|
if (this.modification.length > 0) {
|
|
if (this.modification.length > 0) {
|
|
this.$confirm('确定批量上报流水单信息?', '提示', {
|
|
this.$confirm('确定批量上报流水单信息?', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
@@ -226,13 +228,13 @@ export default {
|
|
dailyReportBatchEscalation({ hyFreightSettlementInfos: this.modification })
|
|
dailyReportBatchEscalation({ hyFreightSettlementInfos: this.modification })
|
|
.then(response => {
|
|
.then(response => {
|
|
if (response.code == 200) {
|
|
if (response.code == 200) {
|
|
- this.$notify({
|
|
|
|
|
|
+ that.$notify({
|
|
title: '成功',
|
|
title: '成功',
|
|
message: '上报成功!',
|
|
message: '上报成功!',
|
|
type: 'success'
|
|
type: 'success'
|
|
})
|
|
})
|
|
- this.modification = []
|
|
|
|
- this.getList()
|
|
|
|
|
|
+ that.modification = []
|
|
|
|
+ that.getList()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
})
|
|
})
|