whj 1 рік тому
батько
коміт
a7ccfcfe82

+ 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: '采购状态',