|
@@ -9,6 +9,9 @@
|
|
<el-form-item prop="number" label="发票号">
|
|
<el-form-item prop="number" label="发票号">
|
|
<el-input size="small" v-model="searchForm.number" placeholder="请输入发票号" clearable></el-input>
|
|
<el-input size="small" v-model="searchForm.number" placeholder="请输入发票号" clearable></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item prop="reportNo" label="报告文号">
|
|
|
|
+ <el-input size="small" v-model="searchForm.reportNo" placeholder="请输入报告号" clearable></el-input>
|
|
|
|
+ </el-form-item>
|
|
<!-- <el-form-item prop="programName" label="项目名称">-->
|
|
<!-- <el-form-item prop="programName" label="项目名称">-->
|
|
<!-- <el-input size="small" v-model="searchForm.programName" placeholder="请输入项目名称" clearable @clear="clearProgram">-->
|
|
<!-- <el-input size="small" v-model="searchForm.programName" placeholder="请输入项目名称" clearable @clear="clearProgram">-->
|
|
<!-- <el-button slot="append" @click="openProgramPageForm()" icon="el-icon-search"></el-button>-->
|
|
<!-- <el-button slot="append" @click="openProgramPageForm()" icon="el-icon-search"></el-button>-->
|
|
@@ -86,6 +89,7 @@
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+
|
|
<el-form-item v-if="showHideItem" prop="receivablesType" label="收款类型">
|
|
<el-form-item v-if="showHideItem" prop="receivablesType" label="收款类型">
|
|
<el-select v-model="searchForm.receivablesType" placeholder="请选择收款类型"clearable>
|
|
<el-select v-model="searchForm.receivablesType" placeholder="请选择收款类型"clearable>
|
|
<el-option
|
|
<el-option
|
|
@@ -96,6 +100,18 @@
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+
|
|
|
|
+ <el-form-item v-if="showHideItem" prop="reportType" label="报备类型">
|
|
|
|
+ <el-select v-model="searchForm.reportType" placeholder="请选择报备类型"clearable>
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_work_client_report_type')"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+
|
|
<el-form-item v-if="showHideItem" prop="billingContent" label="开票内容">
|
|
<el-form-item v-if="showHideItem" prop="billingContent" label="开票内容">
|
|
<el-select v-model="searchForm.billingContent" placeholder="请选择开票内容"clearable>
|
|
<el-select v-model="searchForm.billingContent" placeholder="请选择开票内容"clearable>
|
|
<el-option
|
|
<el-option
|
|
@@ -194,9 +210,12 @@
|
|
<vxe-column type="checkbox" width="40" ></vxe-column>
|
|
<vxe-column type="checkbox" width="40" ></vxe-column>
|
|
<vxe-column min-width="150" title="项目名称"align="center" field="programName">
|
|
<vxe-column min-width="150" title="项目名称"align="center" field="programName">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-link type="primary" :underline="false" @click="viewProject(scope.row.id)">{{scope.row.programName}}</el-link>
|
|
|
|
|
|
+ <el-link type="primary" :underline="false" @click="viewProject(scope.row.programId)">{{scope.row.programName}}</el-link>
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
|
+
|
|
|
|
+ <vxe-column min-width="150" title="报告文号"align="center" field="reportNo"></vxe-column>
|
|
|
|
+
|
|
<vxe-column min-width="150" title="发票申请编号"align="center" field="no">
|
|
<vxe-column min-width="150" title="发票申请编号"align="center" field="no">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-link type="primary" :underline="false" @click="view(false, scope.row.id)">{{scope.row.no}}</el-link>
|
|
<el-link type="primary" :underline="false" @click="view(false, scope.row.id)">{{scope.row.no}}</el-link>
|
|
@@ -213,6 +232,14 @@
|
|
{{$dictUtils.getDictLabel('invoice_billing_content', scope.row.billingContent, '-')}}
|
|
{{$dictUtils.getDictLabel('invoice_billing_content', scope.row.billingContent, '-')}}
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
|
|
+
|
|
|
|
+ <vxe-column min-width="100" title="报备类型"align="center" field="reportType">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_report_type', scope.row.reportType, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+
|
|
|
|
+
|
|
<vxe-column min-width="100" title="收款类型"align="center" field="receivablesType">
|
|
<vxe-column min-width="100" title="收款类型"align="center" field="receivablesType">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{$dictUtils.getDictLabel('invoice_receivables_type', scope.row.receivablesType, '-')}}
|
|
{{$dictUtils.getDictLabel('invoice_receivables_type', scope.row.receivablesType, '-')}}
|
|
@@ -289,7 +316,8 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import FinanceInvoiceService from '@/api/cw/invoice/CwFinanceInvoiceService'
|
|
import FinanceInvoiceService from '@/api/cw/invoice/CwFinanceInvoiceService'
|
|
- import ProgramForm from './ProgramForm'
|
|
|
|
|
|
+ // import ProgramForm from './ProgramForm'
|
|
|
|
+ import ProgramForm from '@/views/modules/cw/projectRecords/ProjectRecordsForm'
|
|
import InvoiceForm from './InvoiceForm'
|
|
import InvoiceForm from './InvoiceForm'
|
|
import pick from 'lodash.pick'
|
|
import pick from 'lodash.pick'
|
|
import TaskService from '@/api/flowable/TaskService'
|
|
import TaskService from '@/api/flowable/TaskService'
|
|
@@ -405,7 +433,7 @@
|
|
},
|
|
},
|
|
// 查看项目数据
|
|
// 查看项目数据
|
|
viewProject (id) {
|
|
viewProject (id) {
|
|
- this.$refs.programForm.init(id)
|
|
|
|
|
|
+ this.$refs.programForm.init('view', id)
|
|
},
|
|
},
|
|
// 获取数据列表
|
|
// 获取数据列表
|
|
refreshList () {
|
|
refreshList () {
|