|  |  |  | 
|---|
|  |  |  | <span v-else>待处理</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="price" | 
|---|
|  |  |  | label="开票金额(元)"> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <!--            <el-table-column--> | 
|---|
|  |  |  | <!--                prop="price"--> | 
|---|
|  |  |  | <!--                label="开票金额(元)">--> | 
|---|
|  |  |  | <!--            </el-table-column>--> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | label="接收方式"> | 
|---|
|  |  |  | <template slot-scope="{row}"> | 
|---|
|  |  |  | 
|---|
|  |  |  | label="电子发票"> | 
|---|
|  |  |  | <template slot-scope="{row}"> | 
|---|
|  |  |  | <el-image | 
|---|
|  |  |  | v-if="row.imgurlFull" | 
|---|
|  |  |  | style="width: 50px; height: 50px" | 
|---|
|  |  |  | :src="row.imgurlFull" | 
|---|
|  |  |  | :preview-src-list="[row.imgurlFull]"> | 
|---|
|  |  |  | </el-image> | 
|---|
|  |  |  | <span v-else>-</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-button @click="close">返回</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <directInsuranceDetails ref="directInsuranceDetails" /> | 
|---|
|  |  |  | <commissionDetails ref="commissionDetails" /> | 
|---|
|  |  |  | </GlobalWindow> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | import GlobalWindow from '@/components/common/GlobalWindow' | 
|---|
|  |  |  | import { list } from '@/api/business/taxes' | 
|---|
|  |  |  | import directInsuranceDetails from '@/components/enterprise/directInsuranceDetails' | 
|---|
|  |  |  | import commissionDetails from '@/components/enterprise/commissionDetails' | 
|---|
|  |  |  | export default { | 
|---|
|  |  |  | name: 'entrustmentHistory', | 
|---|
|  |  |  | extends: BaseOpera, | 
|---|
|  |  |  | components: { GlobalWindow, directInsuranceDetails }, | 
|---|
|  |  |  | components: { GlobalWindow, directInsuranceDetails, commissionDetails }, | 
|---|
|  |  |  | data () { | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | form: { | 
|---|
|  |  |  | id: null, | 
|---|
|  |  |  | solutionsName: '', | 
|---|
|  |  |  | code: '' | 
|---|
|  |  |  | code: '', | 
|---|
|  |  |  | determine: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | list: [] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | info = '待处理' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.$refs.directInsuranceDetails.open(`开票详情(${info})`, row) | 
|---|
|  |  |  | if (this.form.determine === 1) { | 
|---|
|  |  |  | this.$refs.commissionDetails.open(`开票详情(${info})`, row) | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | this.$refs.directInsuranceDetails.open(`开票详情(${info})`, row) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getList() { | 
|---|
|  |  |  | list({ insuranceApplyId: this.form.id }) | 
|---|
|  |  |  | list({ applyId: this.form.id }) | 
|---|
|  |  |  | .then(res => { | 
|---|
|  |  |  | this.list = res | 
|---|
|  |  |  | }) | 
|---|