master
xy 3 years ago
parent a65af1afcc
commit 9a8b781bcb

@ -184,7 +184,7 @@
</Button>
</template>
<template
v-if="scope.row.invite_status === 1 && scope.row.purchase_status === 3 && scope.row.purchase_way.remark === 'true' && !scope.row.is_substitute">
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="bidding(scope.row)"></Button>
</template>
<!-- <Button class="slot-btns-item" type="primary" size="small">附件管理</Button>-->
@ -193,7 +193,7 @@
</Button>
</template>
<template
v-if="(scope.row.join_status === 1 && ((scope.row.invite_status === 3)||(scope.row.purchase_way.remark === 'false' && scope.row.purchase_status === 3)) || ( scope.row.is_substitute && scope.row.join_status === 1) ) ">
v-if="(scope.row.join_status === 1 && ((scope.row.invite_status === 3)||((scope.row.purchase_way ? scope.row.purchase_way.remark === 'true' : 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>
@ -643,7 +643,10 @@ export default {
{
label: "采购形式",
width: 120,
prop: 'purchase_type.value'
prop: 'purchase_type.value',
formatter:(cell, data, value) => {
return value ? value : '无'
}
},
{
label: "项目类型",
@ -662,7 +665,7 @@ export default {
return "工程"
break;
default:
return "未知"
return ""
}
}
},
@ -727,7 +730,7 @@ export default {
if (cell.is_substitute) {
return '无'
}
if (cell.purchase_way.remark === 'false') {
if (cell.purchase_way?.remark === 'false') {
return '无'
}
switch (value) {
@ -772,7 +775,10 @@ export default {
{
label: "采购方式",
width: 120,
prop: "purchase_way.value"
prop: "purchase_way.value",
formatter:(cell,data,value) => {
return value ? value : "无"
}
},
{
label: "资金来源",
@ -1041,7 +1047,7 @@ export default {
type: "",
methods: "",
modality: "",
price: "",
price: 0,
fundingChannels: [],
isBudget: true,
plan: [],
@ -1253,7 +1259,7 @@ export default {
}
}
if (column.property === 'invite_status') {
if (row.purchase_way.remark === 'false' || row.is_substitute) {
if (row.purchase_way?.remark === 'false' || row.is_substitute) {
return {
'color': 'rgb(140,140,140)'
}

Loading…
Cancel
Save