master
xy 3 years ago
parent 415c0acfd9
commit 31841786bc

@ -191,7 +191,7 @@
</xy-dialog> </xy-dialog>
<!-- 编辑中 预算计划 --> <!-- 编辑中 预算计划 -->
<xy-dialog :is-show.sync="isShowPlan" title="预算计划" :width="640" @on-ok="planSelect"> <xy-dialog :is-show.sync="isShowPlan" title="预算计划" :width="820" @on-ok="planSelect">
<template> <template>
<Input v-model="planSearch" search enter-button=" " placeholder="搜索预算计划.." @on-search="getBudgets" /> <Input v-model="planSearch" search enter-button=" " placeholder="搜索预算计划.." @on-search="getBudgets" />
@ -454,6 +454,18 @@
prop: 'money', prop: 'money',
align: 'right', align: 'right',
width: 120, width: 120,
},
{
label: "实付金额",
prop: 'use_money_total',
width: 120,
align: 'right'
},
{
label: '已用金额',
prop: 'has_money_total',
width: 120,
align: 'right'
} }
], ],
planTotal: 0, planTotal: 0,

@ -471,7 +471,7 @@
</xy-dialog> </xy-dialog>
<!-- 新增表 预算计划 --> <!-- 新增表 预算计划 -->
<xy-dialog :is-show.sync="isShowPlan" :width="720" title="预算计划" @on-ok="planSelect"> <xy-dialog :is-show.sync="isShowPlan" :width="820" title="预算计划" @on-ok="planSelect">
<template> <template>
<div style="display: flex;"> <div style="display: flex;">
<el-select placeholder="科室选择" clearable size="small" v-model="planSearch.plan_department_id" <el-select placeholder="科室选择" clearable size="small" v-model="planSearch.plan_department_id"
@ -1029,6 +1029,23 @@ export default {
width: 140, width: 140,
prop: 'admin.name' prop: 'admin.name'
}, },
{
label: "合同服务日期",
width: 200,
customFn:row => {
if(row.start_date && row.end_date){
return (
<div>
<span>{row.start_date} ~ {row.end_date}</span>
</div>
)
}else{
return (
<span></span>
)
}
}
},
{ {
label: "签订日期", label: "签订日期",
width: 160, width: 160,
@ -1145,11 +1162,17 @@ export default {
} }
}, },
{ {
label: "已用金额", label: "实付金额",
prop: 'use_money_total', prop: 'use_money_total',
width: 120, width: 120,
align: 'right' align: 'right'
}, },
{
label: '已用金额',
prop: 'has_money_total',
width: 120,
align: 'right'
}
], ],
@ -1238,7 +1261,8 @@ export default {
isShowContractToContracts: false, isShowContractToContracts: false,
contractSelect: { contractSelect: {
page: 1, page: 1,
page_size: 10 page_size: 10,
is_framework: 1
}, },
contractTotal: 0, contractTotal: 0,
contractList: [], contractList: [],

@ -592,7 +592,7 @@
width: 145, width: 145,
prop: 'invite_status', prop: 'invite_status',
formatter: (cell, data, value) => { formatter: (cell, data, value) => {
if (cell.purchase_way.remark === 'false') { if (cell.purchase_way?.remark === 'false') {
return '无' return '无'
} }
switch (value) { switch (value) {
@ -772,6 +772,23 @@
prop: 'supply', prop: 'supply',
align: "left" align: "left"
}, },
{
label: "合同服务日期",
width: 200,
customFn:row => {
if(row.start_date && row.end_date){
return (
<div>
<span>{row.start_date} ~ {row.end_date}</span>
</div>
)
}else{
return (
<span></span>
)
}
}
},
{ {
label: "签订日期", label: "签订日期",
width: 160, width: 160,
@ -1134,7 +1151,7 @@
} }
} }
if (column.property === 'invite_status') { if (column.property === 'invite_status') {
if (row.purchase_way.remark === 'false') { if (row.purchase_way?.remark === 'false') {
return { return {
'color': 'rgb(140,140,140)' 'color': 'rgb(140,140,140)'
} }

Loading…
Cancel
Save