集采相关问题修改

busUser
anthonywj 2 years ago
parent e9624bea58
commit 67af6d142d

@ -164,9 +164,21 @@
<template slot-scope="scope">
<span>{{ enableMap[scope.row.groupBuy] }}</span>
</template>
</el-table-column>
<el-table-column
label="是否集采"
prop="groupBuy"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag :type="(scope.row.groupBuy) | statusFilterType">
<span>{{ enableMap[scope.row.groupBuy] }}</span>
</el-tag>
</template>
</el-table-column>
<el-table-column width="200" label="操作" fixed="right">
<template slot-scope="scope">
<el-button
@ -1121,8 +1133,8 @@ export default {
lockStatusMap: {1: "未提交", 2: "已提交", 3: "已锁定"},
activeNames: ['1'],
enableMap: {
true: "",
false: "",
true: "集采",
false: "非集采",
},
};
},
@ -1632,6 +1644,15 @@ export default {
},
mounted() {
},
filters: {
statusFilterType(status) {
const statusMap = {
false: "warning",
true: "success",
};
return statusMap[status];
},
},
components: {
selectUdi,
selectErp,

@ -100,6 +100,17 @@
prop="qxlb"
show-overflow-tooltip
></el-table-column>
<el-table-column
label="是否集采"
prop="groupBuy"
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag :type="(scope.row.groupBuy) | statusFilterType">
<span>{{ enableMap[scope.row.groupBuy] }}</span>
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" width="160">
<template slot-scope="scope">
<el-button
@ -199,6 +210,10 @@ export default {
thirdSysFk: null,
busTypes: [],
actDateRange: [],
enableMap: {
true: "集采",
false: "非集采",
},
pickerOptions: {
shortcuts: [
{
@ -411,7 +426,15 @@ export default {
},
},
components: {udiRlDetailDialog},
filters: {
statusFilterType(status) {
const statusMap = {
false: "warning",
true: "success",
};
return statusMap[status];
},
},
created() {
if (this.$isNotBlank(this.data)) {
// this.listQuery.nameCode = this.data.udi;

Loading…
Cancel
Save