|
@@ -106,8 +106,8 @@ export default {
|
|
|
tableHeight: 0,
|
|
|
productType: [],
|
|
|
queryParam: { // 查询条件
|
|
|
- onlineBeginDate: '',
|
|
|
- onlineEndDate: '',
|
|
|
+ beginDate: '',
|
|
|
+ endDate: '',
|
|
|
code: '', // 产品编码
|
|
|
name: '', // 产品名称
|
|
|
origCode: '', // 原厂编码
|
|
@@ -123,7 +123,7 @@ export default {
|
|
|
dateFormat: 'YYYY-MM-DD',
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
|
- { title: '上线时间', dataIndex: 'onlineAuditTime', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '上线时间', dataIndex: 'auditTime', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '产品品牌', dataIndex: 'productBrandName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '产品分类', scopedSlots: { customRender: 'productType' }, width: '13%', align: 'center' },
|
|
|
{ title: '产品名称', dataIndex: 'name', width: '16%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
@@ -159,14 +159,14 @@ export default {
|
|
|
methods: {
|
|
|
// 创建时间 change
|
|
|
dateChange (date) {
|
|
|
- this.queryParam.onlineBeginDate = date[0] || ''
|
|
|
- this.queryParam.onlineEndDate = date[1] || ''
|
|
|
+ this.queryParam.beginDate = date[0] || ''
|
|
|
+ this.queryParam.endDate = date[1] || ''
|
|
|
},
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
this.$refs.rangeDate.resetDate()
|
|
|
- this.queryParam.onlineBeginDate = ''
|
|
|
- this.queryParam.onlineEndDate = ''
|
|
|
+ this.queryParam.beginDate = ''
|
|
|
+ this.queryParam.endDate = ''
|
|
|
this.queryParam.code = ''
|
|
|
this.queryParam.name = ''
|
|
|
this.queryParam.origCode = ''
|