Browse Source

feat: 添加税率列到应收明细表格,并显示税率信息

xieyong 3 days ago
parent
commit
6818f29bce

+ 6 - 1
src/views/financialManage/receivableManage/components/collectionDialog.vue

@@ -102,6 +102,10 @@
         <template v-slot:headerRequired="{ column }">
           <span class="is-required">{{ column.label }}</span>
         </template>
+
+        <template v-slot:taxRate="scope">
+          <span class="is-required">{{ scope.row.taxRate }}%</span>
+        </template>
       </ele-pro-table>
     </el-form>
 
@@ -260,7 +264,8 @@ export default {
           minWidth: 100,
           prop: 'taxRate',
           label: '税率',
-          align: 'center'
+          align: 'center',
+          slot: 'taxRate'
         },
         {
           minWidth: 100,