lilei 2 年之前
父节点
当前提交
6f78da1f12

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

@@ -295,7 +295,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -243,7 +243,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -249,7 +249,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -290,7 +290,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -223,8 +223,8 @@ export default {
     columns () {
       let _this=this
       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.subareaName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: 100, 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 || '--' } },

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

@@ -230,7 +230,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -292,7 +292,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -301,7 +301,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w*2: (w>=360?200:w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -288,7 +288,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -225,9 +225,9 @@ export default {
     columns () {
       const _this = this
       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: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '区域', dataIndex: 'subareaArea.subareaName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '区域负责人', dataIndex: 'subareaArea.bizUserName', width: 100, 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 },

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

@@ -291,7 +291,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -229,8 +229,8 @@ export default {
     columns () {
       const _this = this
       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.subareaName', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: 100, 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 },

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

@@ -294,7 +294,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })

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

@@ -296,7 +296,7 @@ export default {
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
         }
         const w = item.title.length * mw
-        const tw = w <= 80 && item.customRender != 'amount' ? w * 2 : (w >= 360 ? 200 : w)
+        const tw = w <= 80 ? mw*5 : w
         item.width = tw + 'px'
         this.tableWidth = this.tableWidth + tw
       })