|
@@ -10,6 +10,7 @@
|
|
|
:append-to-body="false"
|
|
|
:options="options"
|
|
|
clearable
|
|
|
+ :props="{ multiple: true}"
|
|
|
style="width: 100%"
|
|
|
@change="handleChange"
|
|
|
/>
|
|
@@ -244,33 +245,34 @@ export default {
|
|
|
// 导出
|
|
|
handleExcel: function() {
|
|
|
const _this = this
|
|
|
- _this.AllData = []
|
|
|
this.OutData = []
|
|
|
- const title = ['单元/楼栋号', '所在层', '户室号', '套内面积', '建筑面积', '用途', '装修情况',
|
|
|
- '可售状态', '已售状态']
|
|
|
+ const title = ['房屋', '流水号', '买受人', '金额(元)', '退款类型', '付款账号',
|
|
|
+ '银行流水号', '退款经办人', 'NCC提交状态', '最近提交日期', 'NCC提交人']
|
|
|
this.OutData.push(title)
|
|
|
const temp = []
|
|
|
this.baseRequest('refundRecordListAll', _this.search).then(res => {
|
|
|
const data = res.data
|
|
|
- data.data.forEach(function(item) {
|
|
|
+ data.forEach(function(item) {
|
|
|
const json = _this.getItemJson(item)
|
|
|
temp.push(json)
|
|
|
})
|
|
|
temp.forEach(function(item) {
|
|
|
const jsonArray = []
|
|
|
- jsonArray.push(item.buildName)
|
|
|
- jsonArray.push(item.floor)
|
|
|
- jsonArray.push(item.roomNo)
|
|
|
- jsonArray.push(item.actualInternalArea)
|
|
|
- jsonArray.push(item.actualBuildArea)
|
|
|
- jsonArray.push(item.roomUse)
|
|
|
- jsonArray.push(item.decorationSituationStr)
|
|
|
- jsonArray.push(item.saleStatusStr)
|
|
|
- jsonArray.push(item.soldStatusStr)
|
|
|
+ jsonArray.push(item.houseName)
|
|
|
+ jsonArray.push(item.serialNumber)
|
|
|
+ jsonArray.push(item.buyerName)
|
|
|
+ jsonArray.push(item.money)
|
|
|
+ jsonArray.push(item.contentTypeStr)
|
|
|
+ jsonArray.push(item.bankNumber)
|
|
|
+ jsonArray.push(item.bankSerialId)
|
|
|
+ jsonArray.push(item.createdName)
|
|
|
+ jsonArray.push(item.ncSubmitStatusStr)
|
|
|
+ jsonArray.push(item.ncSubmitDate)
|
|
|
+ jsonArray.push(item.ncSubmitName)
|
|
|
_this.OutData.push(jsonArray)
|
|
|
})
|
|
|
const OutSize = [{ wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 },
|
|
|
- { wch: 15 }, { wch: 15 }]
|
|
|
+ { wch: 15 }, { wch: 15 }, { wch: 15 }, { wch: 15 }]
|
|
|
const fileName = '收款记录导出 ' + new Date().Format('yyyyMMddhhmm')
|
|
|
this.$outputXlsxFile(this.OutData, OutSize, fileName)
|
|
|
})
|