sale-client 3.5.287 → 3.5.288
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/build/dev-server.js +1 -1
- package/package.json +1 -1
- package/src/components/revenue/comprehen/StairPrice/GasPriceUser.vue +14 -1
- package/src/filiale/gehua/MeterinfoTest.vue +1 -1
- package/src/filiale/shanxian/OtherChargeNew.vue +1 -1
- package/src/filiale/shanxian/components/FilesManage/MeterinfoTest.vue +4 -14
- package/src/filiale/shanxian/components/FilesManage/UserGeneralInfoTest.vue +1 -1
- package/src/filiale/shanxian/components/charge/ChargeOper.vue +3 -0
- package/src/filiale/shanxian/components/revenue/ChargeList.vue +4 -4
- package/src/filiale/tongchuan/ChargeList.vue +21 -13
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [localUrl, serverRul] = ['http://
|
|
2
|
+
const [localUrl, serverRul] = ['http://192.168.50.4:8400/', 'http://192.168.50.4:8400/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -313,7 +313,20 @@
|
|
|
313
313
|
},
|
|
314
314
|
async modifyUser () {
|
|
315
315
|
let rowdata = this.$refs.paged.$refs.grid.getRowData()
|
|
316
|
-
|
|
316
|
+
if (rowdata.length === 0) {
|
|
317
|
+
// 提示
|
|
318
|
+
let res = await this.$showMessage(`当前未选择用户,将会针对查询结果进行调价,共 ${this.model.count} 户,是否继续?`, ['confirm', 'cancel'])
|
|
319
|
+
if (res !== 'confirm') {
|
|
320
|
+
return
|
|
321
|
+
}
|
|
322
|
+
} else {
|
|
323
|
+
// 提示
|
|
324
|
+
let res = await this.$showMessage(`当前共选择用户 ${rowdata.length} 户,是否对 ${rowdata.length} 位用户进行调价?`, ['confirm', 'cancel'])
|
|
325
|
+
if (res !== 'confirm') {
|
|
326
|
+
return
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
let condition = rowdata.length === 0 ? this.condition : ''
|
|
317
330
|
let com = rowdata.map((row) => { return row.f_userfiles_id }).join(',')
|
|
318
331
|
let fileuploadid = this.$refs.fileupload.fileInfoData.map((row) => { return row.id }).join(',')
|
|
319
332
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<v-select :value.sync="row.f_valve_state" :options='valvestate' placeholder='阀门状态' close-on-select
|
|
100
100
|
v-model='row.f_valve_state'></v-select>
|
|
101
101
|
</div>
|
|
102
|
-
<div class="col-sm-4 form-group" :class="[$m.way.required ? 'has-error' : '']" v-if="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表'">
|
|
102
|
+
<div class="col-sm-4 form-group" :class="[$m.way.required ? 'has-error' : '']" v-if="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
|
|
103
103
|
<label for="f_open_way" class="font_normal_body">开户方式</label>
|
|
104
104
|
<v-select :value.sync="row.f_open_way" v-model='row.f_open_way'
|
|
105
105
|
placeholder='开户方式' :options='openWay'
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<div style="margin-top:10px;" v-for="(index, row) in model.otherdetail">
|
|
10
10
|
<div class="row">
|
|
11
11
|
<div class="col-sm-4" :class="{'has-success':row.f_brand_spec,'select-error':!row.f_brand_spec}">
|
|
12
|
-
<label for="f_brand_spec" class="font_normal_body " title="参数名称:品名及规格"
|
|
12
|
+
<label for="f_brand_spec" class="font_normal_body " title="参数名称:品名及规格">收费项目</label>
|
|
13
13
|
<v-select id="f_brand_spec"
|
|
14
14
|
placeholder='请选择'
|
|
15
15
|
v-model="row.f_brand_spec"
|
|
@@ -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='安装位置'
|
|
229
229
|
close-on-select></v-select>
|
|
230
230
|
</div>
|
|
231
231
|
<div class="col-sm-4 form-group" v-show="true">
|
|
@@ -601,14 +601,11 @@
|
|
|
601
601
|
f_scrap_date: '',
|
|
602
602
|
f_install_date:'',
|
|
603
603
|
adjustables: [],
|
|
604
|
-
adjustable: []
|
|
605
|
-
f_position: ''
|
|
604
|
+
adjustable: []
|
|
606
605
|
}
|
|
607
606
|
},
|
|
608
607
|
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
609
608
|
async ready () {
|
|
610
|
-
console.log('单县----------------------------------------',this.row)
|
|
611
|
-
|
|
612
609
|
// 安装日期默认是建档日期
|
|
613
610
|
if (this.row.f_install_date == null || this.row.f_install_date == '') {
|
|
614
611
|
this.row.f_install_date = Util.toStandardTimeString()
|
|
@@ -630,15 +627,11 @@
|
|
|
630
627
|
this.row = Object.assign(this.row, this.meter, {})
|
|
631
628
|
|
|
632
629
|
if (this.meter.f_user_type == '民用'){
|
|
633
|
-
this.row.f_position = '厨房'
|
|
634
|
-
console.log('厨房是不是true--------->',this.row.f_position)
|
|
630
|
+
this.row.f_position = ['厨房']
|
|
635
631
|
}
|
|
636
632
|
if (!this.row.f_use_limit){
|
|
637
633
|
this.row.f_use_limit = 10
|
|
638
|
-
console.log('使用年限---------->',this.row.f_use_limit)
|
|
639
634
|
}
|
|
640
|
-
|
|
641
|
-
console.log('合并后得数据----------->', this.row)
|
|
642
635
|
this.orginCardId = this.row.f_card_id
|
|
643
636
|
|
|
644
637
|
if(this.row.f_meter_classify){
|
|
@@ -748,11 +741,8 @@
|
|
|
748
741
|
priceChange (val) {
|
|
749
742
|
if (val.length > 0) {
|
|
750
743
|
this.row.f_user_type = [val[0].f_user_type]
|
|
751
|
-
console.log('777777777777',this.row.f_user_type[0])
|
|
752
744
|
if (this.row.f_user_type[0] == '民用'){
|
|
753
|
-
this.row.f_position = '厨房'
|
|
754
|
-
}else {
|
|
755
|
-
this.row.f_position = ''
|
|
745
|
+
this.row.f_position = ['厨房']
|
|
756
746
|
}
|
|
757
747
|
this.row.f_gasproperties = [val[0].f_gasproperties]
|
|
758
748
|
this.row.pricetype = val[0].f_price_type
|
|
@@ -475,7 +475,7 @@ export default {
|
|
|
475
475
|
row.f_meter_book_num = row.f_meter_book_num && row.f_meter_book_num.length > 0 ? [row.f_meter_book_num] : ''
|
|
476
476
|
row.f_userfiles_address = row.f_userfiles_address && row.f_userfiles_address.length > 0 ? [row.f_userfiles_address] : ''
|
|
477
477
|
row.f_inputtor = row.f_inputtor ? [row.f_inputtor] : ''
|
|
478
|
-
row.f_position = row.f_position ? [row.f_position] : ''
|
|
478
|
+
row.f_position = row.f_position && row.f_position.length > 0 ? [row.f_position] : ''
|
|
479
479
|
|
|
480
480
|
row.f_user_type = row.f_user_type ? [row.f_user_type] : ''
|
|
481
481
|
row.f_gasproperties = row.f_gasproperties ? [row.f_gasproperties] : ''
|
|
@@ -76,6 +76,9 @@ let getBtnsGen = async function (self) {
|
|
|
76
76
|
if(getBtns[i].name == '物联网表收费' || getBtns[i].name == '卡表收费'){
|
|
77
77
|
getBtns[i].name = '燃气充值'
|
|
78
78
|
}
|
|
79
|
+
if(getBtns[i].name == '其他收费'){
|
|
80
|
+
getBtns[i].name = '安全保障产品'
|
|
81
|
+
}
|
|
79
82
|
self.temp.push(getBtns[i])
|
|
80
83
|
}
|
|
81
84
|
console.log(i)
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
close-on-select style="width: 60%"></v-select>
|
|
92
92
|
</div>
|
|
93
93
|
<div class="form-group col-sm-3">
|
|
94
|
-
<label class="font_normal_body"
|
|
94
|
+
<label class="font_normal_body">用户级别</label>
|
|
95
95
|
<v-select v-model="model.f_user_level"
|
|
96
|
-
placeholder='
|
|
96
|
+
placeholder='用户级别'
|
|
97
97
|
:value.sync="model.f_user_level"
|
|
98
98
|
:options='$parent.$parent.userlevel'
|
|
99
99
|
condition="i.f_user_level = '{}'"
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
condition="f_card_id like '%{}%'">
|
|
115
115
|
</div>
|
|
116
116
|
<div class="form-group col-sm-3">
|
|
117
|
-
<label class="font_normal_body"
|
|
117
|
+
<label class="font_normal_body">居民生活</label>
|
|
118
118
|
<v-select v-model="model.f_usetype"
|
|
119
|
-
placeholder='
|
|
119
|
+
placeholder='居民生活'
|
|
120
120
|
:value.sync="model.f_usetype"
|
|
121
121
|
:options='$parent.$parent.usetype'
|
|
122
122
|
condition="u.f_usetype = '{}'"
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
161
161
|
</criteria>
|
|
162
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid v-
|
|
162
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid v-show="$parent.showList" >
|
|
163
163
|
<template partial='head' >
|
|
164
164
|
<tr>
|
|
165
165
|
<th style="white-space: nowrap;" >序号</th>
|
|
@@ -343,6 +343,7 @@
|
|
|
343
343
|
|
|
344
344
|
let cardBtnGen = async function (self, val) {
|
|
345
345
|
self.cardInfo = val.data
|
|
346
|
+
self.showList = false
|
|
346
347
|
|
|
347
348
|
// 判断读卡是否需要卡密码
|
|
348
349
|
console.log('读卡上的信息', self.cardInfo)
|
|
@@ -444,6 +445,7 @@
|
|
|
444
445
|
self.model.rows = getUser.data
|
|
445
446
|
self.model.pageIndex = 1
|
|
446
447
|
self.model.state = '正确'
|
|
448
|
+
self.showList = true
|
|
447
449
|
self.$dispatch('clean')
|
|
448
450
|
self.$showAlert('该卡号出现重复,请确认该客户信息之后双击进入!!', 'warning', 5000)
|
|
449
451
|
}
|
|
@@ -451,6 +453,7 @@
|
|
|
451
453
|
self.model.rows = getUser.data
|
|
452
454
|
self.model.pageIndex = 1
|
|
453
455
|
self.model.state = '正确'
|
|
456
|
+
self.showList = true
|
|
454
457
|
self.$dispatch('clean')
|
|
455
458
|
self.$showAlert('该卡号出现重复,请确认该客户信息之后双击进入!!', 'warning', 5000)
|
|
456
459
|
}
|
|
@@ -569,6 +572,7 @@
|
|
|
569
572
|
})
|
|
570
573
|
if (!hasMatchingData) {
|
|
571
574
|
self.model.rows = getUser.data
|
|
575
|
+
self.showList = false
|
|
572
576
|
self.model.pageIndex = 1
|
|
573
577
|
self.model.state = '正确'
|
|
574
578
|
self.$dispatch('clean')
|
|
@@ -576,6 +580,7 @@
|
|
|
576
580
|
}
|
|
577
581
|
} else {
|
|
578
582
|
self.model.rows = getUser.data
|
|
583
|
+
self.showList = false
|
|
579
584
|
self.model.pageIndex = 1
|
|
580
585
|
self.model.state = '正确'
|
|
581
586
|
self.$dispatch('clean')
|
|
@@ -599,6 +604,7 @@
|
|
|
599
604
|
return {
|
|
600
605
|
// 公司下拉
|
|
601
606
|
curorgid: [this.$login.f.orgid],
|
|
607
|
+
showList: false,
|
|
602
608
|
f_orgid: '',
|
|
603
609
|
// 打开页面组织机构全选
|
|
604
610
|
allFlag: true,
|
|
@@ -632,7 +638,7 @@
|
|
|
632
638
|
'f_price_type': '气价类型',
|
|
633
639
|
'f_price_name': '气价名称',
|
|
634
640
|
'fenleixinxi': '分类信息',
|
|
635
|
-
'f_imei':'终端号'
|
|
641
|
+
'f_imei': '终端号'
|
|
636
642
|
},
|
|
637
643
|
filialeName: [],
|
|
638
644
|
outletsname: [],
|
|
@@ -674,7 +680,7 @@
|
|
|
674
680
|
recordModel: {rows: []},
|
|
675
681
|
clientWidth: document.body.clientWidth,
|
|
676
682
|
showCardError: false,
|
|
677
|
-
createpersons:[]
|
|
683
|
+
createpersons: []
|
|
678
684
|
}
|
|
679
685
|
},
|
|
680
686
|
props: {
|
|
@@ -726,15 +732,15 @@
|
|
|
726
732
|
this.$refs.paged.$refs.cri.model[key] = []
|
|
727
733
|
})
|
|
728
734
|
},
|
|
729
|
-
async initQier(){
|
|
730
|
-
let http =new HttpResetClass()
|
|
731
|
-
let res=await
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
},{resolveMsg: null, rejectMsg: null})
|
|
737
|
-
let persons=[]
|
|
735
|
+
async initQier () {
|
|
736
|
+
let http = new HttpResetClass()
|
|
737
|
+
let res = await http.load('POST', 'rs/sql/querySingleTable', {data: {
|
|
738
|
+
items: 'f_createfile_person',
|
|
739
|
+
tablename: 't_userinfo',
|
|
740
|
+
condition: `f_filialeid = ${this.$login.f.orgid} group by f_createfile_person `
|
|
741
|
+
}
|
|
742
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
743
|
+
let persons = []
|
|
738
744
|
res.data.forEach((item) => {
|
|
739
745
|
let res2 = {}
|
|
740
746
|
res2.label = item.f_createfile_person
|
|
@@ -761,10 +767,11 @@
|
|
|
761
767
|
}
|
|
762
768
|
},
|
|
763
769
|
searchNoData () {
|
|
770
|
+
this.showList = false
|
|
764
771
|
this.specialCondition = true
|
|
765
772
|
this.$refs.paged.$refs.cri.model.aa = '1!=1'
|
|
766
773
|
this.$refs.paged.$refs.cri.conditions.aa = '1!=1'
|
|
767
|
-
//this.search()
|
|
774
|
+
// this.search()
|
|
768
775
|
},
|
|
769
776
|
clean () {
|
|
770
777
|
this.cardInfo = ''
|
|
@@ -780,6 +787,7 @@
|
|
|
780
787
|
},
|
|
781
788
|
|
|
782
789
|
async selfSearch (args) {
|
|
790
|
+
this.showList = false
|
|
783
791
|
if (!this.f_orgid) {
|
|
784
792
|
this.getorg([this.$login.f.orgid])
|
|
785
793
|
}
|
package/src/main.js
CHANGED
|
@@ -3,7 +3,7 @@ import all from 'vue-client/src/all'
|
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
5
|
import sale from './sale'
|
|
6
|
-
import wenxi from './filiale/
|
|
6
|
+
import wenxi from './filiale/tongchuan/sale'
|
|
7
7
|
// import FilialeSale from './filiale/yuansheng/sale'
|
|
8
8
|
import address from 'address-client/src/address'
|
|
9
9
|
import ldap from 'ldap-clients/src/ldap'
|