|
|
|
|
@ -204,11 +204,40 @@
|
|
|
|
|
<el-table-column fixed="right" header-align="center" label="操作" width="200">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="slot-btns">
|
|
|
|
|
<template v-if="scope.row.status === 2&&scope.row.is_end===0">
|
|
|
|
|
|
|
|
|
|
<!-- is_end=0 -->
|
|
|
|
|
<!-- 如果需要走合同会签contract_category.flow_join ,合同会签已办结的 join_status=3 -->
|
|
|
|
|
<!-- 如果需要走采购 contract_category.flow_purchase 采购流程已办结的 purchase_status=3 -->
|
|
|
|
|
<!-- 如果需要走请示流程 contract_category.flow_req 请示流程已办结的 req_status=3 -->
|
|
|
|
|
<!-- 如果需要走招标流程 contract_category.flow_invite 招标流程已办结的 invite_status=3 -->
|
|
|
|
|
<!-- 有支付表格的 contract_category.contract_template_id || contract_category.contract_template_id2 不为空 -->
|
|
|
|
|
|
|
|
|
|
<!-- 新表格的付款登记 -->
|
|
|
|
|
<template v-if="scope.row.contract_category &&
|
|
|
|
|
scope.row.is_end === 0 &&
|
|
|
|
|
(!scope.row.contract_category.flow_join || scope.row.join_status === 3) &&
|
|
|
|
|
(!scope.row.contract_category.flow_purchase || scope.row.purchase_status === 3) &&
|
|
|
|
|
(!scope.row.contract_category.flow_req || scope.row.req_status === 3) &&
|
|
|
|
|
(!scope.row.contract_category.flow_invite || scope.row.invite_status === 3) &&
|
|
|
|
|
(scope.row.contract_category.contract_template_id || scope.row.contract_category.contract_template_id2)">
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
size="small"
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="checkFormsBeforePayment(scope.row)"
|
|
|
|
|
>
|
|
|
|
|
付款登记
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 之前的付款登记 -->
|
|
|
|
|
<!-- 如果是 履约文件-->
|
|
|
|
|
<!-- 那么必须财务审核通过-->
|
|
|
|
|
<template v-else>
|
|
|
|
|
<template v-if="scope.row.status === 2&&scope.row.is_end===0">
|
|
|
|
|
<template v-if="scope.row.is_assurance==1">
|
|
|
|
|
<!-- 如果是 履约文件-->
|
|
|
|
|
|
|
|
|
|
<template v-if="scope.row.assurance_status==1">
|
|
|
|
|
<!-- 那么必须财务审核通过-->
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
size="small"
|
|
|
|
|
@ -241,6 +270,8 @@
|
|
|
|
|
付款登记
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="scope.row.status === 1 && scope.row.join_status === 3">
|
|
|
|
|
<Button
|
|
|
|
|
|