apply-clients 3.0.7-143 → 3.0.7-147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/App.vue +20 -20
- package/src/components/product/Function/InstallInfoSelect.vue +0 -6
- package/src/components/product/Function/functions/RefundInstall.vue +258 -258
- package/src/components/product/Function/returnpremium/ApplyReturnChargeList.vue +226 -226
- package/src/components/product/Process/ExplorationSelect.vue +644 -641
- package/src/components/product/Supervisory/SupervisoryList.vue +348 -334
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<app-base class="bg">
|
|
4
|
-
<div class='flex'>
|
|
5
|
-
<article>
|
|
6
|
-
<route :comp="{name: 'login'}"></route>
|
|
7
|
-
</article>
|
|
8
|
-
</div>
|
|
9
|
-
</app-base>
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export default {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<app-base class="bg">
|
|
4
|
+
<div class='flex'>
|
|
5
|
+
<article>
|
|
6
|
+
<route :comp="{name: 'login'}"></route>
|
|
7
|
+
</article>
|
|
8
|
+
</div>
|
|
9
|
+
</app-base>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
@@ -117,9 +117,6 @@
|
|
|
117
117
|
<th>
|
|
118
118
|
<nobr>报建类型</nobr>
|
|
119
119
|
</th>
|
|
120
|
-
<th>
|
|
121
|
-
<nobr>报建状态</nobr>
|
|
122
|
-
</th>
|
|
123
120
|
<th>
|
|
124
121
|
<nobr>报建日期</nobr>
|
|
125
122
|
</th>
|
|
@@ -166,9 +163,6 @@
|
|
|
166
163
|
<td style="text-align: center;">
|
|
167
164
|
<nobr>{{row.f_apply_type}}</nobr>
|
|
168
165
|
</td>
|
|
169
|
-
<td style="text-align: center;">
|
|
170
|
-
<nobr>{{row.f_state}}</nobr>
|
|
171
|
-
</td>
|
|
172
166
|
<td style="text-align: center;">
|
|
173
167
|
<nobr>{{row.f_apply_date}}</nobr>
|
|
174
168
|
</td>
|
|
@@ -1,258 +1,258 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12 auto select-overspread">
|
|
3
|
-
<div class="auto select-overspread">
|
|
4
|
-
<div class="panel panel-info">
|
|
5
|
-
<div class="panel-heading auto">
|
|
6
|
-
<h3 class="panel-title">退费</h3>
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<!--表头-->
|
|
11
|
-
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
12
|
-
<template partial='head'>
|
|
13
|
-
<tr>
|
|
14
|
-
<th class="textNoLineBreak">序号</th>
|
|
15
|
-
<th class="textNoLineBreak">退费金额</th>
|
|
16
|
-
<th class="textNoLineBreak">退费原因</th>
|
|
17
|
-
<th class="textNoLineBreak">退费状态</th>
|
|
18
|
-
<th class="textNoLineBreak">收费人</th>
|
|
19
|
-
<th class="textNoLineBreak">退费人</th>
|
|
20
|
-
<th class="textNoLineBreak">用户身份证/营业执照号码</th>
|
|
21
|
-
<th class="textNoLineBreak">发票号/收据号</th>
|
|
22
|
-
<th class="textNoLineBreak">用户开户银行</th>
|
|
23
|
-
<th class="textNoLineBreak">用户账户名称</th>
|
|
24
|
-
<th class="textNoLineBreak">用户银行账号</th>
|
|
25
|
-
<th class="textNoLineBreak">操作人</th>
|
|
26
|
-
<th class="textNoLineBreak">操作时间</th>
|
|
27
|
-
<th class="textNoLineBreak">
|
|
28
|
-
<button
|
|
29
|
-
type="button"
|
|
30
|
-
class="btn btn-info head-but"
|
|
31
|
-
@click="$parent.$parent.showCharge = !$parent.$parent.showCharge"
|
|
32
|
-
>新增退费</button>
|
|
33
|
-
</th>
|
|
34
|
-
</tr>
|
|
35
|
-
</template>
|
|
36
|
-
<template partial='body'>
|
|
37
|
-
<tr>
|
|
38
|
-
<td style="text-align: center;">
|
|
39
|
-
<nobr>{{$index+1}}</nobr>
|
|
40
|
-
</td>
|
|
41
|
-
<td style="text-align: center;">
|
|
42
|
-
<nobr>{{row.f_refund_amount}}</nobr>
|
|
43
|
-
</td>
|
|
44
|
-
<td style="text-align: center;">
|
|
45
|
-
<nobr>{{row.f_refund_amount_reason}}</nobr>
|
|
46
|
-
</td>
|
|
47
|
-
<td style="text-align: center;">
|
|
48
|
-
<nobr>{{row.f_state}}</nobr>
|
|
49
|
-
</td>
|
|
50
|
-
<td style="text-align: center;">
|
|
51
|
-
<nobr>{{row.f_toll_operator}}</nobr>
|
|
52
|
-
</td>
|
|
53
|
-
<td style="text-align: center;">
|
|
54
|
-
<nobr>{{row.f_refund_operator}}</nobr>
|
|
55
|
-
</td>
|
|
56
|
-
<td style="text-align: center;">
|
|
57
|
-
<nobr>{{row.f_user_id_card}}</nobr>
|
|
58
|
-
</td>
|
|
59
|
-
<td style="text-align: center;">
|
|
60
|
-
<nobr>{{row.f_invoice_number}}</nobr>
|
|
61
|
-
</td>
|
|
62
|
-
<td style="text-align: center;">
|
|
63
|
-
<nobr>{{row.f_user_deposit_bank}}</nobr>
|
|
64
|
-
</td>
|
|
65
|
-
<td style="text-align: center;">
|
|
66
|
-
<nobr>{{row.f_user_account_title}}</nobr>
|
|
67
|
-
</td>
|
|
68
|
-
<td style="text-align: center;">
|
|
69
|
-
<nobr>{{row.f_user_bank_account}}</nobr>
|
|
70
|
-
</td>
|
|
71
|
-
<td style="text-align: center;">
|
|
72
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
73
|
-
</td>
|
|
74
|
-
<td style="text-align: center;">
|
|
75
|
-
<nobr>{{row.f_date}}</nobr>
|
|
76
|
-
</td>
|
|
77
|
-
</tr>
|
|
78
|
-
</template>
|
|
79
|
-
</data-grid>
|
|
80
|
-
<validator name="v">
|
|
81
|
-
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="退费明细">
|
|
82
|
-
<header slot="modal-header" class="modal-header">
|
|
83
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
84
|
-
<h4 class="modal-title">退费明细</h4>
|
|
85
|
-
</header>
|
|
86
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
87
|
-
|
|
88
|
-
<div class="form-group col-sm-12" :class="[$v.f_refund_amount.required ? 'has-error' : '']">
|
|
89
|
-
<label class="col-sm-2 control-label">退费金额:</label>
|
|
90
|
-
<div class="col-sm-10">
|
|
91
|
-
<input type="number"
|
|
92
|
-
class="form-control input_view"
|
|
93
|
-
style="width: 100%"
|
|
94
|
-
placeholder="0.00"
|
|
95
|
-
v-validate:f_refund_amount = "['required']"
|
|
96
|
-
v-model="refundapply.f_refund_amount" />
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
<div class="form-group col-sm-12">
|
|
100
|
-
<label class="col-sm-2 control-label">退费原因:</label>
|
|
101
|
-
<div class="col-sm-10">
|
|
102
|
-
<input type="text"
|
|
103
|
-
class="form-control input_view"
|
|
104
|
-
style="width: 100%"
|
|
105
|
-
v-model="refundapply.f_refund_amount_reason" />
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
|
-
<div class="form-group col-sm-12">
|
|
109
|
-
<label class="col-sm-2 control-label">收费人员:</label>
|
|
110
|
-
<div class="col-sm-10">
|
|
111
|
-
<input type="text"
|
|
112
|
-
class="form-control input_view"
|
|
113
|
-
style="width: 100%"
|
|
114
|
-
v-model="refundapply.f_toll_operator" />
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
<div class="form-group col-sm-12">
|
|
118
|
-
<label class="col-sm-2 control-label">退费人员:</label>
|
|
119
|
-
<div class="col-sm-10">
|
|
120
|
-
<input type="text"
|
|
121
|
-
class="form-control input_view"
|
|
122
|
-
style="width: 100%"
|
|
123
|
-
v-model="refundapply.f_refund_operator" />
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="form-group col-sm-12">
|
|
127
|
-
<label class="col-sm-2 control-label">用户身份证/营业执照号码:</label>
|
|
128
|
-
<div class="col-sm-10">
|
|
129
|
-
<input type="text"
|
|
130
|
-
class="form-control input_view"
|
|
131
|
-
style="width: 100%"
|
|
132
|
-
v-model="refundapply.f_user_id_card" />
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
<div class="form-group col-sm-12">
|
|
136
|
-
<label class="col-sm-2 control-label">发票号/收据号:</label>
|
|
137
|
-
<div class="col-sm-10">
|
|
138
|
-
<input type="text"
|
|
139
|
-
class="form-control input_view"
|
|
140
|
-
style="width: 100%"
|
|
141
|
-
v-model="refundapply.f_invoice_number" />
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
<div class="form-group col-sm-12">
|
|
145
|
-
<label class="col-sm-2 control-label">用户开户银行:</label>
|
|
146
|
-
<div class="col-sm-10">
|
|
147
|
-
<input type="text"
|
|
148
|
-
class="form-control input_view"
|
|
149
|
-
style="width: 100%"
|
|
150
|
-
v-model="refundapply.f_user_deposit_bank" />
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
<div class="form-group col-sm-12">
|
|
154
|
-
<label class="col-sm-2 control-label">用户账户名称:</label>
|
|
155
|
-
<div class="col-sm-10">
|
|
156
|
-
<input type="text"
|
|
157
|
-
class="form-control input_view"
|
|
158
|
-
style="width: 100%"
|
|
159
|
-
v-model="refundapply.f_user_account_title" />
|
|
160
|
-
</div>
|
|
161
|
-
</div>
|
|
162
|
-
<div class="form-group col-sm-12">
|
|
163
|
-
<label class="col-sm-2 control-label">用户银行账号:</label>
|
|
164
|
-
<div class="col-sm-10">
|
|
165
|
-
<input type="text"
|
|
166
|
-
class="form-control input_view"
|
|
167
|
-
style="width: 100%"
|
|
168
|
-
v-model="refundapply.f_user_bank_account" />
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</article>
|
|
172
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
173
|
-
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="confirm()">退费</button>
|
|
174
|
-
</footer>
|
|
175
|
-
</modal>
|
|
176
|
-
</validator>
|
|
177
|
-
</div>
|
|
178
|
-
</template>
|
|
179
|
-
<script>
|
|
180
|
-
import * as Util from '../../../Util'
|
|
181
|
-
import {HttpResetClass} from 'vue-client'
|
|
182
|
-
import co from 'co'
|
|
183
|
-
|
|
184
|
-
let gen = function * (self, val, val1) {
|
|
185
|
-
let data ={
|
|
186
|
-
tablename:'t_apply',
|
|
187
|
-
parameters:val1
|
|
188
|
-
}
|
|
189
|
-
yield self.$resetpost('rs/logic/save', {data:data})
|
|
190
|
-
delete val.id
|
|
191
|
-
val.processid = self.refundapply.f_process_id
|
|
192
|
-
val.f_operator = self.$login.f.name
|
|
193
|
-
data ={
|
|
194
|
-
tablename:'t_return_premium',
|
|
195
|
-
parameters:val
|
|
196
|
-
}
|
|
197
|
-
self.$resetpost('rs/logic/save', {data:data})
|
|
198
|
-
.then(() => {
|
|
199
|
-
self.workflow()
|
|
200
|
-
})
|
|
201
|
-
}
|
|
202
|
-
export default {
|
|
203
|
-
title: '退费',
|
|
204
|
-
data () {
|
|
205
|
-
return {
|
|
206
|
-
showCharge: false, // 退费明细
|
|
207
|
-
model: {
|
|
208
|
-
data: null
|
|
209
|
-
},
|
|
210
|
-
refundapply: {}
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
props: ['selectdata'],
|
|
214
|
-
ready () {
|
|
215
|
-
this.search()
|
|
216
|
-
},
|
|
217
|
-
methods: {
|
|
218
|
-
async search () {
|
|
219
|
-
let http = new HttpResetClass()
|
|
220
|
-
let data = {
|
|
221
|
-
f_process_id: this.selectdata.f_process_id
|
|
222
|
-
}
|
|
223
|
-
let res = await http.load('POST', 'rs/sql/returnpremium', {data:data}, {
|
|
224
|
-
resolveMsg: null,
|
|
225
|
-
rejectMsg: '退费记录查询失败!!!'
|
|
226
|
-
})
|
|
227
|
-
this.model.data = res.data
|
|
228
|
-
},
|
|
229
|
-
closeModal() {
|
|
230
|
-
this.showCharge = false
|
|
231
|
-
this.refundapply = {}
|
|
232
|
-
this.search()
|
|
233
|
-
},
|
|
234
|
-
async confirm () {
|
|
235
|
-
|
|
236
|
-
let http = new HttpResetClass()
|
|
237
|
-
let data = {
|
|
238
|
-
refundapply: this.refundapply,
|
|
239
|
-
selectdata: this.selectdata,
|
|
240
|
-
user: this.$login.f
|
|
241
|
-
}
|
|
242
|
-
let res = await http.load('POST', 'rs/logic/addreturnpremium', {data:data}, {
|
|
243
|
-
resolveMsg: null,
|
|
244
|
-
rejectMsg: '退费记录保存失败!!!'
|
|
245
|
-
})
|
|
246
|
-
this.closeModal()
|
|
247
|
-
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
watch: {
|
|
251
|
-
'selectdata'(){
|
|
252
|
-
if(this.selectdata.f_process_id!=''){
|
|
253
|
-
this.search()
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12 auto select-overspread">
|
|
3
|
+
<div class="auto select-overspread">
|
|
4
|
+
<div class="panel panel-info">
|
|
5
|
+
<div class="panel-heading auto">
|
|
6
|
+
<h3 class="panel-title">退费</h3>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<!--表头-->
|
|
11
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
12
|
+
<template partial='head'>
|
|
13
|
+
<tr>
|
|
14
|
+
<th class="textNoLineBreak">序号</th>
|
|
15
|
+
<th class="textNoLineBreak">退费金额</th>
|
|
16
|
+
<th class="textNoLineBreak">退费原因</th>
|
|
17
|
+
<th class="textNoLineBreak">退费状态</th>
|
|
18
|
+
<th class="textNoLineBreak">收费人</th>
|
|
19
|
+
<th class="textNoLineBreak">退费人</th>
|
|
20
|
+
<th class="textNoLineBreak">用户身份证/营业执照号码</th>
|
|
21
|
+
<th class="textNoLineBreak">发票号/收据号</th>
|
|
22
|
+
<th class="textNoLineBreak">用户开户银行</th>
|
|
23
|
+
<th class="textNoLineBreak">用户账户名称</th>
|
|
24
|
+
<th class="textNoLineBreak">用户银行账号</th>
|
|
25
|
+
<th class="textNoLineBreak">操作人</th>
|
|
26
|
+
<th class="textNoLineBreak">操作时间</th>
|
|
27
|
+
<th class="textNoLineBreak">
|
|
28
|
+
<button
|
|
29
|
+
type="button"
|
|
30
|
+
class="btn btn-info head-but"
|
|
31
|
+
@click="$parent.$parent.showCharge = !$parent.$parent.showCharge"
|
|
32
|
+
>新增退费</button>
|
|
33
|
+
</th>
|
|
34
|
+
</tr>
|
|
35
|
+
</template>
|
|
36
|
+
<template partial='body'>
|
|
37
|
+
<tr>
|
|
38
|
+
<td style="text-align: center;">
|
|
39
|
+
<nobr>{{$index+1}}</nobr>
|
|
40
|
+
</td>
|
|
41
|
+
<td style="text-align: center;">
|
|
42
|
+
<nobr>{{row.f_refund_amount}}</nobr>
|
|
43
|
+
</td>
|
|
44
|
+
<td style="text-align: center;">
|
|
45
|
+
<nobr>{{row.f_refund_amount_reason}}</nobr>
|
|
46
|
+
</td>
|
|
47
|
+
<td style="text-align: center;">
|
|
48
|
+
<nobr>{{row.f_state}}</nobr>
|
|
49
|
+
</td>
|
|
50
|
+
<td style="text-align: center;">
|
|
51
|
+
<nobr>{{row.f_toll_operator}}</nobr>
|
|
52
|
+
</td>
|
|
53
|
+
<td style="text-align: center;">
|
|
54
|
+
<nobr>{{row.f_refund_operator}}</nobr>
|
|
55
|
+
</td>
|
|
56
|
+
<td style="text-align: center;">
|
|
57
|
+
<nobr>{{row.f_user_id_card}}</nobr>
|
|
58
|
+
</td>
|
|
59
|
+
<td style="text-align: center;">
|
|
60
|
+
<nobr>{{row.f_invoice_number}}</nobr>
|
|
61
|
+
</td>
|
|
62
|
+
<td style="text-align: center;">
|
|
63
|
+
<nobr>{{row.f_user_deposit_bank}}</nobr>
|
|
64
|
+
</td>
|
|
65
|
+
<td style="text-align: center;">
|
|
66
|
+
<nobr>{{row.f_user_account_title}}</nobr>
|
|
67
|
+
</td>
|
|
68
|
+
<td style="text-align: center;">
|
|
69
|
+
<nobr>{{row.f_user_bank_account}}</nobr>
|
|
70
|
+
</td>
|
|
71
|
+
<td style="text-align: center;">
|
|
72
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
73
|
+
</td>
|
|
74
|
+
<td style="text-align: center;">
|
|
75
|
+
<nobr>{{row.f_date}}</nobr>
|
|
76
|
+
</td>
|
|
77
|
+
</tr>
|
|
78
|
+
</template>
|
|
79
|
+
</data-grid>
|
|
80
|
+
<validator name="v">
|
|
81
|
+
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="退费明细">
|
|
82
|
+
<header slot="modal-header" class="modal-header">
|
|
83
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
84
|
+
<h4 class="modal-title">退费明细</h4>
|
|
85
|
+
</header>
|
|
86
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
87
|
+
|
|
88
|
+
<div class="form-group col-sm-12" :class="[$v.f_refund_amount.required ? 'has-error' : '']">
|
|
89
|
+
<label class="col-sm-2 control-label">退费金额:</label>
|
|
90
|
+
<div class="col-sm-10">
|
|
91
|
+
<input type="number"
|
|
92
|
+
class="form-control input_view"
|
|
93
|
+
style="width: 100%"
|
|
94
|
+
placeholder="0.00"
|
|
95
|
+
v-validate:f_refund_amount = "['required']"
|
|
96
|
+
v-model="refundapply.f_refund_amount" />
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="form-group col-sm-12">
|
|
100
|
+
<label class="col-sm-2 control-label">退费原因:</label>
|
|
101
|
+
<div class="col-sm-10">
|
|
102
|
+
<input type="text"
|
|
103
|
+
class="form-control input_view"
|
|
104
|
+
style="width: 100%"
|
|
105
|
+
v-model="refundapply.f_refund_amount_reason" />
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="form-group col-sm-12">
|
|
109
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
110
|
+
<div class="col-sm-10">
|
|
111
|
+
<input type="text"
|
|
112
|
+
class="form-control input_view"
|
|
113
|
+
style="width: 100%"
|
|
114
|
+
v-model="refundapply.f_toll_operator" />
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="form-group col-sm-12">
|
|
118
|
+
<label class="col-sm-2 control-label">退费人员:</label>
|
|
119
|
+
<div class="col-sm-10">
|
|
120
|
+
<input type="text"
|
|
121
|
+
class="form-control input_view"
|
|
122
|
+
style="width: 100%"
|
|
123
|
+
v-model="refundapply.f_refund_operator" />
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="form-group col-sm-12">
|
|
127
|
+
<label class="col-sm-2 control-label">用户身份证/营业执照号码:</label>
|
|
128
|
+
<div class="col-sm-10">
|
|
129
|
+
<input type="text"
|
|
130
|
+
class="form-control input_view"
|
|
131
|
+
style="width: 100%"
|
|
132
|
+
v-model="refundapply.f_user_id_card" />
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
<div class="form-group col-sm-12">
|
|
136
|
+
<label class="col-sm-2 control-label">发票号/收据号:</label>
|
|
137
|
+
<div class="col-sm-10">
|
|
138
|
+
<input type="text"
|
|
139
|
+
class="form-control input_view"
|
|
140
|
+
style="width: 100%"
|
|
141
|
+
v-model="refundapply.f_invoice_number" />
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="form-group col-sm-12">
|
|
145
|
+
<label class="col-sm-2 control-label">用户开户银行:</label>
|
|
146
|
+
<div class="col-sm-10">
|
|
147
|
+
<input type="text"
|
|
148
|
+
class="form-control input_view"
|
|
149
|
+
style="width: 100%"
|
|
150
|
+
v-model="refundapply.f_user_deposit_bank" />
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="form-group col-sm-12">
|
|
154
|
+
<label class="col-sm-2 control-label">用户账户名称:</label>
|
|
155
|
+
<div class="col-sm-10">
|
|
156
|
+
<input type="text"
|
|
157
|
+
class="form-control input_view"
|
|
158
|
+
style="width: 100%"
|
|
159
|
+
v-model="refundapply.f_user_account_title" />
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
<div class="form-group col-sm-12">
|
|
163
|
+
<label class="col-sm-2 control-label">用户银行账号:</label>
|
|
164
|
+
<div class="col-sm-10">
|
|
165
|
+
<input type="text"
|
|
166
|
+
class="form-control input_view"
|
|
167
|
+
style="width: 100%"
|
|
168
|
+
v-model="refundapply.f_user_bank_account" />
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</article>
|
|
172
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
173
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="confirm()">退费</button>
|
|
174
|
+
</footer>
|
|
175
|
+
</modal>
|
|
176
|
+
</validator>
|
|
177
|
+
</div>
|
|
178
|
+
</template>
|
|
179
|
+
<script>
|
|
180
|
+
import * as Util from '../../../Util'
|
|
181
|
+
import {HttpResetClass} from 'vue-client'
|
|
182
|
+
import co from 'co'
|
|
183
|
+
|
|
184
|
+
let gen = function * (self, val, val1) {
|
|
185
|
+
let data ={
|
|
186
|
+
tablename:'t_apply',
|
|
187
|
+
parameters:val1
|
|
188
|
+
}
|
|
189
|
+
yield self.$resetpost('rs/logic/save', {data:data})
|
|
190
|
+
delete val.id
|
|
191
|
+
val.processid = self.refundapply.f_process_id
|
|
192
|
+
val.f_operator = self.$login.f.name
|
|
193
|
+
data ={
|
|
194
|
+
tablename:'t_return_premium',
|
|
195
|
+
parameters:val
|
|
196
|
+
}
|
|
197
|
+
self.$resetpost('rs/logic/save', {data:data})
|
|
198
|
+
.then(() => {
|
|
199
|
+
self.workflow()
|
|
200
|
+
})
|
|
201
|
+
}
|
|
202
|
+
export default {
|
|
203
|
+
title: '退费',
|
|
204
|
+
data () {
|
|
205
|
+
return {
|
|
206
|
+
showCharge: false, // 退费明细
|
|
207
|
+
model: {
|
|
208
|
+
data: null
|
|
209
|
+
},
|
|
210
|
+
refundapply: {}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
props: ['selectdata'],
|
|
214
|
+
ready () {
|
|
215
|
+
this.search()
|
|
216
|
+
},
|
|
217
|
+
methods: {
|
|
218
|
+
async search () {
|
|
219
|
+
let http = new HttpResetClass()
|
|
220
|
+
let data = {
|
|
221
|
+
f_process_id: this.selectdata.f_process_id
|
|
222
|
+
}
|
|
223
|
+
let res = await http.load('POST', 'rs/sql/returnpremium', {data:data}, {
|
|
224
|
+
resolveMsg: null,
|
|
225
|
+
rejectMsg: '退费记录查询失败!!!'
|
|
226
|
+
})
|
|
227
|
+
this.model.data = res.data
|
|
228
|
+
},
|
|
229
|
+
closeModal() {
|
|
230
|
+
this.showCharge = false
|
|
231
|
+
this.refundapply = {}
|
|
232
|
+
this.search()
|
|
233
|
+
},
|
|
234
|
+
async confirm () {
|
|
235
|
+
|
|
236
|
+
let http = new HttpResetClass()
|
|
237
|
+
let data = {
|
|
238
|
+
refundapply: this.refundapply,
|
|
239
|
+
selectdata: this.selectdata,
|
|
240
|
+
user: this.$login.f
|
|
241
|
+
}
|
|
242
|
+
let res = await http.load('POST', 'rs/logic/addreturnpremium', {data:data}, {
|
|
243
|
+
resolveMsg: null,
|
|
244
|
+
rejectMsg: '退费记录保存失败!!!'
|
|
245
|
+
})
|
|
246
|
+
this.closeModal()
|
|
247
|
+
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
watch: {
|
|
251
|
+
'selectdata'(){
|
|
252
|
+
if(this.selectdata.f_process_id!=''){
|
|
253
|
+
this.search()
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
</script>
|