diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue
index 04a73e7..1800a09 100644
--- a/src/views/contract/contractList.vue
+++ b/src/views/contract/contractList.vue
@@ -184,7 +184,7 @@
+ 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">
@@ -193,7 +193,7 @@
+ 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) ) ">
@@ -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)'
}