sale-client 4.2.72 → 4.2.74

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 (54) hide show
  1. package/build/dev-server.js +38 -60
  2. package/index.html +2 -7
  3. package/package.json +1 -1
  4. package/src/App.vue +1 -1
  5. package/src/components/common/userinfo_detail/ic_detail/OtherChargeQueryUser.vue +1 -1
  6. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  7. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  8. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  9. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  10. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  11. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  12. package/src/filiale/bayan/StockListmain.vue +543 -543
  13. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  14. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  15. package/src/filiale/bazhong/sale.js +8 -8
  16. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  17. package/src/filiale/jinhuang/OtherChargeQueryUser.vue +251 -0
  18. package/src/filiale/jinhuang/OtherChargeQueryUserDetail.vue +81 -0
  19. package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +1 -1
  20. package/src/filiale/jinhuang/WebHand.vue +11 -1
  21. package/src/filiale/jinhuang/cardsHand.vue +11 -1
  22. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  23. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  24. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  25. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  26. package/src/filiale/ronghao/CardService.js +2144 -2144
  27. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  28. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  29. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  30. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  31. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  32. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  33. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  34. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  35. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  36. package/src/filiale/ronghao/Upload.vue +654 -654
  37. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  38. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  39. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  40. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  41. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  42. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  43. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  44. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  45. package/src/filiale/ronghao/specificInformation.vue +537 -537
  46. package/src/filiale/yangchun/ChargeList.vue +954 -954
  47. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  48. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  49. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  50. package/src/main.js +1 -1
  51. package/static/syrh.png +0 -0
  52. package/static/syyj.png +0 -0
  53. package/static/xyrh.png +0 -0
  54. package/static/xyyj.png +0 -0
@@ -0,0 +1,251 @@
1
+ <template >
2
+ <div class="flex" style="justify-content: space-between;">
3
+ <div @keyup.enter="search" style="">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body">开始时间</label>
11
+ <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_start_date"
12
+ class="datepicker"
13
+ condition="f_operate_date >= '{} 00:00:00' "
14
+ placeholder="起始时间"
15
+ style="width:60%"
16
+ v-model="model.f_start_date"
17
+ ></datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group" >
20
+ <label class="font_normal_body" >结束时间</label>
21
+ <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_end_date"
22
+ class="datepicker"
23
+ condition="f_operate_date <= '{} 23:59:59' "
24
+ placeholder="结束时间"
25
+ style="width:60%"
26
+ v-model="model.f_end_date"
27
+ ></datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">是否有效</label>
31
+ <v-select :value.sync="model.f_state" v-model='model.f_state'
32
+ style="width:60%"
33
+ :options='$parent.$parent.isstates' placeholder='是否有效'
34
+ close-on-select
35
+ condition="f_state = '{}'"></v-select>
36
+ </div>
37
+
38
+ <div style="float: right">
39
+ <button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
40
+ <print-data :defaultfield="$parent.$parent.defaultfield" :field="$parent.$parent.fields" :is-selected="true" :model="$parent.$parent.printModel"
41
+ @print-data="$parent.$parent.print()" print-name="其他收费流水"></print-data>
42
+ </div>
43
+ </div>
44
+
45
+ </div>
46
+ </criteria>
47
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
48
+ <template partial='head'>
49
+ <tr>
50
+
51
+ <th><nobr>收费类型</nobr></th>
52
+ <th><nobr>品名规格</nobr></th>
53
+ <th><nobr>型号</nobr></th>
54
+ <th><nobr>数量</nobr></th>
55
+ <th><nobr>单价</nobr></th>
56
+ <th><nobr>金额</nobr></th>
57
+ <th><nobr>操作员</nobr></th>
58
+ <th><nobr>操作日期</nobr></th>
59
+ <th><nobr>状态</nobr></th>
60
+ <th><nobr>备注</nobr></th>
61
+ </tr>
62
+ </template>
63
+ <template partial='body' partial='list' v-ref:grid>
64
+ <tr >
65
+ <th style="text-align:center">{{row.f_brand_spec}}</th>
66
+ <th style="text-align:center">{{row.f_typename}}</th>
67
+ <th style="text-align:center">{{row.f_typenumber}}</th>
68
+ <th style="text-align:center">{{row.f_number}}</th>
69
+ <th style="text-align:center">{{row.f_unitprice}}</th>
70
+ <th style="text-align:center">{{row.f_unitprice*row.f_number}}</th>
71
+ <th style="text-align:center">{{row.f_operator}}</th>
72
+ <th style="text-align:center">{{row.f_operate_date}}</th>
73
+ <td style="text-align: center;">{{row.f_state}}</td>
74
+ <th style="text-align:center">{{row.f_comments}}</th>
75
+ </tr>
76
+ </template>
77
+ <template partial='foot'></template>
78
+ </data-grid>
79
+ </criteria-paged>
80
+
81
+ </div>
82
+ <table class="table-hover">
83
+ <tr class="table-bordered" style="position: relative">
84
+ <td
85
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
86
+ 汇总信息
87
+ </td>
88
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
89
+ 金额合计:&emsp;{{model.sums.f_collection}}
90
+ </td>
91
+ </tr>
92
+ </table>
93
+ </div>
94
+ <other-charge-query-user-detail v-if="showdetail" :otherchargeid="otherchargeid" :showdetail.sync="showdetail"></other-charge-query-user-detail>
95
+ </template>
96
+
97
+ <script>
98
+ import {HttpResetClass, PagedList} from 'vue-client'
99
+ import OtherChargeQueryUserDetail from './OtherChargeQueryUserDetail'
100
+
101
+ export default {
102
+ title: '其他收费查询',
103
+ components: {
104
+ OtherChargeQueryUserDetail
105
+ },
106
+ data () {
107
+ return {
108
+ condition: '1=1',
109
+ model: new PagedList('api/af-revenue/sql/sale_OtherChargeQuery', 20, {}, {
110
+ f_collection: 0
111
+ }),
112
+ isstates: this.$appdata.getParam('是否有效') ? [{
113
+ label: '全部',
114
+ value: ''
115
+ }, ...this.$appdata.getParam('是否有效')] : [],
116
+ // 控制单选
117
+ radio: [],
118
+ searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userinfo_id',
119
+ showdetail: false,
120
+ otherchargeid: '',
121
+ // 选中的页
122
+ all: [],
123
+ // row数据
124
+ rowsdata: [],
125
+ // fields:{'f_brand_spec': '品牌','f_number': '数量','f_unitprice': '单价','f_collection':'收款','f_operator':'操作员', 'f_operate_date':'操作日期'},
126
+ fields: {'f_userinfo_code': '客户编号', 'f_user_name': '客户姓名', 'f_brand_spec': '品牌', 'f_collection': '收款', 'f_operator': '操作员', 'f_operate_date': '操作日期'},
127
+ defaultfield: [
128
+ // "f_brand_spec","f_number","f_unitprice",'f_collection','f_operator',"f_operate_date"
129
+ 'f_userinfo_code', 'f_user_name', 'f_brand_spec', 'f_collection', 'f_operator', 'f_operate_date'
130
+ ],
131
+ printModel: {
132
+ rows: []
133
+ }
134
+ }
135
+ },
136
+ props: ['row'],
137
+ ready () {
138
+ this.$refs.paged.$refs.criteria.model.f_state = ['有效']
139
+ this.$refs.paged.$refs.criteria.search()
140
+ },
141
+ methods: {
142
+ async search () {
143
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and ${this.searchValue} = '${this.row[this.searchValue]}' and f_orgid = '${this.$login.f.orgid}'`
144
+ this.model.search(this.condition, this.model)
145
+ let http = new HttpResetClass()
146
+ let res = await http.load('POST', 'api/af-revenue/sql/sale_OtherChargeQuery', {
147
+ data: {
148
+ condition: this.condition
149
+ }
150
+ }, {resolveMsg: null, rejectMsg: null})
151
+ this.printModel.rows = res.data
152
+ },
153
+ // 多选框初始化
154
+ selectInit () {
155
+ this.rowsdata = []
156
+ this.all = []
157
+ this.radio = []
158
+ },
159
+ print () {
160
+ this.selectInit()
161
+ },
162
+ select () {
163
+ let index = this.model.pageIndex - 1
164
+ if (!this.radio[index]) {
165
+ this.radio.$set(index, [])
166
+ }
167
+ if (this.all[index]) {
168
+ // 数据
169
+ this.rowsdata[index] = Object.assign([], this.model.rows)
170
+ // 勾选
171
+ for (var i = 0; i < this.model.rows.length; i++) {
172
+ this.radio[index].$set(i, true)
173
+ }
174
+ } else {
175
+ // 数据
176
+ this.rowsdata[index] = []
177
+ // 不勾选
178
+ for (var i = 0; i < this.model.rows.length; i++) {
179
+ this.radio[index].$set(i, false)
180
+ }
181
+ }
182
+ let z = 0
183
+ for (let i = 0; i < this.all.length; i++) {
184
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
185
+ this.printModel.rows[z++] = this.rowsdata[i][j]
186
+ }
187
+ }
188
+ },
189
+ selectOne (event, row, i) {
190
+ let index = this.model.pageIndex - 1
191
+ if (!this.rowsdata[index]) {
192
+ this.rowsdata[index] = []
193
+ }
194
+ if (!this.radio[index]) {
195
+ this.radio.$set(index, [])
196
+ }
197
+ if (event.target.checked) {
198
+ // 数据
199
+ this.rowsdata[index][i] = row
200
+ // 勾选
201
+ this.radio[index].$set(i, true)
202
+ // 判断是否全部选中
203
+ var allState = true
204
+ if (this.model.rows.length != this.radio[index].length) {
205
+ allState = false
206
+ }
207
+ for (var state of this.radio[index]) {
208
+ if (!state) {
209
+ allState = false
210
+ }
211
+ }
212
+ if (allState) {
213
+ this.all.$set(index, true)
214
+ } else {
215
+ this.all.$set(index, false)
216
+ }
217
+ } else {
218
+ // 数据
219
+ this.rowsdata[index][i] = []
220
+ // 不勾选
221
+ this.radio[index].$set(i, false)
222
+ // 任意取消一个则全选状态设为false
223
+ this.all.$set(index, false)
224
+ }
225
+ let z = 0
226
+ this.printModel.rows = []
227
+ for (let i = 0; i < this.all.length; i++) {
228
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
229
+ if (this.rowsdata[i][j] && this.rowsdata[i][j].f_user_id) {
230
+ this.printModel.rows[z++] = this.rowsdata[i][j]
231
+ }
232
+ }
233
+ }
234
+ },
235
+ showchargedetail (row) {
236
+ this.showdetail = true
237
+ this.otherchargeid = row.id
238
+ }
239
+ },
240
+ computed: {
241
+ ischecked () {
242
+ return function (index, i) {
243
+ if (!this.radio[index]) {
244
+ return false
245
+ }
246
+ return this.radio[index][i]
247
+ }
248
+ }
249
+ }
250
+ }
251
+ </script>
@@ -0,0 +1,81 @@
1
+
2
+ <template >
3
+ <div class="auto">
4
+ <modal :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
5
+ <article slot="modal-body" class="modal-body">
6
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
7
+ <template partial='head'>
8
+ <tr>
9
+ <th><nobr>序号</nobr></th>
10
+ <th><nobr>收费类型</nobr></th>
11
+ <th><nobr>数量</nobr></th>
12
+ <th><nobr>单价</nobr></th>
13
+ <th><nobr>价格</nobr></th>
14
+ <th><nobr>品名规格</nobr></th>
15
+ <th><nobr>型号</nobr></th>
16
+ </tr>
17
+ </template>
18
+ <template partial='body' partial='list' v-ref:grid>
19
+ <tr >
20
+ <td style="text-align:center;">{{$index+1}}</td>
21
+ <th style="text-align:center">{{row.f_brand_spec}}</th>
22
+ <th style="text-align:center">{{row.f_number}}</th>
23
+ <th style="text-align:center">{{row.f_unitprice}}</th>
24
+ <th style="text-align:center">{{(row.f_number-0)*(row.f_unitprice-0)}}</th>
25
+ <th style="text-align:center">{{row.f_typename}}</th>
26
+ <th style="text-align:center">{{row.f_typenumber}}</th>
27
+
28
+ </tr>
29
+ </template>
30
+ <template partial='foot'></template>
31
+ </data-grid>
32
+ </article>
33
+ <footer slot="modal-footer" class="modal-footer">
34
+ </footer>
35
+ </modal>
36
+ </div>
37
+ </template>
38
+
39
+ <script>
40
+ export default {
41
+ title: '抄表',
42
+ data () {
43
+ return {
44
+ model: {
45
+ rows: []
46
+ }
47
+
48
+ }
49
+ },
50
+ props: ['otherchargeid', 'showdetail'],
51
+ ready () {
52
+ this.search()
53
+ },
54
+ methods: {
55
+ async search () {
56
+ // 获取这个气价的所有记录
57
+ this.model.rows = []
58
+ let data = {
59
+ tablename: `t_othercharge_detail`,
60
+ items: '*',
61
+ condition: '1=1',
62
+ orderitem: 'id'
63
+ }
64
+ if (this.otherchargeid) {
65
+ data.condition = `f_othercharge_id = '${this.otherchargeid}'`
66
+ }
67
+
68
+ let res = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {data: data}, {rejectMsg: '获取气价记录出错', resolveMsg: null})
69
+ this.model.rows = res.data
70
+ }
71
+
72
+ },
73
+ watch: {
74
+ 'showdetail' (val) {
75
+ if (val) {
76
+ this.search()
77
+ }
78
+ }
79
+ }
80
+ }
81
+ </script>
@@ -129,7 +129,7 @@
129
129
  import ChargeRecordQueryUser from '../../components/common/userinfo_detail/ic_detail/ChargeRecordQuery'
130
130
  import FillCardQueryUser from '../../components/common/userinfo_detail/ic_detail/FillCardQueryUser'
131
131
  import HandQueryUser from '../../components/common/userinfo_detail/ic_detail/HandQueryUser'
132
- import OtherChargeQueryUser from '../../components/common/userinfo_detail/ic_detail/OtherChargeQueryUser'
132
+ import OtherChargeQueryUser from './OtherChargeQueryUser'
133
133
  import RecordQueryUser from '../../components/common/userinfo_detail/ic_detail/RecordQueryUser'
134
134
  import TransferQueryUser from '../../components/common/userinfo_detail/ic_detail/TransferQueryUser'
135
135
  import CardHandRecord from '../../components/common/userinfo_detail/ic_detail/CardHandRecord'
@@ -164,6 +164,12 @@
164
164
  :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
165
165
  </nobr>
166
166
  </th>
167
+ <th>
168
+ <nobr>纳税人识别号</nobr>
169
+ </th>
170
+ <th>
171
+ <nobr>开票名称</nobr>
172
+ </th>
167
173
  <th>
168
174
  <nobr>所属年月</nobr>
169
175
  </th>
@@ -225,6 +231,8 @@
225
231
  <td style="text-align: center;">{{ $index + 1 }}</td>
226
232
  <td style="text-align: center;">{{ row.f_userinfo_code }}</td>
227
233
  <td style="text-align: center;">{{ row.f_user_name }}&nbsp;&nbsp;{{ row.f_address }}</td>
234
+ <td>{{ row.f_taxpayer_id }}</td>
235
+ <td>{{ row.f_paper_name }}</td>
228
236
  <td style="text-align: center;">{{ row.belongmonth }}</td>
229
237
  <td style="text-align: center;">{{ row.f_meternumber }}</td>
230
238
  <td style="text-align: center;">{{ row.f_user_phone }}</td>
@@ -419,7 +427,9 @@ export default {
419
427
  'f_meter_classify': '气表分类',
420
428
  'f_meter_style': '气表型号',
421
429
  'f_user_phone': '客户电话',
422
- 'f_comments': '备注'
430
+ 'f_comments': '备注',
431
+ 'f_taxpayer_id': '纳税人识别号',
432
+ 'f_paper_name': '开票名称'
423
433
  },
424
434
  examine: true,
425
435
  customCal: false
@@ -226,6 +226,12 @@
226
226
  <th>
227
227
  <nobr>用户等级</nobr>
228
228
  </th>
229
+ <th>
230
+ <nobr>纳税人识别号</nobr>
231
+ </th>
232
+ <th>
233
+ <nobr>开票名称</nobr>
234
+ </th>
229
235
  <th>
230
236
  <nobr>小区</nobr>
231
237
  </th>
@@ -306,6 +312,8 @@
306
312
  }}&nbsp;&nbsp;{{ row.f_address }}
307
313
  </td>
308
314
  <td>{{ row.f_user_level }}</td>
315
+ <td>{{ row.f_taxpayer_id }}</td>
316
+ <td>{{ row.f_paper_name }}</td>
309
317
  <td style="text-align: center;">{{ row.f_residential_area }}</td>
310
318
  <td style="text-align: center;">{{ row.f_meternumber }}</td>
311
319
  <td style="text-align: center;">{{ row.f_user_phone }}</td>
@@ -523,7 +531,9 @@ export default {
523
531
  'f_img_path': '附件查看',
524
532
  'f_sign_img': '签章图片',
525
533
  'f_meter_state': '状态',
526
- 'f_usetype': '使用类型'
534
+ 'f_usetype': '使用类型',
535
+ 'f_taxpayer_id': '纳税人识别号',
536
+ 'f_paper_name': '开票名称'
527
537
  },
528
538
  meterbrands: [{label: '全部', value: ''}],
529
539
  upshow: false,