sale-client 3.6.403 → 3.6.404
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/filiale/alashan/EticketRecordList.vue +449 -0
- package/src/filiale/alashan/sale.js +2 -0
- package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
- package/src/filiale/shexian/UserBaseInfoNew.vue +2 -1
- package/src/filiale/siyang/DisableManage.vue +120 -0
- package/src/filiale/siyang/EticketModal.vue +95 -0
- package/src/filiale/siyang/ReplaceCardManage.vue +415 -0
- package/src/filiale/siyang/ShowCardSellGas.vue +931 -0
- package/src/filiale/siyang/UserGeneralInfoTest.vue +839 -0
- package/src/filiale/siyang/UserPaperInfoTest.vue +144 -0
- package/src/filiale/siyang/sale.js +17 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/package.json
CHANGED
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto basic-main" style="height:95%">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-2">
|
|
8
|
+
<label class="font_normal_body">客户编号</label>
|
|
9
|
+
<input type="text" class="form-control" v-model="model.f_userinfo_code" style="width:60%"
|
|
10
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号"
|
|
11
|
+
>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="form-group col-sm-2">
|
|
14
|
+
<label class="font_normal_body">用户姓名</label>
|
|
15
|
+
<input type="text" class="form-control" v-model="model.f_user_name" style="width:60%"
|
|
16
|
+
condition="f_user_name = '{}'" placeholder="用户姓名"
|
|
17
|
+
>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-sm-2">
|
|
20
|
+
<label class="font_normal_body">客户地址</label>
|
|
21
|
+
<input type="text" class="form-control" v-model="model.f_buy_address_phone" style="width:60%"
|
|
22
|
+
condition="f_buy_address_phone like '%{}%'" placeholder="客户地址"
|
|
23
|
+
>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="form-group col-sm-2">
|
|
26
|
+
<label class="font_normal_body">票据状态</label>
|
|
27
|
+
<v-select id="f_bill_state"
|
|
28
|
+
style="width:60%"
|
|
29
|
+
v-model="model.f_bill_state"
|
|
30
|
+
placeholder='票据状态'
|
|
31
|
+
condition="f_bill_state ='{}'"
|
|
32
|
+
:value.sync="model.f_bill_state"
|
|
33
|
+
:options='$parent.$parent.eticktypes'
|
|
34
|
+
:search="false"
|
|
35
|
+
close-on-select clear-button>
|
|
36
|
+
</v-select>
|
|
37
|
+
</div>
|
|
38
|
+
<div style="float: right">
|
|
39
|
+
<button class="button_search" @click="search()">查 询</button>
|
|
40
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
41
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
42
|
+
:field="$parent.$parent.fields"
|
|
43
|
+
sqlurl="rs/logic/saleExport" sql-name="eticket_query"
|
|
44
|
+
template-name='发票记录导出'
|
|
45
|
+
:choose-col="true">
|
|
46
|
+
</export-excel>
|
|
47
|
+
<div
|
|
48
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
49
|
+
@click="$parent.$parent.criteriaShow=!$parent.$parent.criteriaShow"
|
|
50
|
+
class="button_spacing"
|
|
51
|
+
style="float: right"></div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
+
<div class="form-group col-sm-2">
|
|
56
|
+
<label class="font_normal_body">开票日期</label>
|
|
57
|
+
<datepicker id="f_operate_datestarthate" placeholder="开始日期"
|
|
58
|
+
v-model="model.f_operate_datestarthate"
|
|
59
|
+
:value.sync="model.f_operate_datestarthate"
|
|
60
|
+
format="yyyy-MM-dd"
|
|
61
|
+
condition="f_operate_date >= '{} 00:00:00'"
|
|
62
|
+
style="width:60%">
|
|
63
|
+
</datepicker>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="form-group col-sm-2">
|
|
66
|
+
<label class="font_normal_body"> 至 </label>
|
|
67
|
+
<datepicker id="f_operate_dateendDate" placeholder="结束日期"
|
|
68
|
+
v-model="model.f_operate_dateendDate"
|
|
69
|
+
:value.sync="model.f_operate_dateendDate"
|
|
70
|
+
format="yyyy-MM-dd"
|
|
71
|
+
condition=" f_operate_date <= '{} 23:59:59'"
|
|
72
|
+
style="width:60%">
|
|
73
|
+
</datepicker>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
76
|
+
<label class="font_normal_body">发票金额</label>
|
|
77
|
+
<div class="row">
|
|
78
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection_small"
|
|
79
|
+
condition="f_total_money >= {} " placeholder="">
|
|
80
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
81
|
+
<input type="text" style="width:27%" class="input_search" v-model="model.f_collection_big"
|
|
82
|
+
condition="f_total_money <= {} " placeholder="">
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="form-group col-sm-2">
|
|
86
|
+
<label class="font_normal_body">开票人 </label>
|
|
87
|
+
<v-select id="f_operator"
|
|
88
|
+
style="width:60%"
|
|
89
|
+
v-model="model.f_operator"
|
|
90
|
+
placeholder='开票人'
|
|
91
|
+
condition="f_operator ='{}'"
|
|
92
|
+
:value.sync="model.f_operator"
|
|
93
|
+
:options='$parent.$parent.drawers'
|
|
94
|
+
:search="false"
|
|
95
|
+
close-on-select clear-button>
|
|
96
|
+
</v-select>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="form-group col-sm-2">
|
|
99
|
+
<label class="font_normal_body">收款人 </label>
|
|
100
|
+
<v-select id="sell_operator"
|
|
101
|
+
style="width:60%"
|
|
102
|
+
v-model="model.sell_operator"
|
|
103
|
+
placeholder='收款人'
|
|
104
|
+
condition="(s.sell_operator = '{}' or other.sell_operator = '{}') "
|
|
105
|
+
:value.sync="model.sell_operator"
|
|
106
|
+
:options='$parent.$parent.recipients'
|
|
107
|
+
:search="false"
|
|
108
|
+
close-on-select clear-button>
|
|
109
|
+
</v-select>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="col-sm-2 form-group">
|
|
112
|
+
<label class="font_normal_body">用户类型</label>
|
|
113
|
+
<v-select :value.sync="model.f_user_type"
|
|
114
|
+
:options='$parent.$parent.usertypes'
|
|
115
|
+
placeholder='请选择' v-model="model.f_user_type"
|
|
116
|
+
condition="(s.f_user_type = '{}' or uf.f_user_type = '{}') "
|
|
117
|
+
close-on-select></v-select>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
121
|
+
<div class="form-group col-sm-2">
|
|
122
|
+
<label class="font_normal_body">发票号码 </label>
|
|
123
|
+
<input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
|
|
124
|
+
condition="f_bill_number = '{}'" placeholder="发票号码"
|
|
125
|
+
>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="form-group col-sm-2">
|
|
128
|
+
<label class="font_normal_body">发票类型</label>
|
|
129
|
+
<v-select id="f_invoice_category"
|
|
130
|
+
style="width:60%"
|
|
131
|
+
v-model="model.f_invoice_category"
|
|
132
|
+
placeholder='票据状态'
|
|
133
|
+
condition="f_invoice_category ='{}'"
|
|
134
|
+
:value.sync="model.f_invoice_category"
|
|
135
|
+
:options='$parent.$parent.eticketcategory'
|
|
136
|
+
:search="false"
|
|
137
|
+
close-on-select clear-button>
|
|
138
|
+
</v-select>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
</criteria>
|
|
143
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
144
|
+
<template partial='head'>
|
|
145
|
+
<tr>
|
|
146
|
+
<th>
|
|
147
|
+
<nobr>客户编号</nobr>
|
|
148
|
+
</th>
|
|
149
|
+
<th>
|
|
150
|
+
<nobr>客户姓名</nobr>
|
|
151
|
+
</th>
|
|
152
|
+
<th>
|
|
153
|
+
<nobr>客户地址电话</nobr>
|
|
154
|
+
</th>
|
|
155
|
+
<th>
|
|
156
|
+
<nobr>用户类型</nobr>
|
|
157
|
+
</th>
|
|
158
|
+
<th>
|
|
159
|
+
<data-order field="f_total_money" name="实收金额"
|
|
160
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_collection"></data-order>
|
|
161
|
+
</th>
|
|
162
|
+
<th>
|
|
163
|
+
<data-order field="f_total_money" name="开票金额"
|
|
164
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_total_money"></data-order>
|
|
165
|
+
</th>
|
|
166
|
+
<th>
|
|
167
|
+
<nobr>不含税金额</nobr>
|
|
168
|
+
</th>
|
|
169
|
+
<th>
|
|
170
|
+
<nobr>发票种类</nobr>
|
|
171
|
+
</th>
|
|
172
|
+
<th>
|
|
173
|
+
<nobr>发票类型</nobr>
|
|
174
|
+
</th>
|
|
175
|
+
<th>
|
|
176
|
+
<nobr>发票代码</nobr>
|
|
177
|
+
</th>
|
|
178
|
+
<th>
|
|
179
|
+
<nobr>发票流水号</nobr>
|
|
180
|
+
</th>
|
|
181
|
+
<th>
|
|
182
|
+
<nobr>发票号码</nobr>
|
|
183
|
+
</th>
|
|
184
|
+
<th>
|
|
185
|
+
<nobr>发票状态</nobr>
|
|
186
|
+
</th>
|
|
187
|
+
<th>
|
|
188
|
+
<nobr>失败原因</nobr>
|
|
189
|
+
</th>
|
|
190
|
+
<th>
|
|
191
|
+
<nobr>业务类型</nobr>
|
|
192
|
+
</th>
|
|
193
|
+
<th>
|
|
194
|
+
<nobr>开票描述</nobr>
|
|
195
|
+
</th>
|
|
196
|
+
<th>
|
|
197
|
+
<nobr>收费时间</nobr>
|
|
198
|
+
</th>
|
|
199
|
+
<th>
|
|
200
|
+
<nobr>开票时间</nobr>
|
|
201
|
+
</th>
|
|
202
|
+
<th>
|
|
203
|
+
<nobr>开票人</nobr>
|
|
204
|
+
</th>
|
|
205
|
+
<th>
|
|
206
|
+
<nobr>收款人</nobr>
|
|
207
|
+
</th>
|
|
208
|
+
<th>
|
|
209
|
+
<nobr>查看发票</nobr>
|
|
210
|
+
</th>
|
|
211
|
+
<th>
|
|
212
|
+
<nobr>操作</nobr>
|
|
213
|
+
</th>
|
|
214
|
+
</tr>
|
|
215
|
+
</template>
|
|
216
|
+
<template partial='body' :model="model">
|
|
217
|
+
<tr>
|
|
218
|
+
<th style="text-align:center">{{ row.f_userinfo_code }}</th>
|
|
219
|
+
<th style="text-align:center">{{ row.f_user_name }}</th>
|
|
220
|
+
<th style="text-align:center">{{ row.f_buy_address_phone }}</th>
|
|
221
|
+
<th style="text-align:center">{{ row.f_user_type }}</th>
|
|
222
|
+
<th style="text-align:center">{{ row.f_collection }}</th>
|
|
223
|
+
<th style="text-align:center">{{ row.f_total_money }}</th>
|
|
224
|
+
<th style="text-align:center">{{ row.f_tax_money }}</th>
|
|
225
|
+
<th style="text-align:center">{{ row.f_invoice_category }}</th>
|
|
226
|
+
<th style="text-align:center">{{ row.f_invoice_type === '0' ? '蓝票' : '红票'}}</th>
|
|
227
|
+
<th style="text-align:center">{{ row.f_bill_code }}</th>
|
|
228
|
+
<th style="text-align:center">{{ row.f_fpqqlsh }}</th>
|
|
229
|
+
<th style="text-align:center">{{ row.f_bill_number }}</th>
|
|
230
|
+
<th style="text-align:center">{{ row.f_bill_state }}</th>
|
|
231
|
+
<th style="text-align:center">{{ row.f_remessage }}</th>
|
|
232
|
+
<th style="text-align:center">{{ row.f_charge_type }}</th>
|
|
233
|
+
<th style="text-align:center">{{ row.f_sign_result }}</th>
|
|
234
|
+
<th style="text-align:center">{{ row.sell_operate_date }}</th>
|
|
235
|
+
<th style="text-align:center">{{ row.f_operate_date }}</th>
|
|
236
|
+
<th style="text-align:center">{{ row.f_operator }}</th>
|
|
237
|
+
<th style="text-align:center">{{ row.sell_operator }}</th>
|
|
238
|
+
<th style="text-align:center">
|
|
239
|
+
<button class="btn btn-link" v-if="row.f_bill_url"
|
|
240
|
+
@click="$parent.$parent.$parent.watch_ch(row.f_bill_url)">
|
|
241
|
+
查看发票
|
|
242
|
+
</button>
|
|
243
|
+
</th>
|
|
244
|
+
<th style="text-align:center">
|
|
245
|
+
<template v-if="row.f_invoice_source !== '外部录入'">
|
|
246
|
+
<button class="btn btn-link" v-if="row.f_bill_state==='开票成功' && row.f_invoice_type === '0'"
|
|
247
|
+
@click="$parent.$parent.$parent.fp_ch(row)">发票冲红
|
|
248
|
+
</button>
|
|
249
|
+
<button class="btn btn-link" v-if="row.f_bill_state==='待开票'"
|
|
250
|
+
@click="$parent.$parent.$parent.kp(row)">开票
|
|
251
|
+
</button>
|
|
252
|
+
<button class="btn btn-link" v-if="row.f_bill_state==='开票失败'"
|
|
253
|
+
@click="$parent.$parent.$parent.Rekp(row)">重新开票
|
|
254
|
+
</button>
|
|
255
|
+
<!-- <button class="btn btn-link" v-if="['查询失败','等待查询'].includes(row.f_bill_state)"-->
|
|
256
|
+
<!-- @click="$parent.$parent.$parent.fp_search(row)">电票查询-->
|
|
257
|
+
<!-- </button>-->
|
|
258
|
+
</template>
|
|
259
|
+
</th>
|
|
260
|
+
</tr>
|
|
261
|
+
</template>
|
|
262
|
+
</data-grid>
|
|
263
|
+
</criteria-paged>
|
|
264
|
+
</div>
|
|
265
|
+
<modal v-if="show" :show.sync="show" v-ref:modal backdrop="false">
|
|
266
|
+
<header slot="modal-header" class="modal-header">
|
|
267
|
+
<h4 class="modal-title">撤销原因</h4>
|
|
268
|
+
</header>
|
|
269
|
+
<article slot="modal-body" class="modal-body">
|
|
270
|
+
<validator name='v'>
|
|
271
|
+
<form class="form-horizontal select-overspread">
|
|
272
|
+
<div class="form-group" :class="[$v.f_cancel_reason.required ? 'has-error' : 'has-success']">
|
|
273
|
+
<label class=" col-sm-3 control-label">冲红备注:</label>
|
|
274
|
+
<div class="col-sm-8">
|
|
275
|
+
<textarea class="form-control" v-model="bz" rows="3"
|
|
276
|
+
placeholder="请填写冲红备注" v-validate:bz='{required: true}'></textarea>
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
</form>
|
|
280
|
+
</validator>
|
|
281
|
+
</article>
|
|
282
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
283
|
+
<button v-show="show" type="button" class="button_search" @click='confirm()' :disabled="!$v.valid ">确认</button>
|
|
284
|
+
<button v-show="show" type="button" class="button_clear" @click='close'>取消</button>
|
|
285
|
+
</footer>
|
|
286
|
+
</modal>
|
|
287
|
+
<ticket-print :show="eticket_show" @toggle="eticket_toggle" v-ref:eticketbill></ticket-print>
|
|
288
|
+
</template>
|
|
289
|
+
<script>
|
|
290
|
+
|
|
291
|
+
import {PagedList} from 'vue-client'
|
|
292
|
+
|
|
293
|
+
export default {
|
|
294
|
+
title: '发票管理',
|
|
295
|
+
data () {
|
|
296
|
+
return {
|
|
297
|
+
model: new PagedList('rs/sql/eticket_query', 20, {orderitem: this.orderitem ? '"' + this.orderitem + ' "' : `'f_operate_date desc'`}),
|
|
298
|
+
criteriaShow: false,
|
|
299
|
+
eticket_show: false,
|
|
300
|
+
orgCondtionStr: '',
|
|
301
|
+
showsum_show: false,
|
|
302
|
+
invoice_types: this.$appdata.getParam('发票种类'),
|
|
303
|
+
eticktypes: [{label: '开票成功', value: '开票成功'}, {label: '等待查询', value: '等待查询'}, {
|
|
304
|
+
label: '开票失败',
|
|
305
|
+
value: '开票失败'
|
|
306
|
+
}, {
|
|
307
|
+
label: '冲红失败',
|
|
308
|
+
value: '冲红失败'
|
|
309
|
+
}, {label: '冲红', value: '冲红'}, {label: '撤销', value: '撤销'}],
|
|
310
|
+
eticketcategory: [{label: '数电普票', value: '数电普票'}, {label: '数电专票', value: '数电专票'},{label: '电子发票', value: '电子发票'},
|
|
311
|
+
{label: '普通收据', value: '普通收据'}, {label: '专用发票', value: '专用发票'}],
|
|
312
|
+
show: false,
|
|
313
|
+
bz: '',
|
|
314
|
+
row: {},
|
|
315
|
+
orderFields: {
|
|
316
|
+
f_operate_date: 'desc',
|
|
317
|
+
f_collection: 'no',
|
|
318
|
+
f_total_money: 'no'
|
|
319
|
+
},
|
|
320
|
+
// 排序
|
|
321
|
+
orderitem: ' f_operate_date desc ',
|
|
322
|
+
fields: {
|
|
323
|
+
'f_userinfo_code': '客户编号',
|
|
324
|
+
'f_user_name': '客户姓名',
|
|
325
|
+
'f_buy_address_phone': '用户地址',
|
|
326
|
+
'f_user_type': '用户类型',
|
|
327
|
+
'f_collection': '实收金额',
|
|
328
|
+
'f_total_money': '开票金额',
|
|
329
|
+
'f_tax_money': '不含税金额',
|
|
330
|
+
'f_invoice_category': '发票种类',
|
|
331
|
+
'f_invoice_type': '发票类型',
|
|
332
|
+
'f_bill_code': '发票代码',
|
|
333
|
+
'f_fpqqlsh': '发票流水号',
|
|
334
|
+
'f_bill_number': '发票号码',
|
|
335
|
+
'f_bill_state': '发票状态',
|
|
336
|
+
'f_remessage': '失败原因',
|
|
337
|
+
'f_charge_type': '业务类型',
|
|
338
|
+
'sell_operate_date': '收费时间',
|
|
339
|
+
'f_operate_date': '开票时间',
|
|
340
|
+
'f_operator': '开票人',
|
|
341
|
+
'sell_operator': '收款人'
|
|
342
|
+
},
|
|
343
|
+
install_show: false
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
ready () {
|
|
347
|
+
},
|
|
348
|
+
methods: {
|
|
349
|
+
async Rekp (row) {
|
|
350
|
+
console.log('重开参数' + JSON.stringify(row))
|
|
351
|
+
this.eticket_show = true
|
|
352
|
+
row.f_paper_name = row.f_user_name
|
|
353
|
+
row.f_email = row.f_mail_push
|
|
354
|
+
row.f_taxpayer_id = row.f_pay_id
|
|
355
|
+
row.f_address_phone = row.f_buy_address_phone
|
|
356
|
+
row.f_paper_accoun = row.f_buy_openbank
|
|
357
|
+
await this.$refs.eticketbill.openETicket(row.f_sell_id, row, row.f_charge_type, row.f_invoice_category, true)
|
|
358
|
+
},
|
|
359
|
+
search () {
|
|
360
|
+
this.$refs.paged.$refs.cri.search()
|
|
361
|
+
},
|
|
362
|
+
selfSearch (args) {
|
|
363
|
+
this.model.search(args.condition, args.model)
|
|
364
|
+
},
|
|
365
|
+
sort (field, rule) {
|
|
366
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
367
|
+
for (let key in this.orderFields) {
|
|
368
|
+
if (key === field) {
|
|
369
|
+
this.orderFields[key] = rule
|
|
370
|
+
} else {
|
|
371
|
+
this.orderFields[key] = 'no'
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
// 如果新规则不排序,还原为默认排序
|
|
375
|
+
if (rule === 'no') {
|
|
376
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
377
|
+
} else {
|
|
378
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
379
|
+
}
|
|
380
|
+
this.search()
|
|
381
|
+
},
|
|
382
|
+
async confirm () {
|
|
383
|
+
this.eticket_show = true
|
|
384
|
+
await this.$refs.eticketbill.rushRedInvoice({id: this.row.f_sell_id, eticket_id: this.row.id, bz: this.bz})
|
|
385
|
+
},
|
|
386
|
+
async fp_search (row) {
|
|
387
|
+
this.eticket_show = true
|
|
388
|
+
await this.$refs.eticketbill.fp_search(row, row.id)
|
|
389
|
+
},
|
|
390
|
+
watch_ch (src) {
|
|
391
|
+
this.eticket_show = true
|
|
392
|
+
this.$refs.eticketbill.watch_ch(src)
|
|
393
|
+
},
|
|
394
|
+
fp_ch (row) {
|
|
395
|
+
this.row = row
|
|
396
|
+
this.show = true
|
|
397
|
+
this.bz = `对应正数发票代码:${row.f_bill_code},号码:${row.f_bill_number}。`
|
|
398
|
+
},
|
|
399
|
+
close () {
|
|
400
|
+
this.show = false
|
|
401
|
+
this.install_show = false
|
|
402
|
+
},
|
|
403
|
+
kp (row) {
|
|
404
|
+
this.eticket_show = true
|
|
405
|
+
this.$refs.eticketbill.openETicket(row.f_sell_id, row, row.f_charge_type)
|
|
406
|
+
},
|
|
407
|
+
eticket_toggle () {
|
|
408
|
+
this.eticket_show = false
|
|
409
|
+
this.show = false
|
|
410
|
+
this.row = {}
|
|
411
|
+
this.bz = ''
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
computed: {
|
|
415
|
+
usertypes () {
|
|
416
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
417
|
+
},
|
|
418
|
+
drawers () {
|
|
419
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('开票人')]
|
|
420
|
+
},
|
|
421
|
+
recipients () {
|
|
422
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收款人')]
|
|
423
|
+
},
|
|
424
|
+
getCondition () {
|
|
425
|
+
return {
|
|
426
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
427
|
+
orderitem: this.orderitem ? `${this.orderitem}` : " f_operate_date desc"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
events: {
|
|
432
|
+
'search' () {
|
|
433
|
+
this.search()
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
watch: {}
|
|
437
|
+
}
|
|
438
|
+
</script>
|
|
439
|
+
<style scoped>
|
|
440
|
+
th {
|
|
441
|
+
text-align: center;
|
|
442
|
+
padding: 2px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
td {
|
|
446
|
+
text-align: center;
|
|
447
|
+
padding: 2px;
|
|
448
|
+
}
|
|
449
|
+
</style>
|
|
@@ -30,4 +30,6 @@ export default function () {
|
|
|
30
30
|
Vue.component('user-base-info-new', (resolve) => { require(['./UserBaseInfoNew'], resolve) })
|
|
31
31
|
// 打印发票组件
|
|
32
32
|
Vue.component('ticket-print', (resolve) => { require(['./EticketPrint'], resolve) })
|
|
33
|
+
// 电子发票记录查看
|
|
34
|
+
Vue.component('e-ticket-record-list-query-v4', (resolve) => { require(['./EticketRecordList'], resolve) })
|
|
33
35
|
}
|
|
@@ -721,7 +721,7 @@ let loadParamGem = async function (self) {
|
|
|
721
721
|
await axios.post('rs/business/batchRunExcelProgress/filemanage_fileSave_gehua/newPrepareSettleFileImport',
|
|
722
722
|
{data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
|
|
723
723
|
if (res.data) {
|
|
724
|
-
self.$showMessage(`本次批量建档共上传${res.data.totalCount}条数据,符合条件的共${res.data.totalsum}条,不符合条件的共${res.data.totalCount - res.data.totalsum}条, 建档成功${res.data.successsum}条,建档失败${res.data.
|
|
724
|
+
self.$showMessage(`本次批量建档共上传${res.data.totalCount}条数据,符合条件的共${res.data.totalsum}条,不符合条件的共${res.data.totalCount - res.data.totalsum}条, 建档成功${res.data.successsum}条,建档失败${res.data.totalCount - res.data.totalsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
|
|
725
725
|
self.iswork = false
|
|
726
726
|
// this.$showAlert('导入成功','success',2000)
|
|
727
727
|
}
|
|
@@ -359,7 +359,8 @@
|
|
|
359
359
|
this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
|
|
360
360
|
if (res === 'confirm') {
|
|
361
361
|
let data = {
|
|
362
|
-
f_userfiles_id: this.row.f_userfiles_id
|
|
362
|
+
f_userfiles_id: this.row.f_userfiles_id,
|
|
363
|
+
f_userinfo_id: this.row.f_userinfo_id
|
|
363
364
|
}
|
|
364
365
|
this.$resetpost('rs/logic/startup', data)
|
|
365
366
|
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<validator name='v'>
|
|
4
|
+
<form class="form-horizontal">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-4 form-group">
|
|
7
|
+
<label for="f_reason" class="font_normal_body">停用原因</label>
|
|
8
|
+
<v-select v-model="model.f_reason"
|
|
9
|
+
placeholder='停用原因'
|
|
10
|
+
:value.sync="model.f_reason"
|
|
11
|
+
:options='reason'
|
|
12
|
+
v-ref:reason
|
|
13
|
+
close-on-select ></v-select>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-4 form-group">
|
|
16
|
+
<input type="checkbox" class="large-checkbox" id="f_valveState" v-model="valveStateChecked">
|
|
17
|
+
<label for="f_operator" class="font-size-large">立即关阀</label>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row" style="margin-top:1px;">
|
|
21
|
+
<div class="col-sm-8 form-group">
|
|
22
|
+
<label for="f_reason" class="font_normal_body">备  注</label>
|
|
23
|
+
<input class="input_search" style="width:80%" v-model="model.f_othereason" placeholder="备注"/>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</form>
|
|
27
|
+
<div style="text-align:right;">
|
|
28
|
+
<button class="button_search button_spacing" @click="confirm()" :disabled='!$v.valid'>确认</button>
|
|
29
|
+
<button class="button_clear" @click="clean()" >取消</button>
|
|
30
|
+
</div>
|
|
31
|
+
</validator>
|
|
32
|
+
</div>
|
|
33
|
+
<upload :blodid="blodid" v-if="false" isremark="true" fusetype="表具停用"></upload>
|
|
34
|
+
</template>
|
|
35
|
+
<script>
|
|
36
|
+
/**
|
|
37
|
+
*综合业务
|
|
38
|
+
表具停用组件
|
|
39
|
+
*/
|
|
40
|
+
export default {
|
|
41
|
+
title: '表具停用',
|
|
42
|
+
props: ['row'],
|
|
43
|
+
data () {
|
|
44
|
+
return {
|
|
45
|
+
valveStateChecked: false,
|
|
46
|
+
blodid: '',
|
|
47
|
+
showupload: true,
|
|
48
|
+
model: {},
|
|
49
|
+
reason: this.$appdata.getParam('停用原因')
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
ready () {
|
|
53
|
+
this.blodid = this.row.f_userinfo_id
|
|
54
|
+
},
|
|
55
|
+
methods: {
|
|
56
|
+
async confirm () {
|
|
57
|
+
await this.$LogicService.meterDisable(this.model, this.row)
|
|
58
|
+
let array = [{
|
|
59
|
+
f_user_id: this.row.f_user_id,
|
|
60
|
+
f_userfiles_id: this.row.f_userfiles_id,
|
|
61
|
+
f_alias: this.row.f_alias,
|
|
62
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
63
|
+
f_orgname: this.$login.f.orgs,
|
|
64
|
+
f_orgid: this.$login.f.orgid,
|
|
65
|
+
f_meternumber: this.row.f_meternumber
|
|
66
|
+
}]
|
|
67
|
+
if (this.row.f_meter_type === '物联网表' && this.valveStateChecked) {
|
|
68
|
+
let data1 = {
|
|
69
|
+
f_apply_type: '阀门控制',
|
|
70
|
+
userid: array,
|
|
71
|
+
nowDate: new Date(),
|
|
72
|
+
f_apply_value: '关阀',
|
|
73
|
+
f_apply_beizhu: '表具停用自动关阀',
|
|
74
|
+
f_apply_operator: this.$login.f.name
|
|
75
|
+
}
|
|
76
|
+
// 根据复选框的状态添加条件
|
|
77
|
+
if (this.valveStateChecked) {
|
|
78
|
+
data1.f_valveState = 1
|
|
79
|
+
}
|
|
80
|
+
let data2 = {
|
|
81
|
+
userid: array,
|
|
82
|
+
instructtype: '阀门控制',
|
|
83
|
+
isOpen: '关阀',
|
|
84
|
+
instructTitle: '手动关阀',
|
|
85
|
+
reasonInfo: '表具停用自动关阀',
|
|
86
|
+
f_instruct_state: '待发送',
|
|
87
|
+
inputtor: this.$login.f.name
|
|
88
|
+
}
|
|
89
|
+
await this.$resetpost('rs/logic/iot_instructUpdateAndDelect',
|
|
90
|
+
{
|
|
91
|
+
data: {
|
|
92
|
+
data1: data1,
|
|
93
|
+
data2: data2
|
|
94
|
+
}
|
|
95
|
+
})
|
|
96
|
+
}
|
|
97
|
+
this.$dispatch('success')
|
|
98
|
+
},
|
|
99
|
+
clean () {
|
|
100
|
+
this.$dispatch('refresh')
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</script>
|
|
105
|
+
|
|
106
|
+
<style>
|
|
107
|
+
.large-checkbox {
|
|
108
|
+
width: 20px;
|
|
109
|
+
height: 20px;
|
|
110
|
+
transform: scale(1.4);
|
|
111
|
+
margin-right: 14px;
|
|
112
|
+
margin-top: 15px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.font-size-large {
|
|
116
|
+
padding-top: 10px;
|
|
117
|
+
padding-left: 10px;
|
|
118
|
+
font-size: 16px;
|
|
119
|
+
}
|
|
120
|
+
</style>
|