sale-client 3.6.21 → 3.6.23
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/build/dev-server.js +1 -1
- package/package.json +2 -2
- package/src/components/FilesManage/FileUserFiles.vue +1014 -1014
- package/src/components/FilesManage/FileUserMerge.vue +203 -203
- package/src/components/FilesManage/UserPaperInfoTest.vue +58 -51
- package/src/components/FilesManageNew/FileUserFiles.vue +756 -756
- package/src/components/FilesManageNew/FileUserMerge.vue +202 -202
- package/src/components/charge/business/CardMeterCenter.vue +944 -944
- package/src/components/charge/business/IOTMeterCenter.vue +793 -793
- package/src/components/charge/business/OtherChargeNew.vue +550 -550
- package/src/components/charge/business/machine/MachineMeterCenter.vue +676 -676
- package/src/components/charge/gasloss/gasLossOperate.vue +383 -383
- package/src/components/newBill/CardMeterCenter.vue +902 -902
- package/src/components/newBill/IOTMeterCenter.vue +797 -797
- package/src/components/revenue/Common/EticketModal.vue +95 -90
- package/src/components/revenue/comprehen/Maintenance/T+MoneyDocking/moneyDocking.vue +202 -202
- package/src/components/revenue/comprehen/SpecialUser/BasicLiving/BasicLivingList.vue +280 -280
- package/src/filiale/alashan/business/CardMeterCenter.vue +897 -897
- package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1010 -1010
- package/src/filiale/ancheng/FilesManageNew/FileUserFiles.vue +763 -763
- package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1019 -1019
- package/src/filiale/chengtou/components/OtherChargeNew.vue +549 -549
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1037 -1037
- package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +934 -934
- package/src/filiale/gehua/CardMeterCenter.vue +898 -898
- package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +769 -769
- package/src/filiale/gehua/FileUserFiles.vue +1007 -1007
- package/src/filiale/gehua/IOTMeterCenter.vue +791 -791
- package/src/filiale/gehua/MachineMeterCenter.vue +685 -685
- package/src/filiale/gehua/OtherChargeNew.vue +558 -558
- package/src/filiale/guangxi/CardMeterCenter.vue +891 -891
- package/src/filiale/guangxi/IOTMeterCenter.vue +774 -774
- package/src/filiale/guangxi/MachineMeterCenter.vue +622 -622
- package/src/filiale/haile/MachineMeterCenter.vue +762 -762
- package/src/filiale/huayin/CardMeterCenter.vue +903 -903
- package/src/filiale/huayin/FileUserFiles.vue +1007 -1007
- package/src/filiale/huayin/IOTMeterCenter.vue +796 -796
- package/src/filiale/huayin/MachineMeterCenter.vue +680 -680
- package/src/filiale/jingwei/CardMeterCenter.vue +870 -870
- package/src/filiale/jingwei/FileUserFiles.vue +905 -905
- package/src/filiale/jingwei/ShowCardSellGas.vue +903 -903
- package/src/filiale/kelai/CardMeterCenter.vue +934 -934
- package/src/filiale/kelai/FileUserFiles.vue +762 -762
- package/src/filiale/kelai/IOTMeterCenter.vue +833 -833
- package/src/filiale/kelai/MachineMeterCenter.vue +705 -705
- package/src/filiale/konggang/FileUserFiles.vue +990 -990
- package/src/filiale/liaoyuan/FileUserFiles.vue +844 -844
- package/src/filiale/macheng/CardMeterCenter.vue +939 -939
- package/src/filiale/macheng/FileUserFiles.vue +930 -930
- package/src/filiale/meihekou/FileUserFiles.vue +995 -995
- package/src/filiale/ningjin/FileUserFiles.vue +1020 -1020
- package/src/filiale/qianneng/OtherChargeNew.vue +544 -544
- package/src/filiale/qianneng/eticket/EticketModal.vue +96 -91
- package/src/filiale/qianneng/eticket/EticketPrint.vue +377 -376
- package/src/filiale/qianneng/eticket/EticketRecordList.vue +309 -289
- package/src/filiale/qianneng/machine/MachineMeterCenter.vue +676 -676
- package/src/filiale/rizhao/FileUserFiles.vue +984 -984
- package/src/filiale/rizhao/IOTMeterCenter.vue +795 -795
- package/src/filiale/rongcheng/FileUserFiles.vue +881 -881
- package/src/filiale/rongcheng/FilesManageNew/FileUserFiles.vue +732 -732
- package/src/filiale/rongcheng/FilesManageNew/FileUserMerge.vue +202 -202
- package/src/filiale/shanggao/FileUserFiles.vue +995 -995
- package/src/filiale/shangluo/CardMeterCenter.vue +892 -892
- package/src/filiale/shangluo/IOTMeterCenter.vue +797 -797
- package/src/filiale/shangluo/MachineMeterCenter.vue +734 -734
- package/src/filiale/shanxian/OtherChargeNew.vue +561 -561
- package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1004 -1004
- package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +756 -756
- package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +944 -944
- package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +881 -881
- package/src/filiale/shaoguan/FilesManageNew/FileUserFiles.vue +734 -734
- package/src/filiale/shexian/FilesManage/FileUserFiles.vue +991 -991
- package/src/filiale/tongchuan/BasicLivingList.vue +253 -253
- package/src/filiale/tongchuan/CardMeterCenter.vue +923 -923
- package/src/filiale/tongchuan/FileUserFiles.vue +1206 -1206
- package/src/filiale/tongchuan/bill/EticketModal.vue +90 -90
- package/src/filiale/tongchuan/filemanagenew/FileUserFiles.vue +842 -842
- package/src/filiale/wenxi/CardMeterCenter.vue +942 -942
- package/src/filiale/wenxi/FileUserFiles.vue +1032 -1032
- package/src/filiale/wenxi/IOTMeterCenter.vue +774 -774
- package/src/filiale/wuan/FileUserFiles.vue +1006 -1006
- package/src/filiale/wuhai/CardMeterCenter.vue +945 -945
- package/src/filiale/wuhai/IOTMeterCenter.vue +757 -757
- package/src/filiale/yuansheng/CardMeterCenter.vue +950 -950
- package/src/filiale/yuansheng/IOTMeterCenter.vue +788 -788
- package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1038 -1038
- package/src/filiale/zhongyi/FileUserFiles.vue +1020 -1020
- package/src/main.js +27 -27
|
@@ -1,289 +1,309 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto basic-main" style="height:95%">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
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-
|
|
8
|
-
<label class="font_normal_body"
|
|
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
|
-
</div>
|
|
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
|
-
<th>
|
|
82
|
-
<nobr
|
|
83
|
-
</th>
|
|
84
|
-
<th>
|
|
85
|
-
<nobr
|
|
86
|
-
</th>
|
|
87
|
-
<th>
|
|
88
|
-
<nobr
|
|
89
|
-
</th>
|
|
90
|
-
<th>
|
|
91
|
-
<nobr
|
|
92
|
-
</th>
|
|
93
|
-
<th>
|
|
94
|
-
<nobr
|
|
95
|
-
</th>
|
|
96
|
-
<th>
|
|
97
|
-
<nobr
|
|
98
|
-
</th>
|
|
99
|
-
<th>
|
|
100
|
-
<nobr
|
|
101
|
-
</th>
|
|
102
|
-
<th>
|
|
103
|
-
<nobr
|
|
104
|
-
</th>
|
|
105
|
-
<th>
|
|
106
|
-
<nobr
|
|
107
|
-
</th>
|
|
108
|
-
<th>
|
|
109
|
-
<nobr
|
|
110
|
-
</th>
|
|
111
|
-
<th>
|
|
112
|
-
<nobr
|
|
113
|
-
</th>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
<th
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
<th style="text-align:center">{{ row.
|
|
128
|
-
<th style="text-align:center">{{ row.
|
|
129
|
-
<th style="text-align:center">{{ row.
|
|
130
|
-
<th style="text-align:center">
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
</th>
|
|
136
|
-
<th style="text-align:center">
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
<button class="btn btn-link" v-if="row.f_bill_state==='
|
|
148
|
-
@click="$parent.$parent.$parent.
|
|
149
|
-
</button>
|
|
150
|
-
<button class="btn btn-link" v-if="
|
|
151
|
-
@click="$parent.$parent.$parent.
|
|
152
|
-
</button>
|
|
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
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
this.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
this.
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
this.
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
this.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
this.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
}
|
|
289
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto basic-main" style="height:95%">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
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-3" >
|
|
8
|
+
<label class="font_normal_body">组织机构</label>
|
|
9
|
+
<res-select :initresid='$parent.$parent.curorgid'
|
|
10
|
+
@res-select="$parent.$parent.getorg"
|
|
11
|
+
class="select select_list"
|
|
12
|
+
restype='organization'
|
|
13
|
+
style="width: 60%">
|
|
14
|
+
</res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-2">
|
|
17
|
+
<label class="font_normal_body">客户编号</label>
|
|
18
|
+
<input type="text" class="form-control" v-model="model.f_userinfo_code" style="width:60%"
|
|
19
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号"
|
|
20
|
+
>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group col-sm-2">
|
|
23
|
+
<label class="font_normal_body">用户姓名</label>
|
|
24
|
+
<input type="text" class="form-control" v-model="model.f_user_name" style="width:60%"
|
|
25
|
+
condition="f_user_name = '{}'" placeholder="用户姓名"
|
|
26
|
+
>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-2">
|
|
29
|
+
<label class="font_normal_body">票据状态</label>
|
|
30
|
+
<v-select id="f_bill_state"
|
|
31
|
+
style="width:60%"
|
|
32
|
+
v-model="model.f_bill_state"
|
|
33
|
+
placeholder='票据状态'
|
|
34
|
+
condition="f_bill_state ='{}'"
|
|
35
|
+
:value.sync="model.f_bill_state"
|
|
36
|
+
:options='$parent.$parent.eticktypes'
|
|
37
|
+
:search="false"
|
|
38
|
+
close-on-select clear-button>
|
|
39
|
+
</v-select>
|
|
40
|
+
</div>
|
|
41
|
+
<div style="float: right">
|
|
42
|
+
<button class="button_search" @click="search()">查 询</button>
|
|
43
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
44
|
+
<div
|
|
45
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
46
|
+
@click="$parent.$parent.criteriaShow=!$parent.$parent.criteriaShow"
|
|
47
|
+
class="button_spacing"
|
|
48
|
+
style="float: right"></div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
52
|
+
<!-- <res-select-group style="col-sm-2 form-group" :initres="$parent.$parent.initres"-->
|
|
53
|
+
<!-- :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes"-->
|
|
54
|
+
<!-- v-ref:sel></res-select-group>-->
|
|
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 >= '{}'"
|
|
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 <= '{}'"
|
|
72
|
+
style="width:60%">
|
|
73
|
+
</datepicker>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</criteria>
|
|
78
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
79
|
+
<template partial='head'>
|
|
80
|
+
<tr>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>客户编号</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th>
|
|
85
|
+
<nobr>客户姓名</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th>
|
|
88
|
+
<nobr>客户地址电话</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>实收金额</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>不含税金额</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<th>
|
|
97
|
+
<nobr>发票类型</nobr>
|
|
98
|
+
</th>
|
|
99
|
+
<th>
|
|
100
|
+
<nobr>发票代码</nobr>
|
|
101
|
+
</th>
|
|
102
|
+
<th>
|
|
103
|
+
<nobr>发票流水号</nobr>
|
|
104
|
+
</th>
|
|
105
|
+
<th>
|
|
106
|
+
<nobr>发票号码</nobr>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<nobr>发票状态</nobr>
|
|
110
|
+
</th>
|
|
111
|
+
<th>
|
|
112
|
+
<nobr>发票类型</nobr>
|
|
113
|
+
</th>
|
|
114
|
+
<th>
|
|
115
|
+
<nobr>开票时间</nobr>
|
|
116
|
+
</th>
|
|
117
|
+
<th>
|
|
118
|
+
<nobr>查看发票</nobr>
|
|
119
|
+
</th>
|
|
120
|
+
<th>
|
|
121
|
+
<nobr>操作</nobr>
|
|
122
|
+
</th>
|
|
123
|
+
</tr>
|
|
124
|
+
</template>
|
|
125
|
+
<template partial='body' :model="model">
|
|
126
|
+
<tr>
|
|
127
|
+
<th style="text-align:center">{{ row.f_userinfo_code }}</th>
|
|
128
|
+
<th style="text-align:center">{{ row.f_user_name }}</th>
|
|
129
|
+
<th style="text-align:center">{{ row.f_buy_address_phone }}</th>
|
|
130
|
+
<th style="text-align:center">{{ row.f_total_money }}</th>
|
|
131
|
+
<th style="text-align:center">{{ row.f_tax_money }}</th>
|
|
132
|
+
<th style="text-align:center">{{ row.f_invoice_type }}</th>
|
|
133
|
+
<th style="text-align:center">{{ row.f_bill_code }}</th>
|
|
134
|
+
<th style="text-align:center">{{ row.f_fpqqlsh }}</th>
|
|
135
|
+
<th style="text-align:center">{{ row.f_bill_number }}</th>
|
|
136
|
+
<th style="text-align:center">{{ row.f_bill_state }}</th>
|
|
137
|
+
<th style="text-align:center">{{ row.f_charge_type }}</th>
|
|
138
|
+
<th style="text-align:center">{{ row.f_operate_date }}</th>
|
|
139
|
+
<th style="text-align:center">
|
|
140
|
+
<button class="btn btn-link" v-if="row.f_bill_url"
|
|
141
|
+
@click="$parent.$parent.$parent.watch_ch(row.f_bill_url)">
|
|
142
|
+
查看发票
|
|
143
|
+
</button>
|
|
144
|
+
</th>
|
|
145
|
+
<th style="text-align:center">
|
|
146
|
+
<template v-if="row.f_invoice_source !== '外部录入'">
|
|
147
|
+
<button class="btn btn-link" v-if="row.f_bill_state==='开票成功' && row.f_tax_money > 0"
|
|
148
|
+
@click="$parent.$parent.$parent.fp_ch(row)">发票冲红
|
|
149
|
+
</button>
|
|
150
|
+
<button class="btn btn-link" v-if="row.f_bill_state==='待开票'"
|
|
151
|
+
@click="$parent.$parent.$parent.kp(row)">开票
|
|
152
|
+
</button>
|
|
153
|
+
<button class="btn btn-link" v-if="row.f_bill_state==='开票失败'"
|
|
154
|
+
@click="$parent.$parent.$parent.kp(row)">重新开票
|
|
155
|
+
</button>
|
|
156
|
+
<button class="btn btn-link" v-if="row.f_bill_state==='冲红失败'"
|
|
157
|
+
@click="$parent.$parent.$parent.kp(row)">重新冲红
|
|
158
|
+
</button>
|
|
159
|
+
<button class="btn btn-link" v-if="['查询失败','等待查询'].includes(row.f_bill_state)"
|
|
160
|
+
@click="$parent.$parent.$parent.fp_search(row)">电票查询
|
|
161
|
+
</button>
|
|
162
|
+
</template>
|
|
163
|
+
</th>
|
|
164
|
+
</tr>
|
|
165
|
+
</template>
|
|
166
|
+
</data-grid>
|
|
167
|
+
</criteria-paged>
|
|
168
|
+
</div>
|
|
169
|
+
<modal v-if="show" :show.sync="show" v-ref:modal backdrop="false">
|
|
170
|
+
<header slot="modal-header" class="modal-header">
|
|
171
|
+
<h4 class="modal-title">撤销原因</h4>
|
|
172
|
+
</header>
|
|
173
|
+
<article slot="modal-body" class="modal-body">
|
|
174
|
+
<validator name='v'>
|
|
175
|
+
<form class="form-horizontal select-overspread">
|
|
176
|
+
<div class="form-group" :class="[$v.f_cancel_reason.required ? 'has-error' : 'has-success']">
|
|
177
|
+
<label class=" col-sm-3 control-label">冲红备注:</label>
|
|
178
|
+
<div class="col-sm-8">
|
|
179
|
+
<textarea class="form-control" v-model="bz" rows="3"
|
|
180
|
+
placeholder="请填写冲红备注" v-validate:bz='{required: true}'></textarea>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</form>
|
|
184
|
+
</validator>
|
|
185
|
+
</article>
|
|
186
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
187
|
+
<button v-show="show" type="button" class="button_search" @click='confirm()' :disabled="!$v.valid ">确认</button>
|
|
188
|
+
<button v-show="show" type="button" class="button_clear" @click='close'>取消</button>
|
|
189
|
+
</footer>
|
|
190
|
+
</modal>
|
|
191
|
+
<ticket-print :show="eticket_show" @toggle="eticket_toggle" v-ref:eticketbill></ticket-print>
|
|
192
|
+
</template>
|
|
193
|
+
<script>
|
|
194
|
+
|
|
195
|
+
import {PagedList} from 'vue-client'
|
|
196
|
+
|
|
197
|
+
export default {
|
|
198
|
+
title: '发票管理',
|
|
199
|
+
data () {
|
|
200
|
+
return {
|
|
201
|
+
model: new PagedList('rs/sql/eticket_query', 20),
|
|
202
|
+
curorgid: [this.$login.f.orgid],
|
|
203
|
+
criteriaShow: false,
|
|
204
|
+
eticket_show: false,
|
|
205
|
+
orgCondtionStr: '',
|
|
206
|
+
showsum_show: false,
|
|
207
|
+
invoiceTypes: [{label: '专用发票', value: '专用发票'}, {label: '普通发票', value: '普通发票'}, {label: '国税发票', value: '国税发票'}],
|
|
208
|
+
eticktypes: [{label: '开票成功', value: '开票成功'}, {label: '等待查询', value: '等待查询'}, {
|
|
209
|
+
label: '开票失败',
|
|
210
|
+
value: '开票失败'
|
|
211
|
+
}, {
|
|
212
|
+
label: '冲红失败',
|
|
213
|
+
value: '冲红失败'
|
|
214
|
+
}, {label: '冲红', value: '冲红'}, {label: '撤销', value: '撤销'}],
|
|
215
|
+
show: false,
|
|
216
|
+
bz: '',
|
|
217
|
+
row: {},
|
|
218
|
+
install_show: false,
|
|
219
|
+
f_orgid: ''
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
ready () {
|
|
223
|
+
},
|
|
224
|
+
methods: {
|
|
225
|
+
getorg (val) {
|
|
226
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
227
|
+
},
|
|
228
|
+
search () {
|
|
229
|
+
this.$refs.paged.$refs.cri.search()
|
|
230
|
+
},
|
|
231
|
+
selfSearch (args) {
|
|
232
|
+
if (!this.f_orgid) {
|
|
233
|
+
this.getorg([this.$login.f.orgid])
|
|
234
|
+
}
|
|
235
|
+
if (this.f_orgid) {
|
|
236
|
+
args.condition = `uf.f_filialeid in ${this.f_orgid} and ${args.condition}`
|
|
237
|
+
}
|
|
238
|
+
this.model.search(args.condition, args.model)
|
|
239
|
+
},
|
|
240
|
+
async confirm () {
|
|
241
|
+
// 修改发票状态
|
|
242
|
+
let res = await this.$resetpost('rs/logic/correctEticket', {id: this.row.id,
|
|
243
|
+
bz: this.bz,
|
|
244
|
+
f_dept_id: this.$login.f.depids,
|
|
245
|
+
f_operator: this.$login.f.name,
|
|
246
|
+
f_orgid: this.$login.f.orgid,
|
|
247
|
+
f_orgname: this.$login.f.orgs,
|
|
248
|
+
f_depname: this.$login.f.deps,
|
|
249
|
+
f_operatorid: this.$login.f.id,
|
|
250
|
+
f_filialeids: this.$login.f.f_orgids}, {
|
|
251
|
+
resolveMsg: null,
|
|
252
|
+
rejectMsg: '保存开票信息失败'
|
|
253
|
+
})
|
|
254
|
+
this.eticket_show = true
|
|
255
|
+
await this.$refs.eticketbill.rushRedInvoice(res.data)
|
|
256
|
+
},
|
|
257
|
+
async fp_search (row) {
|
|
258
|
+
this.eticket_show = true
|
|
259
|
+
await this.$refs.eticketbill.fp_search(row, row.id)
|
|
260
|
+
},
|
|
261
|
+
watch_ch (src) {
|
|
262
|
+
this.eticket_show = true
|
|
263
|
+
this.$refs.eticketbill.watch_ch(src)
|
|
264
|
+
},
|
|
265
|
+
fp_ch (row) {
|
|
266
|
+
this.row = row
|
|
267
|
+
this.show = true
|
|
268
|
+
this.bz = `对应正数发票代码:${row.f_bill_code},号码:${row.f_bill_number}。`
|
|
269
|
+
},
|
|
270
|
+
close () {
|
|
271
|
+
this.show = false
|
|
272
|
+
this.install_show = false
|
|
273
|
+
},
|
|
274
|
+
kp (row) {
|
|
275
|
+
this.eticket_show = true
|
|
276
|
+
this.$refs.eticketbill.openEticketGen(row.id)
|
|
277
|
+
},
|
|
278
|
+
ch (row) {
|
|
279
|
+
this.eticket_show = true
|
|
280
|
+
this.$refs.eticketbill.rushRedInvoice(row.id)
|
|
281
|
+
},
|
|
282
|
+
eticket_toggle () {
|
|
283
|
+
this.eticket_show = false
|
|
284
|
+
this.show = false
|
|
285
|
+
this.row = {}
|
|
286
|
+
this.bz = ''
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
computed: {
|
|
290
|
+
},
|
|
291
|
+
events: {
|
|
292
|
+
'search' () {
|
|
293
|
+
this.search()
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
watch: {}
|
|
297
|
+
}
|
|
298
|
+
</script>
|
|
299
|
+
<style scoped>
|
|
300
|
+
th {
|
|
301
|
+
text-align: center;
|
|
302
|
+
padding: 2px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
td {
|
|
306
|
+
text-align: center;
|
|
307
|
+
padding: 2px;
|
|
308
|
+
}
|
|
309
|
+
</style>
|