소스 검색

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

xieyong 3 일 전
부모
커밋
6818f29bce
1개의 변경된 파일과 6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/views/financialManage/receivableManage/components/collectionDialog.vue

+ 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,