whj преди 1 година
родител
ревизия
a7ccfcfe82
променени са 1 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. 8 2
      src/views/purchase/purchase-order-page/modules/Detail.vue

+ 8 - 2
src/views/purchase/purchase-order-page/modules/Detail.vue

@@ -126,12 +126,18 @@ export default {
         {
           title: '税率',
           dataIndex: 'ipertaxrate',
-          width: 100
+          width: 100,
+          customRender: (text, record, index) => {
+            return text + '%'
+          }
         },
         {
           title: '价税合计',
           dataIndex: 'iorisum',
-          width: 100
+          width: 100,
+          customRender: (text, record, index) => {
+            return text.toFixed(2)
+          }
         },
         {
           title: '采购状态',