|
|
@@ -6,21 +6,24 @@
|
|
|
<a-row :gutter="24">
|
|
|
|
|
|
<a-col :md="6" :sm="8">
|
|
|
- <a-form-item label="付款单号">
|
|
|
- <a-input placeholder="请输入付款单号" v-model="queryParam.paymentCode"></a-input>
|
|
|
+ <a-form-item label="批次单号">
|
|
|
+ <a-input placeholder="请输入批次单号" v-model="queryParam.paymentCode"></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+
|
|
|
<a-col :md="6" :sm="8">
|
|
|
- <a-form-item label="服务商名称">
|
|
|
- <a-input placeholder="请输入服务商名称" v-model="queryParam.subcontractorName"></a-input>
|
|
|
+ <a-form-item label="开票内容">
|
|
|
+ <a-input placeholder="请输入开票内容" v-model="queryParam.invoiceCategoryName"></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+
|
|
|
<a-col :md="6" :sm="8">
|
|
|
- <a-form-item label="状态">
|
|
|
- <j-dict-select-tag v-model="queryParam.invoiceStatus" placeholder="请选择状态" dictCode="invoiceStatus"/>
|
|
|
+ <a-form-item label="服务商">
|
|
|
+ <a-input placeholder="请输入服务商名称" v-model="queryParam.subcontractorName"></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
+
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
|
|
<a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
|
|
|
@@ -40,7 +43,7 @@
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
|
<div class="table-operator">
|
|
|
- <a-button @click="invoicePayment()" type="primary" icon="plus" >开票</a-button>
|
|
|
+ <a-button @click="invoicePayment()" type="primary" icon="plus" >申请开票</a-button>
|
|
|
</div>
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
|
@@ -65,8 +68,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <span slot="action" slot-scope="text, record">
|
|
|
-
|
|
|
+ <span slot="action" slot-scope="text, record">
|
|
|
+ <a @click="paymentDetail(record)" >创客付款单</a>
|
|
|
</span>
|
|
|
|
|
|
</a-table>
|
|
|
@@ -96,16 +99,26 @@
|
|
|
queryParam: {},
|
|
|
selectedRowKeys: [],
|
|
|
selectedRows: [],
|
|
|
- description: '开票申请',
|
|
|
+ description: '未开票申请',
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
|
- title:'付款单号',
|
|
|
+ title:'批次单号',
|
|
|
align:"center",
|
|
|
dataIndex: 'paymentCode'
|
|
|
},
|
|
|
{
|
|
|
- title:'付款企业',
|
|
|
+ title:'任务名称',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'requirementName',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'服务内容',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'invoiceCategoryName',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'企业名称',
|
|
|
align:"center",
|
|
|
dataIndex: 'companyName',
|
|
|
customRender:function (text) {
|
|
|
@@ -118,31 +131,47 @@
|
|
|
dataIndex: 'subcontractorName'
|
|
|
},
|
|
|
{
|
|
|
- title:'开票金额',
|
|
|
+ title:'付款人数',
|
|
|
align:"center",
|
|
|
- dataIndex: 'totalPayment',
|
|
|
+ dataIndex: 'paymentNumber'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title:'创客佣金',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'amount',
|
|
|
customRender:function (text,record) {
|
|
|
- return record.isThroughPlatform==1?record.serviceAmount: record.totalPayment;
|
|
|
+ return record.isThroughPlatform==1?record.cpAmount: record.amount;
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title:'状态',
|
|
|
+ title:'服务费',
|
|
|
align:"center",
|
|
|
- dataIndex: 'invoiceId',
|
|
|
+ dataIndex: 'serviceFee',
|
|
|
customRender:function (text,record) {
|
|
|
- return record.invoiceId!=null?"已开票": record.applyTime!=null?"已申请":"未申请";
|
|
|
+ return record.isThroughPlatform==1?record.cpServiceFee: record.serviceFee;
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title:'申请时间',
|
|
|
+ title:'付款总金额',
|
|
|
align:"center",
|
|
|
- dataIndex: 'applyTime'
|
|
|
+ dataIndex: 'totalPayment',
|
|
|
+ customRender:function (text,record) {
|
|
|
+ return record.isThroughPlatform==1?record.serviceAmount: record.totalPayment;
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- title:'开票时间',
|
|
|
+ title:'任务单号',
|
|
|
align:"center",
|
|
|
- dataIndex: 'uploadTime'
|
|
|
+ dataIndex: 'requirementCode'
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '操作',
|
|
|
+ dataIndex: 'action',
|
|
|
+ align:"center",
|
|
|
+ fixed:"right",
|
|
|
+ width:147,
|
|
|
+ scopedSlots: { customRender: 'action' }
|
|
|
+ }
|
|
|
],
|
|
|
url: {
|
|
|
list: "/wisdom/hlwInvoice/list",
|
|
|
@@ -186,11 +215,11 @@
|
|
|
}
|
|
|
let that = this
|
|
|
const modal = that.$confirm({
|
|
|
- title: '开票',
|
|
|
+ title: '申请开票',
|
|
|
closable: true,
|
|
|
keyboard: false,
|
|
|
maskClosable: true,
|
|
|
- content: '确定将当前选中的项开票吗',
|
|
|
+ content: '确定将当前选中的项申请开票吗',
|
|
|
okText: '确定',
|
|
|
cancelText: '取消',
|
|
|
onOk: function() {
|
|
|
@@ -223,6 +252,11 @@
|
|
|
modal.destroy()
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ paymentDetail(record){
|
|
|
+ // this.$router.push({ path: '/wisdom/hlwInvoice/add',query:{record:record }})
|
|
|
}
|
|
|
|
|
|
}
|