|
|
|
|
@ -188,19 +188,19 @@
|
|
|
|
|
<Button class="slot-btns-item" size="small" type="primary" @click="bidding(scope.row)">招标审查</Button>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- <Button class="slot-btns-item" type="primary" size="small">附件管理</Button>-->
|
|
|
|
|
<template v-if="scope.row.req_status === 1 && scope.row.is_plan === 0 && !scope.row.is_substitute">
|
|
|
|
|
<template v-if="scope.row.req_status === 1 && (scope.row.is_plan === 0 && !scope.row.is_substitute || scope.row.has_charge)">
|
|
|
|
|
<Button class="slot-btns-item" size="small" type="primary" @click="askProcess(scope.row)">请示流程
|
|
|
|
|
</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.has_charge && scope.row.req_status === 3 && scope.row.join_status === 1) || (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) ) ">
|
|
|
|
|
|
|
|
|
|
<Button class="slot-btns-item" size="small" type="primary" @click="signProcess(scope.row)">合同会签
|
|
|
|
|
</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 ">
|
|
|
|
|
v-if="!scope.row.has_charge && 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>
|
|
|
|
|
@ -279,6 +279,16 @@
|
|
|
|
|
<div>(水电煤、报刊订阅、网络通讯、车辆使用等费用付款)</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #has_charge>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label" style="width: 200px;">
|
|
|
|
|
是否为河道处收费类项目
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-switch v-model="form.has_charge" active-text="是" inactive-text="否" :active-value="1" :inactive-value="0"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:supply v-if="form.is_simple">
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
@ -740,10 +750,10 @@ export default {
|
|
|
|
|
width: 140,
|
|
|
|
|
prop: 'req_status',
|
|
|
|
|
formatter: (cell, data, value) => {
|
|
|
|
|
if (cell.is_substitute) {
|
|
|
|
|
if (cell.is_substitute && !cell.has_charge) {
|
|
|
|
|
return '无'
|
|
|
|
|
}
|
|
|
|
|
if (cell.is_plan === 1) {
|
|
|
|
|
if (cell.is_plan === 1 && !cell.has_charge) {
|
|
|
|
|
return '无'
|
|
|
|
|
}
|
|
|
|
|
switch (value) {
|
|
|
|
|
@ -1124,6 +1134,7 @@ export default {
|
|
|
|
|
form: {
|
|
|
|
|
name: "",
|
|
|
|
|
is_simple:0,
|
|
|
|
|
has_charge: 0,
|
|
|
|
|
supply: "",
|
|
|
|
|
money:0,
|
|
|
|
|
type: "",
|
|
|
|
|
@ -1293,7 +1304,7 @@ export default {
|
|
|
|
|
columnIndex
|
|
|
|
|
}) {
|
|
|
|
|
if (column.property === 'req_status') {
|
|
|
|
|
if (row.is_plan || row.is_substitute || row.is_simple) {
|
|
|
|
|
if ((row.is_plan || row.is_substitute || row.is_simple) && !row.has_charge) {
|
|
|
|
|
return {
|
|
|
|
|
'color': 'rgb(140,140,140)'
|
|
|
|
|
}
|
|
|
|
|
@ -1748,6 +1759,7 @@ export default {
|
|
|
|
|
}),
|
|
|
|
|
is_substitute: this.form.is_substitute,
|
|
|
|
|
is_simple:this.form.is_simple,
|
|
|
|
|
has_charge: this.form.has_charge,
|
|
|
|
|
supply:this.form.supply,
|
|
|
|
|
money:this.form?.money,
|
|
|
|
|
status:this.form?.is_simple ? 2 : 1,
|
|
|
|
|
|