材料站结算费用导出
This commit is contained in:
parent
cb9e07f041
commit
3a33615370
|
|
@ -386,7 +386,7 @@ export default {
|
|||
const currentTime = formatTime(new Date())
|
||||
let data = _.cloneDeep(this.rowData)
|
||||
const params = { params: JSON.stringify(data) }
|
||||
this.download('material/slt_agreement_info/exportLease', { ...params }, `租赁费用明细_${currentTime}.xlsx`)
|
||||
this.download('material/material_sltAgreementInfo/exportLease', { ...params }, `租赁费用明细_${currentTime}.xlsx`)
|
||||
},
|
||||
//丢失
|
||||
handleExport2() {
|
||||
|
|
@ -403,7 +403,7 @@ export default {
|
|||
const currentTime = formatTime(new Date())
|
||||
let data = _.cloneDeep(this.rowData)
|
||||
const params = { params: JSON.stringify(data) }
|
||||
this.download('material/slt_agreement_info/exportLose', { ...params }, `丢失费用明细_${currentTime}.xlsx`)
|
||||
this.download('material/material_sltAgreementInfo/exportLose', { ...params }, `丢失费用明细_${currentTime}.xlsx`)
|
||||
},
|
||||
// 维修
|
||||
handleExport3() {
|
||||
|
|
@ -420,7 +420,7 @@ export default {
|
|||
const currentTime = formatTime(new Date())
|
||||
let data = _.cloneDeep(this.rowData)
|
||||
const params = { params: JSON.stringify(data) }
|
||||
this.download('material/slt_agreement_info/exportRepair', { ...params }, `维修费用明细_${currentTime}.xlsx`)
|
||||
this.download('material/material_sltAgreementInfo/exportRepair', { ...params }, `维修费用明细_${currentTime}.xlsx`)
|
||||
},
|
||||
//报废
|
||||
handleExport4() {
|
||||
|
|
@ -437,7 +437,7 @@ export default {
|
|||
const currentTime = formatTime(new Date())
|
||||
let data = _.cloneDeep(this.rowData)
|
||||
const params = { params: JSON.stringify(data) }
|
||||
this.download('material/slt_agreement_info/exportScrap', { ...params }, `报废费用明细_${currentTime}.xlsx`)
|
||||
this.download('material/material_sltAgreementInfo/exportScrap', { ...params }, `报废费用明细_${currentTime}.xlsx`)
|
||||
},
|
||||
handleExport5() {
|
||||
const formatTime = date => {
|
||||
|
|
@ -453,7 +453,7 @@ export default {
|
|||
const currentTime = formatTime(new Date())
|
||||
let data = _.cloneDeep(this.rowData)
|
||||
const params = { params: JSON.stringify(data) }
|
||||
this.download('material/slt_agreement_info/exportReduction', { ...params }, `减免费用明细_${currentTime}.xlsx`)
|
||||
this.download('material/material_sltAgreementInfo/exportReduction', { ...params }, `减免费用明细_${currentTime}.xlsx`)
|
||||
},
|
||||
|
||||
handleExportAll() {
|
||||
|
|
@ -470,7 +470,7 @@ export default {
|
|||
const currentTime = formatTime(new Date())
|
||||
let data = _.cloneDeep(this.rowData)
|
||||
const params = { params: JSON.stringify(data) }
|
||||
this.download('material/slt_agreement_info/exportAll', { ...params }, `全部费用明细_${currentTime}.xlsx`)
|
||||
this.download('material/material_sltAgreementInfo/exportAll', { ...params }, `全部费用明细_${currentTime}.xlsx`)
|
||||
},
|
||||
handleExportEach() {
|
||||
const formatTime = date => {
|
||||
|
|
@ -486,7 +486,7 @@ export default {
|
|||
const currentTime = formatTime(new Date())
|
||||
let data = _.cloneDeep(this.rowData)
|
||||
const params = { params: JSON.stringify(data) }
|
||||
this.download('material/slt_agreement_info/exportEach', { ...params }, `各费用明细_${currentTime}.xlsx`)
|
||||
this.download('material/material_sltAgreementInfo/exportEach', { ...params }, `各费用明细_${currentTime}.xlsx`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue