合同详情,资料下载查询
This commit is contained in:
@@ -298,11 +298,7 @@ export default {
|
|||||||
if (this.basicInfo.contractId) {
|
if (this.basicInfo.contractId) {
|
||||||
this.contractId = this.basicInfo.contractId
|
this.contractId = this.basicInfo.contractId
|
||||||
this.contractDetailVisible = true
|
this.contractDetailVisible = true
|
||||||
// this.$router.push({
|
this.handleCancel()
|
||||||
// path: '/contractManagement/RevenueContractDetail', query: {
|
|
||||||
// revenueId: this.basicInfo.contractId
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warn('该项目未与合同关联')
|
this.$message.warn('该项目未与合同关联')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
||||||
<a-form-item label="文件名称">
|
<a-form-item label="文件名称">
|
||||||
<a-input placeholder="请输入文件名称" v-model="queryParam.meetingName"></a-input>
|
<a-input placeholder="请输入文件名称" v-model="queryParam.fileName"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
<a-col :xl="6" :lg="8" :md="8" :sm="24">
|
||||||
@@ -93,7 +93,7 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
title: '文件来源',
|
title: '文件来源',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 220,
|
width: 280,
|
||||||
dataIndex: 'fileCome',
|
dataIndex: 'fileCome',
|
||||||
scopedSlots: { customRender: 'text' }
|
scopedSlots: { customRender: 'text' }
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
@@ -149,8 +149,11 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
this.logisticsInfoList = []
|
this.logisticsInfoList = []
|
||||||
getContractDetailById({ id: this.contractId }).then(res => {
|
getContractDetailById({ id: this.contractId }).then(res => {
|
||||||
res.result.payMailContract.contractNum = res.result.contractNum
|
// 给邮寄信息放入合同号
|
||||||
this.logisticsInfoList.push(res.result.payMailContract)
|
if (res.result.payMailContract && Object.keys(res.result.payMailContract).length > 0) {
|
||||||
|
res.result.payMailContract.contractNum = res.result.contractNum
|
||||||
|
this.logisticsInfoList.push(res.result.payMailContract)
|
||||||
|
}
|
||||||
this.associatedProjectList = res.result.listProject
|
this.associatedProjectList = res.result.listProject
|
||||||
this.contractDetail = res.result
|
this.contractDetail = res.result
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
@@ -161,12 +164,11 @@ export default {
|
|||||||
* 打开项目详情模态框
|
* 打开项目详情模态框
|
||||||
* */
|
* */
|
||||||
openDetailModal(record) {
|
openDetailModal(record) {
|
||||||
console.log(this.contractId)
|
|
||||||
console.log(record)
|
|
||||||
// 用projectId替换id
|
// 用projectId替换id
|
||||||
let param = JSON.parse(JSON.stringify(record))
|
let param = JSON.parse(JSON.stringify(record))
|
||||||
param.id = param.projectId
|
param.id = param.projectId
|
||||||
this.$refs.projectDetail.open(param)
|
this.$refs.projectDetail.open(param)
|
||||||
|
this.close()
|
||||||
},
|
},
|
||||||
lookLogistics() {
|
lookLogistics() {
|
||||||
window.open('https://www.ems.com.cn/', '_blank')
|
window.open('https://www.ems.com.cn/', '_blank')
|
||||||
@@ -200,4 +202,24 @@ h3.title::before {
|
|||||||
color: #069f99;
|
color: #069f99;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrap-table {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ant-table-thead {
|
||||||
|
tr > th {
|
||||||
|
color: #fff;
|
||||||
|
background: #a2e6e4;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ant-table-tbody {
|
||||||
|
tr > td {
|
||||||
|
border: none;
|
||||||
|
border-bottom: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user