chenrui 1 ماه پیش
والد
کامیت
5848ca6218

+ 3 - 1
src/views/reportData/promotionFeeReport/PromotionFeeList.vue

@@ -229,13 +229,15 @@ export default {
       const _this = this
       const tableTitle = await promoSalesExpenseTitle().then(res => res.data)
       this.columns = tableTitle.list
-      this.columns.unshift({ title: '序号', dataIndex: 'no', fixed: 'left', align: 'center' })
+      this.columns.unshift({ title: '序号', customRender: 'no', dataIndex: 'no', fixed: 'left', align: 'center' })
       this.countLabel = tableTitle.count
       this.columns.map(item => {
         let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        } else if (item.customRender == 'no') {
+          mw = 10
         } else {
           item.customRender = function (text) { return text || '--' }
         }

+ 3 - 1
src/views/reportData/promotionFeeReport/customerFeeList.vue

@@ -226,13 +226,15 @@ export default {
       const _this = this
       const tableTitle = await promoSalesExpenseTitle().then(res => res.data)
       this.columns = tableTitle.list
-      this.columns.unshift({ title: '序号', dataIndex: 'no', fixed: 'left', align: 'center' })
+      this.columns.unshift({ title: '序号', customRender: 'no', dataIndex: 'no', fixed: 'left', align: 'center' })
       this.countLabel = tableTitle.count
       this.columns.map(item => {
         let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        } else if (item.customRender == 'no') {
+          mw = 10
         } else {
           item.customRender = function (text) { return text || '--' }
         }

+ 3 - 1
src/views/reportData/promotionFeeReport/provinceFeeList.vue

@@ -176,13 +176,15 @@ export default {
       const _this = this
       const tableTitle = await promoProvinceTableTitle().then(res => res.data)
       this.columns = tableTitle.list
-      this.columns.unshift({ title: '序号', dataIndex: 'no', fixed: 'left', align: 'center' })
+      this.columns.unshift({ title: '序号', customRender: 'no', dataIndex: 'no', fixed: 'left', align: 'center' })
       this.countLabel = tableTitle.count
       this.columns.map(item => {
         let mw = 20
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        } else if (item.customRender == 'no') {
+          mw = 10
         } else {
           item.customRender = function (text) { return text || '--' }
         }