sale-client 4.3.61 → 4.3.62
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/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/9.3.0/checksums/checksums.lock +0 -0
- package/.gradle/9.3.0/fileChanges/last-build.bin +0 -0
- package/.gradle/9.3.0/fileHashes/fileHashes.lock +0 -0
- package/.gradle/9.3.0/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/filiale/liaoyuan/ChangeMeter.vue +140 -18
- package/src/filiale/liaoyuan/MeterMessage.vue +143 -0
- package/src/filiale/liaoyuan/sale.js +1 -0
- package/src/filiale/ruihua/webInfo/WebMeterList.vue +1 -1
- package/src/main.js +1 -1
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -163,7 +163,20 @@
|
|
|
163
163
|
:options='ladder'
|
|
164
164
|
close-on-select clear-button></v-select>
|
|
165
165
|
</div>
|
|
166
|
+
<div v-if="config.hasAudit" class="col-sm-4 form-group">
|
|
167
|
+
<label class="font_normal_body" :class="[$v.f_audit_person.required ? 'has-error' : 'has-success']"> 审核人员 </label>
|
|
168
|
+
<input v-show="false" v-model="model.f_audit_person"
|
|
169
|
+
v-validate:f_audit_person='{required: true}'>
|
|
170
|
+
<v-select :value.sync="model.f_audit_person"
|
|
171
|
+
:options='auditor' placeholder='请选择'
|
|
172
|
+
selected="审核人员"
|
|
173
|
+
:value-single="true"
|
|
174
|
+
style="width:60%"
|
|
175
|
+
close-on-select></v-select>
|
|
176
|
+
</div>
|
|
166
177
|
</div>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
167
180
|
<div class="row auto" >
|
|
168
181
|
<div class="col-sm-12">
|
|
169
182
|
<label class="font_normal_body ">备  注</label>
|
|
@@ -171,19 +184,15 @@
|
|
|
171
184
|
</div>
|
|
172
185
|
</div>
|
|
173
186
|
<div style="text-align:right;height:auto;">
|
|
174
|
-
<button class="button_search" type="button" @click="confirmbefore()" :disabled="(!meterinfo&& !model.f_type.includes('清零'))||!$v.valid"
|
|
187
|
+
<button class="button_search" type="button" v-if="!config.hasAudit" @click="confirmbefore(confirm)" :disabled="(!meterinfo&& !model.f_type.includes('清零'))||!$v.valid"
|
|
175
188
|
>确认
|
|
176
189
|
</button>
|
|
190
|
+
<button class="button_search" type="button" v-if="config.hasAudit" @click="confirmbefore(audit)" :disabled="(!meterinfo&& !model.f_type.includes('清零'))||!$v.valid"
|
|
191
|
+
>发起审核
|
|
192
|
+
</button>
|
|
177
193
|
<button class="button_clear" type="button" @click="clean()" >取消
|
|
178
194
|
</button>
|
|
179
195
|
</div>
|
|
180
|
-
<!--<div style="height: auto;width: 100%">-->
|
|
181
|
-
<!--<div style="height: 10%">-->
|
|
182
|
-
<!--<img style="margin-top: -5px" src="../../../../../../static/images/lefticon/矩形1183.png">-->
|
|
183
|
-
<!--<a style="font-size: 16px;font-weight: 500;color: #333;text-decoration: none;">附件信息</a> <a style="color: #999999"></a>-->
|
|
184
|
-
<!--</div>-->
|
|
185
|
-
<!--<upload :blodid="row.f_userinfo_id" isremark="true" fusetype="换表"></upload>-->
|
|
186
|
-
<!--</div>-->
|
|
187
196
|
</form>
|
|
188
197
|
</validator>
|
|
189
198
|
</div>
|
|
@@ -248,12 +257,14 @@ export default {
|
|
|
248
257
|
f_changemeter_fee: this.$appdata.getSingleValue('换表金额') ? this.$appdata.getSingleValue('换表金额') : 0
|
|
249
258
|
},
|
|
250
259
|
meterinfo: false,
|
|
260
|
+
auditor:[],
|
|
251
261
|
|
|
252
262
|
// 控制气量和金额的转换显示
|
|
253
263
|
changeType: '',
|
|
254
264
|
config: {
|
|
255
265
|
showupload: true, //
|
|
256
|
-
dispatch: false // 是否派工
|
|
266
|
+
dispatch: false, // 是否派工
|
|
267
|
+
hasAudit: true
|
|
257
268
|
},
|
|
258
269
|
// 控制气量金额的编辑
|
|
259
270
|
isGas: false,
|
|
@@ -280,6 +291,7 @@ export default {
|
|
|
280
291
|
props: ['row'],
|
|
281
292
|
ready () {
|
|
282
293
|
getPrice(this)
|
|
294
|
+
this.getAuditor()
|
|
283
295
|
},
|
|
284
296
|
events: {
|
|
285
297
|
// 删除Resid数组元素
|
|
@@ -293,6 +305,10 @@ export default {
|
|
|
293
305
|
}
|
|
294
306
|
},
|
|
295
307
|
methods: {
|
|
308
|
+
async getAuditor () {
|
|
309
|
+
await this.$GetSaleParam.initinputtor()
|
|
310
|
+
this.auditor = this.$GetSaleParam.getAudit(this.$login.f.orgid)
|
|
311
|
+
},
|
|
296
312
|
getPricenames () {
|
|
297
313
|
console.log('气价。,。。', this.newinfo.pricetype)
|
|
298
314
|
let rs = []
|
|
@@ -320,7 +336,7 @@ export default {
|
|
|
320
336
|
clean () {
|
|
321
337
|
this.$dispatch('success', '换表', this.row)
|
|
322
338
|
},
|
|
323
|
-
async confirmbefore () {
|
|
339
|
+
async confirmbefore (type) {
|
|
324
340
|
if (this.model.metermessage.f_meter_type[0] === '物联网表') {
|
|
325
341
|
let param = {
|
|
326
342
|
f_userfiles_id: this.row.f_userfiles_id,
|
|
@@ -346,13 +362,13 @@ export default {
|
|
|
346
362
|
this.$showAlert('该表有欠费,请到机表缴费界面进行缴费', 'warning', 3000)
|
|
347
363
|
this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
|
|
348
364
|
} else {
|
|
349
|
-
this.confirm()
|
|
365
|
+
this.confirm(type)
|
|
350
366
|
}
|
|
351
367
|
} else {
|
|
352
|
-
this.confirm()
|
|
368
|
+
this.confirm(type)
|
|
353
369
|
}
|
|
354
370
|
},
|
|
355
|
-
async confirm () {
|
|
371
|
+
async confirm (type) {
|
|
356
372
|
console.log('haunbiao', this.$refs.uploadfile.fileInfoData)
|
|
357
373
|
if (this.$refs.uploadfile.fileInfoData && this.$refs.uploadfile.fileInfoData.length > 1) {
|
|
358
374
|
console.log('haunbiao', this.$refs.uploadfile.fileInfoData)
|
|
@@ -394,7 +410,7 @@ export default {
|
|
|
394
410
|
if (this.model.metermessage.f_meter_type[0] != '机表') {
|
|
395
411
|
this.$dispatch('refresh')
|
|
396
412
|
} else {
|
|
397
|
-
this.saveobj()
|
|
413
|
+
this.saveobj(type)
|
|
398
414
|
}
|
|
399
415
|
})
|
|
400
416
|
} else {
|
|
@@ -405,16 +421,122 @@ export default {
|
|
|
405
421
|
if (this.row.f_meter_type.includes('气量卡表') && (this.model.f_using_base_old > (this.row.f_total_gas + this.row.f_initial_base + this.row.f_remanent_gas))) {
|
|
406
422
|
await this.$showMessage(`该表可能存在超用,请确定是否继续进行换表操作!!!,或者取消进入超用收费!`, ['confirm', 'cancel']).then((res) => {
|
|
407
423
|
if (res === 'confirm') {
|
|
408
|
-
|
|
424
|
+
if (type === 'confirm') {
|
|
425
|
+
this.saveobj()
|
|
426
|
+
} else {
|
|
427
|
+
this.auditData()
|
|
428
|
+
}
|
|
409
429
|
} else {
|
|
410
430
|
}
|
|
411
431
|
})
|
|
412
432
|
} else {
|
|
413
|
-
|
|
433
|
+
if (type === 'confirm') {
|
|
434
|
+
this.saveobj()
|
|
435
|
+
} else {
|
|
436
|
+
this.auditData()
|
|
437
|
+
}
|
|
414
438
|
}
|
|
415
439
|
}
|
|
416
440
|
},
|
|
417
|
-
async
|
|
441
|
+
async auditData(){
|
|
442
|
+
let operator = {f_operator:this.$login.f.name,
|
|
443
|
+
f_operatorid : this.$login.f.id,
|
|
444
|
+
f_orgid : this.$login.f.orgid,
|
|
445
|
+
f_orgname : this.$login.f.orgs,
|
|
446
|
+
f_depid : this.$login.f.depids,
|
|
447
|
+
f_depname : this.$login.f.deps,
|
|
448
|
+
f_zoneid : this.$login.f.zoneid,
|
|
449
|
+
f_zones : this.$login.f.zones
|
|
450
|
+
}
|
|
451
|
+
let data = {
|
|
452
|
+
model: this.model,
|
|
453
|
+
user: {
|
|
454
|
+
// ========== 基础信息 ==========
|
|
455
|
+
f_userfiles_id: this.row.f_userfiles_id, // 用户档案ID
|
|
456
|
+
f_userinfo_code:this.row.f_userinfo_code,
|
|
457
|
+
f_user_phone:this.row.f_user_phone,
|
|
458
|
+
f_userinfo_id: this.row.f_userinfo_id, // 用户信息ID
|
|
459
|
+
f_user_id: this.row.f_user_id, // 用户ID
|
|
460
|
+
f_user_name: this.row.f_user_name, // 用户姓名
|
|
461
|
+
f_user_type: this.row.f_user_type, // 用户类型
|
|
462
|
+
f_gasproperties: this.row.f_gasproperties, // 用气性质
|
|
463
|
+
f_address: this.row.f_address, // 地址
|
|
464
|
+
version: this.row.version, // 版本号
|
|
465
|
+
// ========== 表计信息 ==========
|
|
466
|
+
f_meternumber: this.row.f_meternumber, // 表号
|
|
467
|
+
f_meter_type: this.row.f_meter_type, // 表类型
|
|
468
|
+
f_meter_brand: this.row.f_meter_brand, // 表品牌
|
|
469
|
+
f_meter_base: this.row.f_meter_base, // 表底数
|
|
470
|
+
f_gasbrand_id: this.row.f_gasbrand_id, // 气表品牌ID
|
|
471
|
+
brand_id: this.row.brand_id, // 品牌ID
|
|
472
|
+
f_alias: this.row.f_alias, // 别名(如:"TianXinNEWSystem")
|
|
473
|
+
// ========== 卡表相关 ==========
|
|
474
|
+
f_card_id: this.row.f_card_id, // 卡号
|
|
475
|
+
// ========== 余额和补气信息 ==========
|
|
476
|
+
f_balance: this.row.f_balance, // 余额
|
|
477
|
+
f_balance_amount: this.row.f_balance_amount, // 余额金额
|
|
478
|
+
f_balance_gas: this.row.f_balance_gas, // 余额气量
|
|
479
|
+
f_remanent_gas: this.row.f_remanent_gas, // 补气量
|
|
480
|
+
f_remanent_price: this.row.f_remanent_price, // 补气单价
|
|
481
|
+
f_remanent_type: this.row.f_remanent_type, // 补气类型
|
|
482
|
+
f_remanent_money: this.row.f_remanent_money, // 补气金额
|
|
483
|
+
f_deduction_gas: this.row.f_deduction_gas, // 扣减气量
|
|
484
|
+
// ========== 累计数据 ==========
|
|
485
|
+
f_total_gas: this.row.f_total_gas, // 累计购气量
|
|
486
|
+
f_total_fee: this.row.f_total_fee, // 累计购气金额
|
|
487
|
+
f_initial_base: this.row.f_initial_base, // 初始底数
|
|
488
|
+
// ========== 使用次数 ==========
|
|
489
|
+
f_times: this.row.f_times, // 次数
|
|
490
|
+
f_iot_times: this.row.f_iot_times, // 物联网次数
|
|
491
|
+
f_fillcard_times: this.row.f_fillcard_times, // 写卡次数
|
|
492
|
+
// ========== 价格相关 ==========
|
|
493
|
+
f_price_id: this.row.f_price_id, // 价格ID
|
|
494
|
+
f_filialeid: this.row.f_filialeid, // 分公司ID
|
|
495
|
+
f_stairprice_id: this.row.f_stairprice_id, // 阶梯价格ID
|
|
496
|
+
// ========== 收费类型 ==========
|
|
497
|
+
f_collection_type: this.row.f_collection_type, // 收费类型(按气量/按金额)
|
|
498
|
+
// ========== 流量计相关(如果是流量计) ==========
|
|
499
|
+
f_flowmeter_number: this.row.f_flowmeter_number,
|
|
500
|
+
f_flowmeter_pass: this.row.f_flowmeter_pass,
|
|
501
|
+
f_flowmeter_brand: this.row.f_flowmeter_brand,
|
|
502
|
+
f_flowmeter_model: this.row.f_flowmeter_model,
|
|
503
|
+
f_flowmeter_accuracy: this.row.f_flowmeter_accuracy,
|
|
504
|
+
f_flowmeter_mpa_level: this.row.f_flowmeter_mpa_level,
|
|
505
|
+
f_flowmeter_install_date: this.row.f_flowmeter_install_date
|
|
506
|
+
},
|
|
507
|
+
config: this.config,
|
|
508
|
+
operator: operator
|
|
509
|
+
}
|
|
510
|
+
data.model.f_meternumber = data.model.metermessage.f_meternumber
|
|
511
|
+
data.model.f_metertitles= data.model.metermessage.f_metertitles
|
|
512
|
+
data.model.f_meter_base = data.model.metermessage.f_meter_base
|
|
513
|
+
data.model.gasbrand = [{
|
|
514
|
+
id: data.model.metermessage.gasbrand[0].id,
|
|
515
|
+
f_meter_type: data.model.metermessage.gasbrand[0].f_meter_type,
|
|
516
|
+
f_alias: data.model.metermessage.gasbrand[0].f_alias,
|
|
517
|
+
f_meter_brand: data.model.metermessage.gasbrand[0].f_meter_brand
|
|
518
|
+
}]
|
|
519
|
+
data.model.gasmodel = [{
|
|
520
|
+
id: data.model.metermessage.gasmodel[0].id,
|
|
521
|
+
f_meter_style: data.model.metermessage.gasmodel[0].f_meter_style
|
|
522
|
+
}]
|
|
523
|
+
data.model.f_approve_operator = data.model.f_audit_person
|
|
524
|
+
data.model.metermessage = null
|
|
525
|
+
let param = []
|
|
526
|
+
for (let row of this.resid) {
|
|
527
|
+
param.push(row.id)
|
|
528
|
+
}
|
|
529
|
+
this.model.files = param
|
|
530
|
+
this.$resetpost('api/af-revenue/logic/mobile_changeMeter', data, {
|
|
531
|
+
resolveMsg: null,
|
|
532
|
+
rejectMsg: '换表失败!!!'
|
|
533
|
+
}).then((res) => {
|
|
534
|
+
console.log(res)
|
|
535
|
+
this.$dispatch('success')
|
|
536
|
+
})
|
|
537
|
+
|
|
538
|
+
},
|
|
539
|
+
async saveobj (type) {
|
|
418
540
|
try {
|
|
419
541
|
this.model.f_operator = this.$login.f.name
|
|
420
542
|
this.model.f_operatorid = this.$login.f.id
|
|
@@ -636,7 +758,7 @@ export default {
|
|
|
636
758
|
|
|
637
759
|
gasModelChange (val) {
|
|
638
760
|
console.log('新表信息', val)
|
|
639
|
-
if (val.length > 0) {
|
|
761
|
+
if (val && val.length > 0) {
|
|
640
762
|
// 新气表信息已选
|
|
641
763
|
let oldMeter = {
|
|
642
764
|
f_meter_type: this.row.f_meter_type,
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!--<div class="auto">-->
|
|
3
|
+
<validator name='v' @valid="onValid()" @invalid="onInvalid()">
|
|
4
|
+
<form novalidate class="form-horizontal">
|
|
5
|
+
<div class="row auto" >
|
|
6
|
+
|
|
7
|
+
<div class="col-sm-4 form-group" :class="[$v.metertype.required ? 'has-error' : '']">
|
|
8
|
+
<label for="f_meter_type" class="font_normal_body">新表类型</label>
|
|
9
|
+
<input type="text" class="input_search" style="width: 60%" v-show="false" v-model="$refs.metertype.selectedItems" v-validate:metertype='{required: true }'>
|
|
10
|
+
<v-select :value.sync="metermessage.f_meter_type"
|
|
11
|
+
v-model="metermessage.f_meter_type"
|
|
12
|
+
:options='meterType' placeholder='气表类型'
|
|
13
|
+
close-on-select v-ref:metertype style="width: 60%"></v-select>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="col-sm-4 form-group" :class="[$v.brand.required ? 'has-error' : '']">
|
|
17
|
+
<label for="gasbrand" class="font_normal_body">新表品牌</label>
|
|
18
|
+
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.brand.selectedItems" v-validate:brand='{required: true }'>
|
|
19
|
+
<v-select :value.sync="metermessage.gasbrand" :options='getMeterBrands(metermessage.f_meter_type)' @change='brandChange' placeholder='气表品牌' close-on-select
|
|
20
|
+
search v-model='metermessage.gasbrand' v-ref:brand></v-select>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-4 form-group" :class="[$v.model.required ? 'has-error' : '']">
|
|
23
|
+
<label for="gasmodel" class="font_normal_body">新表型号</label>
|
|
24
|
+
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.model.selectedItems" v-validate:model='{required: true }'>
|
|
25
|
+
<v-select :value.sync="metermessage.gasmodel" :options='metermessage.gasbrand[0] ? metermessage.gasbrand[0].gasmodel : [] ' placeholder='气表型号' close-on-select
|
|
26
|
+
v-model='metermessage.gasmodel' :disabled= 'metermessage.gasbrand.length === 0 ' @change='modelChange' v-ref:model></v-select>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
<div class="row auto" >
|
|
31
|
+
<div class="col-sm-4 form-group" :class="[$v.meternumber.required ? 'has-error' : '']">
|
|
32
|
+
<label for="f_meternumber" class="font_normal_body">新 表 号</label>
|
|
33
|
+
<input type="text" class="input_search" style="width:60%" class="input_search"
|
|
34
|
+
@blur="meternumberValidate()" v-model="metermessage.f_meternumber" v-validate:meternumber='{required: true }' placeholder='表号' >
|
|
35
|
+
</div>
|
|
36
|
+
<div class="col-sm-4 form-group" :class="[$v.f_metertitles.required ? 'has-error' : '']">
|
|
37
|
+
<label for="f_metertitles" class="font_normal_body">新表封号</label>
|
|
38
|
+
<input type="text" class="input_search" style="width:60%" class="input_search" v-model="metermessage.f_metertitles" placeholder='表封号'>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="col-sm-4 form-group" :class="[$v.f_meter_base.required ? 'has-error' : '']" title="参数名称:【初始表底数最大值】">
|
|
41
|
+
<label for="f_meter_base" class="font_normal_body">新表底数</label>
|
|
42
|
+
<input type="text" class="input_search" style="width:60%" class="input_search" v-validate:f_meter_base='{required: true }' @blur='meterbase()' v-model="metermessage.f_meter_base" placeholder='表底数' >
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
</form>
|
|
47
|
+
</validator>
|
|
48
|
+
<!--</div>-->
|
|
49
|
+
</template>
|
|
50
|
+
|
|
51
|
+
<script>
|
|
52
|
+
import {HttpResetClass} from "vue-client";
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
*公共组件
|
|
56
|
+
*获取气表信息
|
|
57
|
+
*/
|
|
58
|
+
export default {
|
|
59
|
+
data () {
|
|
60
|
+
return {
|
|
61
|
+
isdecimal: '否',
|
|
62
|
+
imgsrc: '/images/mainicon/biaopan.png',
|
|
63
|
+
imgmeter: '/images/mainicon/addmeter.png',
|
|
64
|
+
f_meter_base_max: this.$appdata.getSingleValue('初始表底数最大值') ? this.$appdata.getSingleValue('初始表底数最大值') : 10000,
|
|
65
|
+
meterType: this.$appdata.getParam('气表类型')
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
props: ['f_userfiles_id', 'metermessage'],
|
|
69
|
+
methods: {
|
|
70
|
+
onValid () {
|
|
71
|
+
this.$dispatch('valid')
|
|
72
|
+
},
|
|
73
|
+
onInvalid () {
|
|
74
|
+
this.$dispatch('invalid')
|
|
75
|
+
},
|
|
76
|
+
brandChange (val) {
|
|
77
|
+
console.log(val)
|
|
78
|
+
if (val) {
|
|
79
|
+
this.isdecimal = val.length > 0 ? val[0].f_isdecimal : '否'
|
|
80
|
+
this.meternumberValidate()
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
modelChange (val) {
|
|
84
|
+
this.$dispatch('gasmodel', this.metermessage.gasbrand)
|
|
85
|
+
},
|
|
86
|
+
resetValidate () {
|
|
87
|
+
this.$resetValidation()
|
|
88
|
+
},
|
|
89
|
+
meterbase () {
|
|
90
|
+
if (this.isdecimal === '是') {
|
|
91
|
+
this.metermessage.f_meter_base = (this.metermessage.f_meter_base - 0).toFixed(4)
|
|
92
|
+
} else {
|
|
93
|
+
this.metermessage.f_meter_base = (this.metermessage.f_meter_base - 0).toFixed(0)
|
|
94
|
+
}
|
|
95
|
+
if ((this.metermessage.f_meter_base - 0) > (this.f_meter_base_max - 0)) {
|
|
96
|
+
this.$showAlert(`新表底数可录入的最大值为: ${this.f_meter_base_max}, 请核实后重新录入!!!`, 'warning', 3000)
|
|
97
|
+
this.metermessage.f_meter_base = ''
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
getMeterBrands (meterType) {
|
|
101
|
+
let res = []
|
|
102
|
+
if (meterType.length > 0) {
|
|
103
|
+
this.meterbrands.forEach((item) => {
|
|
104
|
+
if (item.value.f_meter_type === meterType[0]) {
|
|
105
|
+
res.push(item)
|
|
106
|
+
}
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
return res
|
|
110
|
+
},
|
|
111
|
+
async meternumberValidate () {
|
|
112
|
+
if(!this.metermessage.f_meternumber){
|
|
113
|
+
return
|
|
114
|
+
}
|
|
115
|
+
let param = {
|
|
116
|
+
f_userfiles_id: this.f_userfiles_id,
|
|
117
|
+
f_meternumber: this.metermessage.f_meternumber,
|
|
118
|
+
f_gasbrand_id: this.metermessage.gasbrand[0].id
|
|
119
|
+
}
|
|
120
|
+
let res = await this.$resetpost('api/af-revenue/logic/third_meter_number_check', param, {
|
|
121
|
+
resolveMsg: null,
|
|
122
|
+
rejectMsg: '表号验证失败!!'
|
|
123
|
+
})
|
|
124
|
+
console.log('标号验证返回:', res)
|
|
125
|
+
if (res.data.code !== '0000') {
|
|
126
|
+
this.metermessage.f_meternumber = ''
|
|
127
|
+
this.$showAlert(res.data.msg, 'warning', 3000)
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
computed: {
|
|
132
|
+
usertypes () {
|
|
133
|
+
return this.$appdata.getParam('用户类型')
|
|
134
|
+
},
|
|
135
|
+
positions () {
|
|
136
|
+
return this.$appdata.getParam('安装位置')
|
|
137
|
+
},
|
|
138
|
+
meterbrands () {
|
|
139
|
+
return this.$GetSaleParam.getGasbrand()
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
</script>
|
|
@@ -13,6 +13,7 @@ export default function () {
|
|
|
13
13
|
Vue.component('file-user-files', (resolve) => { require(['./FileUserFiles'], resolve) })
|
|
14
14
|
// 换表管理
|
|
15
15
|
Vue.component('change-meter', (resolve) => { require(['./ChangeMeter'], resolve) })
|
|
16
|
+
Vue.component('meter-message', (resolve) => { require(['./MeterMessage'], resolve) })
|
|
16
17
|
// 抄表册新增
|
|
17
18
|
Vue.component('meter-book-add', (resolve) => { require(['./MeterBookAdd'], resolve) })
|
|
18
19
|
// 退费管理
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/jinhong/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|