index.vue
5.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-20 14:22:37
-->
<template>
<div class='sfxx slxx'>
<el-form
:model="ruleForm"
ref="ruleForm"
v-Loading="loading"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="120px">
<div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
基本信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="受理人员:">
<el-input v-model="ruleForm.slry" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="受理时间:">
<el-input v-model="ruleForm.slsj" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记情形名称:">
<el-input v-model="ruleForm.djqxmc" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="登记业务名称:">
<el-input v-model="ruleForm.djywmc" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
计费明细
</div>
<el-table :data="tableDatajf.data" border :height="100">
<el-table-column v-for="item in tableDatajf.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center">
</el-table-column>
</el-table>
<div class="slxx_title title-block">
收费明细
<el-button type="primary" @click="hanldeEdit" style="float:right;margin-top:-5px">修改</el-button>
</div>
<el-table :data="tableDatasf.data" border :height="100">
<el-table-column v-for="item in tableDatasf.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center">
</el-table-column>
</el-table>
<div class="slxx_title title-block">
票据
<div class="triangle"></div>
</div>
<div style="height:250px">
<img src="../../../../image/pj.jpg" alt="" style="height:100%">
</div>
</div>
</el-form>
</div>
</template>
<script>
import { mapGetters } from "vuex";
import { initSfxx } from "@/api/sfxx.js";
export default {
components: {},
data () {
return {
loading: false,
bsmBusiness: this.$route.query.bsmBusiness ? this.$route.query.bsmBusiness : window.currentSelect.bsmBusiness,
ruleForm: {},
tableDatasf: {
columns: [
{
prop: "sfdw",
label: "收费单位",
},
{
prop: "sfry",
label: "收费人员",
},
{
prop: "sfkmmc",
label: "收费科目名称",
},
{
prop: "sjffr",
label: "实际付费人",
},
{
prop: "ssje",
label: "实收金额",
},
{
prop: "ysje",
label: "应收金额",
}
],
data: [],
},
tableDatajf: {
columns: [
{
prop: "jfjs",
label: "计费基数",
},
{
prop: "jflx",
label: "计费类型",
},
{
prop: "jflxmc",
label: "计费类型名称",
},
{
prop: "ysje",
label: "应收金额",
},
{
prop: "zkhysje",
label: "折扣后应收金额",
},
{
prop: "qlrmc",
label: "权利人名称",
},
{
prop: "ywrmc",
label: "义务人名称",
},
{
prop: "qlytmc",
label: "权利用途名称",
},
{
prop: "qlxzmc",
label: "权利性质名称",
},
{
prop: "zl",
label: "坐落",
}
],
data: [],
}
}
},
computed: {
...mapGetters(["workFresh", "flag", "pouopData"]),
},
watch: {
workFresh: {
handler (newVal, oldVal) {
if (newVal) this.getList()
}
},
pouopData: {
handler (newValue, oldValue) {
if (newValue.length != 0) {
this.tableDatasf.data = newValue
}
},
deep: true
}
},
mounted () {
this.getList()
},
methods: {
getList () {
initSfxx(this.bsmBusiness).then(res => {
let { slsq, jfList, sfList } = res.result
this.ruleForm = slsq
this.tableDatajf.data = jfList
this.tableDatasf.data = sfList
})
},
hanldeEdit () {
this.$popupDialog('编辑', 'workflow/main/sfxx/sfDetail', { bsmBusiness: this.bsmBusiness, dataList: _.cloneDeep(this.tableDatasf.data) }, '50%', true)
}
}
}
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>