feat(webapp): 初始化项目结构和功能
- 创建项目目录和文件结构 - 添加基础的 Vue组件和布局 - 实现简单的路由和页面切换 - 添加数据库操作相关代码 - 引入 dateutil 库并添加相关测试
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
import {ref} from "vue";
|
||||
|
||||
const columns = [
|
||||
// {
|
||||
// title: '发票代码',
|
||||
// dataIndex: 'invoiceCode',
|
||||
// key: 'invoiceCode',
|
||||
// },
|
||||
{
|
||||
title: '发票号码',
|
||||
dataIndex: 'invoiceNumber',
|
||||
key: 'invoiceNumber',
|
||||
},
|
||||
{
|
||||
title: '不含税金额',
|
||||
dataIndex: 'invoiceAmountPreTax',
|
||||
key: 'invoiceAmountPreTax',
|
||||
},
|
||||
{
|
||||
title: '税额',
|
||||
dataIndex: 'invoiceTax',
|
||||
key: 'invoiceTax',
|
||||
},
|
||||
{
|
||||
title: '价税合计',
|
||||
dataIndex: 'totalAmount',
|
||||
key: 'totalAmount',
|
||||
},
|
||||
{
|
||||
title: '开票日期',
|
||||
dataIndex: 'invoiceDate',
|
||||
key: 'invoiceDate',
|
||||
},
|
||||
{
|
||||
title: '销方名称',
|
||||
dataIndex: 'sellerName',
|
||||
key: 'sellerName',
|
||||
},
|
||||
{
|
||||
title: '销方税号',
|
||||
dataIndex: 'sellerTaxNumber',
|
||||
key: 'sellerTaxNumber',
|
||||
},
|
||||
{
|
||||
title: '查验结果',
|
||||
dataIndex: 'cyjgxx',
|
||||
key: 'cyjgxx',
|
||||
},
|
||||
{
|
||||
title: '查验次数',
|
||||
dataIndex: 'inspectionAmount',
|
||||
key: 'inspectionAmount',
|
||||
},
|
||||
{
|
||||
title: '查验时间',
|
||||
dataIndex: 'verify_time',
|
||||
key: 'verify_time',
|
||||
}
|
||||
|
||||
]
|
||||
let data = ref( [])
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<a-table :columns="columns" :data-source="data">
|
||||
</a-table>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user