|
|
|
|
@ -288,7 +288,7 @@
|
|
|
|
|
@delete="(row) => deleteContract(row.id)"
|
|
|
|
|
@editor=""
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:btns v-if="!/contractLedger/g.test($route.path)">
|
|
|
|
|
<template v-slot:btns v-if="!/contractLedger$/g.test($route.path)">
|
|
|
|
|
<el-table-column
|
|
|
|
|
fixed="right"
|
|
|
|
|
header-align="center"
|
|
|
|
|
@ -297,7 +297,7 @@
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="slot-btns">
|
|
|
|
|
<template v-if="scope.row.FLOWSTATUS['zhifu'].isEnabled()">
|
|
|
|
|
<template v-if="scope.row.FLOWSTATUS['zhifu'].isEnabled() && !/contractLedger/g.test($route.path)">
|
|
|
|
|
<template v-if="scope.row.is_assurance === 1">
|
|
|
|
|
<!-- 如果是 履约文件-->
|
|
|
|
|
<template v-if="scope.row.assurance_status === 1">
|
|
|
|
|
@ -511,7 +511,7 @@
|
|
|
|
|
scope.row.invite_status != 1 ||
|
|
|
|
|
scope.row.purchase_status != 1 ||
|
|
|
|
|
scope.row.status === 2
|
|
|
|
|
) || (scope.row.is_substitute && scope.row.join_status === 1)
|
|
|
|
|
)
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<Poptip
|
|
|
|
|
@ -681,7 +681,7 @@
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
"
|
|
|
|
|
>*</span
|
|
|
|
|
>承包商/供货商
|
|
|
|
|
>承包商/供货商/协议方
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input
|
|
|
|
|
@ -1141,7 +1141,7 @@
|
|
|
|
|
|
|
|
|
|
<oaFiles ref="oaFiles"></oaFiles>
|
|
|
|
|
|
|
|
|
|
<addContractLedger ref="addContractLedger" @refresh="getContracts"></addContractLedger>
|
|
|
|
|
<addContractLedger ref="addContractLedger" @refresh="getContracts(false,false,true)"></addContractLedger>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
@ -1383,7 +1383,8 @@ export default {
|
|
|
|
|
let map = new Map([
|
|
|
|
|
[1,'收入类'],
|
|
|
|
|
[2,'支出类'],
|
|
|
|
|
[3,'技术协议']
|
|
|
|
|
[3,'技术协议'],
|
|
|
|
|
[4,'其他协议']
|
|
|
|
|
])
|
|
|
|
|
return map.get(value)
|
|
|
|
|
}
|
|
|
|
|
@ -2486,6 +2487,9 @@ export default {
|
|
|
|
|
) {
|
|
|
|
|
await this.buyProcess(res.list.data[0])
|
|
|
|
|
}
|
|
|
|
|
if (res.list.data[0].is_simple !== 1 && res.list.data[0].is_substitute ) {
|
|
|
|
|
await this.signProcess(res.list.data[0])
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -2839,10 +2843,15 @@ export default {
|
|
|
|
|
this.select.is_contract = 1;
|
|
|
|
|
this.select.purchase_status = 3;
|
|
|
|
|
this.select.invite_status = 3;
|
|
|
|
|
this.select.is_simple = "";
|
|
|
|
|
}
|
|
|
|
|
if (/contractAll/g.test(this.$route.path)) {
|
|
|
|
|
this.select.is_simple = "";
|
|
|
|
|
}
|
|
|
|
|
if (/contractList/g.test(this.$route.path)) {
|
|
|
|
|
this.select.is_substitute = 0;//is_substitute 用于是否有采购流程,1为合同台账中增加(没有流程)
|
|
|
|
|
//this.select.contract_type = 2;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
destroyed() {
|
|
|
|
|
window.onfocus = null;
|
|
|
|
|
|