Explorar el Código

税率添加单位

yusheng hace 1 año
padre
commit
b759319b0d

+ 5 - 1
src/BIZComponents/inventoryTableDetails.vue

@@ -269,7 +269,11 @@
             width: 160,
             width: 160,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center'
             align: 'center'
           },
           },
           {
           {

+ 5 - 0
src/views/bpm/handleTask/components/financialManage/invoiceManage/components/tableInfo.vue

@@ -162,6 +162,11 @@
             minWidth: 80,
             minWidth: 80,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center'
             align: 'center'
           }
           }
           // {
           // {

+ 5 - 1
src/views/bpm/handleTask/components/purchaseOrder/detailDialog.vue

@@ -503,7 +503,11 @@
             width: 120,
             width: 120,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center',
             align: 'center',
           },
           },
           {
           {

+ 5 - 1
src/views/bpm/handleTask/components/purchaseOrder/invoice/inventoryTable.vue

@@ -348,7 +348,11 @@ export default {
             width: 120,
             width: 120,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center',
             align: 'center',
           },
           },
         {
         {

+ 5 - 1
src/views/bpm/handleTask/components/purchaseOrder/invoice/receiptInfo.vue

@@ -278,7 +278,11 @@
             width: 120,
             width: 120,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center'
             align: 'center'
           },
           },
           {
           {

+ 5 - 1
src/views/bpm/handleTask/components/purchaseOrder/outSourceSend/detailDialog.vue

@@ -292,7 +292,11 @@
             width: 120,
             width: 120,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center',
             align: 'center',
             show: !this.detailType
             show: !this.detailType
           },
           },

+ 5 - 1
src/views/bpm/handleTask/components/purchaseOrder/returnGoods/detailDialog.vue

@@ -359,7 +359,11 @@
             width: 120,
             width: 120,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center',
             align: 'center',
           },
           },
           {
           {

+ 5 - 1
src/views/bpm/handleTask/components/purchaseOrder/returnGoods/inventoryTable.vue

@@ -416,7 +416,11 @@ export default {
             width: 120,
             width: 120,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center',
             align: 'center',
           },
           },
         {
         {

+ 5 - 0
src/views/bpm/handleTask/components/saleOrder/entrustedReceive/detailDialog.vue

@@ -283,6 +283,11 @@
             width: 100,
             width: 100,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center'
             align: 'center'
           },
           },
           {
           {

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

@@ -497,7 +497,11 @@
             width: 160,
             width: 160,
             prop: 'taxRate',
             prop: 'taxRate',
             label: '税率',
             label: '税率',
-            slot: 'taxRate',
+            formatter: (_row, _column, cellValue) => {
+              return _row.taxRate
+                ? _row.taxRate+'%'
+                : '';
+            },
             align: 'center'
             align: 'center'
           },
           },
           {
           {