结算问题修复
This commit is contained in:
parent
3b07508e67
commit
d1df09a8a2
|
|
@ -685,11 +685,14 @@ export default {
|
||||||
settlementType: this.rowData[0].settlementType || ''
|
settlementType: this.rowData[0].settlementType || ''
|
||||||
}
|
}
|
||||||
console.log('2222222222222', params)
|
console.log('2222222222222', params)
|
||||||
|
this.loading = true
|
||||||
submitCosts(params).then(response => {
|
submitCosts(params).then(response => {
|
||||||
|
this.loading = false
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: '提交成功'
|
message: '提交成功'
|
||||||
})
|
})
|
||||||
|
|
||||||
this.$emit('isReset')
|
this.$emit('isReset')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -637,7 +637,7 @@ export default {
|
||||||
async getRepairList() {
|
async getRepairList() {
|
||||||
try {
|
try {
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
const res = await viewRepairCodeApi({ ...this.repairQuery })
|
const res = await viewRepairCodeApi({ ...this.repairQuery,settlementType:this.queryParams.settlementType })
|
||||||
this.repairList = res.rows || []
|
this.repairList = res.rows || []
|
||||||
this.repairTotal = res.total || 0
|
this.repairTotal = res.total || 0
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
|
|
@ -579,7 +579,6 @@ import Treeselect from "@riophae/vue-treeselect";
|
||||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
import * as XLSX from 'xlsx';
|
import * as XLSX from 'xlsx';
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
import { download,downloadJson,downloadZip } from '@/utils/request'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'UnreportHome',
|
name: 'UnreportHome',
|
||||||
|
|
@ -933,7 +932,7 @@ export default {
|
||||||
console.log("xxxxxxxxxxtaskId",this.taskId)
|
console.log("xxxxxxxxxxtaskId",this.taskId)
|
||||||
const param = { taskId: this.taskId }
|
const param = { taskId: this.taskId }
|
||||||
this.downloadZip(
|
this.downloadZip(
|
||||||
'material/slt_agreement_info/downloadExZip',
|
'material/slt_agreement_info/dlExProgress',
|
||||||
JSON.stringify(param),
|
JSON.stringify(param),
|
||||||
`未结算批量明细导出_${new Date().getTime()}.zip`,
|
`未结算批量明细导出_${new Date().getTime()}.zip`,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue