sale-client 3.5.167 → 3.5.169

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 (26) hide show
  1. package/package.json +1 -1
  2. package/src/components/FilesManage/FileUserFiles.vue +7 -7
  3. package/src/components/FilesManage/MeterinfoTest.vue +16 -15
  4. package/src/components/FilesManageNew/FileUserFiles.vue +1 -1
  5. package/src/components/UserFiles/UserPriceChangeManage.vue +1 -1
  6. package/src/components/charge/ChargeList.vue +2 -2
  7. package/src/components/revenue/HandManager/PriceAdjustment.vue +1 -1
  8. package/src/components/revenue/base/leftview/Userinfo.vue +2 -2
  9. package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +6 -6
  10. package/src/components/revenue/changeInsurance/InsuranceList.vue +3 -3
  11. package/src/components/revenue/comprehen/insurance/insuranceGuanL.vue +4 -4
  12. package/src/filiale/gehua/HighMeterIdCard.vue +1 -5
  13. package/src/filiale/gehua/sale.js +1 -4
  14. package/src/filiale/shanxian/components/FilesManage/FileAddressList.vue +141 -0
  15. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1003 -0
  16. package/src/filiale/shanxian/components/FilesManage/UserEssentialInfoTest.vue +333 -0
  17. package/src/filiale/shanxian/components/FilesManageNew/FileAddressList.vue +138 -0
  18. package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +756 -0
  19. package/src/filiale/shanxian/components/UserFiles/UserPriceChangeManage.vue +662 -0
  20. package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +406 -0
  21. package/src/filiale/shanxian/components/revenue/InsuranceList.vue +277 -0
  22. package/src/filiale/shanxian/components/revenue/InsuranceManage.vue +52 -0
  23. package/src/filiale/shanxian/sale.js +3 -0
  24. package/src/filiale/tongchuan/bill/ReissueBill.vue +322 -0
  25. package/src/filiale/tongchuan/sale.js +1 -0
  26. package/src/plugins/CommonService.js +23 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.167",
3
+ "version": "3.5.169",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -119,10 +119,10 @@
119
119
  <div
120
120
  :class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
121
121
  class="form-group">
122
- <label class="font_normal_body">用户类型</label>
122
+ <label class="font_normal_body">客户类型</label>
123
123
  <v-select :options='$parent.$parent.user_type' :value.sync="model.f_user_type"
124
124
  close-on-select condition="f_user_type='{}'"
125
- placeholder='用户类型' v-model="model.f_user_type"></v-select>
125
+ placeholder='客户类型' v-model="model.f_user_type"></v-select>
126
126
  </div>
127
127
  <div
128
128
  :class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
@@ -239,11 +239,11 @@
239
239
  <div
240
240
  :class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
241
241
  class="form-group" >
242
- <label class="font_normal_body">用户等级</label>
242
+ <label class="font_normal_body">客户等级</label>
243
243
  <v-select :options='$parent.$parent.userlevel' :search='true'
244
244
  :value.sync="model.userlevel"
245
245
  close-on-select
246
- condition="f_user_level = '{}'" placeholder='用户等级'
246
+ condition="f_user_level = '{}'" placeholder='客户等级'
247
247
  v-model='model.userlevel'></v-select>
248
248
  </div>
249
249
  <div
@@ -308,10 +308,10 @@
308
308
  <nobr>客户电话</nobr>
309
309
  </th>
310
310
  <th v-if="!$parent.$parent.$parent.isOper">
311
- <nobr>地址信息</nobr>
311
+ <nobr>客户地址</nobr>
312
312
  </th>
313
313
  <th>
314
- <nobr>用户类型</nobr>
314
+ <nobr>客户类型</nobr>
315
315
  </th>
316
316
  <th>
317
317
  <nobr>用气性质</nobr>
@@ -332,7 +332,7 @@
332
332
  <nobr>状态</nobr>
333
333
  </th>
334
334
  <th >
335
- <nobr>用户等级</nobr>
335
+ <nobr>客户等级</nobr>
336
336
  </th>
337
337
  <!--<th>-->
338
338
  <!--<nobr v-if="this.$login.r.includes('通知单打印')||this.$login.r.includes('流程表打印') ">下载</nobr>-->
@@ -6,6 +6,22 @@
6
6
  <a style="font-size: 16px;font-weight: 500;">表具信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
7
7
  </div>
8
8
  <div class="row" >
9
+ <div class="col-sm-4 form-group" :class="[$m.brand.required ? 'has-error' : '']">
10
+ <label for="gasbrand" class="font_normal_body">气表品牌</label>
11
+ <input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.brand.selectedItems"
12
+ v-validate:brand='{required: true }'>
13
+ <v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
14
+ search @change='brandChange' v-model='row.gasbrand' :disabled="curuser.f_user_state != '预备'" v-ref:brand></v-select>
15
+ </div>
16
+ <div class="col-sm-4 form-group" :class="[$m.model.required ? 'has-error' : '']">
17
+ <label for="gasmodel" class="font_normal_body">气表型号</label>
18
+ <input type="text" v-show="false" v-model="$refs.model.selectedItems"
19
+ v-validate:model='{required: true }'>
20
+ <v-select :value.sync="row.gasmodel" :options='row.gasbrand[0].gasmodel' placeholder='气表型号'
21
+ close-on-select
22
+ v-model='row.gasmodel' :disabled="row.gasbrand.length === 0 || curuser.f_user_state != '预备'" v-ref:model></v-select>
23
+ </div>
24
+
9
25
  <div class="col-sm-4 form-group" v-if="isiot" :class="[$m.f_meternumber.required ? 'has-error' : '']">
10
26
  <label for="f_meternumber" class="font_normal_body">&ensp;表&emsp;&emsp;号</label>
11
27
  <input type="text" class="input_search" style="width:60%" v-model="row.f_meternumber"
@@ -38,21 +54,6 @@
38
54
  :disabled="!jurisdiction.includes('档案信息查询修改')">
39
55
  </div>
40
56
 
41
- <div class="col-sm-4 form-group" :class="[$m.brand.required ? 'has-error' : '']">
42
- <label for="gasbrand" class="font_normal_body">气表品牌</label>
43
- <input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.brand.selectedItems"
44
- v-validate:brand='{required: true }'>
45
- <v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
46
- search @change='brandChange' v-model='row.gasbrand' :disabled="curuser.f_user_state != '预备'" v-ref:brand></v-select>
47
- </div>
48
- <div class="col-sm-4 form-group" :class="[$m.model.required ? 'has-error' : '']">
49
- <label for="gasmodel" class="font_normal_body">气表型号</label>
50
- <input type="text" v-show="false" v-model="$refs.model.selectedItems"
51
- v-validate:model='{required: true }'>
52
- <v-select :value.sync="row.gasmodel" :options='row.gasbrand[0].gasmodel' placeholder='气表型号'
53
- close-on-select
54
- v-model='row.gasmodel' :disabled="row.gasbrand.length === 0 || curuser.f_user_state != '预备'" v-ref:model></v-select>
55
- </div>
56
57
  <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
57
58
  <label for="f_meter_base" class="font_normal_body">&ensp;累购气量</label>
58
59
  <input type="number" class="input_search" style="width:60%" v-model="row.f_total_gas" placeholder='累购气量'
@@ -225,7 +225,7 @@
225
225
  <nobr>客户电话</nobr>
226
226
  </th>
227
227
  <th v-if="!$parent.$parent.$parent.isOper">
228
- <nobr>地址信息</nobr>
228
+ <nobr>客户地址</nobr>
229
229
  </th>
230
230
  <th>
231
231
  <nobr>状态</nobr>
@@ -88,7 +88,7 @@
88
88
  <nobr>卡号</nobr>
89
89
  </th>
90
90
  <th>
91
- <nobr>地址信息</nobr>
91
+ <nobr>客户地址</nobr>
92
92
  </th>
93
93
  <th>
94
94
  <nobr>气价名称</nobr>
@@ -90,9 +90,9 @@
90
90
  close-on-select style="width: 60%"></v-select>
91
91
  </div>
92
92
  <div class="form-group col-sm-3">
93
- <label class="font_normal_body">用户等级</label>
93
+ <label class="font_normal_body">客户等级</label>
94
94
  <v-select v-model="model.f_user_level"
95
- placeholder='用户等级'
95
+ placeholder='客户等级'
96
96
  :value.sync="model.f_user_level"
97
97
  :options='$parent.$parent.userlevel'
98
98
  condition="i.f_user_level = '{}'"
@@ -105,7 +105,7 @@
105
105
  <th><nobr>客户编号</nobr></th>
106
106
  <th><nobr>表号</nobr></th>
107
107
  <th><nobr>姓名</nobr></th>
108
- <th><nobr>用户类型</nobr></th>
108
+ <th><nobr>客户类型</nobr></th>
109
109
  <th><nobr>气表类型</nobr></th>
110
110
  <th><nobr>气价名称</nobr></th>
111
111
  <!-- <th><nobr>地址</nobr></th>-->
@@ -44,7 +44,7 @@
44
44
  <span class = "col-sm-7">{{data?data.f_rent_phone:dafault.f_rent_phone}}</span>
45
45
  </div>
46
46
  <div class="row">
47
- <label class = "col-sm-5 " >&emsp;用户状态</label>
47
+ <label class = "col-sm-5 " >&emsp;客户状态</label>
48
48
  <span class = "col-sm-7">{{data?data.f_user_state:dafault.f_user_state}}</span>
49
49
  </div>
50
50
  <div class="row">
@@ -68,7 +68,7 @@
68
68
  <span class = "col-sm-7" style="word-break: break-all">{{data?data.f_people_num:dafault.f_people_num}}</span>
69
69
  </div>
70
70
  <div class="row">
71
- <label class = "col-sm-5 " >&emsp;用户等级</label>
71
+ <label class = "col-sm-5 " >&emsp;客户等级</label>
72
72
  <span class = "col-sm-7" style="word-break: break-all">{{data?data.f_user_level:dafault.f_people_num}}</span>
73
73
  </div>
74
74
  <div class="row">
@@ -7,14 +7,14 @@
7
7
  <div novalidate class="form-inline auto" novalidate partial>
8
8
  <div class="row">
9
9
  <div class="col-sm-2 form-group">
10
- <label class="font_normal_body" for="f_userinfo_code">用户编号</label>
10
+ <label class="font_normal_body" for="f_userinfo_code">客户编号</label>
11
11
  <input id="f_userinfo_code" type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_code"
12
- condition="f_userinfo_code = '{}'" placeholder='请输入要查询的用户编号'>
12
+ condition="f_userinfo_code = '{}'" placeholder='请输入要查询的客户编号'>
13
13
  </div>
14
14
  <div class="col-sm-2 form-group">
15
- <label class="font_normal_body" for="f_user_name">用户姓名</label>
15
+ <label class="font_normal_body" for="f_user_name">客户姓名</label>
16
16
  <input id="f_user_name" type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
17
- condition="f_user_name like '{}'" placeholder='请输入要查询的用户姓名'>
17
+ condition="f_user_name like '{}'" placeholder='请输入要查询的客户姓名'>
18
18
  </div>
19
19
  <div class="col-sm-2 form-group">
20
20
  <label class="font_normal_body" for="f_insurance_type">险&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;种</label>
@@ -63,10 +63,10 @@
63
63
  <nobr>序号</nobr>
64
64
  </th>
65
65
  <th>
66
- <nobr>用户编号</nobr>
66
+ <nobr>客户编号</nobr>
67
67
  </th>
68
68
  <th>
69
- <nobr>用户姓名</nobr>
69
+ <nobr>客户姓名</nobr>
70
70
  </th>
71
71
  <th>
72
72
  <nobr>身份证号</nobr>
@@ -69,13 +69,13 @@
69
69
  <nobr>序号</nobr>
70
70
  </th>
71
71
  <th>
72
- <nobr>用户编号</nobr>
72
+ <nobr>客户编号</nobr>
73
73
  </th>
74
74
  <th>
75
- <nobr>用户姓名</nobr>
75
+ <nobr>客户姓名</nobr>
76
76
  </th>
77
77
  <th>
78
- <nobr>用户地址</nobr>
78
+ <nobr>客户地址</nobr>
79
79
  </th>
80
80
  <th>
81
81
  <nobr>截止日期</nobr>
@@ -60,13 +60,13 @@
60
60
  <nobr>客户编号</nobr>
61
61
  </th>
62
62
  <th>
63
- <nobr>用户姓名</nobr>
63
+ <nobr>客户姓名</nobr>
64
64
  </th>
65
65
  <th>
66
- <nobr>用户电话</nobr>
66
+ <nobr>客户电话</nobr>
67
67
  </th>
68
68
  <th>
69
- <nobr>用户地址</nobr>
69
+ <nobr>客户地址</nobr>
70
70
  </th>
71
71
  <!--<th>-->
72
72
  <!--<nobr>保险编号</nobr>-->
@@ -149,7 +149,7 @@
149
149
  <modal :backdrop="false" :show.sync="show" v-if="show" >
150
150
  <header class="modal-header" slot="modal-header">
151
151
  <button @click="show=!show" class="close" type="button"><span>&times;</span></button>
152
- <h4 class="modal-title">修改用户保险信息</h4>
152
+ <h4 class="modal-title">修改客户保险信息</h4>
153
153
  </header>
154
154
  <article class="modal-body" slot="modal-body" style="height:100%;width:100%" >
155
155
  <div class="row">
@@ -350,11 +350,7 @@
350
350
 
351
351
  this.isopen = true
352
352
  this.iswaiting = false
353
- if(capID==2){
354
- this.SetAutoCutOff()
355
- }else{
356
- this.SetAutoCutOn()
357
- }
353
+ this.SetAutoCutOff()
358
354
  })
359
355
  },
360
356
  //关闭视频
@@ -38,9 +38,6 @@ let specialComp = {
38
38
  'file-meter-info': (resolve) => { require(['./MeterinfoTest'], resolve) },
39
39
  'file-user-files': (resolve) => { require(['./FileUserFiles'], resolve) },
40
40
  // 用户基本信息
41
- 'user-base-info-new': (resolve) => { require(['./UserBaseInfoNew'], resolve) },
42
- // 档案管理新(预备户建档)
43
- 'file-user-files-new': (resolve) => { require(['./FileUserFiles'], resolve) }
44
-
41
+ 'user-base-info-new': (resolve) => { require(['./UserBaseInfoNew'], resolve) }
45
42
  }
46
43
  exports.specialComp = specialComp
@@ -0,0 +1,141 @@
1
+ <template>
2
+ <div class="flex">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+
7
+ <div class="row">
8
+ <div class="col-sm-4 form-group">
9
+ <label class="font_normal_body">地址信息</label>
10
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_address"
11
+ condition="f_address like '%{}%'" placeholder="地址信息"
12
+ @keyup.enter.stop="search()"
13
+ :size="model.f_address ? model.f_address.length*2 : 8"/>
14
+ </div>
15
+ <div class="col-sm-4 form-group button-range" >
16
+ <button class="button_search button_spacing" @click="search()" >查询</button>
17
+ <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('民用')">添加民用地址</button>
18
+ <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('非民用')">添加特殊地址</button>
19
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ </criteria>
24
+ <data-grid :model="model" partial='list' style="overflow: auto" class="list_area table_sy" v-ref:grid>
25
+ <template partial='head'>
26
+ <tr>
27
+ <th><nobr>地址信息</nobr></th>
28
+ <th><nobr>选择</nobr></th>
29
+ </tr>
30
+ </template>
31
+ <template partial='body'>
32
+ <tr>
33
+ <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
34
+ <td style="text-align:center">
35
+ <button type="button" name="button" class="button_export"
36
+ @click.stop="$parent.$parent.$parent.confirmaddress(row)">确认选择</button>
37
+ </td>
38
+ </tr>
39
+ </template>
40
+ <template partial='foot'></template>
41
+ </data-grid>
42
+ </criteria-paged>
43
+ </div>
44
+ <modal :show.sync="showFile" v-ref:modal backdrop="true">
45
+ <header slot="modal-header" class="modal-header">
46
+ <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
47
+ <h4 class="modal-title">选择文件</h4>
48
+ </header>
49
+ <article slot="modal-body" class="modal-body">
50
+ <div class="form-group">
51
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
52
+ </div>
53
+ </article>
54
+ <footer slot="modal-footer" class="modal-footer"></footer>
55
+ </modal>
56
+ </template>
57
+
58
+ <script>
59
+ import { PagedList } from 'vue-client'
60
+
61
+ export default {
62
+ data () {
63
+ return {
64
+ criteriaShow: false,
65
+ model: new PagedList('rs/sql/address_getAddress', 20, {}),
66
+ addflag: false,
67
+ addtitle: '',
68
+
69
+ // 公司下拉
70
+ curorgid: [this.$login.f.orgid],
71
+ f_orgid: '',
72
+
73
+ // 文件上传弹框
74
+ showFile: false
75
+ }
76
+ },
77
+ title: '地址列表',
78
+ props: {
79
+ f_filialeids: {
80
+ type: String
81
+ },
82
+ company: {
83
+ type: String,
84
+ default: ''
85
+ }
86
+ },
87
+ ready () {
88
+ this.search()
89
+ },
90
+ methods: {
91
+ hidden () {
92
+ this.criteriaShow = !this.criteriaShow
93
+ },
94
+ // 添加方法
95
+ add (val) {
96
+ if (this.f_filialeids) {
97
+ this.$refs.paged.$refs.grid.selectStore.selected = null
98
+ this.$dispatch('add', val)
99
+ } else {
100
+ this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
101
+ }
102
+ },
103
+ // 修改
104
+ modify (val) {
105
+ this.$refs.paged.$refs.grid.selectStore.selected = null
106
+ this.$dispatch('modify', val)
107
+ },
108
+ confirmaddress (row) {
109
+ this.$refs.paged.$refs.cri.search()
110
+ this.$dispatch('confirmaddress', row)
111
+ },
112
+ search () {
113
+ this.$refs.paged.$refs.cri.search()
114
+ },
115
+
116
+ selfSearch (args) {
117
+ if (!this.f_orgid) {
118
+ this.getorg([this.$login.f.orgid])
119
+ }
120
+ args.condition = `${args.condition} and a.f_userinfo_id is null and a.f_filialeid = '${this.f_filialeids}'`
121
+ this.model.search(args.condition, args.model)
122
+ },
123
+
124
+ // 清空
125
+ clear () {
126
+ this.$refs.paged.$refs.cri.model = {}
127
+ },
128
+ getorg (val) {
129
+ this.f_orgid = this.$login.convertToIn(val)
130
+ this.f_filialeids = val[0]
131
+ }
132
+ },
133
+ watch: {
134
+ 'company' (val) {
135
+ this.f_orgid = val
136
+ this.f_filialeids = val
137
+ }
138
+ }
139
+
140
+ }
141
+ </script>