|
|
|
|
@ -265,8 +265,6 @@
|
|
|
|
|
].isShowPaymentRegistration = true)
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<!-- paying(scope.row) @click="$refs['paymentRegistration'].getContract(scope.row),$refs['paymentRegistration'].isShowPaymentRegistration = true"-->
|
|
|
|
|
|
|
|
|
|
付款登记
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
@ -288,9 +286,9 @@
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<!--合同没有签订,合同审批完成,需要签订合同-->
|
|
|
|
|
<template
|
|
|
|
|
v-if="(scope.row.status === 1 && scope.row.join_status === 3 && !/contractLedger/g.test($route.path)) || !(!scope.row.is_framework && scope.row.purchase_way && scope.row.purchase_way.value === '网上商城')"
|
|
|
|
|
v-if="(scope.row.status === 1 && scope.row.join_status === 3&&scope.row.is_contract )"
|
|
|
|
|
>
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
@ -304,40 +302,11 @@
|
|
|
|
|
签订合同
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 采购完成 -->
|
|
|
|
|
<template
|
|
|
|
|
v-if="
|
|
|
|
|
scope.row.invite_status === 1 &&
|
|
|
|
|
scope.row.purchase_status === 3 &&
|
|
|
|
|
(scope.row.purchase_way
|
|
|
|
|
? scope.row.purchase_way.remark === 'true'
|
|
|
|
|
: false) &&
|
|
|
|
|
!scope.row.is_substitute
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
size="small"
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="
|
|
|
|
|
$refs['biddingUpload'].setId(scope.row.id),
|
|
|
|
|
$refs['biddingUpload'].show()
|
|
|
|
|
"
|
|
|
|
|
>招标审查</Button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--不需要走采购流程那么直接就是会签,如果采购方式不需要招标的也是直接会签-->
|
|
|
|
|
<template
|
|
|
|
|
v-if="
|
|
|
|
|
(scope.row.join_status === 1 &&
|
|
|
|
|
(scope.row.invite_status === 3 ||
|
|
|
|
|
((scope.row.purchase_way
|
|
|
|
|
? scope.row.purchase_way.remark === 'false'
|
|
|
|
|
: false) &&
|
|
|
|
|
scope.row.purchase_status === 3))) ||
|
|
|
|
|
(scope.row.is_substitute && scope.row.join_status === 1)
|
|
|
|
|
"
|
|
|
|
|
v-if="(scope.row.join_status === 1&&scope.row.is_contract)"
|
|
|
|
|
>
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
@ -347,23 +316,7 @@
|
|
|
|
|
>合同审批
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<template
|
|
|
|
|
v-if="
|
|
|
|
|
scope.row.is_simple !== 1 &&
|
|
|
|
|
scope.row.purchase_status === 1 &&
|
|
|
|
|
((scope.row.req_status === 3 && scope.row.is_plan === 0) ||
|
|
|
|
|
scope.row.is_plan === 1) &&
|
|
|
|
|
!scope.row.is_substitute
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<Button
|
|
|
|
|
class="slot-btns-item"
|
|
|
|
|
size="small"
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="buyProcess(scope.row)"
|
|
|
|
|
>采购流程
|
|
|
|
|
</Button>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Poptip trigger="hover" placement="bottom" transfer>
|
|
|
|
|
<Button ghost size="small" type="primary">更多</Button>
|
|
|
|
|
@ -1198,7 +1151,8 @@ export default {
|
|
|
|
|
plan_name: "请选择预算计划",
|
|
|
|
|
start_plan_price: undefined,
|
|
|
|
|
end_plan_price: undefined,
|
|
|
|
|
is_myself: 0
|
|
|
|
|
is_myself: 0,
|
|
|
|
|
is_contract:1
|
|
|
|
|
},
|
|
|
|
|
selectCopy: {
|
|
|
|
|
keyword: "",
|
|
|
|
|
@ -1295,6 +1249,40 @@ export default {
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
},{
|
|
|
|
|
label: "合同审批流程",
|
|
|
|
|
width: 145,
|
|
|
|
|
prop: "join_status",
|
|
|
|
|
customFn:row => {
|
|
|
|
|
if (row.is_simple || !row.is_contract) {
|
|
|
|
|
return (<span>无</span>);
|
|
|
|
|
}
|
|
|
|
|
const getDate = (value) => {
|
|
|
|
|
switch (value) {
|
|
|
|
|
case 1:
|
|
|
|
|
return "待申请";
|
|
|
|
|
break;
|
|
|
|
|
case 2:
|
|
|
|
|
return "流转中";
|
|
|
|
|
break;
|
|
|
|
|
case 3:
|
|
|
|
|
return "已办结";
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
return "异常";
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<span>{ getDate(row.join_status) }</span>
|
|
|
|
|
<br/>
|
|
|
|
|
{
|
|
|
|
|
(row.is_simple || row.join_status === 1) ? '' : <a style="color: #333" on={{['click']:()=>this.toOaDetail('hetong',row)}}>查看</a>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "付款计划",
|
|
|
|
|
@ -2112,11 +2100,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
//获取合同列表
|
|
|
|
|
async getContracts(is_export,noloading=false) {
|
|
|
|
|
if (/contractLedger/g.test(this.$route.path)) {
|
|
|
|
|
this.select.is_contract = 1
|
|
|
|
|
} else {
|
|
|
|
|
this.select.is_contract = ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const res = await getContract({
|
|
|
|
|
page_size: this.select.pageSize,
|
|
|
|
|
page: this.select.pageIndex,
|
|
|
|
|
|