2022.8.1 style

master
271556543@qq.com 3 years ago
parent e888da9567
commit 8b6969377a

@ -192,6 +192,7 @@ export default {
}else{
return (
<el-table-column
fixed={item1.fixed ?? false}
align={item1.align ?? 'center'}
header-align={item1.headerAlign ?? 'center'}
prop={`${item.Fprop?item.Fprop+'.' : ''}${item1.prop}`}
@ -212,6 +213,7 @@ export default {
//
return (
<el-table-column
fixed={item.fixed ?? false}
formatter={item.formatter}
width={item.width ?? 'auto'}
min-width={item.minWidth ?? item.width}

@ -258,10 +258,18 @@ export default {
total:0,
pageIndex:1,
table:[
{
label:"项目名称",
prop:'name',
width: 200,
align:'left',
sortable:false,
fixed:'left'
},
{
label:"预算类型",
prop:'type',
width:120,
width:115,
formatter:(cell,data,value)=>{
switch (value){
case 1:
@ -275,22 +283,15 @@ export default {
}
}
},
{
label:"项目名称",
prop:'name',
width: 200,
align:'left',
sortable:false
},
{
label:"所属年份",
prop:'year',
width: 120
width: 105
},
{
label: "相关科室",
prop:'plan_department.name',
width: 180
width: 110
},
{
label:'项目金额(元)',

@ -90,7 +90,7 @@
<xy-table :table-item="table" :list="list" @editor="" @delete="(row)=>deleteContract(row.id)" @cellClick="showPaymentPlan" :cell-style="cellStyle" :show-summary="true" :summary-method="summary">
<template v-slot:btns>
<el-table-column label="操作" fixed="right" width="220" header-align="center">
<el-table-column label="操作" fixed="right" width="200" header-align="center">
<template slot-scope="scope">
<div class="slot-btns">
<template v-if="scope.row.status === 2">
@ -352,17 +352,19 @@ export default {
table:[
{
label:"项目名称",
width: 160,
prop:'name'
width: 150,
prop:'name',
fixed:'left',
align:'left'
},
{
label:"采购形式",
width: 160,
width: 120,
prop:'purchase_type.value'
},
{
label:"项目类型",
width: 160,
width: 120,
prop:'type',
formatter:(cell,data,value)=>{
switch (value){
@ -382,18 +384,18 @@ export default {
},
{
label:"采购方式",
width: 160,
width: 120,
prop:"purchase_way.value"
},
{
label:"资金来源",
width: 160,
width: 120,
prop:"money_way.value"
},
{
label:'已付金额',
prop:'fund_log_total',
width:160,
width:180,
align:'right',
formatter:(cell,data,value)=>{
if(!value){
@ -404,7 +406,7 @@ export default {
},
{
label:"合同预算价(万元)",
width: 200,
width: 180,
prop:"plan_price",
align:'right',
formatter:(v1,v2,value)=>{
@ -413,13 +415,13 @@ export default {
},
{
label:'合同签订价(万元)',
width: 200,
width: 180,
prop:'money',
align:'right'
},
{
label:"合同状态",
width: 160,
width: 120,
prop:"status",
formatter:(cell,data,value)=>{
switch (value){
@ -437,7 +439,7 @@ export default {
{
label:'付款计划',
prop:'plan_link_count',
width: 160,
width: 120,
formatter:(cell,data,value)=>{
return value + '期'
}
@ -447,7 +449,7 @@ export default {
multiHd:[
{
label:"请示流程",
width: 200,
width: 140,
prop:'req_status',
formatter:(cell,data,value)=>{
if(cell.is_plan === 1){
@ -471,7 +473,7 @@ export default {
},
{
label:"采购业务审批流程",
width: 200,
width: 158,
prop:'purchase_status',
formatter:(cell,data,value)=>{
switch (value){
@ -492,7 +494,7 @@ export default {
},
{
label:"招标审核流程",
width: 200,
width: 145,
prop:'invite_status',
formatter:(cell,data,value)=>{
switch (value){
@ -513,7 +515,7 @@ export default {
},
{
label:"合同会签流程",
width: 200,
width: 145,
prop:'join_status',
formatter:(cell,data,value)=>{
switch (value){
@ -536,12 +538,12 @@ export default {
},
{
label:"业务科室",
width: 200,
width: 140,
prop:'department.name'
},
{
label:"经办人",
width: 160,
width: 140,
prop:'admin.name'
},
{

@ -59,7 +59,9 @@ export default {
{
prop:'contract.name',
label:'项目名称',
width:170
width:170,
align:'left',
fixed:'left'
},
{
prop:'money',
@ -70,12 +72,12 @@ export default {
{
prop:'date',
label:'计划付款日期',
width: 200
width: 180
},
{
prop:'created_at',
label:'创建信息',
width: 200,
width: 180,
formatter:(v1,v2,value)=>{
return parseTime(new Date(value))
}
@ -89,7 +91,7 @@ export default {
{
prop:'contract.created_at',
label:'合同签订日期',
width: 200,
width: 180,
formatter:(v1,v2,value)=>{
return parseTime(new Date(value))
}
@ -97,22 +99,22 @@ export default {
{
prop:'contract.supply',
label:'受款单位',
width: 180
width: 140
},
{
prop:'admin.name',
label:'经办人',
width: 180
width: 140
},
{
prop:'department.name',
label:'经办科室',
width: 200
width: 140
},
{
prop:'created_at',
label:'创建信息',
width: 200,
width: 180,
formatter:(v1,v2,value)=>{
return parseTime(new Date(value))
}

@ -72,7 +72,9 @@ export default {
{
label:"项目名称",
minWidth: 150,
prop:'contract.name'
prop:'contract.name',
align:'left',
fixed:'left'
},
{
label:"付款申请金额(元)",
@ -89,12 +91,12 @@ export default {
{
label:"款项类型",
prop:"type",
width: 140
width: 120
},
{
prop:'status',
label:'状态',
width: 140,
width: 120,
formatter:(cell,data,value)=>{
if(value === 0) return '待审核'
else return '已审核'
@ -103,7 +105,7 @@ export default {
{
label:"是否最后一笔",
prop:"is_end",
width: 150,
width: 146,
formatter:(cell,data,value)=>{
return value == 1 ? "是" : "否"
}

@ -60,13 +60,15 @@ export default {
{
label:"项目名称",
width: 150,
prop:'contract.name'
prop:'contract.name',
fixed:'left',
align:'left'
},
{
label:"付款申请金额(元)",
prop:"apply_money",
align:'right',
width: 165
width: 170
},
{
label:'实际付款金额',
@ -82,7 +84,7 @@ export default {
{
prop:'status',
label:'状态',
width: 140,
width: 120,
formatter:(cell,data,value)=>{
if(value === 0) return '待审核'
else return '已审核'
@ -91,7 +93,7 @@ export default {
{
label:"是否最后一笔",
prop:"is_end",
width: 150,
width: 146,
formatter:(cell,data,value)=>{
return value == 1 ? "是" : "否"
}
@ -99,7 +101,7 @@ export default {
{
label:"创建信息",
prop:"created_at",
minWidth:200,
minWidth:180,
formatter:(cell,data,value)=>{
return parseTime(new Date(value))
}

@ -73,6 +73,13 @@ export default {
total:0,
list:[],
table:[
{
prop:'name',
label:'项目名称',
width: 200,
align: 'left',
fixed: 'left'
},
{
prop:'type',
label:'预算类型',
@ -90,11 +97,6 @@ export default {
}
}
},
{
prop:'name',
label:'项目名称',
width: 200
},
{
prop:'year',
label:'所属年份',
@ -113,7 +115,7 @@ export default {
{
prop:'rate',
label:'进展率',
width: 160,
width: 120,
formatter:(cell,data,value)=>{
return value + '%'
}

Loading…
Cancel
Save