|
@@ -141,7 +141,7 @@ export default {
|
|
|
{ title: '客户名称', dataIndex: 'customerName', width: '12%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '关联单号', dataIndex: 'bizOrderNo', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '金额', dataIndex: 'tradeAmount', width: '8%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
|
- { title: '交易类型', dataIndex: 'tradeTypeDictValue', width: '8%', align: 'center', customRender: function (text) { return text ? '已选' : '--' } },
|
|
|
+ { title: '交易类型', dataIndex: 'tradeTypeDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '交易状态', dataIndex: 'dealStateDictValue', width: '8%', align: 'center', scopedSlots: { customRender: 'status' } }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
@@ -165,8 +165,7 @@ export default {
|
|
|
return data
|
|
|
})
|
|
|
},
|
|
|
- detailData: null,
|
|
|
- rowSelectionInfo: null // 已选数据
|
|
|
+ detailData: null // 统计
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -188,33 +187,10 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 表格选中项
|
|
|
- rowSelectionFun (obj) {
|
|
|
- this.rowSelectionInfo = obj || null
|
|
|
- },
|
|
|
- // 重新选择
|
|
|
- handleReSel () {
|
|
|
- this.$emit('ok', [])
|
|
|
- this.resetSearchForm()
|
|
|
- },
|
|
|
- // 关联单据创建时间
|
|
|
+ // 创建时间 change
|
|
|
createDateChange (date) {
|
|
|
- this.queryParam.bizCreateBeginDate = date[0]
|
|
|
- this.queryParam.bizCreateEndDate = date[1]
|
|
|
- },
|
|
|
- // 审核时间 change
|
|
|
- dateChange (date) {
|
|
|
- this.queryParam.auditBeginDate = date[0]
|
|
|
- this.queryParam.auditEndDate = date[1]
|
|
|
- },
|
|
|
- // 确定
|
|
|
- handleSave () {
|
|
|
- if (this.totalNums) {
|
|
|
- this.$emit('ok', this.rowSelectionInfo && this.rowSelectionInfo.selectedRows)
|
|
|
- this.resetSearchForm()
|
|
|
- } else {
|
|
|
- this.$message.info('请选择单据')
|
|
|
- }
|
|
|
+ this.queryParam.beginDate = date[0]
|
|
|
+ this.queryParam.endDate = date[1]
|
|
|
},
|
|
|
// 重置
|
|
|
resetSearchForm () {
|