manage-client 3.3.44 → 3.3.46

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.
Files changed (114) hide show
  1. package/package.json +1 -1
  2. package/src/components/SellReport/AmountGas.vue +2 -2
  3. package/src/components/SellReport/ApplyFillmoney.vue +1 -1
  4. package/src/components/SellReport/BonSummary.vue +3 -3
  5. package/src/components/SellReport/BusSummaryes.vue +1 -1
  6. package/src/components/SellReport/BusinessClassify.vue +1 -1
  7. package/src/components/SellReport/BusinessMoneyReport.vue +1 -1
  8. package/src/components/SellReport/BusinessReport.vue +3 -3
  9. package/src/components/SellReport/CaiManageDayGas.vue +2 -2
  10. package/src/components/SellReport/Cardapplysgas.vue +1 -1
  11. package/src/components/SellReport/ChManageBusSummary.vue +2 -2
  12. package/src/components/SellReport/ChManageHandSellMoney.vue +2 -2
  13. package/src/components/SellReport/ChManageMonthGas.vue +2 -2
  14. package/src/components/SellReport/ChOtherfee.vue +2 -2
  15. package/src/components/SellReport/ChSellReport.vue +2 -2
  16. package/src/components/SellReport/ChargeBill.vue +3 -3
  17. package/src/components/SellReport/ChargeDayTable.vue +2 -2
  18. package/src/components/SellReport/ChargeMonthTable.vue +2 -2
  19. package/src/components/SellReport/ChargeYearTable.vue +2 -2
  20. package/src/components/SellReport/CivilGasReport.vue +3 -3
  21. package/src/components/SellReport/DepartmentPrick.vue +1 -1
  22. package/src/components/SellReport/DeptHomePage.vue +2 -2
  23. package/src/components/SellReport/ESaleMonthReport.vue +3 -3
  24. package/src/components/SellReport/FinanceSellType.vue +3 -3
  25. package/src/components/SellReport/GFReportWH.vue +3 -3
  26. package/src/components/SellReport/GYReportWH.vue +3 -3
  27. package/src/components/SellReport/GasBusinessDayMoney.vue +3 -3
  28. package/src/components/SellReport/GasMeterBrand.vue +1 -1
  29. package/src/components/SellReport/GasMoneyOtherType.vue +3 -3
  30. package/src/components/SellReport/GasMoneyPublicMoney.vue +3 -3
  31. package/src/components/SellReport/GasMoneyPublicReport.vue +3 -3
  32. package/src/components/SellReport/GasMoneyPublicReportHand.vue +3 -3
  33. package/src/components/SellReport/GasMoneyReport.vue +3 -3
  34. package/src/components/SellReport/GasPrice.vue +3 -3
  35. package/src/components/SellReport/GasPriceGroup.vue +1 -1
  36. package/src/components/SellReport/GasSummary.vue +2 -2
  37. package/src/components/SellReport/Gasc.vue +2 -2
  38. package/src/components/SellReport/HandplanBili.vue +3 -3
  39. package/src/components/SellReport/HandplanUserCount.vue +1 -1
  40. package/src/components/SellReport/JiManageBusSummary.vue +3 -3
  41. package/src/components/SellReport/ManageBusSummary.vue +3 -3
  42. package/src/components/SellReport/ManageBusSummarynopay.vue +3 -3
  43. package/src/components/SellReport/ManageBusSummarys.vue +3 -3
  44. package/src/components/SellReport/ManageGasPrice.vue +3 -3
  45. package/src/components/SellReport/ManageGasSumChange.vue +2 -2
  46. package/src/components/SellReport/ManageGasSumChangeTwo.vue +2 -2
  47. package/src/components/SellReport/ManageGasSumOtherCharge.vue +3 -3
  48. package/src/components/SellReport/ManageHandInputtor.vue +3 -3
  49. package/src/components/SellReport/ManageHandSellInputtor.vue +3 -3
  50. package/src/components/SellReport/ManageNewGasPrice.vue +3 -3
  51. package/src/components/SellReport/ManageUserCount.vue +2 -2
  52. package/src/components/SellReport/MarketMonth.vue +1 -1
  53. package/src/components/SellReport/MarketMonthMoney.vue +3 -3
  54. package/src/components/SellReport/MarketMonthgas.vue +3 -3
  55. package/src/components/SellReport/MeterGasMoney.vue +1 -1
  56. package/src/components/SellReport/MeterPrice.vue +3 -3
  57. package/src/components/SellReport/MeterReader.vue +2 -2
  58. package/src/components/SellReport/NonResidentGas.vue +3 -3
  59. package/src/components/SellReport/OperatorSellReport.vue +3 -3
  60. package/src/components/SellReport/OtherChargePublicReport.vue +3 -3
  61. package/src/components/SellReport/OutletTable.vue +3 -3
  62. package/src/components/SellReport/PaymentDistribute.vue +1 -1
  63. package/src/components/SellReport/PaymentMethod.vue +1 -1
  64. package/src/components/SellReport/PriceReportWH.vue +3 -3
  65. package/src/components/SellReport/PriceReportWHwu.vue +3 -3
  66. package/src/components/SellReport/QTXManageBusSummary.vue +3 -3
  67. package/src/components/SellReport/QibiaoShouqi.vue +3 -3
  68. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +1 -1
  69. package/src/components/SellReport/SYReportWH.vue +3 -3
  70. package/src/components/SellReport/SaleMonthReport.vue +1 -1
  71. package/src/components/SellReport/UnCivilGasReport.vue +3 -3
  72. package/src/components/SellReport/UserBalanceReport.vue +3 -3
  73. package/src/components/SellReport/UserClassify.vue +2 -2
  74. package/src/components/SellReport/UserSellingGas.vue +3 -3
  75. package/src/components/SellReport/WeiNanYuShou.vue +2 -2
  76. package/src/components/SellReport/YuShouTable.vue +1 -1
  77. package/src/components/SellReport/applyHunum.vue +3 -3
  78. package/src/components/SellReport/applysFillmoney.vue +1 -1
  79. package/src/components/SellReport/chaostyle.vue +1 -1
  80. package/src/components/SellReport/chargeSchedule.vue +2 -2
  81. package/src/components/SellReport/charge_handfee.vue +3 -3
  82. package/src/components/SellReport/charge_handmeter.vue +3 -3
  83. package/src/components/SellReport/charge_handmoney.vue +3 -3
  84. package/src/components/SellReport/chargestyle.vue +1 -1
  85. package/src/components/SellReport/feimin_style.vue +1 -1
  86. package/src/components/SellReport/jingwei/CardCharge.vue +1 -1
  87. package/src/components/SellReport/jingwei/MachineCharge.vue +2 -2
  88. package/src/components/SellReport/jingwei/PaymentNotice.vue +1 -1
  89. package/src/components/SellReport/jingwei/handplanReport.vue +0 -6
  90. package/src/components/SellReport/pengan/ManageBusPeng.vue +3 -3
  91. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +3 -3
  92. package/src/components/SellReport/shangyenum.vue +3 -3
  93. package/src/components/SellReport/shexian/SxMonthSummary.vue +3 -3
  94. package/src/components/SellReport/shexian/SxSummary.vue +3 -3
  95. package/src/components/SellReport/shoufeistyle.vue +1 -1
  96. package/src/components/SellReport/tl_handgas.vue +3 -3
  97. package/src/components/SellReport/tl_handmoney.vue +3 -3
  98. package/src/components/SellReport/tongchuan/ReportGasType.vue +1 -1
  99. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +1 -1
  100. package/src/filiale/kelai/feimin_style.vue +1 -1
  101. package/src/filiale/lixianV3/InvoiceDetailsQuery.vue +61 -33
  102. package/src/filiale/lixianV3/config/exportConfig.js +4 -4
  103. package/src/filiale/macheng/ManageBusSummary.vue +3 -3
  104. package/src/filiale/ningjin/ManageBusSummaryPeng.vue +3 -3
  105. package/src/filiale/ningjin/report/JiManageBusSummary.vue +3 -3
  106. package/src/filiale/ningjin/report/ManageBusSummary.vue +3 -3
  107. package/src/filiale/ningjin/report/ManageSellType.vue +3 -3
  108. package/src/filiale/qianneng/ManageBusSummary.vue +3 -3
  109. package/src/filiale/shexian/ChargeQuery.vue +1359 -0
  110. package/src/filiale/shexian/sale.js +4 -0
  111. package/src/filiale/shiquan/BusSummaryes.vue +1 -1
  112. package/src/filiale/tongchuan/GasPrice.vue +3 -3
  113. package/src/filiale/tongchuan/ManageBusSummary.vue +1 -1
  114. package/src/filiale/zhongyi/ManageBusSummaryPeng.vue +3 -3
@@ -0,0 +1,1359 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :format="'yyyy-MM-dd HH:mm:ss'"
15
+ :show-reset-button="true"
16
+ condition="f_operate_date >= '{}'">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">结束日期</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true"
26
+ condition="f_operate_date <= '{}'">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">客户编号</label>
31
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
+ </div>
34
+ <div class="col-sm-2 form-group">
35
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
36
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
37
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
38
+ </div>
39
+
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
42
+ <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
43
+ <button class="button_search button_spacing" @click="search()">查询</button>
44
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
45
+
46
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
+ :defaultselect="$parent.$parent.defaultexport"
49
+ sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
50
+ :choose-col="true">
51
+ </export-excel>
52
+
53
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
54
+ :defaultfield="$parent.$parent.defaultfield"
55
+ titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
56
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
58
+
59
+ </div>
60
+ </div>
61
+ <div class="row" v-show="$parent.$parent.criteriaShow">
62
+ <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">客户名称</label>
65
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
66
+ condition="f_user_name = '{}'" placeholder="客户名称">
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">收费编号</label>
70
+ <input type="text" style="width:60%" class="input_search" v-model="model.id"
71
+ condition="id = '{}'" placeholder="收费编号">
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">客户电话</label>
75
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
76
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
77
+ </div>
78
+ <div class="col-sm-2 form-group">
79
+ <label class="font_normal_body">身份证号</label>
80
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
81
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
82
+ </div>
83
+ <div class="col-sm-2 form-group">
84
+ <label class="font_normal_body">客户地址</label>
85
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
86
+ condition="f_address like '%{}%'" placeholder='客户地址'>
87
+ </div>
88
+ <div class="col-sm-2 form-group">
89
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
90
+ <v-select :value.sync="model.f_residential_area"
91
+ class="select_list select"
92
+ v-model="model.f_residential_area"
93
+ style="width: 60%"
94
+ multiple
95
+ condition="f_residential_area in {}"
96
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
97
+ close-on-select>
98
+
99
+ </v-select>
100
+ </div>
101
+ <div class="col-sm-2 form-group">
102
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
103
+ <v-select :value.sync="model.f_payment" multiple
104
+ v-model="model.f_payment"
105
+ :options='$parent.$parent.payment' placeholder='请选择'
106
+ condition="f_payment in {}"
107
+ close-on-select></v-select>
108
+ </div>
109
+ <div class="col-sm-2 form-group" v-if="$parent.$parent.titleShow">
110
+ <label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
111
+ <v-select :value.sync="model.f_bank_type" multiple
112
+ v-model="model.f_bank_type"
113
+ :options='$parent.$parent.banktype' placeholder='请选择'
114
+ condition="f_bank_type in {}"
115
+ close-on-select></v-select>
116
+ </div>
117
+ <div class="col-sm-2 form-group">
118
+ <label class="font_normal_body">收费类型</label>
119
+ <!-- <v-select :value.sync="model.f_type"
120
+ v-model="model.f_type"
121
+ :options='$parent.$parent.chargetype' placeholder='请选择'
122
+ condition="f_type = '{}'"
123
+ close-on-select></v-select>-->
124
+ <v-select :value.sync="model.f_type" multiple
125
+ :options='$parent.$parent.chargetype' placeholder='请选择'
126
+ close-on-select clear-button
127
+ condition="f_type in {}"
128
+ v-model="model.f_type"></v-select>
129
+ </div>
130
+ <div class="col-sm-2 form-group">
131
+ <label class="font_normal_body">客户类型</label>
132
+ <v-select :value.sync="model.f_user_type"
133
+ @change="$parent.$parent.userTypeChange()"
134
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
135
+ condition="f_user_type = '{}'"
136
+ close-on-select></v-select>
137
+ </div>
138
+ <div class="col-sm-2 form-group">
139
+ <label class="font_normal_body">用气性质</label>
140
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
141
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
142
+ condition="f_gasproperties = '{}'"
143
+ close-on-select></v-select>
144
+ </div>
145
+ <div class="col-sm-2 form-group">
146
+ <label class="font_normal_body">气价类型</label>
147
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
148
+ @change="$parent.$parent.pricetypechanged"
149
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
150
+ close-on-select v-ref:type>
151
+ </v-select>
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body">气价名称</label>
155
+ <v-select :value.sync="model.f_price_name"
156
+ v-model="model.f_price_name"
157
+ multiple
158
+ :options="$parent.$parent.getPricenames"
159
+ condition="f_price_name in {}"
160
+ ></v-select>
161
+ </div>
162
+ <div class="col-sm-2 form-group">
163
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
164
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
165
+ condition="f_user_id = '{}'" placeholder='表编号'>
166
+ </div>
167
+ <div class="col-sm-2 form-group">
168
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
169
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
170
+ condition="f_meternumber = '{}'" placeholder='表号'>
171
+ </div>
172
+ <div class="col-sm-2 form-group">
173
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
174
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
175
+ condition="f_card_id = '{}'" placeholder='卡号'>
176
+ </div>
177
+ <div class="col-sm-2 form-group">
178
+ <label class="font_normal_body">气表类型</label>
179
+ <v-select :value.sync="model.f_meter_type" multiple
180
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
181
+ condition="f_meter_type in {}"
182
+ close-on-select></v-select>
183
+ </div>
184
+ <div class="col-sm-2 form-group">
185
+ <label class="font_normal_body">气表品牌</label>
186
+ <v-select :value.sync="model.f_meter_brand" multiple
187
+ v-model="model.f_meter_brand"
188
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
189
+ condition="f_meter_brand in {}"
190
+ close-on-select></v-select>
191
+ </div>
192
+
193
+ <div class="col-sm-2 form-group">
194
+ <label class="font_normal_body">收费状态</label>
195
+ <v-select :value.sync="model.f_state" multiple
196
+ v-model="model.f_state"
197
+ :options='$parent.$parent.charge_state' placeholder='请选择'
198
+ condition="f_state in {}"
199
+ close-on-select></v-select>
200
+ </div>
201
+ <div class="col-sm-2 form-group">
202
+ <label class="font_normal_body">银行名称</label>
203
+ <v-select :value.sync="model.f_bank_name"
204
+ v-model="model.f_bank_name"
205
+ :options='$parent.$parent.bank' placeholder='请选择'
206
+ condition="f_bank_name = '{}'"
207
+ close-on-select></v-select>
208
+ </div>
209
+ <div class="col-sm-2 form-group">
210
+ <label class="font_normal_body">是否优惠</label>
211
+ <v-select :value.sync="model.f_privilege_money"
212
+ v-model="model.f_privilege_money"
213
+ :options='$parent.$parent.privilege_money' placeholder='请选择'
214
+ condition="f_privilege_money {}"
215
+ close-on-select></v-select>
216
+ </div>
217
+ <div class="col-sm-2 form-group">
218
+ <label class="font_normal_body">收&ensp;据&ensp;号</label>
219
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
220
+ v-model="model.f_bill_number_big" condition="f_bill_number >= {}" placeholder='大于等于'>
221
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
222
+ v-model="model.f_bill_number_small" condition="f_bill_number <= {}" placeholder='小于等于'>
223
+ </div>
224
+ <div class="col-sm-2 form-group">
225
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
226
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
227
+ condition="f_serial_id = '{}'" placeholder='流水号'>
228
+ </div>
229
+ <div class="col-sm-2 form-group">
230
+ <label class="font_normal_body">发票号码</label>
231
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
232
+ condition="f_invoice_num = '{}'" placeholder='发票号码'>
233
+ </div>
234
+ <div class="col-sm-2 form-group">
235
+ <label class="font_normal_body" title="发票类型查询">发票类型</label>
236
+ <v-select :value.sync="model.f_invoice_type"
237
+ v-model="model.f_invoice_type"
238
+ :options='$parent.$parent.invoiceType' placeholder='请选择'
239
+ condition="f_invoice_type = '{}'"
240
+ close-on-select :value-single="true" :search="false">
241
+ </v-select>
242
+ </div>
243
+ <div class="col-sm-2 form-group">
244
+ <label class="font_normal_body">开&ensp;票&ensp;人</label>
245
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoiceuse_operator"
246
+ condition="f_invoiceuse_operator like '%{}%'" placeholder='开票人'>
247
+ </div>
248
+ <div class="col-sm-2 form-group">
249
+ <label for="startDate" class="font_normal_body">开票时间</label>
250
+ <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
251
+ v-model="model.invoice_startDate"
252
+ :value.sync="model.invoice_startDate"
253
+ :format="'yyyy-MM-dd'"
254
+ :show-reset-button="true"
255
+ condition="f_invoice_date >= '{}'">
256
+ </datepicker>
257
+ </div>
258
+ <div class="col-sm-2 form-group">
259
+ <label for="endDate" class="font_normal_body">开票时间</label>
260
+ <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
261
+ v-model="model.invoice_endDate"
262
+ :value.sync="model.invoice_endDate"
263
+ :format="'yyyy-MM-dd'"
264
+ :show-reset-button="true"
265
+ condition="f_invoice_date <= '{}'">
266
+ </datepicker>
267
+ </div>
268
+ <div class="col-sm-2 form-group">
269
+ <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
270
+ <v-select :value.sync="model.f_inputtor"
271
+ v-model="model.f_inputtor"
272
+ :options='$parent.$parent.inputtores' placeholder='请选择'
273
+ condition="f_inputtor = '{}'"
274
+ close-on-select :search="false">
275
+ </v-select>
276
+ </div>
277
+ <div class="col-sm-2 form-group">
278
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
279
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
280
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
281
+ style="width:60%"
282
+ close-on-select
283
+ condition="f_meter_book_num = '{}'"></v-select>
284
+ </div>
285
+ <div class="col-sm-2 form-group">
286
+ <label class="font_normal_body" title="参数名称:写卡状态">写卡状态</label>
287
+ <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
288
+ :options='$parent.$parent.writecard' placeholder='写卡状态'
289
+ style="width:60%"
290
+ close-on-select
291
+ condition="f_write_card = '{}'"></v-select>
292
+ </div>
293
+ <div class="col-sm-2 form-group">
294
+ <label class="font_normal_body">街&ensp;&ensp;&ensp;&ensp;道</label>
295
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_street"
296
+ condition="f_street like '%{}%'" placeholder='街道'>
297
+ </div>
298
+ <div class="col-sm-2 form-group">
299
+ <label class="font_normal_body">数&ensp;据&ensp;包</label>
300
+ <v-select :value.sync="model.f_bluetooth_package" v-model="model.f_bluetooth_package"
301
+ :options='$parent.$parent.bluetoothpackage' placeholder='数据包状态'
302
+ style="width:60%"
303
+ close-on-select
304
+ condition="f_bluetooth_package = '{}'"></v-select>
305
+ </div>
306
+ <div class="col-sm-2 form-group">
307
+ <label class="font_normal_body">pos设备&nbsp;</label>
308
+ <v-select :value.sync="model.f_terminal_name" multiple
309
+ v-model="model.f_terminal_name"
310
+ :options='$parent.$parent.posEquipment' placeholder='请选择'
311
+ condition="f_operator in {}"
312
+ close-on-select></v-select>
313
+ </div>
314
+ <div class="col-sm-2 form-group">
315
+ <label class="font_normal_body">充值金额</label>
316
+ <input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_collection_small"
317
+ condition="f_collection >= '{}' " placeholder="大于等于">
318
+ <input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_collection_big"
319
+ condition="f_collection <= '{}' " placeholder="小于等于">
320
+ </div>
321
+ <div class="col-sm-2 form-group">
322
+ <label class="font_normal_body">充值气量</label>
323
+ <input type="text" style="width:30%" class="input_search" title="大于等于" v-model="model.f_pregas_small"
324
+ condition="f_pregas >= '{}' " placeholder="大于等于">
325
+ <input type="text" style="width:30%" class="input_search" title="小于等于" v-model="model.f_pregas_big"
326
+ condition="f_pregas <= '{}' " placeholder="小于等于">
327
+ </div>
328
+ <!-- <div class="col-sm-2 form-group">-->
329
+ <!-- <label class="font_normal_body">&nbsp;&nbsp;阶数</label>-->
330
+ <!-- <v-select placeholder='请选择'-->
331
+ <!-- :value.sync="model.jietilevel"-->
332
+ <!-- v-model="model.jietilevel"-->
333
+ <!-- :options='$parent.$parent.jieshu'-->
334
+ <!-- condition="jietilevel = '{}'"-->
335
+ <!-- close-on-select></v-select>-->
336
+ <!-- </div>-->
337
+ </div>
338
+ </div>
339
+ </criteria>
340
+
341
+ <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
342
+ <template partial='head'>
343
+ <tr>
344
+ <th>
345
+ <nobr>收费编号</nobr>
346
+ </th>
347
+ <th>
348
+ <!-- <nobr>客户编号</nobr>-->
349
+ <data-order field="f_userinfo_code" name="客户编号"
350
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
351
+ </th>
352
+ <th><nobr>档案编号</nobr></th>
353
+ <th><nobr>街道</nobr></th>
354
+ <th>
355
+ <nobr>客户名称</nobr>
356
+ </th>
357
+ <th>
358
+ <nobr>片区</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>小区</nobr>
362
+ </th>
363
+ <th>
364
+ <!-- <nobr>客户地址</nobr>-->
365
+ <data-order field="f_address" name="客户地址"
366
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
367
+ </th>
368
+ <th>
369
+ <nobr>客户类型</nobr>
370
+ </th>
371
+ <th>
372
+ <nobr>用气性质</nobr>
373
+ </th>
374
+ <th>
375
+ <nobr>表号</nobr>
376
+ </th>
377
+ <th>
378
+ <nobr>气表品牌</nobr>
379
+ </th>
380
+ <th>
381
+ <nobr>卡号</nobr>
382
+ </th>
383
+ <th>
384
+ <nobr>气价名称</nobr>
385
+ </th>
386
+ <th>
387
+ <nobr>购气次数</nobr>
388
+ </th>
389
+ <th>
390
+ <nobr>上期表底数</nobr>
391
+ </th>
392
+ <th>
393
+ <nobr>本期表底数</nobr>
394
+ </th>
395
+ <th>
396
+ <nobr>气量</nobr>
397
+ </th>
398
+ <th>
399
+ <nobr>金额</nobr>
400
+ </th>
401
+ <th>
402
+ <nobr>用气量</nobr>
403
+ </th>
404
+ <th>
405
+ <nobr>用气金额</nobr>
406
+ </th>
407
+ <th>
408
+ <nobr>余额</nobr>
409
+ </th>
410
+ <th>
411
+ <nobr>违约金</nobr>
412
+ </th>
413
+ <th>
414
+ <nobr>燃气费</nobr>
415
+ </th>
416
+ <th>
417
+ <nobr>清缴金额</nobr>
418
+ </th>
419
+ <th>
420
+ <nobr>预存金额</nobr>
421
+ </th>
422
+ <th>
423
+ <nobr>上期结余</nobr>
424
+ </th>
425
+ <th>
426
+ <nobr>收款</nobr>
427
+ </th>
428
+ <!--<th>-->
429
+ <!--&lt;!&ndash; <nobr>所属年月</nobr>&ndash;&gt;-->
430
+ <!--<data-order field="f_rest_date" name="所属年月"-->
431
+ <!--:order.sync="$parent.$parent.$parent.orderFields.f_rest_date"></data-order>-->
432
+
433
+ <!--</th>-->
434
+ <th>
435
+ <!-- <nobr>收费日期</nobr>-->
436
+ <data-order field="f_operate_date" name="收费日期"
437
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
438
+ </th>
439
+ <th>
440
+ <nobr>优惠金额</nobr>
441
+ </th>
442
+ <th>
443
+ <nobr>本期结余</nobr>
444
+ </th>
445
+ <th>
446
+ <nobr>付款方式</nobr>
447
+ </th>
448
+ <th>
449
+ <nobr>写卡状态</nobr>
450
+ </th>
451
+ <th v-if="$parent.$parent.$parent.titleShow">
452
+ <nobr>支付渠道</nobr>
453
+ </th>
454
+ <th>
455
+ <nobr>银行名称</nobr>
456
+ </th>
457
+ <th>
458
+ <nobr>收费类型</nobr>
459
+ </th>
460
+ <th>
461
+ <nobr>终端号</nobr>
462
+ </th>
463
+ <th>
464
+ <nobr>蓝牙数据包状态</nobr>
465
+ </th>
466
+ <th>
467
+ <nobr>状态</nobr>
468
+ </th>
469
+
470
+ <th>
471
+ <nobr>备注</nobr>
472
+ </th>
473
+ <th>
474
+ <nobr>补打次数</nobr>
475
+ </th>
476
+ <th>
477
+ <nobr>人员</nobr>
478
+ </th>
479
+ <th>
480
+ <nobr>部门</nobr>
481
+ </th>
482
+ <th>
483
+ <nobr>公司</nobr>
484
+ </th>
485
+ <th>
486
+ <nobr>流水号</nobr>
487
+ </th>
488
+ <th>
489
+ <nobr>收据号</nobr>
490
+ </th>
491
+ <th>
492
+ <nobr>业务单号</nobr>
493
+ </th>
494
+ <th>
495
+ <nobr>发票号码</nobr>
496
+ </th>
497
+ <th>
498
+ <nobr>发票类型</nobr>
499
+ </th>
500
+ <th>
501
+ <nobr>开票人</nobr>
502
+ </th>
503
+ <th>
504
+ <nobr>开票时间</nobr>
505
+ </th>
506
+ <th>
507
+ <nobr>累计写卡气量</nobr>
508
+ </th>
509
+ <th>
510
+ <nobr>实际写卡金额</nobr>
511
+ </th>
512
+ <th>
513
+ <nobr>冲正人</nobr>
514
+ </th>
515
+ <th>
516
+ <nobr>冲正时间</nobr>
517
+ </th>
518
+ <th>
519
+ <nobr>一阶气量</nobr>
520
+ </th>
521
+ <th>
522
+ <nobr>一阶单价</nobr>
523
+ </th>
524
+ <th>
525
+ <nobr>一阶气费</nobr>
526
+ </th>
527
+ <th>
528
+ <nobr>二阶气量</nobr>
529
+ </th>
530
+ <th>
531
+ <nobr>二阶单价</nobr>
532
+ </th>
533
+ <th>
534
+ <nobr>二阶气费</nobr>
535
+ </th>
536
+ <th>
537
+ <nobr>三阶气量</nobr>
538
+ </th>
539
+ <th>
540
+ <nobr>三阶单价</nobr>
541
+ </th>
542
+ <th>
543
+ <nobr>三阶气费</nobr>
544
+ </th>
545
+ <th>
546
+ <nobr>电子票已开</nobr>
547
+ </th>
548
+
549
+ <th><nobr>附件</nobr></th>
550
+ </tr>
551
+ </template>
552
+ <template partial='body'>
553
+ <td style="text-align: center;">
554
+ <nobr>{{row.id}}</nobr>
555
+ </td>
556
+ <td style="text-align: center;"><nobr>
557
+ <nobr>{{row.f_userinfo_code}}</nobr>
558
+ </nobr> </td>
559
+ <td style="text-align: center;">
560
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
561
+ </td>
562
+ <td style="text-align: center;">
563
+ <nobr>{{row.f_street}}</nobr>
564
+ </td>
565
+ <td style="text-align: center;">
566
+ <nobr>{{row.f_user_name}}</nobr>
567
+ </td>
568
+ <td style="text-align: center;">
569
+ <nobr>{{row.f_zones}}</nobr>
570
+ </td>
571
+ <td style="text-align: center;"><nobr>
572
+ <nobr>{{row.f_residential_area}}</nobr>
573
+ </nobr> </td>
574
+ <td style="text-align: center;">
575
+ <nobr>{{row.f_address}}</nobr>
576
+ </td>
577
+ <td style="text-align: center;">
578
+ <nobr>{{row.f_user_type}}</nobr>
579
+ </td>
580
+ <td style="text-align: center;">
581
+ <nobr>{{row.f_gasproperties}}</nobr>
582
+ </td>
583
+ <td style="text-align: center;">
584
+ <nobr>{{row.f_meternumber}}</nobr>
585
+ </td>
586
+ <td style="text-align: center;">
587
+ <nobr>{{row.f_meter_brand}}</nobr>
588
+ </td>
589
+ <td style="text-align: center;">
590
+ <nobr>{{row.f_card_id}}</nobr>
591
+ </td>
592
+ <td style="text-align: center;">
593
+ <nobr>{{row.f_price_name}}</nobr>
594
+ </td>
595
+ <td style="text-align: center;">
596
+ <nobr>{{row.f_times}}</nobr>
597
+ </td>
598
+ <td style="text-align: center;">
599
+ <nobr>{{row.f_last_tablebase}}</nobr>
600
+ </td>
601
+ <td style="text-align: center;">
602
+ <nobr>{{row.f_tablebase }}</nobr>
603
+ </td>
604
+ <td style="text-align: center;">
605
+ <nobr>{{row.f_pregas}}</nobr>
606
+ </td>
607
+ <td style="text-align: center;">
608
+ <nobr>{{row.fee}}</nobr>
609
+ </td>
610
+ <!--用气量-->
611
+ <td style="text-align: center;">
612
+ <nobr>{{row.f_oughtamount}}</nobr>
613
+ </td>
614
+ <!--用气金额-->
615
+ <td style="text-align: center;">
616
+ <nobr>{{row.f_oughtfee}}</nobr>
617
+ </td>
618
+ <!--余额-->
619
+ <td style="text-align: center;">
620
+ <nobr>{{row.f_jval}}</nobr>
621
+ </td>
622
+ <td style="text-align: center;">
623
+ <nobr>{{row.f_delaypay}}</nobr>
624
+ </td>
625
+ <td style="text-align: center;">
626
+ <nobr>{{row.f_preamount}}</nobr>
627
+ </td>
628
+ <td style="text-align: center;">
629
+ <nobr>{{row.f_charge_money}}</nobr>
630
+ </td>
631
+ <td style="text-align: center;">
632
+ <nobr>{{row.f_yucun}}</nobr>
633
+ </td>
634
+ <td style="text-align: center;">
635
+ <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_balance_amount}}</nobr>
636
+ <nobr v-else>{{row.f_balance}}</nobr>
637
+ </td>
638
+ <td style="text-align: center;">
639
+ <nobr>{{row.f_collection}}</nobr>
640
+ </td>
641
+ <!--<td style="text-align: center;">-->
642
+ <!--<nobr>{{row.f_rest_date}}</nobr>-->
643
+ <!--</td>-->
644
+ <td style="text-align: center;">
645
+ <nobr>{{row.f_operate_date}}</nobr>
646
+ </td>
647
+ <td style="text-align: center;">
648
+ <nobr>{{row.f_privilege_money}}</nobr>
649
+ </td>
650
+
651
+
652
+ <td style="text-align: center;">
653
+ <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_curbalance_amount}}</nobr>
654
+ <nobr v-else>{{row.f_curbalance}}</nobr>
655
+ </td>
656
+ <td style="text-align: center;">
657
+ <nobr>{{row.f_payment}}</nobr>
658
+ </td>
659
+ <td style="text-align: center;">
660
+ <nobr>{{row.f_write_card}}</nobr>
661
+ </td>
662
+ <td style="text-align: center;" v-if="$parent.$parent.$parent.titleShow">
663
+ <nobr>{{row.f_bank_type}}</nobr>
664
+ </td>
665
+ <td style="text-align: center;">
666
+ <nobr>{{row.f_bank_name}}</nobr>
667
+ </td>
668
+ <td style="text-align: center;">
669
+ <nobr>{{row.f_type}}</nobr>
670
+ </td>
671
+ <td style="text-align: center;">
672
+ <nobr>{{row.f_terminal_num}}</nobr>
673
+ </td>
674
+ <td style="text-align: center;">
675
+ <nobr>{{row.f_bluetooth_package}}</nobr>
676
+ </td>
677
+ <td style="text-align: center;">
678
+ <nobr>{{row.f_state}}</nobr>
679
+ </td>
680
+
681
+ <td style="text-align: center;">
682
+ <nobr>{{row.f_comments}}</nobr>
683
+ </td>
684
+ <td style="text-align: center;">
685
+ <nobr>{{row.filltimes}}</nobr>
686
+ </td>
687
+ <td style="text-align: center;">
688
+ <nobr>{{row.f_operator}}</nobr>
689
+ </td>
690
+ <td style="text-align: center;">
691
+ <nobr>{{row.f_depname}}</nobr>
692
+ </td>
693
+ <td style="text-align: center;">
694
+ <nobr>{{row.f_orgname}}</nobr>
695
+ </td>
696
+ <td style="text-align: center;">
697
+ <nobr>{{row.f_serial_id}}</nobr>
698
+ </td>
699
+ <td style="text-align: center;">
700
+ <nobr>{{row.f_bill_number}}</nobr>
701
+ </td>
702
+ <td style="text-align: center;">
703
+ <nobr>{{row.f_serial_number}}</nobr>
704
+ </td>
705
+ <td style="text-align: center;">
706
+ <nobr>{{row.f_invoice_num}}</nobr>
707
+ </td>
708
+ <td style="text-align: center;">
709
+ <nobr>{{row.f_invoice_type}}</nobr>
710
+ </td>
711
+ <td style="text-align: center;">
712
+ <nobr>{{row.f_invoiceuse_operator}}</nobr>
713
+ </td>
714
+ <td style="text-align: center;">
715
+ <nobr>{{row.f_invoice_date}}</nobr>
716
+ </td>
717
+ <td style="text-align: center;">
718
+ <nobr>{{row.f_write_totalgas}}</nobr>
719
+ </td>
720
+ <td style="text-align: center;">
721
+ <nobr>{{row.f_write_money}}</nobr>
722
+ </td>
723
+ <td style="text-align: center;">
724
+ <nobr>{{row.f_corr_operator}}</nobr>
725
+ </td>
726
+ <td style="text-align: center;">
727
+ <nobr>{{row.f_corr_operate_date}}</nobr>
728
+ </td>
729
+ <td style="text-align: center;">
730
+ <nobr>{{row.f_stairamount1}}</nobr>
731
+ </td>
732
+ <td style="text-align: center;">
733
+ <nobr>{{row.f_stair1price}}</nobr>
734
+ </td>
735
+ <td style="text-align: center;">
736
+ <nobr>{{(row.f_stair1fee - 0).toFixed(2)}}</nobr>
737
+ </td>
738
+ <td style="text-align: center;">
739
+ <nobr>{{row.f_stair2amount}}</nobr>
740
+ </td>
741
+ <td style="text-align: center;">
742
+ <nobr>{{row.f_stair2price}}</nobr>
743
+ </td>
744
+ <td style="text-align: center;">
745
+ <nobr>{{(row.f_stair2fee - 0).toFixed(2)}}</nobr>
746
+ </td>
747
+ <td style="text-align: center;">
748
+ <nobr>{{row.f_stair3amount}}</nobr>
749
+ </td>
750
+ <td style="text-align: center;">
751
+ <nobr>{{row.f_stair3price}}</nobr>
752
+ </td>
753
+ <td style="text-align: center;">
754
+ <nobr>{{(row.f_stair3fee - 0).toFixed(2)}}</nobr>
755
+ </td>
756
+ <td style="text-align: center;">
757
+ <nobr v-if="row.f_isbill == '是'">{{row.f_isbill}}</nobr>
758
+ <button v-else style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.openBill(row)">开票</button>
759
+ </td>
760
+ <td style="text-align: center;"><nobr>
761
+ <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
762
+ </nobr></td>
763
+ </template>
764
+ <template partial='foot'></template>
765
+ </data-grid>
766
+ </criteria-paged>
767
+ <table class="table-hover">
768
+ <tr style="position: relative" class="table-bordered">
769
+ <td
770
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
771
+ 汇总信息
772
+ </td>
773
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
774
+ 气量合计:&emsp;{{sumsmodel.f_pregas}}
775
+ </td>
776
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
777
+ 应交金额合计:&emsp;{{sumsmodel.fee}}
778
+ </td>
779
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
780
+ 违约金合计:&emsp;{{sumsmodel.f_delaypay}}
781
+ </td>
782
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
783
+ 燃气费合计:&emsp;{{sumsmodel.f_preamount}}
784
+ </td>
785
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
786
+ 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
787
+ </td>
788
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
789
+ 收款合计:&emsp;{{sumsmodel.f_collection}}
790
+ </td>
791
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
792
+ 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
793
+ </td>
794
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
795
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
796
+ </td>
797
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
798
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
799
+ </td>
800
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
801
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
802
+ </td>
803
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
804
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
805
+ </td>
806
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
807
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
808
+ </td>
809
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
810
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
811
+ </td>
812
+ </tr>
813
+ </table>
814
+ </div>
815
+ <!--<div v-if="show">-->
816
+ <!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
817
+ <!--</div>-->
818
+ </div>
819
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
820
+ <article slot="modal-body">
821
+ <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="%收费" :isremark="false" style="width:auto" ></upload>
822
+ </article>
823
+ <footer slot="modal-footer" class="modal-footer">
824
+ </footer>
825
+ </modal>
826
+ </div>
827
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
828
+ </template>
829
+
830
+ <script>
831
+ import {HttpResetClass, PagedList} from 'vue-client'
832
+ import exportConfig from './config/exportConfig'
833
+ let cardBtnGen = async function (self, val) {
834
+ self.cardInfo = val.data
835
+
836
+ // 判断读卡是否需要卡密码
837
+ console.log('读卡上的信息', self.cardInfo)
838
+
839
+ if (self.cardInfo.NewParam) {
840
+ if (self.cardInfo.NewParam.error) {
841
+ if (self.cardInfo.NewParam.error === '0001') {
842
+ // 需要重新读卡并传卡密码
843
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
844
+ self.readCardParam = self.model.rows[0].f_card_password
845
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
846
+ } else {
847
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
848
+ return
849
+ }
850
+ }
851
+ }
852
+ }
853
+ self.card=self.cardInfo.CardID
854
+ self.search()
855
+ }
856
+ let readySomething = async function (self) {
857
+ //加载抄表册
858
+ self.initmeterbook();
859
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
860
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
861
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
862
+ await self.$MagLoadParams.loadParam()
863
+ self.initParams()
864
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
865
+ }
866
+ export default {
867
+ props:['data'],
868
+ title: '收费查询',
869
+ data() {
870
+ return {
871
+ // jietilevel:'',
872
+ IdCardInfo:'',
873
+ titleShow : true,
874
+ card:'',
875
+ isSingleUser: null,
876
+ startDate1:'',
877
+ endDate1:'',
878
+ resshow:['company','department','operator','slicearea'],
879
+ other:[],
880
+
881
+ footer:[],
882
+ config: {
883
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount','f_operate_date']
884
+ },
885
+ //排序
886
+ orderitem:'',
887
+ orderFields: {
888
+ f_operate_date: ''
889
+ },
890
+ //f_price_name:[],
891
+ gasproperties:[],
892
+ showinfo: false,
893
+ data: {},
894
+ getstart:'',
895
+ show:false,
896
+ rowdata:{},
897
+ initres: {
898
+ org:[this.$login.f.orgid],
899
+ dep:[],
900
+ user:[]
901
+ },
902
+ model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
903
+ f_pregas: 0,
904
+ f_preamount: 0,
905
+ f_delaypay: 0,
906
+ fee:0,
907
+ f_yucun:0,
908
+ f_privilege_money: 0,
909
+ f_collection: 0,
910
+ f_stairamount1:0,
911
+ f_stair1fee:0,
912
+ f_stair2amount:0,
913
+ f_stair2fee:0,
914
+ f_stair3amount:0,
915
+ f_stair3fee:0,
916
+ }),
917
+ criteriaShow: false,
918
+ orgCondtionStr: '',
919
+ // 下拉框
920
+ meterbrands: [],
921
+ pricenames: [],
922
+ prices: [],
923
+ area: [],
924
+ //默认打印列
925
+ defaultfield: [],
926
+ //小区
927
+ residentialArea: [],
928
+ sumsmodel: {},
929
+ f_filialeid: this.$login.f.orgid,
930
+ wxstate:[
931
+ {label: '全部', value: ''},
932
+ {label: '已退款', value: `= '3'`},
933
+ {label: '未退款', value: `!= '3'`}
934
+ ],
935
+ privilege_money:[
936
+ {label: '全部', value: ''},
937
+ {label: '已优惠', value: '> 0'},
938
+ {label: '未优惠', value: '= 0'}
939
+ ],
940
+ showupload:false,
941
+ selected:{},
942
+ meterbooks:[{label: '全部',value: ''}], //抄表册
943
+ inputtores:[{label: '全部',value: ''}],
944
+ allorgid:[],
945
+ tempfalg :false,
946
+ lastorgstr:'',
947
+ // pos设备列表
948
+ posEquipment: [{label: '全部',value: ''}],
949
+ showbottomsum:false, //页面下方是否有合计: 默认为false, 在watch修改
950
+ // jieshu: [
951
+ // {label: '一阶', value: '一阶'},
952
+ // {label: '二阶', value: '二阶'},
953
+ // {label: '三阶', value: '三阶'}
954
+ // ]
955
+ }
956
+ },
957
+ ready() {
958
+ this.$refs.paged.$refs.cri.model.f_state=['有效']
959
+ this.getaddress()
960
+ this.getEquipment()
961
+ this.titleShow = this.$appdata.getSingleValue('是否显示筛选框') == null? true : this.$appdata.getSingleValue('是否显示筛选框')
962
+ //加载抄表册
963
+ this.$MagGetSaleParam.initinputtor();
964
+ this.getinputtores();
965
+ // this.initres.dep.push(this.$login.f.depids)
966
+ readySomething(this).then(() => {
967
+ this.$emit('ready')
968
+ }).catch((error) => {
969
+ this.$emit('error', error)
970
+ })
971
+ },
972
+ methods: {
973
+ pricetypechanged(){
974
+ this.$refs.paged.$refs.cri.model.f_price_name = []
975
+ },
976
+ // 获取设备下拉选
977
+ async getEquipment () {
978
+ let HttpReset = new HttpResetClass()
979
+ let param = {
980
+ items: 'f_terminal_name',
981
+ tablename: 't_equipment',
982
+ condition: `f_equipment_type = 'POS' and f_state = '正常' and f_orgid = '${this.$login.f.orgid}'`,
983
+ orderitem: 'id'
984
+ }
985
+ var data = await HttpReset.load('POST', 'rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
986
+ for (let row of data.data) {
987
+ this.posEquipment.push({label: row.f_terminal_name, value: row.f_terminal_name})
988
+ }
989
+ },
990
+ openBill(row){
991
+ this.$showMessage('您确定为当前收费记录开具电子发票吗?', ['confirm', 'cancel']).then(async (res) => {
992
+ if (res === 'confirm') {
993
+ let HttpReset = new HttpResetClass()
994
+ let data = {
995
+ id: row.id
996
+ }
997
+ HttpReset.load('POST', 'rs/logic/sale_changeBillState', {data: data}, {resolveMsg: '开票成功!!!', rejectMsg: '开票失败!!!'})
998
+ this.search()
999
+ }
1000
+ })
1001
+ },
1002
+ ReadIDCard(){
1003
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
1004
+ console.log('======',msg)
1005
+ if(msg.err !== 0){ return}
1006
+ this.IdCardInfo=msg.strID
1007
+ })
1008
+ if(this.IdCardInfo) {
1009
+ this.search()
1010
+ }else{
1011
+ alert("读取失败,找不到用户信息")
1012
+ }
1013
+ },
1014
+ cardBtn (val) {
1015
+ // this.clear()
1016
+ cardBtnGen(this, val)
1017
+ },
1018
+ async initmeterbook(orgstr){
1019
+ if(orgstr == null ){
1020
+ orgstr = this.f_filialeid;
1021
+ }
1022
+ //获取新的抄表册,先去清理所有的抄表册
1023
+ this.$GetSaleParam.meterbooks = [];
1024
+ //开始加载新的抄表册
1025
+ await this.$LoadParams.loadMeterBook(orgstr)
1026
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1027
+ },
1028
+ async getinputtores () {
1029
+ // 获取抄表员
1030
+ let rs = []
1031
+ if (this.$login.f.f_gasman.length > 0) {
1032
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1033
+ let temp = {
1034
+ label: this.$login.f.f_gasman[i].name,
1035
+ value: this.$login.f.f_gasman[i].name
1036
+ }
1037
+ rs.push(temp)
1038
+ }
1039
+ }
1040
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
1041
+ },
1042
+ //显示附件
1043
+ view(row){
1044
+ this.showupload = true
1045
+ this.selected= row
1046
+ },
1047
+ getotherfooter () {
1048
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
1049
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
1050
+ this.other = [];
1051
+ this.footer = [];
1052
+ let exportdata = this.getCondition;
1053
+ let otherInData = [];
1054
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
1055
+ let footerData = [], exportfield = this.getfield;
1056
+ footerData.push("合计");
1057
+ let self = this;
1058
+ for (var field in self.sumsmodel) {
1059
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
1060
+ }
1061
+ this.footer.push(footerData);
1062
+ this.other.push(otherInData);
1063
+ },
1064
+ async getaddress(){
1065
+ let HttpReset = new HttpResetClass()
1066
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
1067
+ data: {
1068
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
1069
+ }
1070
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
1071
+ console.log('小区',data)
1072
+ let house = [{label: '全部', value: ''}]
1073
+ for (let row of data.data){
1074
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
1075
+ }
1076
+ this.residentialArea = house
1077
+ },
1078
+ //把数据库查询数据转换为下拉数据
1079
+ calculate(rows){
1080
+ let data = []
1081
+ rows.forEach((row, n) => {
1082
+ data[n] = {label: row.f_residential_area, value: row.id}
1083
+ })
1084
+ return data
1085
+ },
1086
+
1087
+ search(){
1088
+ this.$refs.paged.$refs.cri.search()
1089
+ },
1090
+ cancel() {
1091
+ this.show = false
1092
+ },
1093
+ showmsg(obj){
1094
+ this.rowdata=obj
1095
+ this.show=true
1096
+ },
1097
+ userTypeChange () {
1098
+ this.gasproperties=[]
1099
+ if(this.$refs.paged.$refs.cri.model !==null) {
1100
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
1101
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1102
+ }
1103
+ else{
1104
+ this.gasproperties =[{label: '全部', value: ''}]
1105
+ }
1106
+ },
1107
+ initParams() {
1108
+ // 初始化气表品牌
1109
+ let brandArr = []
1110
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
1111
+ let temp = {}
1112
+ temp.label = item.label
1113
+ temp.value = item.value.f_meter_brand
1114
+ brandArr.push(temp)
1115
+ })
1116
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
1117
+ //初始化气表价格
1118
+ this.prices = this.$MagGetSaleParam.getPrices();
1119
+ },
1120
+ selfSearch(args) {
1121
+ if (this.data) {
1122
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1123
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
1124
+ }
1125
+
1126
+ let f_orgstr = this.orgCondtionStr
1127
+ args.condition = `${args.condition} ` + f_orgstr
1128
+ if(this.card!=''){
1129
+ args.condition+=` and f_card_id='${this.card}'`
1130
+ }
1131
+ if(this.IdCardInfo!=''){
1132
+ args.condition +=` and f_idnumber='${this.IdCardInfo}'`
1133
+ }
1134
+ this.model.search(args.condition, args.model)
1135
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1136
+ this.card=''
1137
+ this.IdCardInfo=''
1138
+ },
1139
+ clear() {
1140
+ //清空部门和人员
1141
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1142
+ //部门和人员变为全选
1143
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1144
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1145
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1146
+ this.$refs.paged.$refs.cri.model[key] = []
1147
+ })
1148
+
1149
+ },
1150
+ dealmsg(val,startDate,endDate) {
1151
+ val.model = this.model.model
1152
+ startDate=this.startDate1
1153
+ endDate=this.endDate1
1154
+ this.$dispatch('deal-msg', val,startDate,endDate)
1155
+ },
1156
+ show() {
1157
+ this.criteriaShow = true
1158
+ },
1159
+ hidden() {
1160
+ this.criteriaShow = !this.criteriaShow
1161
+ },
1162
+ async getRes(condition,obj) {
1163
+ this.orgCondtionStr = condition
1164
+ this.orgname = obj.orgnames[0]
1165
+ this.depname = obj.depnames[0]
1166
+
1167
+
1168
+ },
1169
+ async updateParams() {
1170
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
1171
+ this.inputtores = [];
1172
+ this.inputtores.push({label: "全部", value: ""})
1173
+ if(this.allorgid!=null){
1174
+ this.allorgid.forEach((res)=>{
1175
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1176
+ })
1177
+ }
1178
+ this.initParams()
1179
+ },
1180
+ sort (field, rule) {
1181
+ // 将所有排序方式设为不排序,实现相互排斥
1182
+ for (let key in this.orderFields) {
1183
+ if (key === field) {
1184
+ this.orderFields[key] = rule
1185
+ } else {
1186
+ this.orderFields[key] = 'no'
1187
+ }
1188
+ }
1189
+ // 如果新规则不排序,还原为默认排序
1190
+ if (rule === 'no') {
1191
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
1192
+ } else {
1193
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
1194
+ }
1195
+
1196
+ this.search()
1197
+ }
1198
+
1199
+ },
1200
+ events:{
1201
+ 'getidcard'(IdCard){
1202
+ // console.log(param)
1203
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
1204
+ }
1205
+ },
1206
+ watch: {
1207
+ 'model.rows'(val) {
1208
+ //如果有合计 这里为true, 其他为false ,反正相反
1209
+ this.showbottomsum=true;
1210
+ if(val.length === 0){
1211
+ this.sumsmodel = {}
1212
+ this.showbottomsum=false;
1213
+ }
1214
+ },
1215
+ 'model.rows.length' () {
1216
+ this.isSingleUser = this.model.rows
1217
+ },
1218
+ async 'orgCondtionStr'(val) {
1219
+ //更新抄表册
1220
+ this.$refs.paged.$refs.cri.model.f_inputtor=[]
1221
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
1222
+ this.meterbooks = [{label: '全部',value: ''}];
1223
+ if(this.lastorgstr != val){
1224
+ this.tempfalg = true;
1225
+ this.lastorgstr = val;
1226
+ }
1227
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1228
+ this.tempfalg = false;
1229
+ let a = val.substring(val.indexOf("(")+2)
1230
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1231
+ }
1232
+ let res = val.match(/'(.*?)'/)
1233
+ console.log('正则提取:',res && res[1])
1234
+ if (res) {
1235
+ this.f_filialeid = res[1]
1236
+ if(res.input !=null){
1237
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1238
+ if(resorgid!= null && resorgid!=''){
1239
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1240
+ // resorgid = resorgid.replaceAll("'","");
1241
+ resorgid = resorgid.replace(/'/g,"");
1242
+ this.allorgid = resorgid.split(",")
1243
+ }
1244
+ }
1245
+ this.updateParams()
1246
+ }
1247
+ },
1248
+ sumsmodel:{
1249
+ handler: function(val) {
1250
+ this.getotherfooter();
1251
+ },
1252
+ deep: true
1253
+ }
1254
+ },
1255
+ computed: {
1256
+ getstart(){
1257
+ return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
1258
+ },
1259
+ chooserow(){
1260
+ let aaa= true
1261
+ if(this.$login.r && this.$login.r.includes('打印项选择')){
1262
+ aaa = false
1263
+ }
1264
+ return aaa
1265
+ },
1266
+ getPricenames() {
1267
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1268
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1269
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1270
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1271
+ if(this.$refs.paged.$refs.cri.model !==null) {
1272
+ let rs = []
1273
+ let priceArr = []
1274
+ if ( pricetype.length >0) {
1275
+ let params = {
1276
+ f_price_type: pricetype[0],
1277
+ filter: this.f_filialeid,
1278
+ prices: this.prices
1279
+ }
1280
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1281
+ let temp = {}
1282
+ temp.label = item.label
1283
+ temp.value = item.value.f_price_name
1284
+ priceArr.push(temp)
1285
+ })
1286
+ if(priceArr.length == 0 ){
1287
+ rs= [{label: '全部', value: ''}]
1288
+ }else{
1289
+ rs = [ ...priceArr]
1290
+ }
1291
+ }
1292
+ if (rs.length === 0) {
1293
+ console.log('rs读出来是空')
1294
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
1295
+ }
1296
+ return rs
1297
+ }
1298
+ },
1299
+ getCondition() {
1300
+ return {
1301
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
1302
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
1303
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
1304
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
1305
+ }
1306
+ },
1307
+ getfield() {
1308
+ return exportConfig.chargeConfig
1309
+ },
1310
+ defaultexport() {
1311
+ return exportConfig.chargeexportConfig
1312
+ },
1313
+ pricetypes() {
1314
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1315
+ },
1316
+
1317
+ invoiceType() {
1318
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
1319
+ },
1320
+ usertypes() {
1321
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
1322
+ },
1323
+ metertypes() {
1324
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1325
+ },
1326
+
1327
+ tablestate() {
1328
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
1329
+ },
1330
+ chargetype() {
1331
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
1332
+ },
1333
+ payment() {
1334
+ return [...this.$appdata.getParam('付款方式查询')]
1335
+ },
1336
+ banktype() {
1337
+ return [...this.$appdata.getParam('支付渠道查询')]
1338
+ },
1339
+ charge_state() {
1340
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
1341
+ },
1342
+ bank(){
1343
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
1344
+ },
1345
+ writecard(){
1346
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('写卡状态')]
1347
+ },
1348
+ bluetoothpackage(){
1349
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('数据包状态')]
1350
+ }
1351
+
1352
+ }
1353
+ }
1354
+ </script>
1355
+ <style scoped>
1356
+ .showbottom{
1357
+ height:95%
1358
+ }
1359
+ </style>