sale-client 4.2.101 → 4.2.103
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/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/{8.10 → 8.5}/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{8.10 → 8.5}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.gradle/file-system.probe +0 -0
- package/package.json +1 -1
- package/src/filiale/meihekou/ChargeList.vue +4 -4
- package/src/filiale/meihekou/MeterOperatemain.vue +511 -0
- package/src/filiale/meihekou/UserFeeInfo.vue +84 -0
- package/src/filiale/meihekou/Userinfo.vue +15 -15
- package/src/filiale/meihekou/deviceMessage.vue +86 -0
- package/src/filiale/meihekou/handOperate.vue +62 -3
- package/src/filiale/meihekou/meterinfodetail.vue +89 -84
- package/src/filiale/meihekou/otherinfo.vue +101 -0
- package/src/filiale/meihekou/replacementSingleInfoOperation.vue +74 -6
- package/src/filiale/meihekou/sale.js +8 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.npmignore +0 -12
- package/src/.npmignore +0 -1
- package/yarn.lock +0 -12221
- /package/.gradle/{8.10 → 8.5}/dependencies-accessors/gc.properties +0 -0
- /package/.gradle/{8.10 → 8.5}/fileChanges/last-build.bin +0 -0
- /package/.gradle/{8.10 → 8.5}/gc.properties +0 -0
|
@@ -103,7 +103,13 @@
|
|
|
103
103
|
<div class="row">
|
|
104
104
|
<div class="col-sm-4">
|
|
105
105
|
<label class="font_normal_body">部 门 </label>
|
|
106
|
-
<
|
|
106
|
+
<res-select restype="department"
|
|
107
|
+
:is-mul="false"
|
|
108
|
+
:disabled="!editdep"
|
|
109
|
+
:parentresid="model.f_orgid ? [model.f_orgid] : ($login && $login.f && $login.f.orgid ? [$login.f.orgid] : [])"
|
|
110
|
+
:initresid="model.f_depid ? [model.f_depid] : []"
|
|
111
|
+
@res-select="onDepSelect">
|
|
112
|
+
</res-select>
|
|
107
113
|
</div>
|
|
108
114
|
<div class="col-sm-4 ">
|
|
109
115
|
<label class="font_normal_body" title="参数:操作人员查询">操作人员</label>
|
|
@@ -142,8 +148,9 @@
|
|
|
142
148
|
import * as Util from "../../Util";
|
|
143
149
|
var data
|
|
144
150
|
let readyGen = async function (self) {
|
|
145
|
-
await
|
|
146
|
-
await
|
|
151
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
152
|
+
await self.$GetSaleParam.initinputtor()
|
|
153
|
+
await self.initdep()
|
|
147
154
|
await self.initoperator()
|
|
148
155
|
}
|
|
149
156
|
export default {
|
|
@@ -159,6 +166,8 @@
|
|
|
159
166
|
showfiles: false,
|
|
160
167
|
recordList: [],
|
|
161
168
|
foperator:[],
|
|
169
|
+
fdep: [],
|
|
170
|
+
editdep: false,
|
|
162
171
|
fileNameSet: {
|
|
163
172
|
// 要更改字段的中文名
|
|
164
173
|
'f_cardfees': '卡费',
|
|
@@ -180,6 +189,9 @@
|
|
|
180
189
|
if (this.$login.r.includes('维护补卡信息')) {
|
|
181
190
|
this.editbank = true
|
|
182
191
|
}
|
|
192
|
+
if (this.$login.r.includes('补卡记录维护部门权限')) {
|
|
193
|
+
this.editdep = true
|
|
194
|
+
}
|
|
183
195
|
this.oldmodel = JSON.parse(JSON.stringify(this.model))
|
|
184
196
|
this.model.f_bill_state = [this.oldmodel]
|
|
185
197
|
readyGen(this)
|
|
@@ -206,6 +218,50 @@
|
|
|
206
218
|
}
|
|
207
219
|
}
|
|
208
220
|
},
|
|
221
|
+
initdep () {
|
|
222
|
+
this.fdep = []
|
|
223
|
+
if (!this.$GetSaleParam || !this.$GetSaleParam.inputtors) {
|
|
224
|
+
return
|
|
225
|
+
}
|
|
226
|
+
const inputtors = this.$GetSaleParam.inputtors
|
|
227
|
+
const orgId = this.model.f_orgid || (this.$login && this.$login.f && this.$login.f.orgid)
|
|
228
|
+
const filterdep = inputtors.filter((res) => {
|
|
229
|
+
const hasRole = res.rolestr && res.rolestr.indexOf('营业员') > -1
|
|
230
|
+
const orgMatch = res.f_organization_id === orgId || res.f_orgid === orgId
|
|
231
|
+
return hasRole && orgMatch
|
|
232
|
+
})
|
|
233
|
+
filterdep.forEach((res) => {
|
|
234
|
+
if (res.parentid && res.f_department_name && !this.fdep.some((d) => d.value === res.parentid)) {
|
|
235
|
+
this.fdep.push({label: res.f_department_name, value: res.parentid})
|
|
236
|
+
}
|
|
237
|
+
})
|
|
238
|
+
if (this.model.f_depid && !this.fdep.some((d) => d.value === this.model.f_depid)) {
|
|
239
|
+
this.fdep.push({label: this.model.f_depname || this.model.f_depid, value: this.model.f_depid})
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
selectdep () {
|
|
243
|
+
const id = this.model.f_depid
|
|
244
|
+
if (!id) {
|
|
245
|
+
this.model.f_depname = ''
|
|
246
|
+
return
|
|
247
|
+
}
|
|
248
|
+
const hit = this.$GetSaleParam.inputtors.find((res) => res.parentid === id || res.f_department_id === id)
|
|
249
|
+
if (hit && hit.f_department_name) {
|
|
250
|
+
this.model.f_depname = hit.f_department_name
|
|
251
|
+
}
|
|
252
|
+
// 选部门后刷新操作员列表
|
|
253
|
+
this.initoperator()
|
|
254
|
+
},
|
|
255
|
+
onDepSelect (resIds, labels) {
|
|
256
|
+
if (resIds && resIds.length > 0) {
|
|
257
|
+
this.model.f_depid = resIds[0]
|
|
258
|
+
this.model.f_depname = labels && labels.length > 0 ? labels[0] : ''
|
|
259
|
+
} else {
|
|
260
|
+
this.model.f_depid = ''
|
|
261
|
+
this.model.f_depname = ''
|
|
262
|
+
}
|
|
263
|
+
this.initoperator()
|
|
264
|
+
},
|
|
209
265
|
selectoperator () {
|
|
210
266
|
let id = this.model.f_operatorid
|
|
211
267
|
if(!this.model.f_operatorid){
|
|
@@ -226,6 +282,17 @@
|
|
|
226
282
|
console.log('this.f_operatorid', this.model.f_operator)
|
|
227
283
|
})
|
|
228
284
|
},
|
|
285
|
+
onDepSelect (resIds, labels) {
|
|
286
|
+
if (resIds && resIds.length > 0) {
|
|
287
|
+
this.model.f_depid = resIds[0]
|
|
288
|
+
this.model.f_depname = labels && labels.length > 0 ? labels[0] : ''
|
|
289
|
+
} else {
|
|
290
|
+
this.model.f_depid = ''
|
|
291
|
+
this.model.f_depname = ''
|
|
292
|
+
}
|
|
293
|
+
// 选部门后刷新操作员列表
|
|
294
|
+
this.initoperator()
|
|
295
|
+
},
|
|
229
296
|
cancel () {
|
|
230
297
|
this.$dispatch('close')
|
|
231
298
|
},
|
|
@@ -267,8 +334,8 @@
|
|
|
267
334
|
f_operatorid : this.$login.f.id,
|
|
268
335
|
f_orgid : this.$login.f.orgid,
|
|
269
336
|
f_orgname : this.$login.f.orgs,
|
|
270
|
-
f_depid : this
|
|
271
|
-
f_depname : this
|
|
337
|
+
f_depid : this.model.f_depid,
|
|
338
|
+
f_depname : this.model.f_depname
|
|
272
339
|
}
|
|
273
340
|
this.recordList.push(car)
|
|
274
341
|
// 该方法并未对chinesename fieldname operator等进行判断赋值,此暂写为定值
|
|
@@ -288,10 +355,11 @@
|
|
|
288
355
|
computed: {
|
|
289
356
|
fillcard_state () {
|
|
290
357
|
return [...this.$appdata.getParam('补卡状态')]
|
|
291
|
-
}
|
|
358
|
+
}
|
|
292
359
|
},
|
|
293
360
|
watch: {
|
|
294
361
|
'model'(){
|
|
362
|
+
this.initdep()
|
|
295
363
|
this.initoperator()
|
|
296
364
|
}
|
|
297
365
|
}
|
|
@@ -75,4 +75,12 @@ export default function () {
|
|
|
75
75
|
Vue.component('replacement-single-info-operation', (resolve) => { require(['./replacementSingleInfoOperation'], resolve) })
|
|
76
76
|
// 单户调价
|
|
77
77
|
Vue.component('user-pricechange-manage', (resolve) => { require(['./UserPriceChangeManage'], resolve) })
|
|
78
|
+
// 交费具体信息金额
|
|
79
|
+
Vue.component('meter-operate-maintain', (resolve) => { require(['./MeterOperatemain'], resolve) })
|
|
80
|
+
// 其他信息
|
|
81
|
+
Vue.component('otherinfo', (resolve) => { require(['./otherinfo'], resolve) })
|
|
82
|
+
// 设备信息
|
|
83
|
+
Vue.component('device-message', (resolve) => { require(['./deviceMessage.vue'], resolve) })
|
|
84
|
+
// 保险信息
|
|
85
|
+
Vue.component('user-fee-info', (resolve) => { require(['./UserFeeInfo.vue'], resolve) })
|
|
78
86
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.npmignore
DELETED
package/src/.npmignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|