|
@@ -9,7 +9,7 @@
|
|
|
append-to-body
|
|
append-to-body
|
|
|
:show-close="false"
|
|
:show-close="false"
|
|
|
@close="onClose">
|
|
@close="onClose">
|
|
|
- <div class="flex-align-stretch drawer__panel">
|
|
|
|
|
|
|
+ <div class="flex-align-stretch drawer__panel" style="margin-bottom: 0 !important;padding-bottom: 10px">
|
|
|
<div class="mt-10">
|
|
<div class="mt-10">
|
|
|
<label class="search__label">收支类型:</label>
|
|
<label class="search__label">收支类型:</label>
|
|
|
<el-select class="inline-24" v-model="status" placeholder="请选择类型" @change="selectChange" size="small" clearable>
|
|
<el-select class="inline-24" v-model="status" placeholder="请选择类型" @change="selectChange" size="small" clearable>
|
|
@@ -33,10 +33,20 @@
|
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="mt-10">
|
|
<div class="mt-10">
|
|
|
- <el-input style="width:200px;" placeholder="搜索" :suffix-icon="param.content.where.condition?param.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="param.content.where.condition" @keyup.native.enter="listData(param.content.pageNumber = 1)" @clear="clearSearchValue" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
|
|
|
|
+ <el-input style="width:200px;" placeholder="搜索" :suffix-icon="param.content.where.condition?param.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="param.content.where.condition" @keyup.native.enter="listData(param.content.pageNumber = 1)" @clear="listData(param.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
</el-input>
|
|
</el-input>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div style="padding:0 16px 20px 16px">
|
|
|
|
|
+ <tableNewLayout :layout="tablecols" :data="list" :opwidth="200" height="calc(100vh - 356px)" :width="true" :custom="true" >
|
|
|
|
|
+ <template v-slot:customcol="scope">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ {{scope.column.data[[scope.column.columnname]] || scope.column.columnname === 'operation'?scope.column.data[[scope.column.columnname]]:'--'}}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </tableNewLayout>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
</el-drawer>
|
|
</el-drawer>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -44,6 +54,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
export default {
|
|
export default {
|
|
|
name: "detail",
|
|
name: "detail",
|
|
|
|
|
+ props:["hrid"],
|
|
|
data(){
|
|
data(){
|
|
|
return {
|
|
return {
|
|
|
dialogFormVisible:false,
|
|
dialogFormVisible:false,
|
|
@@ -62,13 +73,32 @@ export default {
|
|
|
"type":""
|
|
"type":""
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ tablecols:[],
|
|
|
|
|
+ list:[]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods:{
|
|
methods:{
|
|
|
- onShow(){},
|
|
|
|
|
|
|
+ onShow(){
|
|
|
|
|
+ this.listData()
|
|
|
|
|
+ },
|
|
|
|
|
+ async listData(){
|
|
|
|
|
+ this.param.content.hrid = this.hrid
|
|
|
|
|
+ const res = await this.$api.requested(this.param)
|
|
|
|
|
+ this.list = res.data
|
|
|
|
|
+ },
|
|
|
selectChange(){},
|
|
selectChange(){},
|
|
|
- onClose(){}
|
|
|
|
|
|
|
+ onClose(){
|
|
|
|
|
+ this.param.content.where = {
|
|
|
|
|
+ "condition": "",
|
|
|
|
|
+ "begdate": "",
|
|
|
|
|
+ "enddate": "",
|
|
|
|
|
+ "type":""
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ created() {
|
|
|
|
|
+ this.tablecols = this.tool.tabelCol(this.$route.name).accountDetailTable.tablecols
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|