Browse Source

财务管理-开票记录增加申请类型字段

gcz 1 year ago
parent
commit
e858e2678b

+ 6 - 3
src/views/finance/InvoiceRecords/dialog/details.vue

@@ -2,9 +2,9 @@
  * @Description: 详情弹框
  * @Author: Sugar.
  * @Date: 2023-11-24 13:55:00
- * @LastEditors: Sugar.
- * @LastEditTime: 2023-11-24 13:55:00
- * @FilePath: \cattle_webui\src\views\finance\refundMr\dialog\details.vue
+ * @LastEditors: gcz
+ * @LastEditTime: 2024-03-18 11:01:58
+ * @FilePath: \great_webui\src\views\finance\InvoiceRecords\dialog\details.vue
  * @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
 -->
 <template>
@@ -31,6 +31,9 @@
           <el-col :span="24">
             <div style="display: flex;" class="grid-content bg-purple item-class">开票类型: <span style="margin-left: 10px;"><dict-tag :options="dict.type.lookup_type" :value="form.handlerType"/></span></div>
           </el-col>
+          <el-col :span="24">
+            <div class="grid-content bg-purple item-class">申请类型: <span v-if="form.invoiceLine == 'bs'">数电专票</span><span v-else-if="form.invoiceLine == 'pc'">数电普票</span></div>
+          </el-col>
           <el-col :span="24">
             <div class="grid-content bg-purple item-class">纳税人识别号: <span>¥{{ form.creditCode || '-' }}</span></div>
           </el-col>

+ 6 - 0
src/views/finance/InvoiceRecords/index.vue

@@ -68,6 +68,12 @@
           <dict-tag :options="dict.type.lookup_type" :value="scope.row.handlerType"/>
         </template>
       </el-table-column>
+      <el-table-column label="申请类型" align="center">
+        <template slot-scope="scope">
+          <span v-if="scope.row.invoiceLine == 'bs'">数电专票</span>
+          <span v-else-if="scope.row.invoiceLine == 'pc'">数电普票</span>
+        </template>
+      </el-table-column>
       <el-table-column label="抬头名称" align="center" prop="name" />
       <el-table-column label="税号" align="center" prop="creditCode" />
       <el-table-column label="状态" align="center">