[update] 修改系统名称,统计模块添加打包字段并修改字段顺序
This commit is contained in:
@@ -182,7 +182,7 @@
|
|||||||
|
|
||||||
// update-begin-author:sunjianlei date:20200120 for: 动态更改页面标题
|
// update-begin-author:sunjianlei date:20200120 for: 动态更改页面标题
|
||||||
changeTitle(title) {
|
changeTitle(title) {
|
||||||
let projectTitle = '标准所协同工作平台'
|
let projectTitle = '汽车标准化工作平台'
|
||||||
// 首页特殊处理
|
// 首页特殊处理
|
||||||
if (this.$route.path === indexKey) {
|
if (this.$route.path === indexKey) {
|
||||||
document.title = projectTitle
|
document.title = projectTitle
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:type="collapsed ? 'menu-unfold' : 'menu-fold'"
|
:type="collapsed ? 'menu-unfold' : 'menu-fold'"
|
||||||
@click="toggle"/>
|
@click="toggle"/>
|
||||||
|
|
||||||
<span v-if="device === 'desktop'">欢迎进入标准所协同工作平台</span>
|
<span v-if="device === 'desktop'">欢迎进入汽车标准化工作平台</span>
|
||||||
<span v-else>Jero-Boot</span>
|
<span v-else>Jero-Boot</span>
|
||||||
|
|
||||||
<user-menu :theme="theme"/>
|
<user-menu :theme="theme"/>
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
<a-row>
|
<a-row>
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<a-form-item label="来款单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="来款单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input placeholder="请输入来款单位" v-model="queryParam.chargeCompanyTemporaryName" :maxLength='50'></a-input>
|
<a-input placeholder="请输入来款单位" v-model="queryParam.chargeCompanyTemporaryName"
|
||||||
|
:maxLength='50'></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
@@ -18,11 +19,6 @@
|
|||||||
<a-input placeholder="请输入来款项目" v-model="queryParam.projectName" :maxLength='50'></a-input>
|
<a-input placeholder="请输入来款项目" v-model="queryParam.projectName" :maxLength='50'></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
||||||
<a-form-item label="项目负责人" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
||||||
<select-principal placeholder="请选择项目负责人" v-model="queryParam.principalNameId"></select-principal>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<a-form-item label="所属科室" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="所属科室" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-tree-select
|
<a-tree-select
|
||||||
@@ -31,10 +27,25 @@
|
|||||||
:treeData="treeDepartData"
|
:treeData="treeDepartData"
|
||||||
:replaceFields="replaceFields"
|
:replaceFields="replaceFields"
|
||||||
v-model="queryParam.departCode"
|
v-model="queryParam.departCode"
|
||||||
placeholder="请选择科室">
|
placeholder="请选择科室"
|
||||||
|
@change="departChange">
|
||||||
</a-tree-select>
|
</a-tree-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="项目负责人" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-select v-model="queryParam.principalNameId"
|
||||||
|
show-search
|
||||||
|
allowClear
|
||||||
|
placeholder="请选择项目负责人"
|
||||||
|
option-filter-prop="children"
|
||||||
|
:filter-option="filterOption">
|
||||||
|
<a-select-option v-for="item in userList" :key="item.id" :value="item.id">
|
||||||
|
{{ item.realname }}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<a-form-item label="来款用途" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="来款用途" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<j-dict-select-tag v-model="queryParam.chargeUse" placeholder="请选择来款用途" dictCode="payment_charge_use"/>
|
<j-dict-select-tag v-model="queryParam.chargeUse" placeholder="请选择来款用途" dictCode="payment_charge_use"/>
|
||||||
@@ -101,7 +112,7 @@
|
|||||||
ref="table"
|
ref="table"
|
||||||
size="middle"
|
size="middle"
|
||||||
bordered
|
bordered
|
||||||
rowKey="id"
|
rowKey="projectId"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:scroll="{x: 1300}"
|
:scroll="{x: 1300}"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
@@ -121,12 +132,17 @@
|
|||||||
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<!-- 是否打包-->
|
||||||
|
<template slot="pack" slot-scope="text, record">
|
||||||
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template slot="footer" v-if="dataSource.length > 0">
|
<template slot="footer" v-if="dataSource.length > 0">
|
||||||
|
|
||||||
<a-table
|
<a-table
|
||||||
size="middle"
|
size="middle"
|
||||||
ref="footTable"
|
ref="footTable"
|
||||||
rowKey="id"
|
:rowKey="record=>record.id"
|
||||||
:columns="columnsFooter"
|
:columns="columnsFooter"
|
||||||
:scroll="{x: 1300}"
|
:scroll="{x: 1300}"
|
||||||
:dataSource="footerDataSource"
|
:dataSource="footerDataSource"
|
||||||
@@ -158,16 +174,16 @@
|
|||||||
import IconImg from '@/assets/imgs/icon/icon_statistical_report.png'
|
import IconImg from '@/assets/imgs/icon/icon_statistical_report.png'
|
||||||
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
|
import PageHeaderTitle from '../../components/layouts/PageHeaderTitle'
|
||||||
import { JeroListMixin } from '../../mixins/JeroListMixin'
|
import { JeroListMixin } from '../../mixins/JeroListMixin'
|
||||||
import { getAllDepartTreeList } from '../../api/incomePaymentsApi'
|
import { getAllDepartTreeList, queryUserByDepartId } from '../../api/incomePaymentsApi'
|
||||||
import SelectPrincipal from '../../components/company/SelectPrincipal'
|
|
||||||
import JYearDate from '../../components/jero/JYearDate'
|
import JYearDate from '../../components/jero/JYearDate'
|
||||||
import { getAction } from '../../api/manage'
|
import { getAction } from '../../api/manage'
|
||||||
import ProjectDetailModal from '../../components/ProjectDetailModal'
|
import ProjectDetailModal from '../../components/ProjectDetailModal'
|
||||||
import { downloadFile } from '../../api/manage'
|
import { downloadFile } from '../../api/manage'
|
||||||
|
import StatusSlot from '../../components/tools/StatusSlot'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'WholeInstituteStatisticsList',
|
name: 'WholeInstituteStatisticsList',
|
||||||
components: { PageHeaderTitle, SelectPrincipal, JYearDate, ProjectDetailModal },
|
components: { PageHeaderTitle, JYearDate, ProjectDetailModal, StatusSlot },
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -218,6 +234,12 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'chargeCompanyTemporaryName',
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -267,6 +289,12 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'chargeCompanyTemporaryName',
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'status-pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -299,7 +327,9 @@ export default {
|
|||||||
exportXlsUrl: '/statistics/allProjectStatistics/statistics/excel'
|
exportXlsUrl: '/statistics/allProjectStatistics/statistics/excel'
|
||||||
},
|
},
|
||||||
validateMoney: true,
|
validateMoney: true,
|
||||||
exportSelectedKeys: []
|
exportSelectedKeys: [],
|
||||||
|
// 项目负责人数据
|
||||||
|
userList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -345,6 +375,31 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 科室变化获取负责人数据
|
||||||
|
* @param value
|
||||||
|
*/
|
||||||
|
departChange(value) {
|
||||||
|
delete this.queryParam.principalNameId
|
||||||
|
delete this.lastQueryParam.principalNameId
|
||||||
|
this.getUsersByDepartId(value)
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* 通过部门code获取用户
|
||||||
|
* @param departCode
|
||||||
|
*/
|
||||||
|
getUsersByDepartId(departCode) {
|
||||||
|
let param = {
|
||||||
|
departCode: departCode
|
||||||
|
}
|
||||||
|
queryUserByDepartId(param).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.userList = res.result
|
||||||
|
} else {
|
||||||
|
this.userList = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
loadData(arg) {
|
loadData(arg) {
|
||||||
if (!this.url.list) {
|
if (!this.url.list) {
|
||||||
this.$message.error('请设置url.list属性!')
|
this.$message.error('请设置url.list属性!')
|
||||||
@@ -468,6 +523,12 @@ export default {
|
|||||||
}
|
}
|
||||||
console.log('导出参数', param)
|
console.log('导出参数', param)
|
||||||
downloadFile(this.url.exportXlsUrl, fileName + '.xlsx', param)
|
downloadFile(this.url.exportXlsUrl, fileName + '.xlsx', param)
|
||||||
|
},
|
||||||
|
// 下拉框的搜索
|
||||||
|
filterOption(input, option) {
|
||||||
|
return (
|
||||||
|
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+30
-4
@@ -87,9 +87,10 @@
|
|||||||
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<span slot="action" class="action-span-cell" slot-scope="text, record">
|
<!-- 是否打包-->
|
||||||
<a @click="goDetail(record.id)">详情</a>
|
<template slot="status-pack" slot-scope="text, record">
|
||||||
</span>
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template slot="footer" v-if="dataSource.length > 0">
|
<template slot="footer" v-if="dataSource.length > 0">
|
||||||
|
|
||||||
@@ -128,10 +129,11 @@ import { JeroListMixin } from '../../../mixins/JeroListMixin'
|
|||||||
import JYearDate from '../../../components/jero/JYearDate'
|
import JYearDate from '../../../components/jero/JYearDate'
|
||||||
import { getAction } from '@api/manage'
|
import { getAction } from '@api/manage'
|
||||||
import ProjectDetailModal from '../../../components/ProjectDetailModal'
|
import ProjectDetailModal from '../../../components/ProjectDetailModal'
|
||||||
|
import StatusSlot from '../../../components/tools/StatusSlot'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'IndividualPaymentStatisticsDetail',
|
name: 'IndividualPaymentStatisticsDetail',
|
||||||
components: { PageHeaderTitle, JYearDate, ProjectDetailModal },
|
components: { PageHeaderTitle, JYearDate, ProjectDetailModal, StatusSlot },
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -173,6 +175,18 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'projectName',
|
dataIndex: 'projectName',
|
||||||
scopedSlots: { customRender: 'projectName' }
|
scopedSlots: { customRender: 'projectName' }
|
||||||
|
}, {
|
||||||
|
title: '来款企业',
|
||||||
|
align: 'center',
|
||||||
|
width: 300,
|
||||||
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'status-pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -206,6 +220,18 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'workGroup',
|
dataIndex: 'workGroup',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '来款企业',
|
||||||
|
align: 'center',
|
||||||
|
width: 300,
|
||||||
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'status-pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
size="middle"
|
size="middle"
|
||||||
ref="table"
|
ref="table"
|
||||||
bordered
|
bordered
|
||||||
rowKey="id"
|
rowKey="projectId"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="ipagination"
|
:pagination="ipagination"
|
||||||
@@ -105,6 +105,11 @@
|
|||||||
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<!-- 是否打包-->
|
||||||
|
<template slot="status-pack" slot-scope="text, record">
|
||||||
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template slot="footer" v-if="dataSource.length > 0">
|
<template slot="footer" v-if="dataSource.length > 0">
|
||||||
<a-table
|
<a-table
|
||||||
size="middle"
|
size="middle"
|
||||||
@@ -145,10 +150,11 @@ import { getAction } from '@api/manage'
|
|||||||
import SelectPrincipal from '@comp/company/SelectPrincipal'
|
import SelectPrincipal from '@comp/company/SelectPrincipal'
|
||||||
import { getAllDepartTreeList } from '../../../api/incomePaymentsApi'
|
import { getAllDepartTreeList } from '../../../api/incomePaymentsApi'
|
||||||
import ProjectDetailModal from '../../../components/ProjectDetailModal'
|
import ProjectDetailModal from '../../../components/ProjectDetailModal'
|
||||||
|
import StatusSlot from '../../../components/tools/StatusSlot'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ProjectPaymentStatisticsList',
|
name: 'ProjectPaymentStatisticsList',
|
||||||
components: { PageHeaderTitle, JYearDate, SelectPrincipal, ProjectDetailModal },
|
components: { PageHeaderTitle, JYearDate, SelectPrincipal, ProjectDetailModal, StatusSlot },
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -193,6 +199,12 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'chargeCompanyTemporaryName',
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
},{
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'status-pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -238,6 +250,12 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'chargeCompanyTemporaryName',
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
},{
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'status-pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
|||||||
+32
-5
@@ -67,7 +67,7 @@
|
|||||||
size="middle"
|
size="middle"
|
||||||
ref="table"
|
ref="table"
|
||||||
bordered
|
bordered
|
||||||
rowKey="id"
|
rowKey="projectId"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="ipagination"
|
:pagination="ipagination"
|
||||||
@@ -87,9 +87,10 @@
|
|||||||
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<span slot="action" class="action-span-cell" slot-scope="text, record">
|
<!-- 是否打包-->
|
||||||
<a @click="goDetail(record.id)">详情</a>
|
<template slot="pack" slot-scope="text, record">
|
||||||
</span>
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template slot="footer" v-if="dataSource.length > 0">
|
<template slot="footer" v-if="dataSource.length > 0">
|
||||||
|
|
||||||
@@ -113,6 +114,7 @@
|
|||||||
<template slot="text" slot-scope="text">
|
<template slot="text" slot-scope="text">
|
||||||
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
<j-ellipsis :value="text" :length="18"></j-ellipsis>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</a-table>
|
</a-table>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -129,10 +131,11 @@ import { JeroListMixin } from '../../../mixins/JeroListMixin'
|
|||||||
import JYearDate from '../../../components/jero/JYearDate'
|
import JYearDate from '../../../components/jero/JYearDate'
|
||||||
import { getAction } from '@api/manage'
|
import { getAction } from '@api/manage'
|
||||||
import ProjectDetailModal from '../../../components/ProjectDetailModal'
|
import ProjectDetailModal from '../../../components/ProjectDetailModal'
|
||||||
|
import StatusSlot from '../../../components/tools/StatusSlot'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'EnterprisePaymentStatisticsDetail',
|
name: 'EnterprisePaymentStatisticsDetail',
|
||||||
components: { PageHeaderTitle, JYearDate, ProjectDetailModal },
|
components: { PageHeaderTitle, JYearDate, ProjectDetailModal, StatusSlot },
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -164,6 +167,18 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'projectName',
|
dataIndex: 'projectName',
|
||||||
scopedSlots: { customRender: 'projectName' }
|
scopedSlots: { customRender: 'projectName' }
|
||||||
|
}, {
|
||||||
|
title: '来款企业',
|
||||||
|
align: 'center',
|
||||||
|
width: 300,
|
||||||
|
dataIndex: 'chargeCompany',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, , {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -197,6 +212,18 @@ export default {
|
|||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'projectName',
|
dataIndex: 'projectName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '来款企业',
|
||||||
|
align: 'center',
|
||||||
|
width: 300,
|
||||||
|
dataIndex: 'chargeCompany',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'pack' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@
|
|||||||
size="middle"
|
size="middle"
|
||||||
ref="table"
|
ref="table"
|
||||||
bordered
|
bordered
|
||||||
rowKey="id"
|
rowKey="chargeCompanyId"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="ipagination"
|
:pagination="ipagination"
|
||||||
|
|||||||
+38
-19
@@ -9,14 +9,15 @@
|
|||||||
<a-row>
|
<a-row>
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<a-form-item label="来款单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="来款单位" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-input placeholder="请输入来款单位" v-model="queryParam.chargeCompanyTemporaryName" :maxLength="50"></a-input>
|
<a-input placeholder="请输入来款单位" v-model="queryParam.chargeCompanyTemporaryName"
|
||||||
|
:maxLength="50"></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="来款项目" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
|
<a-input placeholder="请输入来款项目" v-model="queryParam.projectName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
|
|
||||||
<!-- <a-form-item label="来款项目" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
|
|
||||||
<!-- <a-input placeholder="请输入来款项目" v-model="queryParam.projectName"></a-input>-->
|
|
||||||
<!-- </a-form-item>-->
|
|
||||||
<!-- </a-col>-->
|
|
||||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
<a-form-item label="来款用途" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="来款用途" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<j-dict-select-tag v-model="queryParam.chargeUse" placeholder="请选择来款用途" dictCode="payment_charge_use"/>
|
<j-dict-select-tag v-model="queryParam.chargeUse" placeholder="请选择来款用途" dictCode="payment_charge_use"/>
|
||||||
@@ -102,6 +103,11 @@
|
|||||||
<a @click="goDetail(record.id)">详情</a>
|
<a @click="goDetail(record.id)">详情</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<!-- 是否打包-->
|
||||||
|
<template slot="status-pack" slot-scope="text, record">
|
||||||
|
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template slot="footer" v-if="dataSource.length > 0">
|
<template slot="footer" v-if="dataSource.length > 0">
|
||||||
|
|
||||||
<a-table
|
<a-table
|
||||||
@@ -140,10 +146,11 @@ import { JeroListMixin } from '../../../mixins/JeroListMixin'
|
|||||||
import SelectPrincipal from '../../../components/company/SelectPrincipal'
|
import SelectPrincipal from '../../../components/company/SelectPrincipal'
|
||||||
import JYearDate from '../../../components/jero/JYearDate'
|
import JYearDate from '../../../components/jero/JYearDate'
|
||||||
import { getAction } from '../../../api/manage'
|
import { getAction } from '../../../api/manage'
|
||||||
|
import StatusSlot from '../../../components/tools/StatusSlot'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'WorkingGroupPaymentStatisticsDetail',
|
name: 'WorkingGroupPaymentStatisticsDetail',
|
||||||
components: { PageHeaderTitle, SelectPrincipal, JYearDate },
|
components: { PageHeaderTitle, SelectPrincipal, JYearDate, StatusSlot },
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -170,18 +177,24 @@ export default {
|
|||||||
customRender: function (t, r, index) {
|
customRender: function (t, r, index) {
|
||||||
return parseInt(index) + 1
|
return parseInt(index) + 1
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
title: '项目负责人',
|
|
||||||
align: 'center',
|
|
||||||
width: 300,
|
|
||||||
dataIndex: 'principalName',
|
|
||||||
scopedSlots: { customRender: 'text' }
|
|
||||||
}, {
|
}, {
|
||||||
title: '来款单位',
|
title: '来款单位',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'chargeCompanyTemporaryName',
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'status-pack' }
|
||||||
|
}, {
|
||||||
|
title: '项目负责人',
|
||||||
|
align: 'center',
|
||||||
|
width: 300,
|
||||||
|
dataIndex: 'principalName',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -217,18 +230,24 @@ export default {
|
|||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
width: 60,
|
width: 60,
|
||||||
align: 'center'
|
align: 'center'
|
||||||
}, {
|
|
||||||
title: '项目负责人',
|
|
||||||
align: 'center',
|
|
||||||
width: 300,
|
|
||||||
dataIndex: 'principalName',
|
|
||||||
scopedSlots: { customRender: 'text' }
|
|
||||||
}, {
|
}, {
|
||||||
title: '来款单位',
|
title: '来款单位',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 300,
|
width: 300,
|
||||||
dataIndex: 'chargeCompanyTemporaryName',
|
dataIndex: 'chargeCompanyTemporaryName',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
|
}, {
|
||||||
|
title: '是否打包',
|
||||||
|
align: 'center',
|
||||||
|
width: 100,
|
||||||
|
dataIndex: 'pack',
|
||||||
|
scopedSlots: { customRender: 'status-pack' }
|
||||||
|
}, {
|
||||||
|
title: '项目负责人',
|
||||||
|
align: 'center',
|
||||||
|
width: 300,
|
||||||
|
dataIndex: 'principalName',
|
||||||
|
scopedSlots: { customRender: 'text' }
|
||||||
}, {
|
}, {
|
||||||
title: '应收金额',
|
title: '应收金额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
document.title = '标准所协同工作平台'
|
document.title = '汽车标准化工作平台'
|
||||||
this.currdatetime = new Date().getTime()
|
this.currdatetime = new Date().getTime()
|
||||||
Vue.ls.remove(ACCESS_TOKEN)
|
Vue.ls.remove(ACCESS_TOKEN)
|
||||||
this.getRouterData()
|
this.getRouterData()
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class='alteration-head logo'>
|
<div class='alteration-head logo'>
|
||||||
<router-link :to="{name:'dashboard'}">
|
<router-link :to="{name:'dashboard'}">
|
||||||
<img src="~@/assets/logo.png" alt="logo">
|
<img src="~@/assets/logo.png" alt="logo">
|
||||||
<h1>标准所来款管理系统</h1>
|
<h1>汽车标准化工作平台</h1>
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class='alteration-center'>
|
<div class='alteration-center'>
|
||||||
@@ -173,7 +173,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
document.title = '标准所协同工作平台'
|
document.title = '汽车标准化工作平台'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
submit() {
|
submit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user