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,88 +1,85 @@
1
- var path = require('path')
2
- const [localUrl, serverRul] = ['http://121.36.106.17:8400/', 'http://121.36.106.17:8400/']
3
- var merge = require('webpack-merge')
4
- var baseConfig = require('./webpack.dev.conf')
5
- var devConfig = {
6
- devServer: {
7
- contentBase: path.join(__dirname, 'src'),
8
- hot: true,
9
- publicPath: baseConfig.output.publicPath,
10
- historyApiFallback: true,
11
- host: '127.0.0.1',
12
- port: 8089,
13
- open: true,
14
- stats: {
15
- colors: false, // 配置控制台输出彩色日志
16
- chunks: false, // 不输出构建 chunk 信息
17
- children: false // 不输出子模块构建信息
18
- },
19
- proxy: {
20
- '/rs/logic/testlogic': {
21
- target: 'http://127.0.0.1:8080/'
22
- },
23
- '/rs/file': {
24
- target: serverRul
25
- },
26
- '/invoice': {
27
- target: serverRul
28
- },
29
- // 查找资源服务数据
30
- '/rs/search': {
31
- target: serverRul
32
- },
33
- // 查找资源服务数据
34
- '/rs/logic/getLogin': {
35
- target: serverRul
36
- },
37
- // 查找资源服务数据
38
- '/rs/logic/getInitData': {
39
- target: serverRul
40
- },
41
- '/rs/logic/getSaleInitData': {
42
- target: serverRul
43
- },
44
- // 用户登录服务地址
45
- '/rs/user': {
46
- target: serverRul
47
- },
48
- '/rs/path': {
49
- target: serverRul
50
- },
51
- '/rs/data': {
52
- target: serverRul
53
- },
54
- '/rs/license': {
55
- target: serverRul
56
- },
57
- '/rs/db': {
58
- target: serverRul
59
- },
60
- '/excel': {
61
- target: serverRul
62
- },
63
- '/rs/config': {
64
- target: serverRul
65
- },
66
- '/rs/report': {
67
- target: serverRul
68
- },
69
- '/rs/vue': {
70
- target: serverRul
71
- },
72
- '/rs/logic': {
73
- target: localUrl
74
- },
75
- '/rs/sql': {
76
- target: localUrl
77
- },
78
- '/webmeter': {
79
- target: serverRul
80
- },
81
- '/rs': {
82
- target: serverRul
83
- // changeOrigin: true
84
- }
85
- }
86
- }
87
- }
88
- module.exports = merge(baseConfig, devConfig)
1
+ var path = require('path')
2
+ const [localUrl, serverRul] = ['https://qnjtkf.cn:8400/', 'https://qnjtkf.cn:8400/']
3
+ var merge = require('webpack-merge')
4
+ var baseConfig = require('./webpack.dev.conf')
5
+ var devConfig = {
6
+ devServer: {
7
+ contentBase: path.join(__dirname, 'src'),
8
+ hot: true,
9
+ publicPath: baseConfig.output.publicPath,
10
+ historyApiFallback: true,
11
+ host: '127.0.0.1',
12
+ port: 8089,
13
+ open: true,
14
+ stats: {
15
+ colors: false, // 配置控制台输出彩色日志
16
+ chunks: false, // 不输出构建 chunk 信息
17
+ children: false // 不输出子模块构建信息
18
+ },
19
+ proxy: {
20
+ '/rs/file': {
21
+ target: serverRul
22
+ },
23
+ '/invoice': {
24
+ target: serverRul
25
+ },
26
+ // 查找资源服务数据
27
+ '/rs/search': {
28
+ target: serverRul
29
+ },
30
+ // 查找资源服务数据
31
+ '/rs/logic/getLogin': {
32
+ target: serverRul
33
+ },
34
+ // 查找资源服务数据
35
+ '/rs/logic/getInitData': {
36
+ target: serverRul
37
+ },
38
+ '/rs/logic/getSaleInitData': {
39
+ target: serverRul
40
+ },
41
+ // 用户登录服务地址
42
+ '/rs/user': {
43
+ target: serverRul
44
+ },
45
+ '/rs/path': {
46
+ target: serverRul
47
+ },
48
+ '/rs/data': {
49
+ target: serverRul
50
+ },
51
+ '/rs/license': {
52
+ target: serverRul
53
+ },
54
+ '/rs/db': {
55
+ target: serverRul
56
+ },
57
+ '/excel': {
58
+ target: serverRul
59
+ },
60
+ '/rs/config': {
61
+ target: serverRul
62
+ },
63
+ '/rs/report': {
64
+ target: serverRul
65
+ },
66
+ '/rs/vue': {
67
+ target: serverRul
68
+ },
69
+ '/rs/logic': {
70
+ target: localUrl
71
+ },
72
+ '/rs/sql': {
73
+ target: localUrl
74
+ },
75
+ '/webmeter': {
76
+ target: serverRul
77
+ },
78
+ '/rs': {
79
+ target: serverRul
80
+ // changeOrigin: true
81
+ }
82
+ }
83
+ }
84
+ }
85
+ module.exports = merge(baseConfig, devConfig)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.48",
3
+ "version": "3.6.49",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1,203 +1,203 @@
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
- curorgid: [this.$login.f.orgid],
127
- showmergeinfo: false
128
- }
129
- },
130
- title: '档案合并',
131
- ready () {
132
- this.search()
133
- },
134
- computed: {
135
- ischecked () {
136
- return function (row) {
137
- return this.selecteddata.data.includes(row)
138
- }
139
- }
140
- },
141
- events: {
142
- init (val) {
143
- this.showmergeinfo = false
144
- this.search()
145
- let msg = `成功将 ${val.oldcode} 档案信息合并至 ${val.newcode}`
146
- if (val.cancelcode.length > 0) {
147
- msg = `${msg} ,并对${val.cancelcode} 销户`
148
- }
149
- this.$showMessage(msg)
150
- }
151
- },
152
- methods: {
153
-
154
- search () {
155
- this.$refs.paged.$refs.cri.search()
156
- },
157
-
158
- async selfSearch (args) {
159
- this.selecteddata.data = []
160
- this.rowsdata = []
161
- this.all = false
162
- if (!this.f_orgid) {
163
- this.getorg([this.$login.f.orgid])
164
- }
165
-
166
- args.condition = `${args.condition} and f_filialeid = '${this.f_filialeids}'`
167
- await this.model.search(args.condition, args.model)
168
- this.length = this.model.count
169
- },
170
-
171
- // 清空
172
- clear () {
173
- this.$refs.paged.$refs.cri.model = {}
174
- },
175
- getorg (val) {
176
- this.f_orgid = this.$login.convertToIn(val)
177
- this.f_filialeids = val[0]
178
- },
179
- selectOne (event, row, i) {
180
- if (this.all) {
181
- this.all = !this.all
182
- }
183
- if (event.target.checked) {
184
- this.selecteddata.data.push(row)
185
- if (this.length === this.selecteddata.data.length) {
186
- this.all = true
187
- }
188
- } else {
189
- this.all = false
190
- this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
191
- }
192
- },
193
- submit () {
194
- if (this.selecteddata.data.length < 2) {
195
- this.$showAlert('请选择至少两户档案', 'danger')
196
- return
197
- }
198
- this.showmergeinfo = true
199
- }
200
- }
201
-
202
- }
203
- </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
+ curorgid: [this.$login.f.orgid],
127
+ showmergeinfo: false
128
+ }
129
+ },
130
+ title: '档案合并',
131
+ ready () {
132
+ this.search()
133
+ },
134
+ computed: {
135
+ ischecked () {
136
+ return function (row) {
137
+ return this.selecteddata.data.includes(row)
138
+ }
139
+ }
140
+ },
141
+ events: {
142
+ init (val) {
143
+ this.showmergeinfo = false
144
+ this.search()
145
+ let msg = `成功将 ${val.oldcode} 档案信息合并至 ${val.newcode}`
146
+ if (val.cancelcode.length > 0) {
147
+ msg = `${msg} ,并对${val.cancelcode} 销户`
148
+ }
149
+ this.$showMessage(msg)
150
+ }
151
+ },
152
+ methods: {
153
+
154
+ search () {
155
+ this.$refs.paged.$refs.cri.search()
156
+ },
157
+
158
+ async selfSearch (args) {
159
+ this.selecteddata.data = []
160
+ this.rowsdata = []
161
+ this.all = false
162
+ if (!this.f_orgid) {
163
+ this.getorg([this.$login.f.orgid])
164
+ }
165
+
166
+ args.condition = `${args.condition} and f_filialeid = '${this.f_filialeids}'`
167
+ await this.model.search(args.condition, args.model)
168
+ this.length = this.model.count
169
+ },
170
+
171
+ // 清空
172
+ clear () {
173
+ this.$refs.paged.$refs.cri.model = {}
174
+ },
175
+ getorg (val) {
176
+ this.f_orgid = this.$login.convertToIn(val)
177
+ this.f_filialeids = val[0]
178
+ },
179
+ selectOne (event, row, i) {
180
+ if (this.all) {
181
+ this.all = !this.all
182
+ }
183
+ if (event.target.checked) {
184
+ this.selecteddata.data.push(row)
185
+ if (this.length === this.selecteddata.data.length) {
186
+ this.all = true
187
+ }
188
+ } else {
189
+ this.all = false
190
+ this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
191
+ }
192
+ },
193
+ submit () {
194
+ if (this.selecteddata.data.length < 2) {
195
+ this.$showAlert('请选择至少两户档案', 'danger')
196
+ return
197
+ }
198
+ this.showmergeinfo = true
199
+ }
200
+ }
201
+
202
+ }
203
+ </script>