lilei 2 anni fa
parent
commit
6937cd3ded

+ 8 - 8
src/views/numsGoodsShelves/redPacket/redPacketStatistics.vue

@@ -95,7 +95,7 @@
         :row-selection="{ columnWidth: 40, getCheckboxProps: record => ({ props: { disabled: record.rewardStatus!='un_paid' } })}"
         @rowSelection="rowSelectionFun"
         :data="loadData"
-        :scroll="{ y: tableHeight, x: 2130 }"
+        :scroll="{ y: tableHeight, x: 2240 }"
         :defaultLoadData="false"
         bordered>
         <template slot="orderNo" slot-scope="text, record">
@@ -154,18 +154,18 @@ export default {
       columns: [
         { title: '序号', dataIndex: 'no', width: '60px', align: 'center' },
         { title: '活动名称', dataIndex: 'rewardRuleName', width: '150px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '货架名称', dataIndex: 'shelfName', width: '150px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '配件经销商', dataIndex: 'dealerName', width: '150px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '汽车修理厂', dataIndex: 'storeName', width: '150px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '货架名称', dataIndex: 'shelfName', width: '180px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '配件经销商', dataIndex: 'dealerName', width: '160px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '汽车修理厂', dataIndex: 'storeName', width: '160px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '员工姓名', dataIndex: 'userName', width: '80px', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '员工手机号码', dataIndex: 'userMobile', width: '100px', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '订单编号', dataIndex: 'orderNo', scopedSlots: { customRender: 'orderNo' }, width: '130px', align: 'center' },
         { title: '订单类型', dataIndex: 'orderTypeDictValue', width: '80px', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
         { title: '订单状态', dataIndex: 'orderStatusDictValue', width: '80px', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
-        { title: '下单方式', dataIndex: 'orderSourceDictValue', width: '80px', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
+        { title: '下单方式', dataIndex: 'orderSourceDictValue', width: '90px', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
         { title: '下单时间', dataIndex: 'orderDate', width: '150px', align: 'center', customRender: function (text) { return text || '--' } },
         { title: 'VIN', dataIndex: 'vehicleNumber', width: '140px', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '车型', dataIndex: 'vehicleModel', width: '120px', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '车型', dataIndex: 'vehicleModel', width: '180px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '红包奖励时间', dataIndex: 'rewardCreateDate', width: '150px', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
         { title: '本单红包金额小计', dataIndex: 'totalRewardAmount', width: '80px', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
         { title: '红包发放状态', dataIndex: 'rewardStatusDictValue', width: '100px', align: 'center', scopedSlots: { customRender: 'rewardStatus' } },
@@ -211,8 +211,8 @@ export default {
     },
     //  创建时间  change
     dateChange (date) {
-      this.queryParam.beginDate = date[0] || ''
-      this.queryParam.endDate = date[1] || ''
+      this.queryParam.beginDate = (date[0] || '') + ' 00:00:00'
+      this.queryParam.endDate = (date[1] || '') + ' 23:59:59'
     },
     // 经销商 change
     dealerChange (obj) {