sale-client 3.5.277 → 3.5.278
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/changeMeter/changemeterOperate.vue +1 -1
- package/src/filiale/qianneng/OtherChargeNew.vue +5 -3
- package/src/filiale/shanxian/components/FilesManage/MeterinfoTest.vue +21 -21
- package/src/filiale/shanxian/components/FilesManage/UserGeneralInfoTest.vue +1 -8
- package/src/filiale/wenxi/DisableManage.vue +1 -1
- package/src/filiale/yuansheng/CardMeterCenter.vue +1 -0
- package/src/filiale/yuansheng/IOTMeterCenter.vue +2 -2
- package/src/filiale/yuansheng/NoCardMeterCenter.vue +2 -2
- package/src/main.js +27 -27
package/package.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<div class="row">
|
|
63
63
|
<div class="col-sm-4">
|
|
64
64
|
<label class="font_normal_body">换表人 </label>
|
|
65
|
-
<input type="text" v-model="model.f_change_operator"
|
|
65
|
+
<input type="text" v-model="model.f_change_operator" style="width: 60%" class="input_search">
|
|
66
66
|
</div>
|
|
67
67
|
<div class="col-sm-4 form-group">
|
|
68
68
|
<label class="font_normal_body" title="参数:操作人员查询">操作人员</label>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
placeholder='型号'
|
|
44
44
|
:value.sync="row.f_typenumber"
|
|
45
45
|
:options='row.typenumberList'
|
|
46
|
-
@change="setTypeprice"
|
|
46
|
+
@change="setTypeprice(row.f_typenumber, row)"
|
|
47
47
|
close-on-select clear-button>
|
|
48
48
|
</v-select>
|
|
49
49
|
</div>
|
|
@@ -346,13 +346,13 @@
|
|
|
346
346
|
}
|
|
347
347
|
},
|
|
348
348
|
methods: {
|
|
349
|
-
setTypeprice (val) {
|
|
349
|
+
setTypeprice (val, row) {
|
|
350
350
|
console.log('f_typenumber', this.f_typenumber)
|
|
351
351
|
if (this.f_typenumber !== ' ') {
|
|
352
352
|
let unitprice = this.$appdata.getSingleValue(val)
|
|
353
353
|
console.log('unitprice', unitprice)
|
|
354
354
|
if (unitprice !== undefined) {
|
|
355
|
-
|
|
355
|
+
row.f_unitprice = unitprice
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
},
|
|
@@ -441,6 +441,8 @@
|
|
|
441
441
|
},
|
|
442
442
|
setTypenumber (val, row) {
|
|
443
443
|
row.typenumberList = this.$appdata.getParam(val)
|
|
444
|
+
let unitprice = this.$appdata.getSingleValue(val)
|
|
445
|
+
if (unitprice !== undefined) row.f_unitprice = unitprice
|
|
444
446
|
},
|
|
445
447
|
async confirm (parameter) {
|
|
446
448
|
let res = await this.$showMessage(`确定对客户${this.row.f_user_name}进行其他收费吗?`, ['confirm', 'cancel'])
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
<div class="col-sm-4 form-group" >
|
|
226
226
|
<label for="f_position" class="font_normal_body" title="参数:安装位置"> 安装位置</label>
|
|
227
227
|
<v-select :value.sync="row.f_position" v-model="row.f_position"
|
|
228
|
-
:options='positions' placeholder='安装位置'
|
|
228
|
+
:options='positions' placeholder='安装位置' :value-single="true"
|
|
229
229
|
close-on-select></v-select>
|
|
230
230
|
</div>
|
|
231
231
|
<div class="col-sm-4 form-group" v-show="true">
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
></datepicker>
|
|
244
244
|
</div>
|
|
245
245
|
<div class="col-sm-4 form-group" v-show="opteratormetrbook" >
|
|
246
|
-
<label for="
|
|
246
|
+
<label for="f_meter_book_num" class="font_normal_body" > 抄 表 册</label>
|
|
247
247
|
<v-select :value.sync="row.f_meter_book_num" v-model="row.f_meter_book_num"
|
|
248
248
|
:options='meterbookoptions' placeholder='抄表册'
|
|
249
249
|
close-on-select></v-select>
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
close-on-select></v-select>
|
|
339
339
|
</div>
|
|
340
340
|
<div class="col-sm-4 form-group" >
|
|
341
|
-
<label for="
|
|
341
|
+
<label for="f_usestate" class="font_normal_body" title="参数:使用状态"> 使用状态</label>
|
|
342
342
|
<v-select :value.sync="row.f_usestate" v-model="row.f_usestate"
|
|
343
343
|
:options='usestate' placeholder='使用状态'
|
|
344
344
|
close-on-select></v-select>
|
|
@@ -550,7 +550,6 @@
|
|
|
550
550
|
} else {
|
|
551
551
|
self.row.f_whether_hairpin = self.row.gasbrand[0].f_meter_type === '机表' ? '无卡' : '未发'
|
|
552
552
|
}
|
|
553
|
-
console.log('111', self.row)
|
|
554
553
|
}
|
|
555
554
|
export default {
|
|
556
555
|
title: '表具信息',
|
|
@@ -607,16 +606,14 @@
|
|
|
607
606
|
},
|
|
608
607
|
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
609
608
|
async ready () {
|
|
609
|
+
console.log('单县----------------------------------------',this.row)
|
|
610
|
+
|
|
610
611
|
// 安装日期默认是建档日期
|
|
611
612
|
if (this.row.f_install_date == null || this.row.f_install_date == '') {
|
|
612
|
-
console.log('安装日期赋值了')
|
|
613
613
|
this.row.f_install_date = Util.toStandardTimeString()
|
|
614
614
|
this.f_install_date = Util.toStandardTimeString()
|
|
615
|
-
console.log('安装日期赋值了',this.row.f_install_date)
|
|
616
|
-
console.log('安装日期赋值了001',this.row.f_install_date)
|
|
617
615
|
} else {
|
|
618
616
|
this.f_install_date = this.row.f_install_date
|
|
619
|
-
console.log('安装日期row值')
|
|
620
617
|
}
|
|
621
618
|
// 出厂日期
|
|
622
619
|
if (this.row.f_factory_date == null || this.row.f_factory_date == '') {
|
|
@@ -625,11 +622,24 @@
|
|
|
625
622
|
} else {
|
|
626
623
|
this.f_factory_date = this.row.f_factory_date
|
|
627
624
|
}
|
|
628
|
-
|
|
625
|
+
|
|
629
626
|
this.updatayear(this.f_factory_date)
|
|
630
|
-
|
|
631
|
-
|
|
627
|
+
|
|
628
|
+
console.log('看看meter里面的数据', this.meter)
|
|
629
|
+
this.row = Object.assign(this.row, this.meter, {})
|
|
630
|
+
|
|
631
|
+
if (this.meter.f_user_type == '民用'){
|
|
632
|
+
this.row.f_position = '厨房'
|
|
633
|
+
console.log('厨房是不是true--------->',this.row.f_position)
|
|
634
|
+
}
|
|
635
|
+
if (!this.row.f_use_limit){
|
|
636
|
+
this.row.f_use_limit = 10
|
|
637
|
+
console.log('使用年限---------->',this.row.f_use_limit)
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
console.log('合并后得数据----------->', this.row)
|
|
632
641
|
this.orginCardId = this.row.f_card_id
|
|
642
|
+
|
|
633
643
|
if(this.row.f_meter_classify){
|
|
634
644
|
if(this.row.f_meter_classify==='物联网表'){
|
|
635
645
|
this.isiot=true
|
|
@@ -653,7 +663,6 @@
|
|
|
653
663
|
}
|
|
654
664
|
let filter = this.$login.f.orgid
|
|
655
665
|
let ret = this.$GetSaleParam.getAdjustable(filter)
|
|
656
|
-
console.log("f_adjustable_type",this.row.f_adjustable_type)
|
|
657
666
|
let newadjustables = ret.filter(adjustable=>{
|
|
658
667
|
return adjustable.value.f_adjustable_type === this.row.f_adjustable_type
|
|
659
668
|
})
|
|
@@ -664,7 +673,6 @@
|
|
|
664
673
|
temp.value = item.value
|
|
665
674
|
arr.push(temp)
|
|
666
675
|
})
|
|
667
|
-
console.log("过滤后的数组", arr)
|
|
668
676
|
return arr
|
|
669
677
|
},
|
|
670
678
|
initAdjustables () {
|
|
@@ -679,10 +687,8 @@
|
|
|
679
687
|
const day = today.getDate()
|
|
680
688
|
const date = new Date((year-0) +(this.bfrq-0), month, day)
|
|
681
689
|
this.finalDate = date.toLocaleDateString()
|
|
682
|
-
console.log('898989898', this.finalDate)
|
|
683
690
|
this.row.f_scrap_date = this.finalDate
|
|
684
691
|
this.f_scrap_date = this.finalDate
|
|
685
|
-
console.log('898989898', this.row.f_scrap_date)
|
|
686
692
|
},
|
|
687
693
|
checkCardId() {
|
|
688
694
|
this.$resetpost('rs/logic/checkCardId', {
|
|
@@ -766,7 +772,6 @@
|
|
|
766
772
|
},
|
|
767
773
|
brandChange (val) {
|
|
768
774
|
this.isdecimal = val.length > 0 ? val[0].f_isdecimal : '否'
|
|
769
|
-
console.log('sadasfasf', val)
|
|
770
775
|
if (val.length > 0 && val[0].f_meter_type === '物联网表') {
|
|
771
776
|
this.isiot = true
|
|
772
777
|
} else {
|
|
@@ -907,7 +912,6 @@
|
|
|
907
912
|
},
|
|
908
913
|
watch: {
|
|
909
914
|
'row'(){
|
|
910
|
-
debugger
|
|
911
915
|
console.log("row",this.row)
|
|
912
916
|
},
|
|
913
917
|
'meter' () {
|
|
@@ -918,17 +922,13 @@
|
|
|
918
922
|
this.f_factory_date = this.row.f_factory_date
|
|
919
923
|
},
|
|
920
924
|
'f_factory_date' (val) {
|
|
921
|
-
console.log('222222222222', val)
|
|
922
925
|
this.row.f_factory_date = val
|
|
923
926
|
this.updatayear(val)
|
|
924
927
|
},
|
|
925
928
|
'row.f_scrap_date' (val) {
|
|
926
|
-
console.log('45454545')
|
|
927
929
|
this.row.f_scrap_date = val
|
|
928
|
-
console.log('45454545', this.row.f_scrap_date, val)
|
|
929
930
|
},
|
|
930
931
|
'finalDate' () {
|
|
931
|
-
console.log('45454545666')
|
|
932
932
|
this.row.f_scrap_date = this.finalDate
|
|
933
933
|
},
|
|
934
934
|
'row.pricetype' (val) {
|
|
@@ -109,7 +109,6 @@ let getFileGen = async function (self, data) {
|
|
|
109
109
|
rejectMsg: '用户详细信息加载失败,请重新选择,如果多次失败,请检查系统是否正常!',
|
|
110
110
|
newly: true
|
|
111
111
|
})
|
|
112
|
-
console.log(result.data)
|
|
113
112
|
self.data = result.data
|
|
114
113
|
self.data.meterinfo.forEach((item) => {
|
|
115
114
|
item.devicesinfo.forEach((item2) => {
|
|
@@ -216,7 +215,6 @@ export default {
|
|
|
216
215
|
},
|
|
217
216
|
async ready () {
|
|
218
217
|
this.blodid = '临时id' + Date.now()
|
|
219
|
-
console.log('ready,,,', this.row)
|
|
220
218
|
await this.getOvedueset()
|
|
221
219
|
if (this.row) { // 修改用户
|
|
222
220
|
await this.areaGen(this.row)
|
|
@@ -385,7 +383,6 @@ export default {
|
|
|
385
383
|
xhr.open('POST', 'rs/file/uploadFile')
|
|
386
384
|
|
|
387
385
|
if (this.headers) {
|
|
388
|
-
console.log('this.blodid----->',this.blodid)
|
|
389
386
|
this.headers.blodid = this.blodid
|
|
390
387
|
for (var header in this.headers) {
|
|
391
388
|
xhr.setRequestHeader(header, encodeURIComponent(this.headers[header]))
|
|
@@ -404,7 +401,7 @@ export default {
|
|
|
404
401
|
this.$dispatch('clean', '取消档案修正', 'user-general-info', this.row)
|
|
405
402
|
},
|
|
406
403
|
checkout (val) {
|
|
407
|
-
|
|
404
|
+
|
|
408
405
|
// 对收到的综合信息进行校验(主要目的是为了防止下拉框没有默认值)
|
|
409
406
|
// 对综合用户基本信息进行校验
|
|
410
407
|
|
|
@@ -433,7 +430,6 @@ export default {
|
|
|
433
430
|
|
|
434
431
|
// 对表具信息进行校验
|
|
435
432
|
this.data.meterinfo.forEach((row) => {
|
|
436
|
-
console.log(row)
|
|
437
433
|
if (row.f_adjustable) {
|
|
438
434
|
this.adjustables.forEach((item) => {
|
|
439
435
|
if (item.label === row.f_adjustable) {
|
|
@@ -489,8 +485,6 @@ export default {
|
|
|
489
485
|
let names = this.getPricenames(row.f_user_type,
|
|
490
486
|
row.f_gasproperties,
|
|
491
487
|
row.pricetype)
|
|
492
|
-
|
|
493
|
-
console.log('=====2.===校验气价名称', names, row.f_user_type, row.f_gasproperties, row.pricetype)
|
|
494
488
|
if (names.length > 0) {
|
|
495
489
|
names.forEach((item) => {
|
|
496
490
|
if (item.label === row.pricename) {
|
|
@@ -677,7 +671,6 @@ export default {
|
|
|
677
671
|
}
|
|
678
672
|
Object.assign(this.data.meterinfo[0], this.data.meterinfo[0], temp)
|
|
679
673
|
this.data.baseinfo.base.f_house_type = row.f_house_type ? [row.f_house_type] : ''
|
|
680
|
-
console.log('====1.=====', temp, row)
|
|
681
674
|
this.checkout('area')
|
|
682
675
|
}
|
|
683
676
|
}
|
|
@@ -459,6 +459,7 @@
|
|
|
459
459
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
460
460
|
self.$dispatch('refresh')
|
|
461
461
|
} else {
|
|
462
|
+
self.$showAlert(`用户限购量为${getLimit.data.f_limit_value}`, 'warning', 3000)
|
|
462
463
|
if (getLimit.data.f_limit_value) {
|
|
463
464
|
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
464
465
|
self.limitgas = true
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
:class="[$v.f_pregas.dctest? 'has-error' : 'has-success']">
|
|
19
19
|
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
20
20
|
<input class="input_search" style="width:60%" type="number" id="pregasFocue"
|
|
21
|
-
@blur="pregas()" v-model="model.f_pregas"
|
|
22
|
-
v-validate:f_pregas='{dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
21
|
+
@blur="pregas()" v-model="model.f_pregas" placeholder="预购气量"
|
|
23
22
|
v-next-el='sk' >
|
|
24
23
|
</div>
|
|
25
24
|
<!-- <div class="col-sm-4 form-group" v-if="row.f_collection_type == '按金额'">
|
|
@@ -408,6 +407,7 @@
|
|
|
408
407
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
409
408
|
self.$dispatch('refresh')
|
|
410
409
|
} else {
|
|
410
|
+
self.$showAlert(`用户限购量为${getLimit.data.f_limit_value}`, 'warning', 3000)
|
|
411
411
|
if (getLimit.data.f_limit_value) {
|
|
412
412
|
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
413
413
|
self.limitgas = true
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
:class="[$v.f_pregas.required || $v.f_pregas.dctest? 'has-error' : 'has-success']">
|
|
18
18
|
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
19
19
|
<input class="input_search" style="width:60%" type="number"
|
|
20
|
-
@blur="pregas()" v-model="model.f_pregas" id="fpregas"
|
|
21
|
-
v-validate:f_pregas='{required: true, dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
20
|
+
@blur="pregas()" v-model="model.f_pregas" id="fpregas" placeholder="预购气量"
|
|
22
21
|
v-next-el='sk' >
|
|
23
22
|
</div>
|
|
24
23
|
<!-- <div class="col-sm-4" v-if="row.f_collection_type == '按金额'">
|
|
@@ -292,6 +291,7 @@
|
|
|
292
291
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
293
292
|
self.$dispatch('refresh')
|
|
294
293
|
} else {
|
|
294
|
+
self.$showAlert(`用户限购量为${getLimit.data.f_limit_value}`, 'warning', 3000)
|
|
295
295
|
if (getLimit.data.f_limit_value) {
|
|
296
296
|
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
297
297
|
self.limitgas = true
|
package/src/main.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import all from 'vue-client/src/all'
|
|
3
|
-
import App from './App'
|
|
4
|
-
import system from 'system-clients/src/system'
|
|
5
|
-
import sale from './sale'
|
|
6
|
-
import wenxi from './filiale/
|
|
7
|
-
// import FilialeSale from './filiale/yuansheng/sale'
|
|
8
|
-
import address from 'address-client/src/address'
|
|
9
|
-
import ldap from 'ldap-clients/src/ldap'
|
|
10
|
-
import VueClipboard from 'vue-clipboard2'
|
|
11
|
-
|
|
12
|
-
Vue.use(VueClipboard)
|
|
13
|
-
Vue.config.silent = true
|
|
14
|
-
|
|
15
|
-
all()
|
|
16
|
-
system(false)
|
|
17
|
-
sale()
|
|
18
|
-
wenxi()
|
|
19
|
-
// FilialeSale()
|
|
20
|
-
address()
|
|
21
|
-
ldap()
|
|
22
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
23
|
-
|
|
24
|
-
new Vue({
|
|
25
|
-
el: 'body',
|
|
26
|
-
components: { App }
|
|
27
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import all from 'vue-client/src/all'
|
|
3
|
+
import App from './App'
|
|
4
|
+
import system from 'system-clients/src/system'
|
|
5
|
+
import sale from './sale'
|
|
6
|
+
import wenxi from './filiale/yuansheng/sale'
|
|
7
|
+
// import FilialeSale from './filiale/yuansheng/sale'
|
|
8
|
+
import address from 'address-client/src/address'
|
|
9
|
+
import ldap from 'ldap-clients/src/ldap'
|
|
10
|
+
import VueClipboard from 'vue-clipboard2'
|
|
11
|
+
|
|
12
|
+
Vue.use(VueClipboard)
|
|
13
|
+
Vue.config.silent = true
|
|
14
|
+
|
|
15
|
+
all()
|
|
16
|
+
system(false)
|
|
17
|
+
sale()
|
|
18
|
+
wenxi()
|
|
19
|
+
// FilialeSale()
|
|
20
|
+
address()
|
|
21
|
+
ldap()
|
|
22
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
23
|
+
|
|
24
|
+
new Vue({
|
|
25
|
+
el: 'body',
|
|
26
|
+
components: { App }
|
|
27
|
+
})
|