Commit ee09a898 authored by 李苏's avatar 李苏 💬

预算汇总调整

parent 6ce17b42
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
return { return {
formDetail: [ formDetail: [
], ],
spanArr: [], spanArr: [],
baseUrl:'sbysjsp/yshz/edit', baseUrl:'sbysjsp/yshz/edit',
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
width: 150 width: 150
}, },
{ {
label: "事项明细", label: "事项",
prop: "flname", prop: "flname",
fieldType: "ftString", fieldType: "ftString",
width: 150 width: 150
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
rowIndex, rowIndex,
columnIndex columnIndex
}) { }) {
if (column.property == 'bmjc') { if (column.property == 'bmjc'||column.property == 'flname') {
const _row = this.spanArr[rowIndex] const _row = this.spanArr[rowIndex]
const _col = _row > 0 ? 1 : 0 const _col = _row > 0 ? 1 : 0
return { return {
......
...@@ -5,31 +5,34 @@ ...@@ -5,31 +5,34 @@
<div class="search" v-condition> <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<el-col :span="6" class="search-col"> <el-col :span="5" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker value-format="timestamp" v-model='queryParams.start' ></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.start' ></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="5" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">截止日期:</span> <span class="search-span">截止日期:</span>
<el-date-picker value-format="timestamp" v-model='queryParams.end' ></el-date-picker> <el-date-picker value-format="timestamp" v-model='queryParams.end' ></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="5" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">预算任务:</span> <span class="search-span">预算任务:</span>
<RelSelect style="width: 100%;" src='hafms/ysfl/query' filterable clearable <RelSelect style="width: 100%;" src='hafms/ysfl/query' filterable clearable
:match="{value:'id',label:'name'}" v-model='queryParams.flid'></RelSelect> :match="{value:'id',label:'name'}" v-model='queryParams.flid'></RelSelect>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="5" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">状态:</span> <span class="search-span">状态:</span>
<RelSelect style="width: 100%;" src='hafms/yssq/init/zt' filterable clearable <RelSelect style="width: 100%;" src='hafms/yssq/init/zt' filterable clearable
:match="{value:'id',label:'name'}" v-model='queryParams.zt'></RelSelect> :match="{value:'id',label:'name'}" v-model='queryParams.zt'></RelSelect>
</div> </div>
</el-col>
<el-col :span="4" class="search-col">
<el-checkbox @change="$refs['TablePager'].pageQuery()" true-label='Y' false-label='N' v-model="queryParams.xsystz">显示调整信息</el-checkbox>
</el-col> </el-col>
</el-row> </el-row>
...@@ -66,6 +69,7 @@ ...@@ -66,6 +69,7 @@
<div class="tablePagers"> <div class="tablePagers">
<!-- 多选数组转 --> <!-- 多选数组转 -->
<TablePager <TablePager
fePage
:operateButtons="false" :operateButtons="false"
@tpDbClick="tpDbClick" @tpDbClick="tpDbClick"
:multipleTrans="[ :multipleTrans="[
...@@ -106,6 +110,7 @@ ...@@ -106,6 +110,7 @@
baseUrl: 'hafms/ystz', baseUrl: 'hafms/ystz',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
xsystz:'N',
start:new Date().getTime()-1000*60*60*24*30, start:new Date().getTime()-1000*60*60*24*30,
end: new Date().getTime(), end: new Date().getTime(),
flid:'', flid:'',
...@@ -130,6 +135,7 @@ ...@@ -130,6 +135,7 @@
queryDetail({ queryDetail({
year:row.year, year:row.year,
flid:row.flid, flid:row.flid,
xsystz:this.queryParams.xsystz
}).then(res=>{ }).then(res=>{
if(res.success){ if(res.success){
const {records} = res.data const {records} = res.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment