sale-client 3.6.48 → 3.6.49

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 (40) hide show
  1. package/build/dev-server.js +85 -88
  2. package/package.json +1 -1
  3. package/src/components/FilesManage/FileUserMerge.vue +203 -203
  4. package/src/components/FilesManageNew/FileUserMerge.vue +202 -202
  5. package/src/components/charge/business/CardMeterCenter.vue +938 -938
  6. package/src/components/charge/business/IOT/IotChangeFill.vue +487 -487
  7. package/src/components/charge/business/IOTMeterCenter.vue +787 -787
  8. package/src/components/charge/business/ShowCardSellGas.vue +922 -922
  9. package/src/components/chargeNew/SendBook.vue +107 -107
  10. package/src/components/revenue/Common/EticketPrint.vue +211 -211
  11. package/src/components/revenue/Common/MeterMessage.vue +22 -22
  12. package/src/components/revenue/comprehen/Bill/Eticket/EticketOpenCard.vue +335 -335
  13. package/src/components/revenue/comprehen/Bill/EticketV4/CustQueryEticket.vue +316 -316
  14. package/src/components/revenue/comprehen/Bill/EticketV4/EticketManage.vue +60 -60
  15. package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenJBPage.vue +336 -336
  16. package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenPage.vue +328 -328
  17. package/src/components/revenue/comprehen/Bill/EticketV4/EticketRecordList.vue +278 -278
  18. package/src/components/revenue/comprehen/ComprehenOperation/FeeDeduction/feeDeduction.vue +169 -169
  19. package/src/components/revenue/comprehen/ComprehenOperation/OffGasAddGas/OffGasAddGas.vue +1 -1
  20. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +1054 -1054
  21. package/src/components/revenue/comprehen/Maintenance/T+MoneyDocking/moneyDocking.vue +202 -202
  22. package/src/components/revenue/machineHandManage/HandplanQuery.vue +1308 -1308
  23. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +934 -934
  24. package/src/filiale/liaoyuan/FileUserFiles.vue +844 -844
  25. package/src/filiale/macheng/FileUserFiles.vue +930 -930
  26. package/src/filiale/qianneng/MbpeopleList.vue +520 -520
  27. package/src/filiale/qianneng/eticket/EticketPrint.vue +377 -377
  28. package/src/filiale/qianneng/eticket/EticketRecordList.vue +318 -318
  29. package/src/filiale/rongcheng/FilesManageNew/FileUserFiles.vue +732 -732
  30. package/src/filiale/rongcheng/FilesManageNew/FileUserMerge.vue +202 -202
  31. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +881 -881
  32. package/src/filiale/shaoguan/FilesManageNew/FileUserFiles.vue +734 -734
  33. package/src/filiale/shexian/revenue/newchangemeter/ChangeMeter.vue +7 -2
  34. package/src/filiale/tongchuan/BasicLivingList.vue +253 -253
  35. package/src/filiale/tongchuan/filemanagenew/FileUserFiles.vue +842 -842
  36. package/src/filiale/zhongyi/FileUserFiles.vue +1017 -1017
  37. package/src/main.js +27 -26
  38. package/src/plugins/ChangeMeterService.js +4 -0
  39. package/src/sale.js +1164 -1164
  40. package/.gradle/buildOutputCleanup/cache.properties +0 -2
@@ -1,202 +1,202 @@
1
- <template>
2
- <div @keyup.enter="search" class="flex-row" id="unit">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:paged>
5
- <criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
- <div class="row">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">组织机构</label>
10
- <res-select :initresid='$parent.$parent.curorgid'
11
- @res-select="$parent.$parent.getorg"
12
- is-mul="false"
13
- restype='organization'>
14
- </res-select>
15
- </div>
16
- <div class="col-sm-2 form-group">
17
- <label class="font_normal_body">客户姓名</label>
18
- <input class="input_search" condition="f_user_name like '%{}%'" placeholder="客户姓名" style="width:60%"
19
- style="width:60%"
20
- type="text" v-model="model.f_user_name"
21
- />
22
- </div>
23
- <div class="col-sm-2 form-group ">
24
- <label class="font_normal_body">客户编号</label>
25
- <input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="客户编号" style="width:60%"
26
- style="width:60%"
27
- type="text" v-model="model.f_building"
28
- />
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body">客户地址</label>
32
- <input class="input_search" condition="f_address like '%{}%'" placeholder="客户地址" style="width:60%"
33
- style="width:60%"
34
- type="text" v-model="model.f_address"
35
- />
36
- </div>
37
- <div class="form-group col-sm-3 button-range" style="float: left">
38
- <button @click="search()" class="button_search button_spacing">查询</button>
39
- <button @click="$parent.$parent.submit()" class="button_export button_spacing"
40
- style="width: max-content">合并档案
41
- </button>
42
- </div>
43
- </div>
44
- </div>
45
- </criteria>
46
- <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
47
- <template partial='head'>
48
- <tr>
49
- <th style="padding: 0;border: 0">选择</th>
50
- <th>
51
- <nobr>客户编号</nobr>
52
- </th>
53
- <th>
54
- <nobr>客户姓名</nobr>
55
- </th>
56
- <th>
57
- <nobr>客户电话</nobr>
58
- </th>
59
- <th>
60
- <nobr>客户地址</nobr>
61
- </th>
62
- <th>
63
- <nobr>客户状态</nobr>
64
- </th>
65
- <th>
66
- <nobr>表号</nobr>
67
- </th>
68
- <th>
69
- <nobr>表型号</nobr>
70
- </th>
71
- <th>
72
- <nobr>表状态</nobr>
73
- </th>
74
- </tr>
75
- </template>
76
- <template partial='body'>
77
- <tr>
78
- <td style="text-align: center;padding: 0;border: 0">
79
- <input :checked="$parent.$parent.$parent.ischecked(row)"
80
- @change="$parent.$parent.$parent.selectOne($event,row,$index)"
81
- style="width: 22px;height: 22px;"
82
- type='checkbox' v-show="row.f_user_state === '正常'"/>
83
- </td>
84
- <td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
85
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
86
- <td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
87
- <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
88
- <td style="text-align:center"><nobr>{{row.f_user_state}}</nobr></td>
89
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
90
- <td style="text-align:center"><nobr>{{row.f_meter_brand}}{{row.f_meter_style}}</nobr></td>
91
- <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
92
- </tr>
93
- </template>
94
- <template partial='foot'></template>
95
- </data-grid>
96
- </criteria-paged>
97
- </div>
98
- </div>
99
- <!--<modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
100
- <article slot="modal-body" class="modal-body">
101
- <file-merge-info :mergeinfo="selecteddata" v-ref=""></file-merge-info>
102
- </article>
103
- <footer slot="modal-footer" class="modal-footer">
104
- </footer>
105
- </modal>-->
106
- <modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
107
- <article slot="modal-body" class="modal-body">
108
- <file-merge-info :mergeinfo=selecteddata></file-merge-info>
109
- </article>
110
- <footer slot="modal-footer" class="modal-footer">
111
- </footer>
112
- </modal>
113
- </template>
114
-
115
- <script>
116
- import { PagedList } from 'vue-client'
117
- import {HttpResetClass} from 'vue-client'
118
-
119
- export default {
120
- data () {
121
- return {
122
- model: new PagedList('rs/sql/filemanage_getmergeuser', 20, {}),
123
- selecteddata: {
124
- data: []
125
- },
126
- showmergeinfo: false
127
- }
128
- },
129
- title: '档案合并',
130
- ready () {
131
- this.search()
132
- },
133
- computed: {
134
- ischecked () {
135
- return function (row) {
136
- return this.selecteddata.data.includes(row)
137
- }
138
- }
139
- },
140
- events: {
141
- init (val) {
142
- this.showmergeinfo = false
143
- this.search()
144
- let msg = `成功将 ${val.oldcode} 档案信息合并至 ${val.newcode}`
145
- if (val.cancelcode.length > 0) {
146
- msg = `${msg} ,并对${val.cancelcode} 销户`
147
- }
148
- this.$showMessage(msg)
149
- }
150
- },
151
- methods: {
152
-
153
- search () {
154
- this.$refs.paged.$refs.cri.search()
155
- },
156
-
157
- async selfSearch (args) {
158
- this.selecteddata.data = []
159
- this.rowsdata = []
160
- this.all = false
161
- if (!this.f_orgid) {
162
- this.getorg([this.$login.f.orgid])
163
- }
164
-
165
- args.condition = `${args.condition} and f_filialeid = '${this.f_filialeids}'`
166
- await this.model.search(args.condition, args.model)
167
- this.length = this.model.count
168
- },
169
-
170
- // 清空
171
- clear () {
172
- this.$refs.paged.$refs.cri.model = {}
173
- },
174
- getorg (val) {
175
- this.f_orgid = this.$login.convertToIn(val)
176
- this.f_filialeids = val[0]
177
- },
178
- selectOne (event, row, i) {
179
- if (this.all) {
180
- this.all = !this.all
181
- }
182
- if (event.target.checked) {
183
- this.selecteddata.data.push(row)
184
- if (this.length === this.selecteddata.data.length) {
185
- this.all = true
186
- }
187
- } else {
188
- this.all = false
189
- this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
190
- }
191
- },
192
- submit () {
193
- if (this.selecteddata.data.length < 2) {
194
- this.$showAlert('请选择至少两户档案', 'danger')
195
- return
196
- }
197
- this.showmergeinfo = true
198
- }
199
- }
200
-
201
- }
202
- </script>
1
+ <template>
2
+ <div @keyup.enter="search" class="flex-row" id="unit">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">组织机构</label>
10
+ <res-select :initresid='$parent.$parent.curorgid'
11
+ @res-select="$parent.$parent.getorg"
12
+ is-mul="false"
13
+ restype='organization'>
14
+ </res-select>
15
+ </div>
16
+ <div class="col-sm-2 form-group">
17
+ <label class="font_normal_body">客户姓名</label>
18
+ <input class="input_search" condition="f_user_name like '%{}%'" placeholder="客户姓名" style="width:60%"
19
+ style="width:60%"
20
+ type="text" v-model="model.f_user_name"
21
+ />
22
+ </div>
23
+ <div class="col-sm-2 form-group ">
24
+ <label class="font_normal_body">客户编号</label>
25
+ <input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="客户编号" style="width:60%"
26
+ style="width:60%"
27
+ type="text" v-model="model.f_building"
28
+ />
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">客户地址</label>
32
+ <input class="input_search" condition="f_address like '%{}%'" placeholder="客户地址" style="width:60%"
33
+ style="width:60%"
34
+ type="text" v-model="model.f_address"
35
+ />
36
+ </div>
37
+ <div class="form-group col-sm-3 button-range" style="float: left">
38
+ <button @click="search()" class="button_search button_spacing">查询</button>
39
+ <button @click="$parent.$parent.submit()" class="button_export button_spacing"
40
+ style="width: max-content">合并档案
41
+ </button>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </criteria>
46
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
47
+ <template partial='head'>
48
+ <tr>
49
+ <th style="padding: 0;border: 0">选择</th>
50
+ <th>
51
+ <nobr>客户编号</nobr>
52
+ </th>
53
+ <th>
54
+ <nobr>客户姓名</nobr>
55
+ </th>
56
+ <th>
57
+ <nobr>客户电话</nobr>
58
+ </th>
59
+ <th>
60
+ <nobr>客户地址</nobr>
61
+ </th>
62
+ <th>
63
+ <nobr>客户状态</nobr>
64
+ </th>
65
+ <th>
66
+ <nobr>表号</nobr>
67
+ </th>
68
+ <th>
69
+ <nobr>表型号</nobr>
70
+ </th>
71
+ <th>
72
+ <nobr>表状态</nobr>
73
+ </th>
74
+ </tr>
75
+ </template>
76
+ <template partial='body'>
77
+ <tr>
78
+ <td style="text-align: center;padding: 0;border: 0">
79
+ <input :checked="$parent.$parent.$parent.ischecked(row)"
80
+ @change="$parent.$parent.$parent.selectOne($event,row,$index)"
81
+ style="width: 22px;height: 22px;"
82
+ type='checkbox' v-show="row.f_user_state === '正常'"/>
83
+ </td>
84
+ <td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
85
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
86
+ <td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
87
+ <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
88
+ <td style="text-align:center"><nobr>{{row.f_user_state}}</nobr></td>
89
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
90
+ <td style="text-align:center"><nobr>{{row.f_meter_brand}}{{row.f_meter_style}}</nobr></td>
91
+ <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
92
+ </tr>
93
+ </template>
94
+ <template partial='foot'></template>
95
+ </data-grid>
96
+ </criteria-paged>
97
+ </div>
98
+ </div>
99
+ <!--<modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
100
+ <article slot="modal-body" class="modal-body">
101
+ <file-merge-info :mergeinfo="selecteddata" v-ref=""></file-merge-info>
102
+ </article>
103
+ <footer slot="modal-footer" class="modal-footer">
104
+ </footer>
105
+ </modal>-->
106
+ <modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
107
+ <article slot="modal-body" class="modal-body">
108
+ <file-merge-info :mergeinfo=selecteddata></file-merge-info>
109
+ </article>
110
+ <footer slot="modal-footer" class="modal-footer">
111
+ </footer>
112
+ </modal>
113
+ </template>
114
+
115
+ <script>
116
+ import { PagedList } from 'vue-client'
117
+ import {HttpResetClass} from 'vue-client'
118
+
119
+ export default {
120
+ data () {
121
+ return {
122
+ model: new PagedList('rs/sql/filemanage_getmergeuser', 20, {}),
123
+ selecteddata: {
124
+ data: []
125
+ },
126
+ showmergeinfo: false
127
+ }
128
+ },
129
+ title: '档案合并',
130
+ ready () {
131
+ this.search()
132
+ },
133
+ computed: {
134
+ ischecked () {
135
+ return function (row) {
136
+ return this.selecteddata.data.includes(row)
137
+ }
138
+ }
139
+ },
140
+ events: {
141
+ init (val) {
142
+ this.showmergeinfo = false
143
+ this.search()
144
+ let msg = `成功将 ${val.oldcode} 档案信息合并至 ${val.newcode}`
145
+ if (val.cancelcode.length > 0) {
146
+ msg = `${msg} ,并对${val.cancelcode} 销户`
147
+ }
148
+ this.$showMessage(msg)
149
+ }
150
+ },
151
+ methods: {
152
+
153
+ search () {
154
+ this.$refs.paged.$refs.cri.search()
155
+ },
156
+
157
+ async selfSearch (args) {
158
+ this.selecteddata.data = []
159
+ this.rowsdata = []
160
+ this.all = false
161
+ if (!this.f_orgid) {
162
+ this.getorg([this.$login.f.orgid])
163
+ }
164
+
165
+ args.condition = `${args.condition} and f_filialeid = '${this.f_filialeids}'`
166
+ await this.model.search(args.condition, args.model)
167
+ this.length = this.model.count
168
+ },
169
+
170
+ // 清空
171
+ clear () {
172
+ this.$refs.paged.$refs.cri.model = {}
173
+ },
174
+ getorg (val) {
175
+ this.f_orgid = this.$login.convertToIn(val)
176
+ this.f_filialeids = val[0]
177
+ },
178
+ selectOne (event, row, i) {
179
+ if (this.all) {
180
+ this.all = !this.all
181
+ }
182
+ if (event.target.checked) {
183
+ this.selecteddata.data.push(row)
184
+ if (this.length === this.selecteddata.data.length) {
185
+ this.all = true
186
+ }
187
+ } else {
188
+ this.all = false
189
+ this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
190
+ }
191
+ },
192
+ submit () {
193
+ if (this.selecteddata.data.length < 2) {
194
+ this.$showAlert('请选择至少两户档案', 'danger')
195
+ return
196
+ }
197
+ this.showmergeinfo = true
198
+ }
199
+ }
200
+
201
+ }
202
+ </script>