lilei 2 éve
szülő
commit
d3f5cc85af

+ 3 - 2
src/views/reportData/actualSalesReport/list.vue

@@ -76,7 +76,8 @@
         class="sTable"
         ref="table"
         size="small"
-        :rowKey="(record) => record.id"
+        :rowKey="(record) => record.no"
+        rowKeyName="no"
         :columns="columns"
         :data="loadData"
         :scroll="{ x: 2250 }"
@@ -288,7 +289,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')<0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')>=0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/billingBackReport/list.vue

@@ -237,7 +237,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌') < 0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌') >= 0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/billingOrderReport/list.vue

@@ -243,7 +243,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌') < 0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌') >= 0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/billingReturnReport/list.vue

@@ -284,7 +284,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')<0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')>=0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/hPriceDifferenceDetailReport/list.vue

@@ -225,7 +225,7 @@ export default {
       const arr = [
         { title: '区域', dataIndex: 'subareaArea.subareaName', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '负责人', dataIndex: 'subareaArea.bizUserName', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '区域负责人', dataIndex: 'subareaArea.bizUserName', width: 100, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '订单号', dataIndex: 'bizNo', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '日期', dataIndex: 'bizCreateDate', width: 90, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '省份', dataIndex: 'dealer.provinceName', width: 90, align: 'center', customRender: function (text) { return text || '--' } },

+ 1 - 1
src/views/reportData/regionTypeSalesReport/list.vue

@@ -224,7 +224,7 @@ export default {
       const tableTitle = await titUrl().then(res => res.data)
       this.columns = tableTitle.list
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/returnGoodsPresentation/list.vue

@@ -286,7 +286,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌') < 0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌') >= 0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/salesAmountReport/list.vue

@@ -282,7 +282,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')<0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')>=0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 4 - 4
src/views/reportData/salesDetails/list.vue

@@ -227,11 +227,11 @@ export default {
       const arr = [
         { title: '区域', dataIndex: 'subareaArea.subareaName', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '负责人', dataIndex: 'subareaArea.bizUserName', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '销售单号', dataIndex: 'salesBillNo', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '出库仓库', dataIndex: 'warehouseName', width: 150, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '区域负责人', dataIndex: 'subareaArea.bizUserName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '销售单号', dataIndex: 'salesBillNo', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '出库仓库', dataIndex: 'warehouseName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '省份', dataIndex: 'dealerProvinceName', width: 90, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '客户名称', dataIndex: 'dealerName', width: 100, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '客户名称', dataIndex: 'dealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '客户级别', dataIndex: 'dealerLevelDictValue', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '直接绑定客户名称', dataIndex: 'directDealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '间接绑定客户名称', dataIndex: 'indirectDealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },

+ 1 - 1
src/views/reportData/salesPresentation/list.vue

@@ -285,7 +285,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')<0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')>=0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/salesReturnDetailReport/list.vue

@@ -231,7 +231,7 @@ export default {
       const arr = [
         { title: '区域', dataIndex: 'subareaArea.subareaName', width: 60, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: 60, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '区域负责人', dataIndex: 'subareaArea.bizUserName', width: 80, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '区域负责人', dataIndex: 'subareaArea.bizUserName', width: 100, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '退货单号', dataIndex: 'salesReturnBillNo', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '退货仓库', dataIndex: 'warehouseName', width: 150, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '省份', dataIndex: 'dealerProvinceName', width: 90, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },

+ 1 - 1
src/views/reportData/salesReturnReport/list.vue

@@ -288,7 +288,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')<0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')>=0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }

+ 1 - 1
src/views/reportData/salesSlipReport/list.vue

@@ -290,7 +290,7 @@ export default {
       this.countLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')<0)
       this.countBrandLabel = tableTitle.count.filter(item => item.title.indexOf('品牌')>=0)
       this.columns.map(item => {
-        let mw = 40
+        let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }