bug修改
This commit is contained in:
@@ -109,8 +109,6 @@
|
||||
<template slot="footer">
|
||||
<a-button @click="handleCancel">关闭</a-button>
|
||||
</template>
|
||||
|
||||
<mine-contract-module :visible.sync="contractDetailVisible" :contract-id="contractId"></mine-contract-module>
|
||||
</j-modal>
|
||||
</template>
|
||||
|
||||
@@ -118,7 +116,6 @@
|
||||
import { queryCommonProjectById } from '@api/incomePaymentsApi'
|
||||
import JEllipsis from '@comp/jero/JEllipsis'
|
||||
import PreviewFile from '@comp/jero/PreviewFile'
|
||||
import MineContractModule from '@views/mineContract/modules/MineContractModule'
|
||||
// import {getAction} from "@api/manage";
|
||||
const paymentInfoList = [
|
||||
{
|
||||
@@ -233,17 +230,16 @@ export default {
|
||||
// 到账信息
|
||||
paymentInfoList,
|
||||
// 开票邮寄信息
|
||||
logisticsInfoList,
|
||||
// 合同详情
|
||||
contractDetailVisible: false,
|
||||
contractId: ''
|
||||
logisticsInfoList
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
components: {
|
||||
JEllipsis,
|
||||
PreviewFile,
|
||||
MineContractModule
|
||||
PreviewFile
|
||||
},
|
||||
created() {
|
||||
console.log('xiangmuxiangqing')
|
||||
},
|
||||
methods: {
|
||||
open(record) {
|
||||
@@ -300,8 +296,8 @@ export default {
|
||||
* */
|
||||
toContractDetail() {
|
||||
if (this.basicInfo.contractId) {
|
||||
this.contractId = this.basicInfo.contractId
|
||||
this.contractDetailVisible = true
|
||||
this.$emit('openContractModule', this.basicInfo.contractId)
|
||||
|
||||
this.handleCancel()
|
||||
} else {
|
||||
this.$message.warn('该项目未与合同关联')
|
||||
|
||||
Reference in New Issue
Block a user