MrShi
2024-02-05 5019ed6016b47221321bf395cd102dc4b51b4724
company/src/views/business/taxes.vue
@@ -48,10 +48,10 @@
                </el-table-column>
                <el-table-column label="开票状态" min-width="100px">
                    <template slot-scope="{row}">
                        <span v-if="row.status === 0">待处理</span>
                        <span v-if="row.status === 1">已开票</span>
                        <span v-if="row.status === 2">平台撤回</span>
                        <span v-if="row.status === 3">已冲红</span>
                        <span :class="'tax-status'+row.status" v-if="row.status === 0">待处理</span>
                        <span :class="'tax-status'+row.status"  v-if="row.status === 1">已开票</span>
                        <span :class="'tax-status'+row.status"  v-if="row.status === 2">平台撤回</span>
                        <span :class="'tax-status'+row.status"  v-if="row.status === 3">已冲红</span>
                    </template>
                </el-table-column>
                <el-table-column prop="companyName" label="申请企业" min-width="100px" v-if="userInfo.type === 0"></el-table-column>
@@ -84,7 +84,7 @@
                    <template slot-scope="{row}">
                        <el-button v-if="row.status == 0" type="text" @click="$refs.OperaTaxesUploadWindow.open('上传发票',row)">上传发票</el-button>
                        <el-button v-if="row.status == 1 && userInfo.type === 0" type="text" @click="$refs.OperaTaxesUploadWindow.open('修改发票',row)">修改发票</el-button>
                        <el-button type="text" @click="$refs.OperaTaxesWindow.open('申请详情',row)">申请详情</el-button>
                        <el-button type="text" @click="$refs.OperaTaxesWindow.open('开票申请详情',row)">申请详情</el-button>
                    </template>
                </el-table-column>
            </el-table>