Z 1 год назад
Родитель
Сommit
9408e878f4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/bpm/handleTask/components/saleOrder/invoice/detailDialog.vue

+ 1 - 1
src/views/bpm/handleTask/components/saleOrder/invoice/detailDialog.vue

@@ -418,7 +418,7 @@
             label: '销售总金额',
             label: '销售总金额',
             slot: 'totalPrice',
             slot: 'totalPrice',
             formatter: (_row, _column, cellValue) => {
             formatter: (_row, _column, cellValue) => {
-              return _row.totalPrice + '元';
+              return _row.totalPrice? _row.totalPrice+ '元' : '';
             },
             },
             align: 'center'
             align: 'center'
           },
           },