Commit b09edcb2 by zhangxw

数字报价单列表优化需求开发

1 parent 355006e5
......@@ -121,6 +121,13 @@ export default {
type: 'datePicker',
isClear: true,
pickerOptions: 'beforeRangePickerOptions'
},
{
label: '支付时间',
name: 'payTime',
type: 'datePicker',
isClear: true,
pickerOptions: 'beforeRangePickerOptions'
}
],
tableSearchForm: {},
......@@ -136,6 +143,22 @@ export default {
minWidth: '200'
},
{
label: '创建时间',
prop: 'createTime',
width: '180',
formatter: cellValue => {
return cellValue.createdTime ? cellValue?.createdTime : '--'
}
},
{
label: '支付时间',
prop: 'payTime',
width: '180',
formatter: cellValue => {
return cellValue.payTime ? cellValue?.payTime : '--'
}
},
{
label: '交易参考号',
prop: 'tradeNo',
minWidth: '200'
......@@ -265,6 +288,11 @@ export default {
params.maxCreateTime = Util.dateFormate(this.searchForm.createTime[1], 'YYYY-MM-DD') + ' 23:59:59'
}
delete params.createTime
if (this.searchForm.payTime?.length) {
params.minPayTime = Util.dateFormate(this.searchForm.payTime[0], 'YYYY-MM-DD HH:mm:ss')
params.maxPayTime = Util.dateFormate(this.searchForm.payTime[1], 'YYYY-MM-DD') + ' 23:59:59'
}
delete params.payTime
return params
},
beforeSearchFn() {
......@@ -309,7 +337,8 @@ export default {
orderStatus: '',
merchantName: '',
goodsName: '',
createTime: ''
createTime: '',
payTime: ''
}
this.handleSearch()
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!