sale-client 3.6.419 → 3.6.450
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.
- package/package.json +1 -1
- package/src/components/revenue/comprehen/Maintenance/otherRecords/specificInformation.vue +2 -2
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackList.vue +5 -15
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListList.vue +19 -1
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserSelect.vue +145 -0
- package/src/filiale/ningjin/UserBaseInfoNew.vue +707 -0
- package/src/filiale/ningjin/sale.js +2 -0
- package/src/filiale/tongchuan/UserPriceChangeManage.vue +661 -0
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/HandQueryUser.vue +3 -0
- package/src/filiale/tongchuan/sale.js +2 -0
- package/src/filiale/yangchun/BlackList/BlackList.vue +71 -69
- package/src/filiale/yangchun/BlackList/BlackListList.vue +40 -2
- package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +21 -1
- package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1083 -0
- package/src/filiale/yangchun/sale.js +2 -0
- package/src/sale.js +1 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/package.json
CHANGED
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
</div>
|
|
116
116
|
<div class="row auto">
|
|
117
|
-
<div class="form-group form-input-group" title="
|
|
117
|
+
<div class="form-group form-input-group" title="权限:【其他收费金额修改】">
|
|
118
118
|
<label for="" class="control-label">数量:</label>
|
|
119
119
|
<input type="text" width="300px" class="form-control" v-model="mingxi.number" :disabled="!editcollection">
|
|
120
120
|
</div>
|
|
121
121
|
</div>
|
|
122
122
|
<div class="row auto">
|
|
123
|
-
<div class="form-group form-input-group" title="
|
|
123
|
+
<div class="form-group form-input-group" title="权限:【其他收费金额修改】">
|
|
124
124
|
<label for="" class="control-label">单价:</label>
|
|
125
125
|
<input type="text" width="300px" class="form-control" v-model="mingxi.unitprice" :disabled="!editcollection" >
|
|
126
126
|
</div>
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
</div>
|
|
89
89
|
|
|
90
90
|
<div style="text-align:right;height:auto;margin-top:6px;">
|
|
91
|
-
<button class="button_search" type="button" style="width:80px;" @click="confirm('拉黑')" v-show="
|
|
91
|
+
<button class="button_search" type="button" style="width:80px;" @click="confirm('拉黑')" v-show="model.isblacklist =='false'" :disabled='!$v.valid'>
|
|
92
92
|
拉黑
|
|
93
93
|
</button>
|
|
94
94
|
<button class="button_search" type="button" style="width:80px;" @click="confirm('取消拉黑')"
|
|
95
|
-
v-show="
|
|
95
|
+
v-show="model.isblacklist =='true'" :disabled='!$v.valid'>
|
|
96
96
|
取消拉黑
|
|
97
97
|
</button>
|
|
98
98
|
<button class="button_export" type="button" style="width:80px;" @click="close()">取消</button>
|
|
@@ -130,6 +130,7 @@
|
|
|
130
130
|
self.model.f_limit_value = res.data[0].f_limit_value
|
|
131
131
|
self.model.f_limit_times = res.data[0].f_limit_times
|
|
132
132
|
self.model.f_limit_amount = res.data[0].f_limit_amount
|
|
133
|
+
self.model.isblacklist = res.data[0].isblacklist
|
|
133
134
|
self.model.isshow = true
|
|
134
135
|
if (typeof res.data[0].f_limit_type === 'undefined') {
|
|
135
136
|
self.f_limit = '限购气量'
|
|
@@ -179,22 +180,11 @@
|
|
|
179
180
|
}
|
|
180
181
|
},
|
|
181
182
|
ready () {
|
|
182
|
-
|
|
183
|
-
this.isBlackList = true
|
|
184
|
-
initGen(this, this.data)
|
|
185
|
-
} else {
|
|
186
|
-
this.initModel()
|
|
187
|
-
}
|
|
183
|
+
initGen(this, this.data)
|
|
188
184
|
},
|
|
189
185
|
watch: {
|
|
190
186
|
'data' (val) {
|
|
191
|
-
|
|
192
|
-
this.isBlackList = true
|
|
193
|
-
initGen(this, val)
|
|
194
|
-
} else {
|
|
195
|
-
this.isBlackList = false
|
|
196
|
-
this.initModel()
|
|
197
|
-
}
|
|
187
|
+
initGen(this, val)
|
|
198
188
|
}
|
|
199
189
|
},
|
|
200
190
|
methods: {
|
|
@@ -155,6 +155,16 @@
|
|
|
155
155
|
<template partial='foot'></template>
|
|
156
156
|
</data-grid>
|
|
157
157
|
</criteria-paged>
|
|
158
|
+
<modal :show.sync="selectShow" title="选择用户" v-ref:modal width="70%" backdrop="false">
|
|
159
|
+
<article slot="modal-body" class="modal-body">
|
|
160
|
+
<black-user-select
|
|
161
|
+
v-if="selectShow"
|
|
162
|
+
@select-changed="selected"
|
|
163
|
+
></black-user-select>
|
|
164
|
+
</article>
|
|
165
|
+
<footer slot="modal-footer">
|
|
166
|
+
</footer>
|
|
167
|
+
</modal>
|
|
158
168
|
</div>
|
|
159
169
|
</template>
|
|
160
170
|
|
|
@@ -171,6 +181,7 @@
|
|
|
171
181
|
user: []
|
|
172
182
|
},
|
|
173
183
|
criteriaShow: false,
|
|
184
|
+
selectShow: false,
|
|
174
185
|
blackImport: '',
|
|
175
186
|
model: new PagedList('rs/sql/sale_getBlackList', 20),
|
|
176
187
|
// 公司下拉
|
|
@@ -202,6 +213,11 @@
|
|
|
202
213
|
this.search()
|
|
203
214
|
},
|
|
204
215
|
methods: {
|
|
216
|
+
selected (row) {
|
|
217
|
+
console.log(row)
|
|
218
|
+
this.selectShow = false
|
|
219
|
+
this.$dispatch('select-changed', row)
|
|
220
|
+
},
|
|
205
221
|
getAuthority () {
|
|
206
222
|
if (this.$login.r.find(value => value == '黑名单导入')) {
|
|
207
223
|
this.blackImport = '黑名单导入'
|
|
@@ -251,7 +267,9 @@
|
|
|
251
267
|
return
|
|
252
268
|
}
|
|
253
269
|
this.style = 'col-sm-3'
|
|
254
|
-
this.$dispatch('add')
|
|
270
|
+
// this.$dispatch('add')
|
|
271
|
+
this.selectShow = true
|
|
272
|
+
this.$parent.isdetail = false
|
|
255
273
|
},
|
|
256
274
|
dblclick (val) {
|
|
257
275
|
console.log(val)
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-auto" style="flex:1;">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
|
|
5
|
+
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<res-select-group :show-component="['company']"
|
|
8
|
+
:initres="$parent.$parent.initres"
|
|
9
|
+
@re-res="$parent.$parent.getorg"
|
|
10
|
+
:style="$parent.$parent.style"
|
|
11
|
+
v-ref:sel>
|
|
12
|
+
</res-select-group>
|
|
13
|
+
<div class="form-group col-sm-3">
|
|
14
|
+
<label class="font_normal_body">用户编号</label>
|
|
15
|
+
<input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="用户编号" style="width:60%" type="text" v-model="model.ename"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-3">
|
|
19
|
+
<label class="font_normal_body">用户姓名</label>
|
|
20
|
+
<input class="input_search" condition="f_user_name = '{}'" placeholder="用户姓名" style="width:60%" type="text" v-model="model.name"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-3 button-range" style="padding-right: 10px">
|
|
24
|
+
<button @click="$parent.$parent.search()" class="button_search button_spacing"
|
|
25
|
+
style="width:80px;margin-left:30px;" v-el:cx>查询
|
|
26
|
+
</button>
|
|
27
|
+
<div
|
|
28
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
29
|
+
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
33
|
+
<div class="form-group col-sm-3">
|
|
34
|
+
<label class="font_normal_body">电  话</label>
|
|
35
|
+
<input class="input_search" condition="f_user_phone = '{}'" placeholder='电话' style="width:60%" type="text" v-model="model.f_user_phone">
|
|
36
|
+
</div>
|
|
37
|
+
<div class="form-group col-sm-3">
|
|
38
|
+
<label class="font_normal_body">表  号</label>
|
|
39
|
+
<input class="input_search" condition="f_meternumber = '{}'" placeholder='表号' style="width:60%" type="text" v-model="model.f_meternumber">
|
|
40
|
+
</div>
|
|
41
|
+
<div class="form-group col-sm-3">
|
|
42
|
+
<label class="font_normal_body">卡  号</label>
|
|
43
|
+
<input class="input_search" condition="f_card_id = '{}'" placeholder='卡号' style="width:60%" type="text" v-model="model.f_card_id">
|
|
44
|
+
</div>
|
|
45
|
+
<div class="form-group col-sm-3">
|
|
46
|
+
<label class="font_normal_body">地  址</label>
|
|
47
|
+
<input class="input_search" condition="f_address like '%{}%'" placeholder='用户地址' style="width:60%" type="text" v-model="model.f_address">
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
</criteria>
|
|
54
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
55
|
+
<template partial='head'>
|
|
56
|
+
<tr>
|
|
57
|
+
<th style="text-align: center;">用户编号</th>
|
|
58
|
+
<th style="text-align: center;">姓名</th>
|
|
59
|
+
<th style="text-align: center;">表号</th>
|
|
60
|
+
<th style="text-align: center;">卡号</th>
|
|
61
|
+
<th style="text-align: center;">电话</th>
|
|
62
|
+
<th style="text-align: center;">地址</th>
|
|
63
|
+
<th style="text-align: center;">操作</th>
|
|
64
|
+
</tr>
|
|
65
|
+
</template>
|
|
66
|
+
<template partial='body'>
|
|
67
|
+
<td style="text-align: center;">{{ row.f_userinfo_code }}</td>
|
|
68
|
+
<td style="text-align: center;">{{ row.f_user_name }}</td>
|
|
69
|
+
<td style="text-align: center;">{{ row.f_meternumber }}</td>
|
|
70
|
+
<td style="text-align: center;">{{ row.f_card_id }}</td>
|
|
71
|
+
<td style="text-align: center;">{{ row.f_user_phone }}</td>
|
|
72
|
+
<td style="text-align: center;">{{ row.f_address }}</td>
|
|
73
|
+
<td style="text-align: center;" class="row auto">
|
|
74
|
+
<nobr>
|
|
75
|
+
<button type="button"
|
|
76
|
+
name="button"
|
|
77
|
+
class="button_search button_spacing width-60"
|
|
78
|
+
@click.stop="$parent.$parent.$parent.select(row)">
|
|
79
|
+
选择
|
|
80
|
+
</button>
|
|
81
|
+
</nobr>
|
|
82
|
+
</td>
|
|
83
|
+
</template>
|
|
84
|
+
<template partial='foot'></template>
|
|
85
|
+
</data-grid>
|
|
86
|
+
</criteria-paged>
|
|
87
|
+
</div>
|
|
88
|
+
</template>
|
|
89
|
+
|
|
90
|
+
<script>
|
|
91
|
+
import {PagedList} from 'vue-client'
|
|
92
|
+
|
|
93
|
+
export default {
|
|
94
|
+
data () {
|
|
95
|
+
return {
|
|
96
|
+
initres: {
|
|
97
|
+
org: [this.$login.f.orgid],
|
|
98
|
+
dep: [],
|
|
99
|
+
user: []
|
|
100
|
+
},
|
|
101
|
+
style: 'form-group col-sm-3',
|
|
102
|
+
criteriaShow: false,
|
|
103
|
+
f_orgid: '',
|
|
104
|
+
model: new PagedList('rs/sql/sale_getBlackSelectUser', 10)
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
props: {
|
|
108
|
+
},
|
|
109
|
+
ready () {
|
|
110
|
+
this.search()
|
|
111
|
+
},
|
|
112
|
+
methods: {
|
|
113
|
+
select (row) {
|
|
114
|
+
console.log('选中了用户', row)
|
|
115
|
+
this.$dispatch('select-changed', { val: row })
|
|
116
|
+
},
|
|
117
|
+
async getRes (condition, obj) {
|
|
118
|
+
console.log('condition =', condition)
|
|
119
|
+
console.log('obj =', obj)
|
|
120
|
+
},
|
|
121
|
+
hidden () {
|
|
122
|
+
this.criteriaShow = !this.criteriaShow
|
|
123
|
+
},
|
|
124
|
+
search () {
|
|
125
|
+
this.$refs.paged.$refs.cri.search()
|
|
126
|
+
this.$dispatch('search')
|
|
127
|
+
},
|
|
128
|
+
getorg (val) {
|
|
129
|
+
this.f_orgid = val
|
|
130
|
+
},
|
|
131
|
+
selfSearch (args) {
|
|
132
|
+
if (!this.f_orgid) {
|
|
133
|
+
this.getorg('and f_orgid in' + '(\'' + [this.$login.f.orgid] + '\')')
|
|
134
|
+
}
|
|
135
|
+
console.log('查询。。。', this.f_orgid)
|
|
136
|
+
if (this.f_orgid) {
|
|
137
|
+
args.condition = `${args.condition} ${this.f_orgid} `
|
|
138
|
+
}
|
|
139
|
+
this.model.search(args.condition, args.model)
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
watch: {},
|
|
143
|
+
computed: {}
|
|
144
|
+
}
|
|
145
|
+
</script>
|