lilei 2 jaren geleden
bovenliggende
commit
d7d0fdfb07

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

@@ -293,6 +293,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/billingBackReport/list.vue

@@ -241,6 +241,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/billingOrderReport/list.vue

@@ -247,6 +247,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/billingReturnReport/list.vue

@@ -288,6 +288,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/regionTypeSalesReport/list.vue

@@ -228,6 +228,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/returnGoodsPresentation/list.vue

@@ -290,6 +290,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/returnSlipReport/list.vue

@@ -299,6 +299,8 @@ export default {
         if(item.customRender == 'amount'){
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/salesAmountReport/list.vue

@@ -286,6 +286,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/salesPresentation/list.vue

@@ -289,6 +289,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/salesReturnReport/list.vue

@@ -292,6 +292,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w

+ 2 - 0
src/views/reportData/salesSlipReport/list.vue

@@ -294,6 +294,8 @@ export default {
         if (item.customRender == 'amount') {
           mw = 15
           item.customRender = function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
+        }else{
+          item.customRender = function (text) { return text || '--' }
         }
         const w = item.title.length * mw
         const tw = w <= 80 ? mw*5 : w