瀏覽代碼

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,