sale-client 3.5.18 → 3.5.21
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 +161 -161
- package/package.json +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +3 -3
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
- package/src/components/FilesManage/UserMeterInfoTest.vue +3 -2
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +12 -2
- package/src/components/revenue/base/leftview/meterinfodetail.vue +2 -1
- package/src/components/revenue/base/rightview/CardList.vue +7 -7
- package/src/components/revenue/cardHandManage/cardsHand.vue +489 -1690
- package/src/filiale/dongguan/components/common/userinfo_detail/UserBaseInfoNew.vue +425 -0
- package/src/filiale/dongguan/components/meterinfodetail.vue +243 -0
- package/src/filiale/dongguan/sale.js +3 -0
- package/src/filiale/guangxi/CardService.js +17 -0
- package/src/filiale/meihekou/MeterinfoTest.vue +3 -3
- package/src/filiale/qianneng/eticket/EticketPrint.vue +8 -6
- package/src/filiale/tongchuan/common/userinfo_detail/iot_detail/WatchCollection.vue +4 -4
- package/src/main.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex-row"
|
|
3
|
-
<div class="basic-main">
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div @keyup.enter="search" class="basic-main">
|
|
4
4
|
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
5
5
|
<criteria partial='criteria' v-ref:criteria @condition-changed="$parent.selfSearch">
|
|
6
6
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
@@ -8,61 +8,67 @@
|
|
|
8
8
|
<article slot="modal-body" class="modal-body">
|
|
9
9
|
<file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success"
|
|
10
10
|
style="border-radius: 2px;"
|
|
11
|
-
action="rs/file/uploadFile" tagname="
|
|
11
|
+
action="rs/file/uploadFile" tagname="导入抄表数据" v-ref:file :headers="headers"
|
|
12
12
|
multiple></file-upload>
|
|
13
13
|
</article>
|
|
14
14
|
<footer slot="modal-footer" class="modal-footer">
|
|
15
15
|
</footer>
|
|
16
16
|
</modal>
|
|
17
17
|
<div class="row">
|
|
18
|
-
<!--<div class="col-sm-6">-->
|
|
19
|
-
<!--style="border: 1px solid #a6d5ea; box-shadow: darkgrey 1px 1px 1px 2px;padding: 0.5%">-->
|
|
20
18
|
<div class="col-sm-2 form-group">
|
|
21
|
-
<label class="font_normal_body
|
|
22
|
-
<datepicker placeholder="开始日期"
|
|
23
|
-
style="width:60%"
|
|
24
|
-
class="datepicker"
|
|
19
|
+
<label class="font_normal_body">开始日期</label>
|
|
20
|
+
<datepicker style="width:60%" id="startDate" placeholder="开始日期"
|
|
25
21
|
v-model="model.startDate"
|
|
26
|
-
condition="f_hand_date >='{} 00:00:00'"
|
|
27
|
-
|
|
28
22
|
:value.sync="model.startDate"
|
|
29
23
|
:format="'yyyy-MM-dd'"
|
|
30
|
-
|
|
24
|
+
:show-reset-button="true">
|
|
25
|
+
</datepicker>
|
|
31
26
|
</div>
|
|
32
27
|
<div class="col-sm-2 form-group">
|
|
33
|
-
<label class="font_normal_body
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
<label class="font_normal_body">结束日期</label>
|
|
29
|
+
<!--<label for="endDate" class="control-label">结束日期</label>-->
|
|
30
|
+
<datepicker style="width:60%" id="endDate" placeholder="结束日期"
|
|
36
31
|
v-model="model.endDate"
|
|
37
32
|
:value.sync="model.endDate"
|
|
38
|
-
condition="f_hand_date <='{} 23:59:59'"
|
|
39
33
|
:format="'yyyy-MM-dd'"
|
|
40
|
-
|
|
34
|
+
:show-reset-button="true">
|
|
35
|
+
</datepicker>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-sm-2 form-group">
|
|
38
|
+
<label class="font_normal_body">用户编号</label>
|
|
39
|
+
<input style="width:60%" type="text" class="form-control col-sm-6" v-model="model.f_userinfo_code"
|
|
40
|
+
condition="f_userinfo_code='{}'" placeholder='用户编号'
|
|
41
|
+
>
|
|
41
42
|
</div>
|
|
42
43
|
|
|
43
44
|
<div class="col-sm-2 form-group">
|
|
44
|
-
<label class="font_normal_body"
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
<label class="font_normal_body" style="color:red">抄表日期</label>
|
|
46
|
+
<!--<label for="endDate" class="control-label">结束日期</label>-->
|
|
47
|
+
<datepicker style="width:60%" id="handDate" placeholder="抄表录入日期"
|
|
48
|
+
v-model="$parent.$parent.handDate"
|
|
49
|
+
:value.sync="$parent.$parent.handDate"
|
|
50
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
51
|
+
:show-reset-button="true">
|
|
52
|
+
</datepicker>
|
|
47
53
|
</div>
|
|
54
|
+
<!--<div class="form-group">-->
|
|
55
|
+
<!--<input style="width:60%" type="text" class="form-control" v-model="model.f_user_id"-->
|
|
56
|
+
<!--condition="f_user_id='{}'" placeholder='表编号'-->
|
|
57
|
+
<!--:size="model.f_user_id ? model.f_user_id.length : 3">-->
|
|
58
|
+
<!--</div>-->
|
|
48
59
|
|
|
49
60
|
<div class="span" style="float:right;">
|
|
50
|
-
<button
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
57
|
-
<button class="button_delete button_spacing" @click="$parent.$parent.deletehand()">删除抄表</button>
|
|
58
|
-
<button class="button_search button_spacing" style="width: 90px" @click="$parent.$parent.downloadFiles()">模板下载
|
|
59
|
-
</button>
|
|
60
|
-
<button class="button_search button_spacing" @click="$parent.$parent.clickupshow()">导入抄表</button>
|
|
61
|
-
|
|
61
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
62
|
+
<button class="button_search" style="width: 90px" @click="$parent.$parent.downloadFiles()">模板下载</button>
|
|
63
|
+
<button class="button_search button_spacing" @click="$parent.$parent.clickupshow()">抄表导入</button>
|
|
64
|
+
<!--<button class="button_clear button_spacing" @click="$parent.$parent.searchPrint()">抄表模板导出</button>-->
|
|
65
|
+
<!--<button class="btn btn-success width-100" @click="$parent.$parent.batchAudit()">批量审核</button>
|
|
66
|
+
-->
|
|
62
67
|
<export-excel
|
|
63
|
-
:data="$parent.$parent.
|
|
68
|
+
:data="{startDate: $parent.$parent.startDate, endDate: $parent.$parent.endDate, condition: $parent.$parent.model.condition,orderitem: $parent.$parent.orderitem?$parent.$parent.orderitem :'f_userinfo_code'}"
|
|
64
69
|
:field="$parent.$parent.getfield"
|
|
65
|
-
sqlurl="rs/logic/saleExport"
|
|
70
|
+
sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="getCardPlan"
|
|
71
|
+
template-name='卡表抄表导出'
|
|
66
72
|
:choose-col="true">
|
|
67
73
|
</export-excel>
|
|
68
74
|
<div
|
|
@@ -71,114 +77,83 @@
|
|
|
71
77
|
</div>
|
|
72
78
|
</div>
|
|
73
79
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
74
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
75
|
-
<!-- <label class="font_normal_body">表 编 号</label>-->
|
|
76
|
-
<!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"-->
|
|
77
|
-
<!-- condition="f_user_id='{}'" placeholder='表编号'>-->
|
|
78
|
-
<!-- </div>-->
|
|
79
80
|
<div class="col-sm-2 form-group">
|
|
80
|
-
<label class="font_normal_body"
|
|
81
|
-
<v-select :value.sync="model.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
condition="f_meter_state = '{}'"
|
|
86
|
-
:options='$parent.$parent.auditState' placeholder='抄表状态'
|
|
87
|
-
close-on-select v-el:cc>
|
|
88
|
-
</v-select>
|
|
81
|
+
<label class="font_normal_body"> 小区域</label>
|
|
82
|
+
<v-select :value.sync="model.f_small_area" v-model="model.f_small_area"
|
|
83
|
+
:options='$parent.$parent.smallareas' placeholder='小区域'
|
|
84
|
+
close-on-select :search='true'
|
|
85
|
+
condition="f_small_area = '{}'"></v-select>
|
|
89
86
|
</div>
|
|
90
87
|
<div class="col-sm-2 form-group">
|
|
91
|
-
<label class="font_normal_body"
|
|
92
|
-
<input
|
|
93
|
-
condition="
|
|
88
|
+
<label class="font_normal_body">用户姓名</label>
|
|
89
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_user_name" placeholder='用户姓名'
|
|
90
|
+
condition="f_user_name like '%{}%'">
|
|
94
91
|
</div>
|
|
95
92
|
<div class="col-sm-2 form-group">
|
|
96
|
-
<label class="font_normal_body"
|
|
97
|
-
<input
|
|
98
|
-
condition="
|
|
93
|
+
<label class="font_normal_body">用户地址</label>
|
|
94
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_address"
|
|
95
|
+
condition="f_address like '%{}%'" placeholder='用户地址'
|
|
96
|
+
>
|
|
99
97
|
</div>
|
|
100
98
|
<div class="col-sm-2 form-group">
|
|
101
|
-
<label class="font_normal_body">小&
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
v-model="model.f_residential_area"
|
|
106
|
-
style="width: 60%"
|
|
107
|
-
multiple="true"
|
|
108
|
-
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
109
|
-
close-on-select v-el:cc>
|
|
110
|
-
</v-select>
|
|
99
|
+
<label class="font_normal_body">小  区</label>
|
|
100
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_residential_area"
|
|
101
|
+
condition="f_residential_area like '%{}%'" placeholder='小区'
|
|
102
|
+
>
|
|
111
103
|
</div>
|
|
112
104
|
<div class="col-sm-2 form-group">
|
|
113
105
|
<label class="font_normal_body">楼  栋</label>
|
|
114
|
-
<input
|
|
115
|
-
condition="f_building
|
|
106
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_building"
|
|
107
|
+
condition="f_building like '%{}%'" placeholder='楼栋'
|
|
108
|
+
>
|
|
116
109
|
</div>
|
|
117
110
|
<div class="col-sm-2 form-group">
|
|
118
111
|
<label class="font_normal_body">单  元</label>
|
|
119
|
-
<input
|
|
120
|
-
condition="f_unit
|
|
112
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_unit"
|
|
113
|
+
condition="f_unit like '%{}%'" placeholder='单元'
|
|
114
|
+
>
|
|
121
115
|
</div>
|
|
122
116
|
<div class="col-sm-2 form-group">
|
|
123
117
|
<label class="font_normal_body">楼  层</label>
|
|
124
|
-
<input
|
|
125
|
-
condition="f_floor
|
|
118
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_floor"
|
|
119
|
+
condition="f_floor like '%{}%'" placeholder='楼层'
|
|
120
|
+
>
|
|
126
121
|
</div>
|
|
127
122
|
<div class="col-sm-2 form-group">
|
|
128
|
-
<label class="font_normal_body"
|
|
129
|
-
<input
|
|
130
|
-
condition="f_room like '%{}%'" placeholder='门牌号'
|
|
123
|
+
<label class="font_normal_body"> 门牌号</label>
|
|
124
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_room"
|
|
125
|
+
condition="f_room like '%{}%'" placeholder='门牌号'
|
|
126
|
+
>
|
|
131
127
|
</div>
|
|
132
128
|
<div class="col-sm-2 form-group">
|
|
133
|
-
<label class="font_normal_body"
|
|
134
|
-
<input
|
|
135
|
-
condition="
|
|
129
|
+
<label class="font_normal_body">表  号</label>
|
|
130
|
+
<input style="width:60%" type="text" class="form-control" v-model="model.f_meternumber"
|
|
131
|
+
condition="f_meternumber like '%{}%'" placeholder='表号'
|
|
132
|
+
>
|
|
136
133
|
</div>
|
|
134
|
+
<!--</div>-->
|
|
135
|
+
<!--<div class="row">-->
|
|
137
136
|
<div class="col-sm-2 form-group">
|
|
138
|
-
<label class="font_normal_body"
|
|
137
|
+
<label class="font_normal_body"> 抄表员</label>
|
|
139
138
|
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
140
|
-
|
|
141
|
-
multiple="true"
|
|
142
|
-
|
|
143
|
-
close-on-select
|
|
144
|
-
v-el:cc></v-select>
|
|
145
|
-
</div>
|
|
146
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
147
|
-
<!-- <label class="font_normal_body">是否缴费</label>-->
|
|
148
|
-
<!-- <v-select :value.sync="model.f_whether_pay" v-model='model.f_whether_pay'-->
|
|
149
|
-
<!-- style="width:60%"-->
|
|
150
|
-
<!-- :options='$parent.$parent.whetherpaies' placeholder='是否缴费'-->
|
|
151
|
-
<!-- close-on-select-->
|
|
152
|
-
<!-- condition="f_whether_pay = '{}'"></v-select>-->
|
|
153
|
-
<!-- </div>-->
|
|
154
|
-
<div class="col-sm-2 form-group">
|
|
155
|
-
<label class="font_normal_body">抄表单状态</label>
|
|
156
|
-
<v-select :value.sync="model.f_meter_state" v-model='model.f_meter_state'
|
|
157
|
-
style="width:60%"
|
|
158
|
-
:options='$parent.$parent.meterstates' placeholder='抄表单状态'
|
|
159
|
-
close-on-select
|
|
160
|
-
condition="f_meter_state = '{}'"></v-select>
|
|
161
|
-
</div>
|
|
162
|
-
|
|
163
|
-
<div class="col-sm-2 form-group">
|
|
164
|
-
<label for="belongmonth" class="font_normal_body">所属年月</label>
|
|
165
|
-
<datepicker placeholder="所属年月" style="width:60%"
|
|
166
|
-
v-model="model.belongmonth"
|
|
167
|
-
:value.sync="model.belongmonth"
|
|
168
|
-
:format="'yyyy-MM'"
|
|
169
|
-
:show-reset-button="true"
|
|
170
|
-
condition="belongmonth = '{}'"
|
|
171
|
-
:select-month="true">
|
|
172
|
-
</datepicker>
|
|
139
|
+
:options='$parent.$parent.inputtore' placeholder='抄表员'
|
|
140
|
+
close-on-select multiple="true"
|
|
141
|
+
></v-select>
|
|
173
142
|
</div>
|
|
174
143
|
<div class="col-sm-2 form-group">
|
|
175
|
-
<label class="font_normal_body"
|
|
144
|
+
<label class="font_normal_body">用户类型</label>
|
|
176
145
|
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
177
|
-
:options='$parent.$parent.usertypes' placeholder='
|
|
178
|
-
|
|
179
|
-
close-on-select
|
|
146
|
+
:options='$parent.$parent.usertypes' placeholder='用户类型'
|
|
147
|
+
close-on-select :search='true'
|
|
180
148
|
condition="f_user_type = '{}'"></v-select>
|
|
181
149
|
</div>
|
|
150
|
+
<div class="col-sm-2 form-group">
|
|
151
|
+
<label class="font_normal_body">用气性质</label>
|
|
152
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
153
|
+
:options='$parent.$parent.gasproperties' placeholder='用气性质'
|
|
154
|
+
close-on-select :search='true'
|
|
155
|
+
condition="f_gasproperties = '{}'"></v-select>
|
|
156
|
+
</div>
|
|
182
157
|
<div class="col-sm-2 form-group">
|
|
183
158
|
<label class="font_normal_body">用户等级</label>
|
|
184
159
|
<v-select :value.sync="model.f_user_level" v-model="model.f_user_level"
|
|
@@ -187,76 +162,50 @@
|
|
|
187
162
|
close-on-select
|
|
188
163
|
condition="f_user_level = '{}'"></v-select>
|
|
189
164
|
</div>
|
|
165
|
+
<!-- <div class="col-sm-2 form-group">
|
|
166
|
+
<label class="col-sm-4 font_normal_body">气价名称</label>
|
|
167
|
+
<v-select :value.sync="model.f_price_name"
|
|
168
|
+
v-model="model.f_price_name"
|
|
169
|
+
:options='$parent.$parent.pricenames' placeholder='气价名称'
|
|
170
|
+
condition="f_price_name= '{}'" class="col-sm-8"
|
|
171
|
+
close-on-select></v-select>
|
|
172
|
+
</div>-->
|
|
190
173
|
<div class="col-sm-2 form-group">
|
|
191
|
-
<label class="font_normal_body
|
|
192
|
-
<v-select :value.sync="model.
|
|
193
|
-
:options='$parent.$parent.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
condition="f_meter_book_num in {}"></v-select>
|
|
174
|
+
<label class="font_normal_body">抄表状态</label>
|
|
175
|
+
<v-select :value.sync="model.f_meter_state" v-model="model.f_meter_state"
|
|
176
|
+
:options='$parent.$parent.meterstates' placeholder='抄表状态'
|
|
177
|
+
close-on-select f_gasbrand_id
|
|
178
|
+
condition="f_meter_state {}"></v-select>
|
|
197
179
|
</div>
|
|
198
180
|
<div class="col-sm-2 form-group">
|
|
199
|
-
<label class="font_normal_body"
|
|
200
|
-
<v-select :value.sync="model.
|
|
201
|
-
:options='$parent.$parent.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
</div>
|
|
206
|
-
<
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
<input type="text" style="width:30%" class="input_search" v-model="model.oughtamountmin"
|
|
210
|
-
condition="f_oughtamount >= {} " placeholder="">
|
|
211
|
-
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
212
|
-
<input type="text" style="width:30%" class="input_search" v-model="model.oughtamountmax"
|
|
213
|
-
condition="f_oughtamount <= {} " placeholder="">
|
|
214
|
-
</div>
|
|
215
|
-
</div>
|
|
216
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
|
|
217
|
-
v-ref:sel></res-select-group>
|
|
181
|
+
<label class="font_normal_body">气表品牌</label>
|
|
182
|
+
<v-select :value.sync="model.gasbrand" v-model="model.gasbrand"
|
|
183
|
+
:options='$parent.$parent.meterbrands' placeholder='气表品牌' close-on-select
|
|
184
|
+
v-model='$parent.$parent.gasbrand'
|
|
185
|
+
condition="f_meter_brand = '{}'"
|
|
186
|
+
></v-select>
|
|
187
|
+
</div>
|
|
188
|
+
<res-select-group :show-component="['company','department','operator']" :initres="$parent.$parent.initres"
|
|
189
|
+
@re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
190
|
+
<hl-downdata class="col-sm-1 form-group" :info="model"></hl-downdata>
|
|
218
191
|
</div>
|
|
219
192
|
|
|
220
|
-
|
|
221
|
-
<!-- 多选框 -->
|
|
222
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
223
|
-
<!--<button class="btn btn-success" @click="$parent.$parent.batchDownHand()">计划下发</button>-->
|
|
224
|
-
<!--</div>-->
|
|
225
|
-
|
|
226
|
-
<!--<div class="form-group" v-if="$parent.$parent.meter_state">-->
|
|
227
|
-
<!--<button class="btn btn-success" @click="$parent.$parent.allDownHand()" >全部下发</button>-->
|
|
228
|
-
<!--</div>-->
|
|
229
|
-
<!-- 多选框结束 -->
|
|
230
|
-
|
|
231
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
232
|
-
<!--<button class="btn btn-success" @click="$parent.$parent.adjust()">抄表员调整</button>-->
|
|
233
|
-
<!--</div>-->
|
|
234
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
235
|
-
<!--<button class="btn btn-success" @click="$parent.$parent.fileUpload()">文件上传</button>-->
|
|
236
|
-
<!--</div>-->
|
|
237
|
-
<!--<div class="col-sm-2 form-group">-->
|
|
238
|
-
<!--<button class="btn btn-success" @click="search(), $parent.$parent.clean()">打印</button>-->
|
|
239
|
-
<!--</div>-->
|
|
240
|
-
|
|
241
193
|
</div>
|
|
242
194
|
</criteria>
|
|
243
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid id="
|
|
195
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid id="CardHand">
|
|
244
196
|
<template partial='head'>
|
|
245
197
|
<tr>
|
|
246
|
-
<!--<th><input type='checkbox' v-model="$parent.$parent.$parent.all" @change="$parent.$parent.$parent.chooseAll"></th>-->
|
|
247
198
|
<th>
|
|
248
199
|
<nobr>序号</nobr>
|
|
249
200
|
</th>
|
|
201
|
+
<!-- <th>户编号</th>-->
|
|
202
|
+
<!-- <th>基本信息</th>-->
|
|
250
203
|
<th>
|
|
251
204
|
<nobr>
|
|
252
|
-
<data-order field="f_userinfo_code" name="
|
|
205
|
+
<data-order field="f_userinfo_code" name="户编号"
|
|
253
206
|
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
254
207
|
</nobr>
|
|
255
208
|
</th>
|
|
256
|
-
<!-- <th>-->
|
|
257
|
-
<!-- <nobr>表编号</nobr>-->
|
|
258
|
-
<!-- </th>-->
|
|
259
|
-
<!-- <th>基本信息</th>-->
|
|
260
209
|
<th>
|
|
261
210
|
<nobr>
|
|
262
211
|
<data-order field="f_address" name="基本信息"
|
|
@@ -266,214 +215,156 @@
|
|
|
266
215
|
<th>
|
|
267
216
|
<nobr>用户等级</nobr>
|
|
268
217
|
</th>
|
|
269
|
-
<!--<th><nobr><data-order field="f_building" name="楼号"-->
|
|
270
|
-
<!--:order.sync="$parent.$parent.$parent.orderFields.f_building"></data-order></nobr>-->
|
|
271
|
-
<!--</th>-->
|
|
272
|
-
<!--<th><nobr><data-order field="f_unit" name="单元号"-->
|
|
273
|
-
<!--:order.sync="$parent.$parent.$parent.orderFields.f_unit"></data-order></nobr>-->
|
|
274
|
-
<!--</th>-->
|
|
275
|
-
<!--<th><nobr><data-order field="f_room" name="房号"-->
|
|
276
|
-
<!--:order.sync="$parent.$parent.$parent.orderFields.f_room"></data-order></nobr>-->
|
|
277
|
-
<!--</th>-->
|
|
278
|
-
<th>
|
|
279
|
-
<nobr>所属年月</nobr>
|
|
280
|
-
</th>
|
|
281
218
|
<th>
|
|
282
|
-
<nobr
|
|
283
|
-
</th>
|
|
284
|
-
<th>
|
|
285
|
-
<nobr>平均用气量</nobr>
|
|
219
|
+
<nobr>小区</nobr>
|
|
286
220
|
</th>
|
|
287
221
|
<th>
|
|
288
222
|
<nobr>表号</nobr>
|
|
289
223
|
</th>
|
|
290
224
|
<th>
|
|
291
|
-
<nobr
|
|
292
|
-
</th>
|
|
293
|
-
<th>
|
|
294
|
-
<nobr>本期底数</nobr>
|
|
295
|
-
</th>
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
<th>
|
|
299
|
-
<nobr>应交气量</nobr>
|
|
300
|
-
</th>
|
|
301
|
-
<th>
|
|
302
|
-
<nobr>增量值</nobr>
|
|
303
|
-
</th>
|
|
304
|
-
<th>
|
|
305
|
-
<nobr>应交金额</nobr>
|
|
225
|
+
<nobr>抄表员</nobr>
|
|
306
226
|
</th>
|
|
307
227
|
<th>
|
|
308
|
-
<nobr
|
|
228
|
+
<nobr>总购金额</nobr>
|
|
309
229
|
</th>
|
|
310
230
|
<th>
|
|
311
|
-
<nobr
|
|
231
|
+
<nobr>累购气量</nobr>
|
|
312
232
|
</th>
|
|
313
|
-
<!-- <th>上次抄表日期</th>-->
|
|
314
233
|
<th>
|
|
315
234
|
<nobr>
|
|
316
|
-
<data-order field="
|
|
317
|
-
:order.sync="$parent.$parent.$parent.orderFields.
|
|
235
|
+
<data-order field="f_hand_date" name="下发日期"
|
|
236
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
|
|
318
237
|
</nobr>
|
|
319
238
|
</th>
|
|
320
|
-
<!-- <th>下发日期</th>-->
|
|
321
239
|
<th>
|
|
322
240
|
<nobr>
|
|
323
|
-
<data-order field="
|
|
324
|
-
:order.sync="$parent.$parent.$parent.orderFields.
|
|
241
|
+
<data-order field="f_last_input_date" name="上次抄表录入日期"
|
|
242
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_last_input_date"></data-order>
|
|
325
243
|
</nobr>
|
|
326
244
|
</th>
|
|
327
|
-
<!-- <th>抄表日期</th>-->
|
|
328
245
|
<th>
|
|
329
246
|
<nobr>
|
|
330
247
|
<data-order field="f_input_date" name="抄表录入日期"
|
|
331
248
|
:order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
332
249
|
</nobr>
|
|
333
250
|
</th>
|
|
334
|
-
<!-- <th>抄表册</th>-->
|
|
335
251
|
<th>
|
|
336
|
-
<nobr>
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
252
|
+
<nobr>上期底数</nobr>
|
|
253
|
+
</th>
|
|
254
|
+
<th>
|
|
255
|
+
<nobr>本期底数</nobr>
|
|
341
256
|
</th>
|
|
342
257
|
<th>
|
|
343
|
-
<nobr
|
|
258
|
+
<nobr>表状态</nobr>
|
|
344
259
|
</th>
|
|
345
260
|
<th>
|
|
346
|
-
<nobr
|
|
261
|
+
<nobr>实际用量</nobr>
|
|
347
262
|
</th>
|
|
348
263
|
<th>
|
|
349
|
-
<nobr
|
|
264
|
+
<nobr>剩余气量</nobr>
|
|
350
265
|
</th>
|
|
351
266
|
<th>
|
|
352
|
-
<nobr
|
|
267
|
+
<nobr>状态</nobr>
|
|
353
268
|
</th>
|
|
354
269
|
<th>
|
|
355
270
|
<nobr>操作</nobr>
|
|
356
271
|
</th>
|
|
357
|
-
|
|
272
|
+
<th>
|
|
273
|
+
<nobr>备注</nobr>
|
|
274
|
+
</th>
|
|
358
275
|
</tr>
|
|
359
276
|
</template>
|
|
360
277
|
<template partial='body'>
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
<td>{{row.
|
|
370
|
-
<td>{{row.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
<td>{{row.
|
|
375
|
-
<td
|
|
376
|
-
<td style="text-align: center;">
|
|
377
|
-
<td>{{row.f_meternumber}}</td>
|
|
378
|
-
<td>{{row.f_last_tablebase}}</td>
|
|
379
|
-
<td id="hand-creat" v-if="row.f_meter_state === '未抄表' ">
|
|
278
|
+
<td style="text-align: center;">{{ $index + 1 }}</td>
|
|
279
|
+
<td style="text-align: center;">{{ row.f_userinfo_code }}</td>
|
|
280
|
+
<td style="text-align: center;">
|
|
281
|
+
{{ row.f_user_name }} {{ row.f_gasproperties }} {{
|
|
282
|
+
row.f_user_phone
|
|
283
|
+
}} {{ row.f_address }}
|
|
284
|
+
</td>
|
|
285
|
+
<td>{{ row.f_user_level }}</td>
|
|
286
|
+
<td style="text-align: center;">{{ row.f_residential_area }}</td>
|
|
287
|
+
<td style="text-align: center;">{{ row.f_meternumber }}</td>
|
|
288
|
+
<td style="text-align: center;">{{ row.f_inputtor }}</td>
|
|
289
|
+
<td style="text-align: center;">{{ row.total_fee }}</td>
|
|
290
|
+
<td style="text-align: center;">{{ row.total_gas }}</td>
|
|
291
|
+
<td>{{row.f_hand_date}}</td>
|
|
292
|
+
<td>{{row.f_last_input_date}}</td>
|
|
293
|
+
<td style="text-align: center;">
|
|
380
294
|
<div class="form-group" style="margin-bottom:0px;display: contents;" :class="{
|
|
381
295
|
'has-success has-feedback': !row.error,
|
|
382
296
|
'has-error has-feedback': row.error}"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
297
|
+
v-if="row.f_meter_state === '未抄表'">
|
|
298
|
+
<datepicker id="f_hand_date" placeholder="抄表录入日期"
|
|
299
|
+
v-model="row.f_input_date"
|
|
300
|
+
:value.sync="row.f_input_date"
|
|
301
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
302
|
+
:show-reset-button="true">
|
|
303
|
+
</datepicker>
|
|
304
|
+
</div>
|
|
305
|
+
<div v-else>
|
|
306
|
+
{{ row.f_input_date }}
|
|
390
307
|
</div>
|
|
391
|
-
|
|
392
|
-
<span v-if="row.error && row.error !== ''" style="color: #ff0000;">{{row.error}}</span>
|
|
393
|
-
</td>
|
|
394
|
-
<td id="hand-creat" v-if="row.f_meter_state !== '未抄表' ">
|
|
395
|
-
{{row.f_tablebase}}
|
|
396
308
|
</td>
|
|
397
|
-
|
|
398
|
-
<td style="text-align: center;">{{$parent.$parent.$parent.calculationBase(row)}}</td>
|
|
309
|
+
<td style="text-align: center;">{{ row.f_last_tablebase }}</td>
|
|
399
310
|
<td style="text-align: center;">
|
|
400
|
-
<div class="form-group" style="margin-bottom:0px;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
311
|
+
<div class="form-group" style="margin-bottom:0px;" :class="{
|
|
312
|
+
'has-success has-feedback': row.f_tablebase ? ((row.f_last_tablebase-0) <= (row.f_tablebase -0)) : false,
|
|
313
|
+
'has-error has-feedback': row.f_tablebase ? ((row.f_last_tablebase-0) > (row.f_tablebase -0) ) : false}"
|
|
314
|
+
v-if="row.f_meter_state === '未抄表' ">
|
|
315
|
+
<input type="text" class="form-control" v-model="row.f_tablebase"
|
|
316
|
+
@blur="$parent.$parent.$parent.enter(row)"
|
|
317
|
+
v-next-el="{id: $index+1}" :id="$index" style="width: 100px;padding: 6px;"
|
|
318
|
+
:disabled="row.state === '开始'"
|
|
319
|
+
@focus="$parent.$parent.$parent.clearError(row)">
|
|
405
320
|
</div>
|
|
406
321
|
<div v-else>
|
|
407
|
-
{{row.
|
|
322
|
+
<span v-if="row.f_tablebase">{{ row.f_tablebase }}</span>
|
|
408
323
|
</div>
|
|
324
|
+
<span v-if="row.error" style="color: red;">{{ row.error }}</span>
|
|
409
325
|
</td>
|
|
410
|
-
<td style="text-align: center;">{{row.f_oughtfee}}</td>
|
|
411
|
-
|
|
412
326
|
<td>
|
|
413
327
|
<div class="form-group" style="margin-bottom:0px;display: contents;" :class="{
|
|
414
328
|
'has-success has-feedback': !row.error,
|
|
415
329
|
'has-error has-feedback': row.error}"
|
|
416
330
|
v-if="row.f_meter_state === '未抄表' && row.states !== 0">
|
|
417
331
|
<v-select :value.sync="row.f_result_state" v-model="row.f_result_state"
|
|
418
|
-
:options='$parent.$parent.$parent.resultstate' placeholder='
|
|
419
|
-
|
|
332
|
+
:options='$parent.$parent.$parent.resultstate' placeholder='表状态'
|
|
333
|
+
width="100%"
|
|
420
334
|
:value-single="true"
|
|
421
335
|
close-on-select
|
|
422
336
|
condition="f_adjustable_name = '{}'"></v-select>
|
|
423
337
|
<!-- <span id="inputError2Status" class="sr-only">(error)</span> -->
|
|
424
338
|
</div>
|
|
425
|
-
<div style="text-align: center;" v-else>
|
|
426
|
-
{{row.f_result_state}}
|
|
427
|
-
</div>
|
|
428
|
-
</td>
|
|
429
|
-
<td style="text-align: center;">{{row.f_whether_pay}}</td>
|
|
430
|
-
<td>{{row.f_last_input_date}}</td>
|
|
431
|
-
<td>{{row.f_hand_date}}</td>
|
|
432
|
-
<td>
|
|
433
|
-
<div class="form-group" style="margin-bottom:0px;display: contents;" :class="{
|
|
434
|
-
'has-success has-feedback': !row.error,
|
|
435
|
-
'has-error has-feedback': row.error}"
|
|
436
|
-
v-if="row.f_meter_state === '未抄表' && row.states !== 0 && $parent.$parent.$parent.jurisdiction.includes('录入日期修正')">
|
|
437
|
-
<datepicker id="endDate" placeholder="抄表时间"
|
|
438
|
-
v-model="row.f_input_date"
|
|
439
|
-
:value.sync="row.f_input_date"
|
|
440
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
441
|
-
:show-reset-button="true">
|
|
442
|
-
</datepicker>
|
|
443
|
-
</div>
|
|
444
339
|
<div v-else>
|
|
445
|
-
{{row.
|
|
340
|
+
{{ row.f_result_state }}
|
|
446
341
|
</div>
|
|
447
342
|
</td>
|
|
448
|
-
<td>{{row.f_book_name}}</td>
|
|
449
|
-
<td>{{row.f_adjustable_name}}</td>
|
|
450
|
-
<td>{{row.f_inputtor}}</td>
|
|
451
|
-
<td>{{row.f_input_person}}</td>
|
|
452
|
-
<td>{{row.f_operator}}</td>
|
|
453
|
-
<td style="text-align: center;"><nobr>
|
|
454
|
-
<!-- 已抄表,还没审核-->
|
|
455
|
-
<button type="button" name="button" class="button_search button_spacing width-60"
|
|
456
|
-
v-if="row.f_meter_state === '待审核' && (row.id == row.maxid || !row.maxid)"
|
|
457
|
-
@click.stop="$parent.$parent.$parent.cancelAuditHand(row)">撤销
|
|
458
|
-
</button>
|
|
459
|
-
<!-- 未抄表,删除计划,直接删表内数据-->
|
|
460
|
-
<button type="button" name="button" class="btn btn-danger"
|
|
461
|
-
v-if="row.f_meter_state === '未抄表'"
|
|
462
|
-
@click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1"
|
|
463
|
-
>删除
|
|
464
|
-
</button>
|
|
465
|
-
<!-- 已抄表,已审核,冲正(状态改为冲正,添加负记录,需要重新下发)-->
|
|
466
|
-
<button type="button" name="button" class="button_search button_spacing width-60"
|
|
467
|
-
@click.stop="$parent.$parent.$parent.cancelHand(row)"
|
|
468
|
-
v-if="row.f_meter_state === '已抄表' && row.maxid==row.id && (row.f_whether_pay === '否' || row.f_accounts_state === '自动下账')" >冲正
|
|
469
|
-
</button>
|
|
470
343
|
|
|
471
|
-
<!-- <button type="button" name="button" class="btn btn-link"-->
|
|
472
|
-
<!-- v-if="row.f_meter_state === '待审核' ">待审核-->
|
|
473
|
-
<!-- </button>-->
|
|
474
344
|
|
|
345
|
+
<td style="text-align: center;">{{ row.f_actualtablebase }}</td>
|
|
346
|
+
<td style="text-align: center;">{{ row.total_gas - (row.f_tablebase - row.f_initial_base) }}</td>
|
|
347
|
+
<td style="text-align: center;">{{ row.f_meter_state }}</td>
|
|
348
|
+
<td style="text-align: center;">
|
|
349
|
+
|
|
350
|
+
<!-- <button type="button" name="button" class="btn btn-link"-->
|
|
351
|
+
<!-- @click.stop="$parent.$parent.$parent.modify(row)"-->
|
|
352
|
+
<!-- v-if="row.f_meter_state === '已抄表' && !$parent.$parent.$parent.jurisdiction.includes('审核权限')">修正</button>-->
|
|
353
|
+
|
|
354
|
+
<!-- <button type="button" name="button" class="btn btn-link"
|
|
355
|
+
@click.stop="$parent.$parent.$parent.pass(row)"
|
|
356
|
+
v-if="$parent.$parent.$parent.jurisdiction.includes('审核权限') && row.f_meter_state === '待审核'">通过</button>
|
|
475
357
|
|
|
476
|
-
|
|
358
|
+
<button type="button" name="button" class="btn btn-link"
|
|
359
|
+
@click.stop="$parent.$parent.$parent.nopass(row)"
|
|
360
|
+
v-if="row.f_meter_state === '待审核' && $parent.$parent.$parent.jurisdiction.includes('审核权限')">不通过</button>-->
|
|
361
|
+
<button type="button" name="button" class="button_search button_spacing width-60" title="权限名称:(卡表抄表冲正)"
|
|
362
|
+
@click.stop="$parent.$parent.$parent.cardhandCenter(row)"
|
|
363
|
+
v-if="row.f_meter_state === '已抄表'">冲正
|
|
364
|
+
</button>
|
|
365
|
+
</td>
|
|
366
|
+
<td><span title="{{row.f_card_reason}}"
|
|
367
|
+
v-if="row.f_card_reason">{{ row.f_card_reason.substring(0, 5) }} ...</span>
|
|
477
368
|
</td>
|
|
478
369
|
</template>
|
|
479
370
|
</data-grid>
|
|
@@ -484,894 +375,154 @@
|
|
|
484
375
|
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
485
376
|
汇总信息
|
|
486
377
|
</td>
|
|
487
|
-
<td
|
|
488
|
-
|
|
489
|
-
应缴气量: {{sumsmodel.f_oughtamount}}
|
|
490
|
-
</td>
|
|
491
|
-
<td
|
|
492
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
493
|
-
应缴金额: {{sumsmodel.f_oughtfee}}
|
|
378
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
379
|
+
抄表用量: {{ sumsmodel.f_actualtablebase }}
|
|
494
380
|
</td>
|
|
495
381
|
</tr>
|
|
496
382
|
</table>
|
|
497
|
-
<
|
|
498
|
-
|
|
499
|
-
<modal :show.sync="danhu.show" :title='danhutitle' backdrop="false" coverstyle="danhumodal">
|
|
500
|
-
<article slot="modal-body" class="modal-body">
|
|
501
|
-
<div class="panel panel-primary datapanel">
|
|
502
|
-
<div class="row">
|
|
503
|
-
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">客户姓名:{{danhu.info.f_user_name}}</label>
|
|
504
|
-
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">客户编号:{{danhu.info.f_userinfo_code}}</label>
|
|
505
|
-
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">用户证号:{{danhu.info.f_book_no}}</label>
|
|
506
|
-
<label class="control-label col-sm-12 flex-row" style="transform: translate(0,8px)">客户地址:{{danhu.info.f_address}}</label>
|
|
507
|
-
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">上次抄表日期:{{danhu.info.f_hand_date}}</label>
|
|
508
|
-
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">上期底数:{{danhu.info.f_tablebase}}</label>
|
|
509
|
-
</div>
|
|
510
|
-
</div>
|
|
511
|
-
<div class="panel panel-primary datapanel">
|
|
512
|
-
<div class="row">
|
|
513
|
-
<div class="col-sm-6 flex-row" style="margin-top: 2px">
|
|
514
|
-
<label for="danhucode" class="control-label" style="transform: translate(0,8px)">客户编号</label>
|
|
515
|
-
<input id="danhucode" type="text" class="input_search " style="width: 60% !important;"
|
|
516
|
-
v-model="danhu.f_userinfo_code" v-ref:danhucode @keyup.enter.stop="danhuCodeSearch"
|
|
517
|
-
placeholder='客户编号'/>
|
|
518
|
-
</div>
|
|
519
|
-
<div class="col-sm-6 flex-row" style="margin-top: 2px">
|
|
520
|
-
<label for="danhubase" class="control-label" style="transform: translate(0,8px)">本期底数</label>
|
|
521
|
-
<input id="danhubase" type="number" class="input_search " style="width: 60% !important;"
|
|
522
|
-
v-model="danhu.f_tablebase" @keyup.enter.stop="downAndHand"
|
|
523
|
-
placeholder='本期底数'/>
|
|
524
|
-
</div>
|
|
525
|
-
</div>
|
|
526
|
-
</div>
|
|
527
|
-
</article>
|
|
528
|
-
<footer slot="modal-footer">
|
|
529
|
-
</footer>
|
|
530
|
-
</modal>
|
|
531
|
-
|
|
532
|
-
<modal :show.sync="uploadshow" v-ref:modal backdrop="false">
|
|
533
|
-
<header slot="modal-header" class="modal-header">
|
|
534
|
-
<button type="button" class="close" @click="close"><span>×</span></button>
|
|
535
|
-
<h4 class="modal-title">文件上传</h4>
|
|
536
|
-
</header>
|
|
537
|
-
<article slot="modal-body" class="modal-body">
|
|
538
|
-
<div class="col-sm-2 form-group">
|
|
539
|
-
<file-upload class="my-file-uploader" name="myFile"
|
|
540
|
-
action="rs/file/upload" tagname="文件上传" :headers="headers" multiple v-ref:file></file-upload>
|
|
541
|
-
</div>
|
|
542
|
-
</article>
|
|
543
|
-
|
|
544
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
545
|
-
<!-- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
546
|
-
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button> -->
|
|
547
|
-
</footer>
|
|
548
|
-
</modal>
|
|
549
|
-
<modal :show.sync="examineshow" v-ref:modal backdrop="false">
|
|
550
|
-
<header slot="modal-header" class="modal-header">
|
|
551
|
-
<button type="button" class="close" @click="close"><span>×</span></button>
|
|
552
|
-
<h4 class="modal-title">冲正审核</h4>
|
|
553
|
-
</header>
|
|
554
|
-
<article slot="modal-body" class="modal-body">
|
|
555
|
-
<div class="row">
|
|
556
|
-
<div class="col-sm-12 form-group">
|
|
557
|
-
<label class="font_normal_body">冲正原因</label>
|
|
558
|
-
<input type="text" style="width:90%" class="input_search" :disabled="examinetype"
|
|
559
|
-
v-model="examinerow.f_examinereason"
|
|
560
|
-
placeholder='冲正原因'>
|
|
561
|
-
</div>
|
|
562
|
-
<upload :blodid="examinerow.id" v-ref:upload :fusetype="uploadText" isremark="true"
|
|
563
|
-
style="width:auto"></upload>
|
|
564
|
-
</div>
|
|
565
|
-
|
|
566
|
-
</article>
|
|
567
|
-
|
|
568
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
569
|
-
<button v-show="examineshow" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
570
|
-
<button v-show="!examinetype" type="button" class="btn btn-success" @click='examineconfirm()'>确认</button>
|
|
571
|
-
<button type="button" v-show="examinetype" class="btn btn-success" @click='cancelHand5()'>审核通过</button>
|
|
572
|
-
</footer>
|
|
573
|
-
</modal>
|
|
574
|
-
|
|
575
|
-
<modal :show.sync="showerr" backdrop="false">
|
|
576
|
-
<header slot="modal-header" class="modal-header">
|
|
577
|
-
<button type="button" class="close" @click="closeerr"><span>×</span></button>
|
|
578
|
-
<h4 class="modal-title">抄表出错!</h4>
|
|
579
|
-
</header>
|
|
580
|
-
<article slot="modal-body" class="modal-body">
|
|
581
|
-
<div class="row">
|
|
582
|
-
<p> {{err}}</p>
|
|
583
|
-
<input type="text" class="form-control" @blur="paycodefocus" v-el:paycode>
|
|
584
|
-
</div>
|
|
585
|
-
|
|
586
|
-
</article>
|
|
587
|
-
|
|
588
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
589
|
-
<button v-show="showerr" type="button" class="btn btn-default" @click='closeerr'>关闭</button>
|
|
590
|
-
</footer>
|
|
591
|
-
</modal>
|
|
592
|
-
|
|
593
|
-
<modal :show.sync="detailsShow" v-ref:model_details backdrop="true" width="700px">
|
|
594
|
-
<article slot="modal-body" class="modal-body">
|
|
595
|
-
<div class="flex-row">
|
|
596
|
-
<div style="width: 50%">
|
|
597
|
-
<mix-price-info :data="row" v-if="row.f_price_type === '固定气价'" v-ref:mix_price></mix-price-info>
|
|
598
|
-
<stairinfo :data="row" v-if="row.f_price_type === '阶梯气价'" v-ref:statir></stairinfo>
|
|
599
|
-
</div>
|
|
600
|
-
<div style="width: 50%" class="panel">
|
|
601
|
-
<div class="panel-heading detail-panel">
|
|
602
|
-
<h4>计算工具</h4>
|
|
603
|
-
</div>
|
|
604
|
-
<form class="form-horizontal" style="padding: 10px">
|
|
605
|
-
<div class="form-group">
|
|
606
|
-
<label class="col-sm-4 col-md-4 control-label" style="text-align: left">预购金额:</label>
|
|
607
|
-
<div class="col-sm-8 col-md-8">
|
|
608
|
-
<input type="number" class="form-control" placeholder="预购金额" @blur="computeAmount" v-el:inputmoney>
|
|
609
|
-
</div>
|
|
610
|
-
</div>
|
|
611
|
-
<div class="form-group">
|
|
612
|
-
<label class="col-sm-4 col-md-4 control-label" style="text-align: left">当前底数:</label>
|
|
613
|
-
<div class="col-sm-8 col-md-8">
|
|
614
|
-
<input type="number" class="form-control" placeholder="当前底数" v-model="row.f_last_tablebase" disabled>
|
|
615
|
-
</div>
|
|
616
|
-
</div>
|
|
617
|
-
<div class="form-group">
|
|
618
|
-
<label class="col-sm-4 col-md-4 control-label" style="text-align: left">应抄底数:</label>
|
|
619
|
-
<div class="col-sm-8 col-md-8">
|
|
620
|
-
<input type="number" class="form-control" placeholder="应抄底数" v-model="should_base" disabled>
|
|
621
|
-
</div>
|
|
622
|
-
</div>
|
|
623
|
-
<div class="form-group">
|
|
624
|
-
<label class="col-sm-12 col-md-12 control-label" style="text-align: center">计算公式</label>
|
|
625
|
-
<div class="col-sm-12 col-md-12">
|
|
626
|
-
<input type="text" class="form-control" placeholder="计算公式" v-model="designFormulas" disabled>
|
|
627
|
-
</div>
|
|
628
|
-
</div>
|
|
629
|
-
</form>
|
|
630
|
-
</div>
|
|
631
|
-
</div>
|
|
632
|
-
</article>
|
|
633
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
634
|
-
<button type="button" class="button_search button_spacing" @click='customPricing()'>自定义划价</button>
|
|
635
|
-
</footer>
|
|
636
|
-
</modal>
|
|
637
|
-
|
|
638
|
-
<modal :show.sync="priceModel" v-ref:modal backdrop="false">
|
|
383
|
+
<modal :show.sync="cardCental" v-ref:modal backdrop="false">
|
|
639
384
|
<header slot="modal-header" class="modal-header">
|
|
640
|
-
<h4 class="modal-title"
|
|
385
|
+
<h4 class="modal-title">卡表抄表冲正</h4>
|
|
641
386
|
</header>
|
|
642
387
|
<article slot="modal-body" class="modal-body">
|
|
643
|
-
<div>
|
|
644
|
-
<
|
|
645
|
-
<
|
|
646
|
-
</div>
|
|
647
|
-
<div class="row">
|
|
648
|
-
<template v-if="row.f_price_type === '固定气价'">
|
|
649
|
-
<div class="col-sm-4 form-group">
|
|
650
|
-
<label class="font_normal_body">单价</label>
|
|
651
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_price1" placeholder='单价'></input>
|
|
652
|
-
</div>
|
|
653
|
-
<div class="col-sm-4 form-group">
|
|
654
|
-
<label class="font_normal_body">数量</label>
|
|
655
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_gas1" placeholder='数量'></input>
|
|
656
|
-
</div>
|
|
657
|
-
<div class="col-sm-4 form-group">
|
|
658
|
-
<label class="font_normal_body">金额</label>
|
|
659
|
-
<p class="form-control" style="width:60%" disabled>{{ row.f_stair_money1 = stairMoney(row.f_stair_price1, row.f_stair_gas1) }}</p>
|
|
660
|
-
</div>
|
|
661
|
-
</template>
|
|
662
|
-
|
|
663
|
-
<template v-if="row.f_price_type === '阶梯气价'">
|
|
664
|
-
<div class="col-sm-4 form-group" >
|
|
665
|
-
<label class="font_normal_body">阶梯一单价</label>
|
|
666
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_price1" placeholder='阶梯一单价'></input>
|
|
667
|
-
</div>
|
|
668
|
-
<div class="col-sm-4 form-group">
|
|
669
|
-
<label class="font_normal_body">阶梯一数量</label>
|
|
670
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_gas1" placeholder='阶梯一数量'></input>
|
|
671
|
-
</div>
|
|
672
|
-
<div class="col-sm-4 form-group">
|
|
673
|
-
<label class="font_normal_body">阶梯一金额</label>
|
|
674
|
-
<p class="form-control" style="width:60%" disabled>{{ row.f_stair_money1 = stairMoney(row.f_stair_price1, row.f_stair_gas1) }}</p>
|
|
675
|
-
</div>
|
|
676
|
-
<div class="col-sm-4 form-group" >
|
|
677
|
-
<label class="font_normal_body">阶梯二单价</label>
|
|
678
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_price2" placeholder='阶梯二单价'></input>
|
|
679
|
-
</div>
|
|
680
|
-
<div class="col-sm-4 form-group">
|
|
681
|
-
<label class="font_normal_body">阶梯二数量</label>
|
|
682
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_gas2" placeholder='阶梯二数量'></input>
|
|
683
|
-
</div>
|
|
684
|
-
<div class="col-sm-4 form-group">
|
|
685
|
-
<label class="font_normal_body">阶梯二金额</label>
|
|
686
|
-
<p class="form-control" style="width:60%" disabled>{{ row.f_stair_money2 = stairMoney(row.f_stair_price2, row.f_stair_gas2) }}</p>
|
|
687
|
-
</div>
|
|
688
|
-
<div class="col-sm-4 form-group" >
|
|
689
|
-
<label class="font_normal_body">阶梯三单价</label>
|
|
690
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_price3" placeholder='阶梯三单价'></input>
|
|
691
|
-
</div>
|
|
692
|
-
<div class="col-sm-4 form-group">
|
|
693
|
-
<label class="font_normal_body">阶梯三数量</label>
|
|
694
|
-
<input type="text" class="form-control" style="width:60%" v-model="row.f_stair_gas3" placeholder='阶梯三数量'></input>
|
|
695
|
-
</div>
|
|
696
|
-
<div class="col-sm-4 form-group">
|
|
697
|
-
<label class="font_normal_body">阶梯三金额</label>
|
|
698
|
-
<p class="form-control" style="width:60%" disabled>{{ row.f_stair_money3 = stairMoney(row.f_stair_price3, row.f_stair_gas3) }}</p>
|
|
699
|
-
</div>
|
|
700
|
-
</template>
|
|
701
|
-
<div class="col-sm-4 form-group" >
|
|
702
|
-
</div>
|
|
703
|
-
<div class="col-sm-4 form-group">
|
|
704
|
-
<label class="font_normal_body">总用气量</label>
|
|
705
|
-
<p class="form-control" style="width:60%" disabled>{{ ((row.f_stair_gas1 - 0)+(row.f_stair_gas2 - 0)+(row.f_stair_gas3 - 0)).toFixed(2) }}</p>
|
|
706
|
-
</div>
|
|
707
|
-
<div class="col-sm-4 form-group">
|
|
708
|
-
<label class="font_normal_body">总用气金额</label>
|
|
709
|
-
<p class="form-control" style="width:60%" disabled>{{ row.f_oughtfee = ((row.f_stair_money1 - 0)+(row.f_stair_money2 - 0)+(row.f_stair_money3 - 0)).toFixed(2) }}</p>
|
|
710
|
-
</div>
|
|
711
|
-
<p style="color: red">注意: 自定义气量总量必须等于本次抄表用气量, 本次抄表总量: {{row.f_oughtamount}}</p>
|
|
388
|
+
<div class="form-group">
|
|
389
|
+
<label class="label-control">撤销原因</label>
|
|
390
|
+
<textarea class="form-control" v-model="cardreason" rows="3" placeholder="请填写撤销原因"></textarea>
|
|
712
391
|
</div>
|
|
713
392
|
</article>
|
|
714
393
|
<footer slot="modal-footer" class="modal-footer">
|
|
715
|
-
<button type="button" class="
|
|
716
|
-
<button type="button" class="
|
|
394
|
+
<button v-show="cardCental" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
395
|
+
<button v-show="cardCental" type="button" class="btn btn-success" @click='cancel(this.cardCentalData)'>确认
|
|
396
|
+
</button>
|
|
717
397
|
</footer>
|
|
718
398
|
</modal>
|
|
719
399
|
</div>
|
|
720
400
|
</div>
|
|
721
401
|
</template>
|
|
722
402
|
<script>
|
|
723
|
-
import
|
|
724
|
-
import {PagedList, HttpResetClass} from 'vue-client'
|
|
403
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
725
404
|
import Vue from 'vue'
|
|
405
|
+
import AppData from '../../../stores/AppData'
|
|
406
|
+
import * as Util from '../../../Util'
|
|
726
407
|
import co from 'co'
|
|
727
408
|
|
|
728
|
-
let
|
|
729
|
-
await self.$
|
|
730
|
-
await self.$LoadParams.loadMeterBook(self.f_filialeid)
|
|
731
|
-
self.loadMeterBooks()
|
|
732
|
-
self.getfield = self.config.excelHeaders
|
|
733
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
734
|
-
self.reflash()
|
|
735
|
-
}
|
|
409
|
+
let loadParamGem = async function (self) {
|
|
410
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
736
411
|
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
// self.$showAlert('下发计划户数为0!请选择需要下发的计划!!', 'danger', 0)
|
|
740
|
-
// return
|
|
741
|
-
// }
|
|
742
|
-
self.condition = condition
|
|
743
|
-
self.msg = '确认下发计划'
|
|
744
|
-
// 判断之前是否有未抄表数据
|
|
745
|
-
let getUnhand = null
|
|
746
|
-
// let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate, condition: self.condition}}, {resolveMsg: null, rejectMsg: '获取未抄表数据异常!!'})
|
|
747
|
-
// if (type === 'batch' || type === 'single') {
|
|
748
|
-
if (type === 'single') {
|
|
749
|
-
getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {
|
|
750
|
-
data: {
|
|
751
|
-
startDate: self.model.params.startDate,
|
|
752
|
-
condition: condition
|
|
753
|
-
}
|
|
754
|
-
}, {resolveMsg: null, rejectMsg: '获取未抄表数据异常!!'})
|
|
755
|
-
self.msg = `下发客户编号为${data.f_userinfo_code}的抄表计划?`
|
|
756
|
-
// } else if (type === 'all') {
|
|
757
|
-
} else if (type === 'batch') {
|
|
758
|
-
let tempCondition = condition.replace("and f_meter_state = '未下发'", '')
|
|
759
|
-
getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {
|
|
760
|
-
data: {
|
|
761
|
-
startDate: self.model.params.startDate,
|
|
762
|
-
condition: tempCondition
|
|
763
|
-
}
|
|
764
|
-
}, {resolveMsg: null, rejectMsg: '获取未抄表数据异常!!'})
|
|
765
|
-
self.msg = `确认下发当前总计: ${data} 户计划`
|
|
766
|
-
}
|
|
767
|
-
for (let i = 0; i < getUnhand.data.length; i++) {
|
|
768
|
-
let temp = {
|
|
769
|
-
id: getUnhand.data[i].id,
|
|
770
|
-
f_user_id: getUnhand.data[i].f_user_id,
|
|
771
|
-
f_userfiles_id: getUnhand.data[i].f_userfiles_id,
|
|
772
|
-
f_adjustable_id: getUnhand.data[i].f_adjustable_id,
|
|
773
|
-
f_adjustable_name: getUnhand.data[i].f_adjustable_name
|
|
774
|
-
}
|
|
775
|
-
console.log('=================================================================================')
|
|
776
|
-
console.log('下发计划查看调压箱和调压箱编号', temp)
|
|
777
|
-
console.log('========================================================================================')
|
|
778
|
-
self.unhandplan.push(temp)
|
|
779
|
-
}
|
|
780
|
-
if (getUnhand.data.length > 0) {
|
|
781
|
-
self.msg = self.msg + `, 警告: 之前有 ${getUnhand.data.length} 条未抄表数据`
|
|
782
|
-
}
|
|
783
|
-
self.show = true
|
|
412
|
+
self.loadMeterBooks()
|
|
413
|
+
await self.search()
|
|
784
414
|
}
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
} else {
|
|
798
|
-
self.enter(index, row)
|
|
415
|
+
let modifyGen = function* (self, row, url) {
|
|
416
|
+
console.log('抄表修正,。。。', row, url)
|
|
417
|
+
self.cardCental = false
|
|
418
|
+
self.cardCentalData = ''
|
|
419
|
+
row.f_user_id = row.f_user_id + ''
|
|
420
|
+
// 删除待审核的抄表记录
|
|
421
|
+
let state = yield self.$resetpost(url, {data: row}, {warnMsg: null, rejectMsg: null, resolveMsg: null})
|
|
422
|
+
if (state.data === '异常') {
|
|
423
|
+
Vue.showAlert('该笔抄表有差额记录,请先冲正!!!', 'warning', 4000)
|
|
424
|
+
return
|
|
425
|
+
} else if (state.data === '正常') {
|
|
426
|
+
Vue.showAlert('冲正成功,稍等片刻,正在重新查询!', 'success', 4000)
|
|
799
427
|
}
|
|
428
|
+
self.cardreason = ''
|
|
429
|
+
// 重新查询界面
|
|
430
|
+
self.search()
|
|
800
431
|
}
|
|
801
432
|
|
|
802
433
|
export default {
|
|
803
|
-
title: '
|
|
804
|
-
components: { MixPriceInfo },
|
|
434
|
+
title: '卡表抄表',
|
|
805
435
|
data () {
|
|
806
436
|
return {
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
user: []
|
|
812
|
-
},
|
|
813
|
-
sumsmodel: [],
|
|
814
|
-
orgCondtionStr: '',
|
|
815
|
-
priceSplit: false,
|
|
816
|
-
deletestate: false,
|
|
437
|
+
timer: null,
|
|
438
|
+
// 请求对象(批量导入,查询进度使用)
|
|
439
|
+
HttpReset: new HttpResetClass(),
|
|
440
|
+
resultstate: this.$appdata.getParam('卡表抄表表状态'),
|
|
817
441
|
criteriaShow: false,
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
'f_inputtor': '抄表员',
|
|
829
|
-
'f_balance': '上期结余',
|
|
830
|
-
'f_last_input_date': '上次抄表',
|
|
831
|
-
'f_hand_date': '下发时间',
|
|
832
|
-
'f_input_date': '抄表日期',
|
|
833
|
-
'f_userinfo_code': '客户编号',
|
|
834
|
-
'f_address': '客户地址',
|
|
835
|
-
'f_residential_area': '小区名称',
|
|
836
|
-
'f_user_name': '客户姓名',
|
|
837
|
-
'f_last_tablebase': '上期底数',
|
|
838
|
-
'f_tablebase': '本期指数',
|
|
839
|
-
'f_oughtfee': '应交金额',
|
|
840
|
-
'f_oughtamount': '应交气量',
|
|
841
|
-
'f_whether_pay': '是否缴费',
|
|
842
|
-
'f_book_name': '抄表册',
|
|
843
|
-
'f_input_person': '录入人员',
|
|
844
|
-
'f_operator': '下发人员',
|
|
845
|
-
'f_meter_classify': '气表分类',
|
|
846
|
-
'f_meter_style': '气表型号',
|
|
847
|
-
'f_accounts_state': '下账标识',
|
|
848
|
-
'f_user_phone': '客户电话',
|
|
849
|
-
'f_adjustable_id': '表箱号'
|
|
850
|
-
},
|
|
851
|
-
examine: true,
|
|
852
|
-
customCal: false
|
|
853
|
-
},
|
|
854
|
-
meter_state: false, // 是否显示计划下发按钮
|
|
855
|
-
downModel: {
|
|
856
|
-
downDate: Vue.$login.toStandardTimeString(),
|
|
857
|
-
downWay: 'downWithUserfiles',
|
|
858
|
-
downInputtor: []
|
|
859
|
-
},
|
|
860
|
-
inputtorModel: {
|
|
861
|
-
inputtor: [],
|
|
862
|
-
reason: ''
|
|
863
|
-
},
|
|
864
|
-
auditState: [{label: '全部', value: ''}, {label: '未抄表', value: '未抄表'}, {label: '待审核', value: '待审核'}, {label: '已抄表', value: '已抄表'}],
|
|
865
|
-
|
|
866
|
-
plans: [], // 记录当前行是否被勾选
|
|
867
|
-
all: false, // 是否全选
|
|
868
|
-
show: false, // 下发日期模态框显示
|
|
869
|
-
unhandplan: [], // 之前是否有未抄表记录
|
|
870
|
-
downConfirm: false, // 下发若有未抄记录,确认框
|
|
871
|
-
uploadshow: false,
|
|
872
|
-
// 小区
|
|
873
|
-
residentialArea: [],
|
|
874
|
-
|
|
875
|
-
// downDate: this.$login.toStandardYearMonth().replace("-", ""),
|
|
876
|
-
msg: '',
|
|
877
|
-
condition: '',
|
|
878
|
-
headers: {'username': Vue.$login.f.name, 'blodid': Vue.$login.guid()},
|
|
879
|
-
orderDefault: 'f_hand_date',
|
|
442
|
+
orderitem: 'f_userinfo_code',
|
|
443
|
+
model: new PagedList('rs/sql/getCardPlan', 50, {orderitem: this.orderitem ? '"' + this.orderitem + ' "' : `'f_userinfo_code'`}, {f_actualtablebase: 0}),
|
|
444
|
+
// model: new PagedList('rs/sql/cardHands', 50),
|
|
445
|
+
startDate: Util.toStartAndEndDateString()[0],
|
|
446
|
+
endDate: Util.toStartAndEndDateString()[1],
|
|
447
|
+
handDate: null,
|
|
448
|
+
batch_audit: false,
|
|
449
|
+
cardCental: false,
|
|
450
|
+
// 合计数据
|
|
451
|
+
sumsmodel: {},
|
|
880
452
|
orderFields: {
|
|
881
453
|
f_userinfo_id: 'no'
|
|
882
454
|
},
|
|
883
|
-
getfield: {},
|
|
884
|
-
outlet: '',
|
|
885
|
-
filiale: '',
|
|
886
|
-
condition2: '',
|
|
887
|
-
area: [],
|
|
888
|
-
inputtouPerson: [],
|
|
889
|
-
meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
|
|
890
|
-
resultstate: this.$appdata.getParam('抄表结果状态'),
|
|
891
|
-
meterstates: this.$appdata.getParam('抄表状态') ? [{
|
|
892
|
-
label: '全部',
|
|
893
|
-
value: ''
|
|
894
|
-
}, ...this.$appdata.getParam('抄表状态')] : [],
|
|
895
|
-
usertypes: this.$appdata.getParam('客户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('客户类型')] : [],
|
|
896
|
-
userlevels: this.$appdata.getParam('用户等级') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')] : [],
|
|
897
|
-
adjustablename: this.$appdata.getParam('调压箱名称') ? [{
|
|
898
|
-
label: '全部',
|
|
899
|
-
value: ''
|
|
900
|
-
}, ...this.$appdata.getParam('调压箱名称')] : [],
|
|
901
|
-
inputtores2: [], // 下发时使用自定义抄表员,
|
|
902
|
-
splitdata: '',
|
|
903
455
|
f_filialeid: this.$login.f.orgid,
|
|
904
|
-
|
|
456
|
+
cardreason: '',
|
|
457
|
+
cardCentalData: '',
|
|
458
|
+
getfield: {
|
|
459
|
+
'id': '抄表单编号',
|
|
460
|
+
'f_userinfo_code': '客户编号',
|
|
461
|
+
'f_user_name': '基本信息',
|
|
462
|
+
'f_meternumber': '表号',
|
|
463
|
+
'f_inputtor': '抄表员',
|
|
464
|
+
'total_fee': '总购金额',
|
|
465
|
+
'total_gas': '累购气量',
|
|
466
|
+
'f_hand_date': '下发日期',
|
|
467
|
+
'f_last_input_date': '上次抄表录入日期',
|
|
468
|
+
'f_input_date': '抄表录入日期',
|
|
469
|
+
'f_last_tablebase': '上期底数',
|
|
470
|
+
'f_tablebase': '本期底数',
|
|
471
|
+
'f_actualtablebase': '实际用量',
|
|
472
|
+
'f_meter_state': '状态'
|
|
473
|
+
},
|
|
474
|
+
meterbrands: [{label: '全部', value: ''}],
|
|
905
475
|
upshow: false,
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
uploadText: '抄表',
|
|
911
|
-
examinetype: false,
|
|
912
|
-
danhu: {
|
|
913
|
-
show: false,
|
|
914
|
-
f_userinfo_code: '',
|
|
915
|
-
f_tablebase: '',
|
|
916
|
-
info: {}
|
|
476
|
+
initres: {
|
|
477
|
+
org: [this.$login.f.orgid],
|
|
478
|
+
dep: [],
|
|
479
|
+
user: []
|
|
917
480
|
},
|
|
918
|
-
|
|
919
|
-
err: '',
|
|
920
|
-
// 请求对象(批量导入,查询进度使用)
|
|
921
|
-
HttpReset: new HttpResetClass(),
|
|
922
|
-
// 气价使用详情展示
|
|
923
|
-
detailsShow: false,
|
|
924
|
-
row: null,
|
|
925
|
-
// 应抄底数
|
|
926
|
-
should_base: 0,
|
|
927
|
-
// 计算公式
|
|
928
|
-
designFormulas: null,
|
|
929
|
-
usermlimit: this.$appdata.getSingleValue('民用自动审核区间'),
|
|
930
|
-
userfmlimit: this.$appdata.getSingleValue('非民用自动审核区间')
|
|
481
|
+
orgCondtionStr: ''
|
|
931
482
|
}
|
|
932
483
|
},
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
484
|
+
beforeDestroy () {
|
|
485
|
+
// 销毁定时器
|
|
486
|
+
if (this.timer) clearInterval(this.timer)
|
|
936
487
|
},
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
488
|
+
ready () {
|
|
489
|
+
this.$refs.paged.$refs.criteria.model.startDate = Util.toStartAndEndDateString()[0]
|
|
490
|
+
this.$refs.paged.$refs.criteria.model.endDate = Util.toStartAndEndDateString()[1]
|
|
491
|
+
loadParamGem(this)
|
|
940
492
|
},
|
|
941
493
|
methods: {
|
|
942
|
-
stairMoney (price, gas) {
|
|
943
|
-
return (price * gas).toFixed(2) - 0
|
|
944
|
-
},
|
|
945
|
-
async customPricingConfirm () {
|
|
946
|
-
let sumGas = (this.row.f_stair_gas1 - 0) + (this.row.f_stair_gas2 - 0) + (this.row.f_stair_gas3 - 0)
|
|
947
|
-
if (sumGas !== (this.row.f_oughtamount - 0)) {
|
|
948
|
-
this.$showMessage('自定义划价总气量不符, 请检查')
|
|
949
|
-
return
|
|
950
|
-
}
|
|
951
|
-
let row = {
|
|
952
|
-
id: this.row.id,
|
|
953
|
-
f_oughtfee: this.row.f_oughtfee,
|
|
954
|
-
f_stair_price1: this.row.f_stair_price1,
|
|
955
|
-
f_stair_gas1: this.row.f_stair_gas1,
|
|
956
|
-
f_stair_money1: this.row.f_stair_money1,
|
|
957
|
-
f_stair_price2: this.row.f_stair_price2,
|
|
958
|
-
f_stair_gas2: this.row.f_stair_gas2,
|
|
959
|
-
f_stair_money2: this.row.f_stair_money2,
|
|
960
|
-
f_stair_price3: this.row.f_stair_price3,
|
|
961
|
-
f_stair_gas3: this.row.f_stair_gas3,
|
|
962
|
-
f_stair_money3: this.row.f_stair_money3
|
|
963
|
-
}
|
|
964
|
-
await this.$resetpost('rs/logic/customPricing', {data: row}, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then(res => {
|
|
965
|
-
this.close()
|
|
966
|
-
this.search()
|
|
967
|
-
})
|
|
968
|
-
},
|
|
969
|
-
customPricing () {
|
|
970
|
-
if (!this.$login.r.find(value => value == '抄表自定义划价')) {
|
|
971
|
-
this.$showMessage('当前登录用户没有【抄表自定义划价】权限, 请联系管理员!')
|
|
972
|
-
return
|
|
973
|
-
}
|
|
974
|
-
if (this.row.f_meter_state !== '已抄表') {
|
|
975
|
-
this.$showMessage('当前抄表单不是已抄表状态,无法进行自定义划价!')
|
|
976
|
-
return
|
|
977
|
-
}
|
|
978
|
-
if (this.row.f_whether_pay !== '否') {
|
|
979
|
-
this.$showMessage('当前抄表单已经缴费,无法进行自定义划价!')
|
|
980
|
-
return
|
|
981
|
-
}
|
|
982
|
-
this.detailsShow = false
|
|
983
|
-
this.priceModel = true
|
|
984
|
-
},
|
|
985
494
|
downloadFiles () {
|
|
986
|
-
let downurl = 'rs/downloadfile/file?filename
|
|
495
|
+
let downurl = 'rs/downloadfile/file?filename=卡表批量抄表导入模板'
|
|
987
496
|
this.$resetget(downurl, {}).then(res => {
|
|
988
497
|
var link = document.createElement('a')
|
|
989
498
|
link.target = '_blank'
|
|
990
499
|
link.href = downurl
|
|
991
|
-
link.setAttribute('download', '
|
|
500
|
+
link.setAttribute('download', '卡表批量抄表导入模板.xlsx')
|
|
992
501
|
document.body.appendChild(link)
|
|
993
502
|
link.click()
|
|
994
503
|
})
|
|
995
504
|
},
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
if (row.f_tablebase) {
|
|
999
|
-
if (row.f_share_gas) {
|
|
1000
|
-
oughtamount = (row.f_tablebase - 0 - (row.f_last_tablebase - 0)).toFixed(4) + (row.f_share_gas > 0 ? '+' : '') + row.f_share_gas.toFixed(2)
|
|
1001
|
-
} else {
|
|
1002
|
-
if (row.f_capacity && row.f_capacity > 0 && row.f_tablebase < row.f_last_tablebase) {
|
|
1003
|
-
oughtamount = (row.f_tablebase - 0 + (row.f_capacity - row.f_last_tablebase)).toFixed(2)
|
|
1004
|
-
} else {
|
|
1005
|
-
oughtamount = (row.f_tablebase - 0 - (row.f_last_tablebase - 0)).toFixed(2)
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
} else {
|
|
1009
|
-
oughtamount = 0
|
|
1010
|
-
}
|
|
1011
|
-
row.f_oughtamount = oughtamount
|
|
1012
|
-
return oughtamount
|
|
505
|
+
hidden () {
|
|
506
|
+
this.criteriaShow = !this.criteriaShow
|
|
1013
507
|
},
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
this.cancelHand3(row)
|
|
1020
|
-
} else {
|
|
1021
|
-
if (!this.$login.r.find(value => value == '抄表隔月冲正')) {
|
|
1022
|
-
this.$showMessage('当前登录用户没有【抄表隔月冲正】权限, 请联系管理员!')
|
|
1023
|
-
} else {
|
|
1024
|
-
this.cancelHand3(row)
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
} else {
|
|
1028
|
-
this.cancelHand3(row)
|
|
1029
|
-
}
|
|
1030
|
-
},
|
|
1031
|
-
|
|
1032
|
-
cancelHand3 (row) {
|
|
1033
|
-
// 抄表加入权限
|
|
1034
|
-
if (!this.$login.r.find(value => value == '机表抄表冲正')) {
|
|
1035
|
-
this.$showMessage('当前登录用户没有冲正权限, 请联系管理员!')
|
|
1036
|
-
return
|
|
1037
|
-
}
|
|
1038
|
-
// console.log('抄表冲正。、。。、', row)
|
|
1039
|
-
let param = {
|
|
1040
|
-
f_hand_id: row.id,
|
|
1041
|
-
operInfo: {
|
|
1042
|
-
f_operator: this.$login.f.name,
|
|
1043
|
-
f_operatorid: this.$login.f.id,
|
|
1044
|
-
f_orgid: this.$login.f.orgid,
|
|
1045
|
-
f_orgname: this.$login.f.orgs,
|
|
1046
|
-
f_depid: this.$login.f.depids,
|
|
1047
|
-
f_depname: this.$login.f.deps
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
let url = 'rs/logic/sale_commonEnterCancel'
|
|
1051
|
-
this.$resetpost(url, {data: param}, {warnMsg: '确定对这条记录进行撤销吗?'}).then(() => {
|
|
1052
|
-
this.search()
|
|
1053
|
-
this.close()
|
|
1054
|
-
})
|
|
1055
|
-
},
|
|
1056
|
-
cancelAuditHand (row) {
|
|
1057
|
-
console.log('撤回本次录入。。。', row)
|
|
1058
|
-
let handplan = {
|
|
1059
|
-
id: row.id,
|
|
1060
|
-
f_oughtamount: 0,
|
|
1061
|
-
f_tablebase: 0,
|
|
1062
|
-
f_input_date: null,
|
|
1063
|
-
f_meter_state: '未抄表',
|
|
1064
|
-
f_meter_source: null
|
|
1065
|
-
}
|
|
1066
|
-
this.$resetpost('rs/entity/t_handplan', handplan, {
|
|
1067
|
-
resolveMsg: null,
|
|
1068
|
-
rejectMsg: '撤回失败'
|
|
1069
|
-
}).then((res) => {
|
|
1070
|
-
this.search()
|
|
1071
|
-
})
|
|
1072
|
-
},
|
|
1073
|
-
async danhuCodeSearch () {
|
|
1074
|
-
this.danhu.f_userinfo_code = this.danhu.f_userinfo_code.replace(/(^\s*)|(\s*$)/g, '')
|
|
1075
|
-
await this.$resetpost('rs/sql/getInfoOfDanhu', {
|
|
1076
|
-
data: {
|
|
1077
|
-
f_userinfo_code: this.danhu.f_userinfo_code,
|
|
1078
|
-
f_orgid: this.f_filialeid
|
|
1079
|
-
}
|
|
1080
|
-
},
|
|
1081
|
-
{resolveMsg: null, rejectMsg: '查询用户信息失败,网络错误'}).then(res => {
|
|
1082
|
-
if (res.data.length !== 1) {
|
|
1083
|
-
this.$showAlert(res.data.length === 0 ? '没有查询到用户' : '查询到多条用户信息', 'warning', 3000)
|
|
1084
|
-
return
|
|
1085
|
-
}
|
|
1086
|
-
if (res.data[0].f_meter_state === '待审核') {
|
|
1087
|
-
this.$showAlert('用户有待审核的记录', 'warning', 3000)
|
|
1088
|
-
return
|
|
1089
|
-
}
|
|
1090
|
-
if (res.data[0].f_whether_pay === '否') {
|
|
1091
|
-
this.$showAlert('用户有未缴费的抄表记录', 'warning', 3000)
|
|
1092
|
-
}
|
|
1093
|
-
this.danhu.info = res.data[0]
|
|
1094
|
-
// = Object.assign(this.danhu,{info:res.data[0]})
|
|
1095
|
-
document.getElementById('danhubase').focus()
|
|
1096
|
-
})
|
|
1097
|
-
},
|
|
1098
|
-
// 单户抄表 下发计划并抄表
|
|
1099
|
-
async downAndHand () {
|
|
1100
|
-
if (!this.danhu.info.f_userinfo_code || this.danhu.info.f_userinfo_code === '') {
|
|
1101
|
-
this.$showAlert(`请先查询用户信息`, 'warning', 2000)
|
|
1102
|
-
return
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
if (this.danhu.f_tablebase < 0) {
|
|
1106
|
-
this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
|
|
1107
|
-
return
|
|
1108
|
-
} else if (this.danhu.f_tablebase - parseInt(this.danhu.f_tablebase) !== 0) {
|
|
1109
|
-
this.$showAlert(`底数只能输入整数,请注意!`, 'warning', 2000)
|
|
1110
|
-
return
|
|
1111
|
-
} else if (this.danhu.f_tablebase < this.danhu.info.f_tablebase && !this.danhu.info.f_capacity) {
|
|
1112
|
-
this.$showAlert(`本期表底数不能低于上期表底数`, 'warning', 2000)
|
|
1113
|
-
return
|
|
1114
|
-
} else {
|
|
1115
|
-
if (this.danhu.f_tablebase < this.danhu.info.f_tablebase) {
|
|
1116
|
-
this.$showMessage('本次抄表已超越最大量程, 请熟知!')
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
let param = {
|
|
1120
|
-
downDate: this.downModel.downDate,
|
|
1121
|
-
startDate: this.model.params.startDate,
|
|
1122
|
-
endDate: this.model.params.endDate,
|
|
1123
|
-
condition: ` f_userfiles_id = '${this.danhu.info.f_userfiles_id}' `,
|
|
1124
|
-
f_operator: this.$login.f.name,
|
|
1125
|
-
f_operatorid: this.$login.f.id,
|
|
1126
|
-
danhu: true,
|
|
1127
|
-
userfilesid: this.danhu.info.f_userfiles_id
|
|
1128
|
-
}
|
|
1129
|
-
console.log('下发参数:', param)
|
|
1130
|
-
this.$resetpost('rs/logic/downHand', {data: param}, {resolveMsg: null, rejectMsg: '下发失败,请检查该用户是否在该归属期内已有抄表记录'}).then((res) => {
|
|
1131
|
-
console.log('下发计划成功', res)
|
|
1132
|
-
this.$resetpost('/rs/sql/querySingleTable', {
|
|
1133
|
-
data: {
|
|
1134
|
-
items: 'max(id) id',
|
|
1135
|
-
tablename: 't_handplan',
|
|
1136
|
-
condition: ` f_userfiles_id = '${this.danhu.info.f_userfiles_id}' `
|
|
1137
|
-
}
|
|
1138
|
-
}, {resolveMsg: null, rejectMsg: '查询抄表信息失败'}).then((res2) => {
|
|
1139
|
-
let handParam = {
|
|
1140
|
-
f_meter_classify: this.danhu.info.f_meter_classify,
|
|
1141
|
-
f_meter_brand: this.danhu.info.f_meter_brand,
|
|
1142
|
-
f_hand_id: res2.data[0].id,
|
|
1143
|
-
f_tablebase: this.danhu.f_tablebase,
|
|
1144
|
-
f_userinfo_id: this.danhu.info.f_userinfo_id
|
|
1145
|
-
}
|
|
1146
|
-
this.$resetpost('rs/logic/sale_commonEnter', {data: handParam}, {
|
|
1147
|
-
resolveMsg: null,
|
|
1148
|
-
rejectMsg: null
|
|
1149
|
-
})
|
|
1150
|
-
}).then((res) => {
|
|
1151
|
-
this.$showAlert(`单户抄表成功!`, 'success', 2000)
|
|
1152
|
-
this.danhuShow()
|
|
1153
|
-
}).catch((error) => {
|
|
1154
|
-
this.danhu.show = false
|
|
1155
|
-
this.$showAlert(`单户抄表失败!` + JSON.toString(error), 'danger', 2000)
|
|
1156
|
-
})
|
|
1157
|
-
}).catch((error) => {
|
|
1158
|
-
this.danhu.show = false
|
|
1159
|
-
this.$showAlert(`抄表失败,请注意查看,失败原因:` + JSON.toString(error), 'danger', 2000)
|
|
1160
|
-
})
|
|
1161
|
-
},
|
|
1162
|
-
// 获得本月的最后一天。
|
|
1163
|
-
getLastDayOfMonth (year, month) {
|
|
1164
|
-
let new_year = year // 取当前的年份
|
|
1165
|
-
let new_month = month++// 取下一个月的第一天,方便计算(最后一天不固定)
|
|
1166
|
-
if (month > 12) // 如果当前大于12月,则年份转到下一年
|
|
1167
|
-
{
|
|
1168
|
-
new_month -= 12 // 月份减
|
|
1169
|
-
new_year++ // 年份增
|
|
1170
|
-
}
|
|
1171
|
-
let new_date = new Date(new_year, new_month, 1) // 取当年当月中的第一天
|
|
1172
|
-
let date_count = (new Date(new_date.getTime() - 1000 * 60 * 60 * 24)).getDate()// 获取当月的天数
|
|
1173
|
-
// let last_date = new Date(new_date.getTime() - 1000 * 60 * 60 * 24);//获得当月最后一天的日期
|
|
1174
|
-
return date_count
|
|
1175
|
-
},
|
|
1176
|
-
danhuShow () {
|
|
1177
|
-
this.model.params.startDate = this.$refs.paged.$refs.criteria.model.startDate
|
|
1178
|
-
this.model.params.endDate = this.$refs.paged.$refs.criteria.model.endDate
|
|
1179
|
-
this.downModel.downDate = this.$login.toStandardTimeString()
|
|
1180
|
-
this.danhu = {
|
|
1181
|
-
show: true,
|
|
1182
|
-
f_userinfo_code: '',
|
|
1183
|
-
f_tablebase: '',
|
|
1184
|
-
info: {}
|
|
1185
|
-
}
|
|
1186
|
-
setTimeout(() => {
|
|
1187
|
-
document.getElementById('danhucode').focus()
|
|
1188
|
-
this.$refs.paged.$refs.criteria.search()
|
|
1189
|
-
}, 100)
|
|
1190
|
-
},
|
|
1191
|
-
paycodefocus () {
|
|
1192
|
-
this.$nextTick(() => {
|
|
1193
|
-
this.$els.paycode.focus()
|
|
1194
|
-
})
|
|
1195
|
-
},
|
|
1196
|
-
getRes (obj) {
|
|
1197
|
-
this.orgCondtionStr = obj
|
|
1198
|
-
},
|
|
1199
|
-
async getaddress () {
|
|
1200
|
-
console.log('开始获取小区')
|
|
1201
|
-
let HttpReset = new HttpResetClass()
|
|
1202
|
-
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
1203
|
-
data: {
|
|
1204
|
-
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
1205
|
-
}
|
|
1206
|
-
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
1207
|
-
console.log('小区', data)
|
|
1208
|
-
let house = []
|
|
1209
|
-
house.push()
|
|
1210
|
-
for (let row of data.data) {
|
|
1211
|
-
console.log('开始保存小区')
|
|
1212
|
-
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
1213
|
-
}
|
|
1214
|
-
this.residentialArea = house
|
|
1215
|
-
},
|
|
1216
|
-
loadMeterBooks () {
|
|
1217
|
-
this.meterbooks = this.$GetSaleParam.getMeterBooks()
|
|
1218
|
-
},
|
|
1219
|
-
|
|
1220
|
-
fileterprice (row) {
|
|
1221
|
-
this.splitdata = row
|
|
1222
|
-
this.priceSplit = true
|
|
1223
|
-
console.log('row==>', row)
|
|
1224
|
-
},
|
|
1225
|
-
hidden () {
|
|
1226
|
-
this.criteriaShow = !this.criteriaShow
|
|
1227
|
-
},
|
|
1228
|
-
clear () {
|
|
1229
|
-
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
1230
|
-
this.$refs.paged.$refs.criteria.model[key] = []
|
|
1231
|
-
})
|
|
1232
|
-
},
|
|
1233
|
-
|
|
1234
|
-
// 判断当前页是否全选
|
|
1235
|
-
isChooseAll (rows) {
|
|
1236
|
-
if (this.plans.length == 0 && rows.length == 0) {
|
|
1237
|
-
return false
|
|
1238
|
-
}
|
|
1239
|
-
for (var i = 0; i < rows.length; i++) {
|
|
1240
|
-
let flag = false
|
|
1241
|
-
if (rows[i].f_meter_state == '未下发') {
|
|
1242
|
-
for (let plan of this.plans) {
|
|
1243
|
-
if (plan.id == rows[i].f_userfiles_id) {
|
|
1244
|
-
flag = true
|
|
1245
|
-
if (!plan.state) {
|
|
1246
|
-
return false
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
if (!flag) {
|
|
1251
|
-
return false
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
return true
|
|
1256
|
-
},
|
|
1257
|
-
// 选择需要下发的计划
|
|
1258
|
-
chooseOne (e, row, rows) {
|
|
1259
|
-
console.log('row', row)
|
|
1260
|
-
let checked = e.target.checked
|
|
1261
|
-
console.log('state', e.target.checked)
|
|
1262
|
-
// 判断当前行是否被选中
|
|
1263
|
-
if (checked) {
|
|
1264
|
-
let onePlan = {
|
|
1265
|
-
id: row.f_userfiles_id,
|
|
1266
|
-
state: true
|
|
1267
|
-
}
|
|
1268
|
-
// 记录被选中计划的状态
|
|
1269
|
-
let flag = false
|
|
1270
|
-
for (let plan of this.plans) {
|
|
1271
|
-
if (plan.id == row.f_userfiles_id) {
|
|
1272
|
-
flag = true
|
|
1273
|
-
plan.state = true
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
if (!flag) {
|
|
1277
|
-
this.plans.push(onePlan)
|
|
1278
|
-
}
|
|
1279
|
-
} else {
|
|
1280
|
-
for (let plan of this.plans) {
|
|
1281
|
-
if (plan.id == row.f_userfiles_id) {
|
|
1282
|
-
plan.state = false
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
// let param = {id:row.id,isChoose:true}
|
|
1287
|
-
|
|
1288
|
-
if (this.isChooseAll(rows)) {
|
|
1289
|
-
this.all = true
|
|
1290
|
-
} else {
|
|
1291
|
-
this.all = false
|
|
1292
|
-
}
|
|
1293
|
-
// this.delRepetition()
|
|
1294
|
-
},
|
|
1295
|
-
uploadFiles () {
|
|
1296
|
-
this.showfiles = !this.showfiles
|
|
1297
|
-
},
|
|
1298
|
-
chooseAll () {
|
|
1299
|
-
if (this.all) {
|
|
1300
|
-
// this.chooseInfo[index-1] = []
|
|
1301
|
-
// for (let row of this.model.rows){
|
|
1302
|
-
// this.chooseInfo[index-1].push(row)
|
|
1303
|
-
// }
|
|
1304
|
-
// this.chooseInfo = Object.assign([],this.chooseInfo,this.model.rows)
|
|
1305
|
-
|
|
1306
|
-
for (let row of this.model.rows) {
|
|
1307
|
-
if (row.f_meter_state == '未下发') {
|
|
1308
|
-
let onePlan = {
|
|
1309
|
-
id: row.f_userfiles_id,
|
|
1310
|
-
state: true
|
|
1311
|
-
}
|
|
1312
|
-
let flag = false
|
|
1313
|
-
for (let plan of this.plans) {
|
|
1314
|
-
if (plan.id == row.f_userfiles_id) {
|
|
1315
|
-
flag = true
|
|
1316
|
-
plan.state = true
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
if (!flag) {
|
|
1320
|
-
this.plans.push(onePlan)
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
} else {
|
|
1325
|
-
// this.chooseInfo[index-1] = []
|
|
1326
|
-
// console.log("this.chooseInfo[index-1]",this.chooseInfo[index-1])
|
|
1327
|
-
for (let row of this.model.rows) {
|
|
1328
|
-
if (row.f_meter_state == '未下发') {
|
|
1329
|
-
for (let plan of this.plans) {
|
|
1330
|
-
if (plan.id == row.f_userfiles_id) {
|
|
1331
|
-
plan.state = false
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
508
|
+
loadMeterBooks () {
|
|
509
|
+
let meterbrand = this.$GetSaleParam.getGasbrand()
|
|
510
|
+
for (let row of meterbrand) {
|
|
511
|
+
console.log(row)
|
|
512
|
+
this.meterbrands.push({label: row.label, value: row.label})
|
|
1336
513
|
}
|
|
1337
514
|
},
|
|
1338
515
|
search () {
|
|
1339
|
-
// 查询前清空选择项
|
|
1340
|
-
this.plans = []
|
|
1341
516
|
this.$refs.paged.$refs.criteria.search()
|
|
1342
517
|
},
|
|
1343
518
|
clickupshow () {
|
|
1344
|
-
|
|
1345
|
-
this.$showMessage('你没有机表抄表导入抄表的权限,请联系管理员!')
|
|
1346
|
-
return
|
|
1347
|
-
}
|
|
519
|
+
console.log('in upload', this.upshow, !this.upshow)
|
|
1348
520
|
this.upshow = !this.upshow
|
|
1349
521
|
},
|
|
1350
|
-
deletehand () {
|
|
1351
|
-
if (!this.$login.r.find(value => value == '抄表计划删除')) {
|
|
1352
|
-
this.$showMessage('你没有【抄表计划删除】的权限,请联系管理员!')
|
|
1353
|
-
} else {
|
|
1354
|
-
if (this.deletestate) {
|
|
1355
|
-
console.log('mode', this.model)
|
|
1356
|
-
let cons = this.model.params
|
|
1357
|
-
this.$showMessage('删除后不可恢复,确认删除该批未抄表计划吗?', ['confirm', 'cancel']).then((res) => {
|
|
1358
|
-
if (res === 'confirm') {
|
|
1359
|
-
this.$resetpost('rs/logic/deletePlanAll', {data: cons}).then((res) => {
|
|
1360
|
-
this.$dispatch('refresh', '删除计划', cons)
|
|
1361
|
-
console.log('ressss:', res)
|
|
1362
|
-
this.$showAlert(`共计删除${res.data.index}条记录`, 'success', 2000)
|
|
1363
|
-
this.search()
|
|
1364
|
-
})
|
|
1365
|
-
}
|
|
1366
|
-
})
|
|
1367
|
-
} else {
|
|
1368
|
-
this.$showMessage('为保证误删操作,请先选择抄表单查询条件为未抄表,查询后,再点击删除计划按钮!')
|
|
1369
|
-
}
|
|
1370
|
-
}
|
|
1371
|
-
},
|
|
1372
522
|
searchPrint () {
|
|
1373
523
|
console.log('mode', this.model)
|
|
1374
524
|
let cons = this.model.params
|
|
525
|
+
console.log('查询条件', cons)
|
|
1375
526
|
let data = {
|
|
1376
527
|
'body': {
|
|
1377
528
|
'data': {
|
|
@@ -1382,7 +533,7 @@ export default {
|
|
|
1382
533
|
'sqlName': ''
|
|
1383
534
|
},
|
|
1384
535
|
'condition': cons,
|
|
1385
|
-
'sqlname': '
|
|
536
|
+
'sqlname': 'cardHands'
|
|
1386
537
|
}
|
|
1387
538
|
this.$resetpost('rs/logic/allExportExcel', {data: data}, {resolveMsg: null, rejectMsg: '上传失败'}).then((res) => {
|
|
1388
539
|
if (res.data === 'no user') {
|
|
@@ -1404,22 +555,22 @@ export default {
|
|
|
1404
555
|
}
|
|
1405
556
|
})
|
|
1406
557
|
},
|
|
1407
|
-
|
|
1408
|
-
this.
|
|
1409
|
-
|
|
1410
|
-
console.log('=====抄表1====', args.condition.includes('未抄表'))
|
|
1411
|
-
console.log('=====抄表1====', this.deletestate)
|
|
1412
|
-
if (args.condition.includes('未抄表')) {
|
|
1413
|
-
this.deletestate = true
|
|
1414
|
-
} else {
|
|
1415
|
-
this.deletestate = false
|
|
1416
|
-
}
|
|
1417
|
-
console.log('=====抄表1====', this.deletestate)
|
|
1418
|
-
if (!this.orgCondtionStr) {
|
|
1419
|
-
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
1420
|
-
} else {
|
|
1421
|
-
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
558
|
+
changeType () {
|
|
559
|
+
if (this.$refs.paged.$refs.criteria.model.f_meter_classify && this.$refs.paged.$refs.criteria.model.f_meter_classify.length > 0) {
|
|
560
|
+
this.$dispatch('type', this.$refs.paged.$refs.criteria.model.f_meter_classify[0])
|
|
1422
561
|
}
|
|
562
|
+
},
|
|
563
|
+
getRes (obj) {
|
|
564
|
+
this.orgCondtionStr = obj
|
|
565
|
+
},
|
|
566
|
+
selfSearch (args) {
|
|
567
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
568
|
+
|
|
569
|
+
this.startDate = this.$refs.paged.$refs.criteria.model.startDate
|
|
570
|
+
this.endDate = this.$refs.paged.$refs.criteria.model.endDate
|
|
571
|
+
console.log('卡表抄表查询参数,。,。', args, this.model)
|
|
572
|
+
this.model.params.startDate = this.$refs.paged.$refs.criteria.model.startDate
|
|
573
|
+
this.model.params.endDate = this.$refs.paged.$refs.criteria.model.endDate
|
|
1423
574
|
|
|
1424
575
|
// 抄表员查询条件
|
|
1425
576
|
this.inputtouPerson = this.$refs.paged.$refs.criteria.model.f_inputtor
|
|
@@ -1432,197 +583,131 @@ export default {
|
|
|
1432
583
|
// 查询多个抄表员时条件
|
|
1433
584
|
args.condition += ` and f_inputtor in ( ${str} )`
|
|
1434
585
|
}
|
|
1435
|
-
// 小区查询条件
|
|
1436
|
-
this.area = this.$refs.paged.$refs.criteria.model.f_residential_area
|
|
1437
|
-
console.log('=====小区model绑定====', this.area)
|
|
1438
|
-
if (this.area.length !== 0) {
|
|
1439
|
-
let str = JSON.stringify(this.area)
|
|
1440
|
-
str = str.replace(/"/g, `'`)
|
|
1441
|
-
str = str.replace(/\[/g, ``)
|
|
1442
|
-
str = str.replace(/\]/g, ``)
|
|
1443
|
-
console.log('=====小区model22222222222绑定====', str)
|
|
1444
|
-
// 查询多个小区时条件
|
|
1445
|
-
args.condition += ` and f_residential_area in ( ${str} )`
|
|
1446
|
-
}
|
|
1447
586
|
|
|
1448
|
-
if (
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
}
|
|
587
|
+
if (!this.orgCondtionStr) {
|
|
588
|
+
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
589
|
+
} else {
|
|
590
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
591
|
+
}
|
|
592
|
+
if (args.model.f_meter_state.length > 0) {
|
|
593
|
+
console.log('选择待审核状态了', args.model)
|
|
594
|
+
this.batch_audit = args.model.f_meter_state[0] !== '已抄表' && args.model.f_meter_state[0] !== '未抄表'
|
|
1452
595
|
}
|
|
1453
|
-
this.model.params.startDate = this.$refs.paged.$refs.criteria.model.startDate
|
|
1454
|
-
this.model.params.endDate = this.$refs.paged.$refs.criteria.model.endDate
|
|
1455
|
-
this.condition2 = args.condition
|
|
1456
|
-
console.log('selfsearch..', args.condition, this.model)
|
|
1457
596
|
this.model.search(args.condition, this.model)
|
|
1458
597
|
},
|
|
1459
598
|
reflash () {
|
|
1460
|
-
this.$refs.paged.$refs.criteria.
|
|
1461
|
-
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStartAndEndDateString()[0]
|
|
1462
|
-
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStartAndEndDateString()[1]
|
|
1463
|
-
this.search()
|
|
599
|
+
this.$refs.paged.$refs.criteria.search()
|
|
1464
600
|
},
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
if (row.f_tablebase) {
|
|
1469
|
-
if (row.f_tablebase < 0) {
|
|
1470
|
-
row.state = '失败'
|
|
1471
|
-
Vue.set(row, 'error', '底数不能小于0')
|
|
1472
|
-
this.speckText('底数不能小于0,请注意!')
|
|
1473
|
-
} else if (row.f_tablebase - parseInt(row.f_tablebase) !== 0) {
|
|
1474
|
-
row.state = '失败'
|
|
1475
|
-
Vue.set(row, 'error', '底数只能输入整数')
|
|
1476
|
-
this.speckText('底数只能输入整数,请注意!')
|
|
1477
|
-
} else if (row.f_tablebase < row.f_last_tablebase && !row.f_capacity) {
|
|
1478
|
-
row.state = '失败'
|
|
1479
|
-
Vue.set(row, 'error', '本期表底数不能低于上期表底数')
|
|
1480
|
-
this.speckText('本期表底数不能低于上期表底数,请注意!')
|
|
1481
|
-
} else {
|
|
1482
|
-
if (row.f_tablebase < row.f_last_tablebase) {
|
|
1483
|
-
this.$showMessage('本次抄表已超越最大量程, 请熟知!')
|
|
1484
|
-
}
|
|
1485
|
-
// 抄表结果状态没选默认给正常
|
|
1486
|
-
row.f_result_state = row.f_result_state ? row.f_result_state : '正常'
|
|
1487
|
-
beforenterGen(this, index, row)
|
|
1488
|
-
}
|
|
601
|
+
enter (row) {
|
|
602
|
+
if (!row.f_tablebase || ((row.f_tablebase - 0) - (row.f_last_tablebase - 0)).toFixed(2) < 0) {
|
|
603
|
+
return
|
|
1489
604
|
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
let auditFlag = false
|
|
1494
|
-
let num = (row.f_tablebase - row.f_last_tablebase)
|
|
1495
|
-
let reg = /^\d+,\d+$/
|
|
1496
|
-
if (row.f_user_type === '民用' && this.usermlimit) {
|
|
1497
|
-
if (!reg.test(this.usermlimit)) {
|
|
1498
|
-
this.$showMessage('民用自动审核区间参数设置有误, 请检查!')
|
|
1499
|
-
return
|
|
1500
|
-
}
|
|
1501
|
-
let limit = this.usermlimit.split(',')
|
|
1502
|
-
if (!(limit[0] - 0 <= num && num <= limit[1] - 0)) {
|
|
1503
|
-
auditFlag = true
|
|
1504
|
-
}
|
|
1505
|
-
} else if (row.f_user_type === '非民用' && this.userfmlimit) {
|
|
1506
|
-
if (!reg.test(this.userfmlimit)) {
|
|
1507
|
-
this.$showMessage('非民用自动审核区间参数设置有误, 请检查!')
|
|
1508
|
-
return
|
|
1509
|
-
}
|
|
1510
|
-
let limit = this.userfmlimit.split(',')
|
|
1511
|
-
if (!(limit[0] - 0 <= num && num <= limit[1] - 0)) {
|
|
1512
|
-
auditFlag = true
|
|
1513
|
-
}
|
|
1514
|
-
} else if (this.$appdata.getSingleValue('抄表审核') === '启用') {
|
|
1515
|
-
auditFlag = true
|
|
605
|
+
if (row.f_tablebase - parseInt(row.f_tablebase) !== 0) {
|
|
606
|
+
Vue.set(row, 'error', '底数只能输入整数')
|
|
607
|
+
return
|
|
1516
608
|
}
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
this.$
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
609
|
+
// || ((row.f_tablebase - 0) - (row.f_last_tablebase - 0)).toFixed(2) < 0
|
|
610
|
+
if (row.f_tablebase) {
|
|
611
|
+
// 如果本期底数大于上期底数生成超用收费
|
|
612
|
+
// if ((row.f_tablebase - 0) > (row.f_meter_base - 0)) {
|
|
613
|
+
// row.charge_type = '超用收费'
|
|
614
|
+
// row.f_real_amount = (row.f_tablebase - 0) - (row.f_last_tablebase - 0)
|
|
615
|
+
// } else if ((row.f_tablebase - 0) < (row.f_meter_base - 0)) {
|
|
616
|
+
// // 如果本地底数小于上期底数生成补差收费
|
|
617
|
+
// row.charge_type = '补差收费'
|
|
618
|
+
// row.f_real_amount = (row.f_tablebase - 0) - (row.f_last_tablebase - 0)
|
|
619
|
+
// } else if ((row.f_tablebase - 0) == (row.f_last_tablebase - 0)) {
|
|
620
|
+
// row.charge_type = '正常收费'
|
|
621
|
+
// row.f_real_amount = 0
|
|
622
|
+
// }
|
|
623
|
+
row.f_operator = this.$login.f.name
|
|
624
|
+
row.f_filiale = this.$login.f.f_fengongsi
|
|
625
|
+
row.f_outlets = this.$login.f.f_parentname
|
|
626
|
+
row.f_meter_state = '已抄表'
|
|
627
|
+
if (this.handDate) {
|
|
628
|
+
row.f_input_date = this.handDate
|
|
629
|
+
}
|
|
630
|
+
row.f_input_date = row.f_input_date ? row.f_input_date : Util.toStandardTimeString()
|
|
631
|
+
row.f_last_input_date = row.f_last_input_date ? row.f_last_input_date : row.f_input_date
|
|
632
|
+
row.f_operate_date = Util.toStandardTimeString()
|
|
633
|
+
row.f_filialeids = this.$login.f.orgid
|
|
634
|
+
row.f_orgid = this.$login.f.orgid
|
|
635
|
+
row.f_orgname = this.$login.f.orgs
|
|
636
|
+
row.f_depid = this.$login.f.depids
|
|
637
|
+
row.f_depname = this.$login.f.deps
|
|
638
|
+
row.f_operatorid = this.$login.f.id
|
|
639
|
+
row.f_user_id = row.f_user_id + ''
|
|
640
|
+
row.f_total_gas = row.total_gas
|
|
641
|
+
row.f_total_fee = row.total_fee
|
|
642
|
+
// 余气量=累购-(本期指数-表初始指数)
|
|
643
|
+
row.f_shengyu_gas = (row.f_total_gas - (row.f_tablebase - row.f_initial_base)).toFixed(2)
|
|
644
|
+
console.log('录入完毕。。', row)
|
|
645
|
+
this.$resetpost('rs/logic/cardCommonEnter', row, {resolveMsg: null, rejectMsg: '录入数据出错!!!'}).then((res) => {
|
|
646
|
+
console.log('返回数据', res)
|
|
647
|
+
row.id = res.data.id
|
|
648
|
+
console.log('录入完数据的row值,,', row)
|
|
1550
649
|
}).catch((error) => {
|
|
1551
650
|
row.state = '失败'
|
|
1552
651
|
Vue.set(row, 'error', JSON.stringify(error))
|
|
1553
|
-
this.speckText('抄表录入出错,请注意!')
|
|
1554
652
|
})
|
|
1555
653
|
} else {
|
|
1556
|
-
|
|
1557
|
-
row.f_input_person = this.$login.f.name
|
|
1558
|
-
row.f_inputtor = row.f_inputtor
|
|
1559
|
-
row.f_userinfo_id = row.f_userinfo_id + ''
|
|
1560
|
-
row.f_userfiles_id = row.f_userfiles_id + ''
|
|
1561
|
-
this.pass(row)
|
|
654
|
+
|
|
1562
655
|
}
|
|
1563
656
|
},
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
f_adjustment_volume: row.f_adjustment_volume ? row.f_adjustment_volume : 0
|
|
1573
|
-
}
|
|
1574
|
-
this.$resetpost('rs/logic/sale_commonEnter', {data: param}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
1575
|
-
row.f_meter_state = res.data.f_meter_state
|
|
1576
|
-
row.f_whether_pay = res.data.f_whether_pay
|
|
1577
|
-
row.f_oughtfee = res.data.f_oughtfee
|
|
1578
|
-
row.f_oughtamount = res.data.f_oughtamount
|
|
1579
|
-
// this.$resetpost('rs/logic/getMeterSms', {data: param}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
1580
|
-
// this.search()
|
|
1581
|
-
let f_result_state = '正常'
|
|
1582
|
-
if (row.f_result_state && row.f_result_state != '') {
|
|
1583
|
-
f_result_state = row.f_result_state
|
|
657
|
+
batchAudit () {
|
|
658
|
+
// 批量审核
|
|
659
|
+
console.log('录入完毕。。', this.model.condition)
|
|
660
|
+
this.$resetpost('rs/logic/batchCardHandAudit', {
|
|
661
|
+
data: {
|
|
662
|
+
condition: this.model.condition,
|
|
663
|
+
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
664
|
+
endDate: this.$refs.paged.$refs.criteria.model.endDate
|
|
1584
665
|
}
|
|
1585
|
-
|
|
1586
|
-
if (
|
|
1587
|
-
|
|
666
|
+
}, {resolveMsg: null, rejectMsg: '批量审核出错!!!'}, 0).then((res) => {
|
|
667
|
+
if (res.data.f_state === '异常') {
|
|
668
|
+
this.$showAlert(`本次审核有${res.data.handRepeatLength}户重复抄表,请处理后再进行审核操作!重复用户编号:${res.data.userRepeat}`, 'warning', 10000)
|
|
669
|
+
} else {
|
|
670
|
+
console.log('审核通过', res.data)
|
|
671
|
+
this.$showAlert(`批量审核成功!!! 审核抄表数: ${res.data.total}, 成功条数: ${res.data.success}`, 'success', 4000)
|
|
672
|
+
this.search()
|
|
1588
673
|
}
|
|
1589
|
-
let sqldata = `update t_handplan set f_result_state = '${f_result_state}' ${f_input_date} where id = '${row.id}'`
|
|
1590
|
-
this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '业务单号保存失败'})
|
|
1591
|
-
// }).catch((error) => {
|
|
1592
|
-
// row.state = '失败'
|
|
1593
|
-
// Vue.set(row, 'error', JSON.stringify(error))
|
|
1594
|
-
// this.speckText('抄表出错,请注意!')
|
|
1595
|
-
// })
|
|
1596
|
-
// this.search()
|
|
1597
|
-
}).catch((error) => {
|
|
1598
|
-
row.state = '失败'
|
|
1599
|
-
Vue.set(row, 'error', JSON.stringify(error))
|
|
1600
|
-
this.speckText('抄表出错,请注意!')
|
|
1601
674
|
})
|
|
1602
675
|
},
|
|
676
|
+
modify (row) {
|
|
677
|
+
// 录入错误进行修正
|
|
678
|
+
co(modifyGen(this, row, 'rs/logic/cardhandnopass'))
|
|
679
|
+
},
|
|
680
|
+
pass (row) {
|
|
681
|
+
co(modifyGen(this, row, 'rs/logic/cardhandpass'))
|
|
682
|
+
},
|
|
1603
683
|
nopass (row) {
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
684
|
+
co(modifyGen(this, row, 'rs/logic/cardhandnopass'))
|
|
685
|
+
},
|
|
686
|
+
cardhandCenter (row) {
|
|
687
|
+
// let load = new HttpResetClass()
|
|
688
|
+
// load.load('POST', 'rs/logic/Correct', {data: row}, {warnMsg: null, resolveMsg: null})
|
|
689
|
+
// 抄表加入权限
|
|
690
|
+
if (!this.$login.r.find(value => value == '卡表抄表冲正')) {
|
|
691
|
+
this.$showMessage('当前登录用户没有冲正权限, 请联系管理员!')
|
|
692
|
+
return
|
|
1612
693
|
}
|
|
1613
|
-
this
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
this.
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
694
|
+
this.cardCental = true
|
|
695
|
+
this.cardCentalData = row
|
|
696
|
+
},
|
|
697
|
+
cancel (row) {
|
|
698
|
+
row.operatorInfo = {
|
|
699
|
+
f_filiale: this.$login.f.f_fengongsi,
|
|
700
|
+
f_outlets: this.$login.f.f_parentname,
|
|
701
|
+
f_operator: this.$login.f.name,
|
|
702
|
+
cardreason: this.cardreason
|
|
703
|
+
}
|
|
704
|
+
row.f_last_hand_date = row.f_last_input_date
|
|
705
|
+
co(modifyGen(this, row, 'rs/logic/cardhandCancel'))
|
|
706
|
+
},
|
|
707
|
+
close () {
|
|
708
|
+
this.cardCental = false
|
|
709
|
+
this.cardCentalData = ''
|
|
710
|
+
this.cardreason = ''
|
|
1626
711
|
},
|
|
1627
712
|
clearError (row) {
|
|
1628
713
|
if (row.f_tablebase === 0) {
|
|
@@ -1630,157 +715,17 @@ export default {
|
|
|
1630
715
|
}
|
|
1631
716
|
Vue.set(row, 'error', null)
|
|
1632
717
|
},
|
|
1633
|
-
async speckText (str) {
|
|
1634
|
-
var url = 'http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=6&text=' + encodeURI(str)
|
|
1635
|
-
await new Audio(url).play()
|
|
1636
|
-
this.err = str
|
|
1637
|
-
this.showerr = true
|
|
1638
|
-
this.paycodefocus()
|
|
1639
|
-
},
|
|
1640
|
-
closeerr () {
|
|
1641
|
-
this.showerr = false
|
|
1642
|
-
},
|
|
1643
|
-
fileUpload () {
|
|
1644
|
-
this.uploadshow = true
|
|
1645
|
-
},
|
|
1646
718
|
// 删除这条计划
|
|
1647
719
|
delectHand (row) {
|
|
1648
720
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
|
1649
721
|
if (res === 'confirm') {
|
|
1650
|
-
this.$resetpost('rs/logic/
|
|
1651
|
-
|
|
1652
|
-
this.
|
|
722
|
+
this.$resetpost('rs/logic/deleteCardPlan', {data: row}).then(() => {
|
|
723
|
+
let condition = this.model.condition
|
|
724
|
+
this.selfSearch({condition: condition})
|
|
1653
725
|
})
|
|
1654
726
|
}
|
|
1655
727
|
})
|
|
1656
728
|
},
|
|
1657
|
-
cancelHand4 (row) {
|
|
1658
|
-
this.examinerow = row
|
|
1659
|
-
this.examineshow = true
|
|
1660
|
-
this.examinetype = true
|
|
1661
|
-
},
|
|
1662
|
-
cancelHand2 (row) {
|
|
1663
|
-
if (this.config.examine) {
|
|
1664
|
-
let handdate = new Date(row.f_hand_date)
|
|
1665
|
-
console.log('获取月份', handdate.getMonth())
|
|
1666
|
-
let ima = new Date()
|
|
1667
|
-
console.log('获取月份', ima.getMonth())
|
|
1668
|
-
if (handdate.getMonth() == ima.getMonth()) {
|
|
1669
|
-
this.cancelHand3(row)
|
|
1670
|
-
} else {
|
|
1671
|
-
if (!this.$login.r.find(value => value == '抄表隔月冲正')) {
|
|
1672
|
-
this.$showMessage('当前登录用户没有隔月冲正权限, 请联系管理员!')
|
|
1673
|
-
} else {
|
|
1674
|
-
this.cancelHand3(row)
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
} else {
|
|
1678
|
-
this.cancelHand3(row)
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
async cancelHand5 () {
|
|
1682
|
-
let sqldata = `update t_handplan set f_audit_state ='已审核',f_audit_person='${this.$login.f.name}',
|
|
1683
|
-
f_audit_date='${this.$login.toStandardTimeString()}' where id ='${this.examinerow.id}'`
|
|
1684
|
-
await this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '更新收费记录订单号失败'})
|
|
1685
|
-
|
|
1686
|
-
this.cancelHand3(this.examinerow)
|
|
1687
|
-
},
|
|
1688
|
-
cancelHand3 (row) {
|
|
1689
|
-
// 抄表加入权限
|
|
1690
|
-
if (!this.$login.r.find(value => value == '机表抄表冲正')) {
|
|
1691
|
-
this.$showMessage('当前登录用户没有冲正权限, 请联系管理员!')
|
|
1692
|
-
return
|
|
1693
|
-
}
|
|
1694
|
-
// console.log('抄表冲正。、。。、', row)
|
|
1695
|
-
let param = {
|
|
1696
|
-
f_hand_id: row.id,
|
|
1697
|
-
operInfo: {
|
|
1698
|
-
f_operator: this.$login.f.name,
|
|
1699
|
-
f_operatorid: this.$login.f.id,
|
|
1700
|
-
f_orgid: this.$login.f.orgid,
|
|
1701
|
-
f_orgname: this.$login.f.orgs,
|
|
1702
|
-
f_depid: this.$login.f.depids,
|
|
1703
|
-
f_depname: this.$login.f.deps
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
let url = 'rs/logic/sale_commonEnterCancel'
|
|
1707
|
-
this.$resetpost(url, {data: param}, {warnMsg: '确定对这条记录进行撤销吗?'}).then(() => {
|
|
1708
|
-
this.search()
|
|
1709
|
-
this.close()
|
|
1710
|
-
})
|
|
1711
|
-
},
|
|
1712
|
-
down (type, condition, data) {
|
|
1713
|
-
co(downGen(type, condition, data, this))
|
|
1714
|
-
},
|
|
1715
|
-
// 单条下发计划
|
|
1716
|
-
downHand (row) {
|
|
1717
|
-
console.log('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' + row.f_userfiles_id)
|
|
1718
|
-
this.down('single', `f_userfiles_id = '${row.f_userfiles_id}'`, row)
|
|
1719
|
-
},
|
|
1720
|
-
// 批量下发计划
|
|
1721
|
-
batchDownHand () {
|
|
1722
|
-
this.down('batch', this.model.condition, this.model.count)
|
|
1723
|
-
},
|
|
1724
|
-
// batchDownHand () {
|
|
1725
|
-
// this.condition = ''
|
|
1726
|
-
// let count = 0
|
|
1727
|
-
// for (let plan of this.plans){
|
|
1728
|
-
// if(plan.state){
|
|
1729
|
-
// this.condition = this.condition + plan.id + ','
|
|
1730
|
-
// count = count + 1
|
|
1731
|
-
// }
|
|
1732
|
-
// }
|
|
1733
|
-
// this.down('batch', `f_user_id in (${this.condition.substring(0,this.condition.length-1)})`,count)
|
|
1734
|
-
// },
|
|
1735
|
-
// allDownHand () {
|
|
1736
|
-
// this.down('all', this.model.condition, this.model.count)
|
|
1737
|
-
// },
|
|
1738
|
-
|
|
1739
|
-
validateDate () {
|
|
1740
|
-
let currentDown = new Date(this.downModel.downDate)
|
|
1741
|
-
console.log(new Date(this.$refs.paged.$refs.criteria.model.startDate))
|
|
1742
|
-
console.log(new Date(this.$refs.paged.$refs.criteria.model.endDate))
|
|
1743
|
-
return currentDown >= new Date(this.$refs.paged.$refs.criteria.model.startDate + ' 00:00:00') && currentDown <= new Date(this.$refs.paged.$refs.criteria.model.endDate + ' 23:59:59')
|
|
1744
|
-
},
|
|
1745
|
-
|
|
1746
|
-
async examineconfirm () {
|
|
1747
|
-
let sqldata = `update t_handplan set f_audit_state ='审核中',f_examinereason='${this.examinerow.f_examinereason}' where id ='${this.examinerow.id}'`
|
|
1748
|
-
await this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: null})
|
|
1749
|
-
this.close()
|
|
1750
|
-
this.search()
|
|
1751
|
-
},
|
|
1752
|
-
// 关闭下发计划得弹出框
|
|
1753
|
-
close () {
|
|
1754
|
-
this.show = false
|
|
1755
|
-
this.inputtor_show = false
|
|
1756
|
-
this.downConfirm = false
|
|
1757
|
-
this.examineshow = false
|
|
1758
|
-
this.examinetype = false
|
|
1759
|
-
this.detailsShow = false
|
|
1760
|
-
this.priceModel = false
|
|
1761
|
-
// 初始化模态框数据
|
|
1762
|
-
this.initModal()
|
|
1763
|
-
if (this.uploadshow) {
|
|
1764
|
-
this.uploadshow = false
|
|
1765
|
-
// 讲选的文件清空
|
|
1766
|
-
this.$refs.file.$el.querySelector('input').value = ''
|
|
1767
|
-
}
|
|
1768
|
-
},
|
|
1769
|
-
initModal () {
|
|
1770
|
-
this.downModel = {
|
|
1771
|
-
downDate: Vue.$login.toStandardDateString(),
|
|
1772
|
-
downWay: 'downWithUserfiles',
|
|
1773
|
-
downInputtor: []
|
|
1774
|
-
}
|
|
1775
|
-
this.inputtorModel = {
|
|
1776
|
-
inputtor: [],
|
|
1777
|
-
reason: ''
|
|
1778
|
-
}
|
|
1779
|
-
},
|
|
1780
|
-
// 判断当前登陆人是不是子公司的人员
|
|
1781
|
-
isHead () {
|
|
1782
|
-
return this.$login.f.parent.parent.name.includes('统一资源管理')
|
|
1783
|
-
},
|
|
1784
729
|
sort (field, rule) {
|
|
1785
730
|
// 将所有排序方式设为不排序,实现相互排斥
|
|
1786
731
|
for (let key in this.orderFields) {
|
|
@@ -1792,108 +737,16 @@ export default {
|
|
|
1792
737
|
}
|
|
1793
738
|
// 如果新规则不排序,还原为默认排序
|
|
1794
739
|
if (rule === 'no') {
|
|
1795
|
-
this.model.paramSource.orderitem = `'${this.
|
|
740
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
1796
741
|
} else {
|
|
1797
742
|
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
1798
743
|
}
|
|
744
|
+
|
|
1799
745
|
this.search()
|
|
1800
|
-
},
|
|
1801
|
-
guid () {
|
|
1802
|
-
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
1803
|
-
let r = Math.random() * 16 | 0,
|
|
1804
|
-
v = c == 'x' ? r : (r & 0x3 | 0x8)
|
|
1805
|
-
return v.toString(16)
|
|
1806
|
-
})
|
|
1807
|
-
},
|
|
1808
|
-
computeAmount (event) {
|
|
1809
|
-
let money = event.target.value
|
|
1810
|
-
if (this.row.f_price_type === '固定气价') {
|
|
1811
|
-
let price = this.$refs.mix_price.model.f_price
|
|
1812
|
-
// 可以购买的总气量
|
|
1813
|
-
let purchaseSum = (money / price).toFixed(2)
|
|
1814
|
-
// 计算应抄底数
|
|
1815
|
-
this.should_base = (this.row.f_last_tablebase - 0) + (purchaseSum - 0)
|
|
1816
|
-
// 计算公式
|
|
1817
|
-
this.designFormulas = `${purchaseSum}X${price}`
|
|
1818
|
-
} else {
|
|
1819
|
-
let mydata = this.$refs.statir.mydata
|
|
1820
|
-
// 剩余1阶气量
|
|
1821
|
-
let surplus1 = (mydata.f_stair1ceiling - (mydata.f_hasuse1 > 0 ? mydata.f_hasuse1 : 0))
|
|
1822
|
-
// 把1阶买完的钱
|
|
1823
|
-
let price1 = surplus1 * mydata.f_stair1price
|
|
1824
|
-
// 剩余2阶气量
|
|
1825
|
-
let surplus2 = (mydata.f_stair2ceiling - mydata.f_stair1ceiling - (mydata.f_hasuse2 > 0 ? mydata.f_hasuse2 : 0)).toFixed(2)
|
|
1826
|
-
// 把2阶买完的钱
|
|
1827
|
-
let price2 = surplus2 * mydata.f_stair2price
|
|
1828
|
-
// 兼容一下
|
|
1829
|
-
if (this.$refs.statir.jt != 3) {
|
|
1830
|
-
this.$showMessage('暂不支持该气价类型的运算,请联系开发人员!')
|
|
1831
|
-
}
|
|
1832
|
-
// 开始计算
|
|
1833
|
-
// 可以购买各阶梯量
|
|
1834
|
-
let purchase1 = 0
|
|
1835
|
-
let purchase2 = 0
|
|
1836
|
-
let purchase3 = 0
|
|
1837
|
-
if (money <= price1) {
|
|
1838
|
-
purchase1 = (money / mydata.f_stair1price).toFixed(2)
|
|
1839
|
-
} else if (money <= (price1 + price2)) {
|
|
1840
|
-
purchase1 = surplus1
|
|
1841
|
-
purchase2 = ((money - price1) / mydata.f_stair2price).toFixed(2)
|
|
1842
|
-
} else {
|
|
1843
|
-
purchase1 = surplus1
|
|
1844
|
-
purchase2 = surplus2
|
|
1845
|
-
purchase3 = ((money - price1 - price2) / mydata.f_stair3price).toFixed(2)
|
|
1846
|
-
}
|
|
1847
|
-
// 可以购买的总气量
|
|
1848
|
-
let purchaseSum = (purchase1 - 0) + (purchase2 - 0) + (purchase3 - 0)
|
|
1849
|
-
// 计算应抄底数
|
|
1850
|
-
this.should_base = (this.row.f_last_tablebase - 0) + purchaseSum
|
|
1851
|
-
// 计算公式
|
|
1852
|
-
this.designFormulas = `${purchase1}X${mydata.f_stair1price} + ${purchase2}X${mydata.f_stair2price} + ${purchase3}X${mydata.f_stair3price}`
|
|
1853
|
-
}
|
|
1854
|
-
this.should_base = this.should_base.toFixed(2) - 0
|
|
1855
746
|
}
|
|
1856
747
|
},
|
|
1857
|
-
watch: {
|
|
1858
|
-
'downModel.downWay' (val) {
|
|
1859
|
-
if (val === 'downWithSelf') {
|
|
1860
|
-
console.log('抄表员。。', this.inputtores2)
|
|
1861
|
-
if (this.inputtores2.length > 0) {
|
|
1862
|
-
this.downModel.downInputtor = [this.inputtores2[0].value]
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
},
|
|
1866
|
-
'detailsShow' (val) {
|
|
1867
|
-
if (!val) {
|
|
1868
|
-
this.should_base = 0
|
|
1869
|
-
this.designFormulas = null
|
|
1870
|
-
this.$els.inputmoney.value = 0
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
// 'model.rows'(val){
|
|
1874
|
-
// console.log('页面切换',val)
|
|
1875
|
-
// if(this.isChooseAll(val)){
|
|
1876
|
-
// this.all = true
|
|
1877
|
-
// }else{
|
|
1878
|
-
// this.all = false
|
|
1879
|
-
// }
|
|
1880
|
-
// },
|
|
1881
|
-
},
|
|
1882
748
|
computed: {
|
|
1883
|
-
|
|
1884
|
-
return '单户抄表 当前计划年月:' + this.downModel.downDate
|
|
1885
|
-
},
|
|
1886
|
-
getCondition () {
|
|
1887
|
-
// return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
1888
|
-
return {
|
|
1889
|
-
startDate: this.$refs.paged.$refs.criteria.model.startDate,
|
|
1890
|
-
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
1891
|
-
orderitem: this.orderDefault ? this.orderDefault : 'id',
|
|
1892
|
-
condition: this.condition2
|
|
1893
|
-
}
|
|
1894
|
-
},
|
|
1895
|
-
|
|
1896
|
-
inputtores () {
|
|
749
|
+
inputtore () {
|
|
1897
750
|
// 获取抄表员
|
|
1898
751
|
console.log('获取抄表员', this.$login.f)
|
|
1899
752
|
let rs = []
|
|
@@ -1909,6 +762,40 @@ export default {
|
|
|
1909
762
|
this.inputtores2 = rs
|
|
1910
763
|
return [...rs]
|
|
1911
764
|
},
|
|
765
|
+
meterstates () {
|
|
766
|
+
return [{label: '全部', value: ''}, {label: '未抄表', value: "= '未抄表'"}, {
|
|
767
|
+
label: '已抄表',
|
|
768
|
+
value: "= '已抄表'"
|
|
769
|
+
}, {label: '冲正', value: "='冲正'"}]
|
|
770
|
+
},
|
|
771
|
+
specialuser () {
|
|
772
|
+
return [{label: '全部', value: ''}, {label: '正常用户', value: "= '正常用户'"}, {label: '采暖户', value: "= '采暖户'"}]
|
|
773
|
+
},
|
|
774
|
+
usertypes () {
|
|
775
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
776
|
+
},
|
|
777
|
+
userlevels () {
|
|
778
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
|
|
779
|
+
},
|
|
780
|
+
smallareas () {
|
|
781
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('小区域')]
|
|
782
|
+
},
|
|
783
|
+
ventilationstate () {
|
|
784
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('通气手续')]
|
|
785
|
+
},
|
|
786
|
+
gasproperties () {
|
|
787
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
788
|
+
},
|
|
789
|
+
pricenames () {
|
|
790
|
+
let arr = []
|
|
791
|
+
AppData.getOnlyPrice().forEach((item) => {
|
|
792
|
+
let temp = {}
|
|
793
|
+
temp.label = item.label
|
|
794
|
+
temp.value = item.value.f_price_name
|
|
795
|
+
arr.push(temp)
|
|
796
|
+
})
|
|
797
|
+
return [{label: '全部', value: ''}, ...arr]
|
|
798
|
+
},
|
|
1912
799
|
whetherpaies () {
|
|
1913
800
|
return [
|
|
1914
801
|
{label: '全部', value: ''},
|
|
@@ -1918,151 +805,63 @@ export default {
|
|
|
1918
805
|
},
|
|
1919
806
|
// 界面细节权限
|
|
1920
807
|
jurisdiction () {
|
|
1921
|
-
console.log('抄表界面细节', this.$login.r)
|
|
1922
808
|
return this.$login.r ? this.$login.r : []
|
|
1923
809
|
},
|
|
1924
|
-
|
|
1925
|
-
return [
|
|
1926
|
-
|
|
1927
|
-
{label: '
|
|
1928
|
-
|
|
1929
|
-
]
|
|
1930
|
-
},
|
|
1931
|
-
ischecked () {
|
|
1932
|
-
return function (row) {
|
|
1933
|
-
for (let plan of this.plans) {
|
|
1934
|
-
if (plan.id == row.f_userfiles_id) {
|
|
1935
|
-
return plan.state
|
|
1936
|
-
}
|
|
1937
|
-
}
|
|
1938
|
-
}
|
|
810
|
+
brand () {
|
|
811
|
+
return [{
|
|
812
|
+
label: '全部',
|
|
813
|
+
value: {f_meter_brand: '', gasmodel: [{label: '全部', value: {f_meter_style: ''}}]}
|
|
814
|
+
}, ...AppData.getGasbrand()]
|
|
1939
815
|
}
|
|
1940
816
|
},
|
|
1941
817
|
events: {
|
|
1942
|
-
onFileUpload:
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
let
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
818
|
+
onFileUpload: function (file, res) {
|
|
819
|
+
console.log('进入了抄表上传')
|
|
820
|
+
let uuid = this.$login.guid()
|
|
821
|
+
let data1 = {
|
|
822
|
+
filepath: res.f_downloadpath,
|
|
823
|
+
f_operator: this.$login.f.name,
|
|
824
|
+
f_operatorid: this.$login.f.id,
|
|
825
|
+
f_orgid: this.$login.f.orgid,
|
|
826
|
+
f_orgname: this.$login.f.orgs,
|
|
827
|
+
f_depid: this.$login.f.depids,
|
|
828
|
+
f_depname: this.$login.f.deps,
|
|
829
|
+
uuid: uuid
|
|
830
|
+
}
|
|
831
|
+
console.log('传入数据', data1)
|
|
832
|
+
try {
|
|
833
|
+
this.$resetpost('rs/handPlanAudit/cardBatchCommonEnter', data1, {resolveMsg: null, rejectMsg: null}, 1000)
|
|
834
|
+
} catch (e) {
|
|
835
|
+
}
|
|
836
|
+
this.$showMessage(`正在批量处理中, 请耐心等待...`, [])
|
|
837
|
+
// 启动定时器定时查询处理结果
|
|
838
|
+
this.timer = setInterval(async () => {
|
|
839
|
+
let res = await this.HttpReset.load('POST', 'rs/logic/getBatchOperaPro', {data: {uuid: uuid}}, {
|
|
840
|
+
resolveMsg: null,
|
|
841
|
+
rejectMsg: null
|
|
842
|
+
})
|
|
843
|
+
console.log('查询进度返回: ', res)
|
|
844
|
+
if (res.data.msg || res.data.error) {
|
|
845
|
+
clearInterval(this.timer)
|
|
846
|
+
this.$closeMessage()
|
|
847
|
+
if (res.data.error) {
|
|
848
|
+
this.$showAlert(`${res.data.error}`, 'danger')
|
|
849
|
+
return
|
|
1971
850
|
}
|
|
1972
|
-
|
|
1973
|
-
return
|
|
1974
|
-
}
|
|
1975
|
-
let data = {
|
|
1976
|
-
model: {
|
|
1977
|
-
f_operator: this.$login.f.name,
|
|
1978
|
-
f_end_date: this.$login.nextMonth20(this.$login.toStandardTimeString())
|
|
1979
|
-
},
|
|
1980
|
-
filepath: res.path
|
|
1981
|
-
}
|
|
1982
|
-
if (res.f_downloadpath.includes('抄表数据')) {
|
|
1983
|
-
console.log('进入了抄表上传')
|
|
1984
|
-
let data1 = {
|
|
1985
|
-
filepath: res.f_downloadpath
|
|
1986
|
-
}
|
|
1987
|
-
this.$resetpost('rs/logic/upLoadHand', data1, {resolveMsg: null, rejectMsg: '上传失败'}, 0).then((res) => {
|
|
1988
|
-
// console.log('终于成功了', res)
|
|
851
|
+
await this.$showMessage(`处理总条数: ${res.data.n}, 成功${res.data.success}条, 失败${res.data.fail}条`)
|
|
1989
852
|
this.upshow = false
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
} else if (data.filepath.includes('先锋')) {
|
|
1994
|
-
this.$resetpost('rs/logic/xfimport', data, {resolveMsg: null, rejectMsg: '上传失败'}, 0).then((res) => {
|
|
1995
|
-
// console.log('终于成功了', res)
|
|
1996
|
-
this.uploadshow = false
|
|
1997
|
-
this.$showAlert(`一共上传${res.data.total}条数据, 成功${res.data.successnum}条, 未抄下发${res.data.nohandnum}条, 失败下发${res.data.failednum}条, 异常下发${res.data.exceptionnum}条`, 'success', 2000)
|
|
1998
|
-
this.$parent.search()
|
|
1999
|
-
})
|
|
2000
|
-
} else if (data.filepath.includes('伦力')) {
|
|
2001
|
-
this.$resetpost('rs/logic/llimport', data, {resolveMsg: null, rejectMsg: '上传失败'}, 0).then((res) => {
|
|
2002
|
-
// console.log('终于成功了', res)
|
|
2003
|
-
this.uploadshow = false
|
|
2004
|
-
this.$showAlert(`一共上传${res.data.total}条数据, 成功${res.data.successnum}条, 未抄下发${res.data.nohandnum}条, 失败下发${res.data.failednum}条, 异常下发${res.data.exceptionnum}条`, 'success', 2000)
|
|
2005
|
-
this.$parent.search()
|
|
2006
|
-
})
|
|
2007
|
-
}
|
|
2008
|
-
},
|
|
2009
|
-
dblclick: function (row, index) {
|
|
2010
|
-
this.row = row
|
|
2011
|
-
this.detailsShow = true
|
|
853
|
+
this.search()
|
|
854
|
+
}
|
|
855
|
+
}, 5000)
|
|
2012
856
|
}
|
|
2013
857
|
}
|
|
2014
858
|
}
|
|
2015
859
|
</script>
|
|
2016
860
|
<style lang="less">
|
|
2017
|
-
#
|
|
2018
|
-
display: flex;
|
|
2019
|
-
justify-content: space-around;
|
|
2020
|
-
align-items: center;
|
|
2021
|
-
|
|
2022
|
-
.btn {
|
|
2023
|
-
margin: 0px;
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
.hand-loading {
|
|
2027
|
-
border: 3px solid #ccc;
|
|
2028
|
-
border-right-color: #337ab7;
|
|
2029
|
-
border-radius: 50%;
|
|
2030
|
-
animation: spin 0.6s linear;
|
|
2031
|
-
position: absolute;
|
|
2032
|
-
animation-iteration-count: infinite;
|
|
2033
|
-
top: 0;
|
|
2034
|
-
right: 50%;
|
|
2035
|
-
z-index: 2;
|
|
2036
|
-
display: block;
|
|
2037
|
-
width: 28px;
|
|
2038
|
-
height: 28px;
|
|
2039
|
-
line-height: 28px;
|
|
2040
|
-
text-align: center;
|
|
2041
|
-
pointer-events: none;
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
@keyframes spin {
|
|
2045
|
-
100% {
|
|
2046
|
-
transform: rotate(360deg);
|
|
2047
|
-
}
|
|
2048
|
-
}
|
|
2049
|
-
.detail-panel {
|
|
2050
|
-
text-align: center;
|
|
2051
|
-
color: #31708f;
|
|
2052
|
-
background-color: #e8f1f9;
|
|
2053
|
-
border-color: #F2F6FA;
|
|
2054
|
-
}
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
#hand_manager_grid {
|
|
861
|
+
#CardHand {
|
|
2058
862
|
thead {
|
|
2059
863
|
position: relative;
|
|
2060
864
|
z-index: 2;
|
|
2061
865
|
}
|
|
2062
866
|
}
|
|
2063
|
-
#machineHandManager {
|
|
2064
|
-
.color-red {
|
|
2065
|
-
color: red;
|
|
2066
|
-
}
|
|
2067
|
-
}
|
|
2068
867
|
</style>
|