master
xy 2 years ago
parent 812613f6d6
commit 78ddcf0bad

@ -1567,13 +1567,14 @@ export default {
},
{
label: "预算计划",
width: 320,
width: 330,
align: "left",
customFn: (row) => {
{
return row.plans.map((item) => {
return (
<div>
<span style="font-weight: 600;">{item.pid_info ? item.pid_info.name : ''}</span>
{" "}
[{item.year}] - {item.name}{" "}
</div>

@ -473,30 +473,30 @@ export default {
{
label: "采购流程",
multiHd: [
{
label: "请示流程",
width: 140,
prop: "req_status",
formatter: (cell, data, value) => {
if (cell.is_plan === 1) {
return "无";
}
switch (value) {
case 1:
return "待申请";
break;
case 2:
return "流转中";
break;
case 3:
return "已办结";
break;
default:
return "异常";
break;
}
},
},
// {
// label: "",
// width: 140,
// prop: "req_status",
// formatter: (cell, data, value) => {
// if (cell.is_plan === 1) {
// return "";
// }
// switch (value) {
// case 1:
// return "";
// break;
// case 2:
// return "";
// break;
// case 3:
// return "";
// break;
// default:
// return "";
// break;
// }
// },
// },
{
label: "采购业务审批流程",
width: 158,

@ -217,13 +217,14 @@ export default {
},
{
label: "预算计划",
width: 320,
width: 330,
align: "left",
customFn: (row) => {
if (row.act_plan_link.length > 0) {
return row.act_plan_link.map((item) => {
return (
<div>
<span style="font-weight: 600;">{(item.plan && item.plan.pid_info) ? item.plan.pid_info.name: ''}</span>
[{item.plan?.year}] - {item.plan?.name}
<br />
[使用金额] {item.use_money}{" "}

@ -131,7 +131,7 @@
width="160"
header-align="center"
>
<template slot-scope="scope">
<template slot-scope="scope" v-if="scope.row.flow_status === 3">
<template v-if="scope.row.status === 0">
<Button
size="small"
@ -287,6 +287,7 @@ export default {
return row.act_plan_link.map((item) => {
return (
<div>
<span style="font-weight: 600;">{(item.plan && item.plan.pid_info) ? item.plan.pid_info.name: ''}</span>
{" "}
[{item.plan.year}] - {item.plan.name} <br /> [使用金额]{" "}
{item.use_money}{" "}

Loading…
Cancel
Save