|
|
|
@ -1342,7 +1342,7 @@ export default {
|
|
|
|
prop: 'date',
|
|
|
|
prop: 'date',
|
|
|
|
formatter: (cell, data, value) => {
|
|
|
|
formatter: (cell, data, value) => {
|
|
|
|
if (value) {
|
|
|
|
if (value) {
|
|
|
|
return parseTime(new Date(value), '{y}-{m}-{d}')
|
|
|
|
return parseTime(new Date(value), '{y}-{m}-{d}')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -1569,6 +1569,12 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).catch(error => {
|
|
|
|
}).catch(error => {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
// oa 过来的合同会签
|
|
|
|
|
|
|
|
if(this.$route.query.oaType==='contractSign'){
|
|
|
|
|
|
|
|
let contractId = this.$route.query.contractId
|
|
|
|
|
|
|
|
this.$refs['contractSign'].isShow = true
|
|
|
|
|
|
|
|
this.$refs['contractSign'].contractId = contractId
|
|
|
|
|
|
|
|
}
|
|
|
|
this.getPurchaseType()
|
|
|
|
this.getPurchaseType()
|
|
|
|
this.getContracts()
|
|
|
|
this.getContracts()
|
|
|
|
this.getDepartment(-1)
|
|
|
|
this.getDepartment(-1)
|
|
|
|
@ -2003,7 +2009,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 获取合同列表
|
|
|
|
// 获取合同列表
|
|
|
|
async getContracts(is_export, noloading = false) {
|
|
|
|
async getContracts(is_export, noloading = false) {
|
|
|
|
|
|
|
|
|
|
|
|
const res = await getContract({
|
|
|
|
const res = await getContract({
|
|
|
|
page_size: this.select.pageSize,
|
|
|
|
page_size: this.select.pageSize,
|
|
|
|
page: this.select.pageIndex,
|
|
|
|
page: this.select.pageIndex,
|
|
|
|
|