sale-client 3.4.198 → 3.4.199
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/FilesManage/MeterinfoTest.vue +1 -1
- package/src/components/charge/business/ChangeMeterAddGas.vue +1 -1
- package/src/components/revenue/Common/PrintBill.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/fillgas/fillgasRecordMaintain.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/fillgas/fillgasSpecific.vue +5 -0
- package/src/filiale/qianneng/OtherChargeNew.vue +2 -2
- package/src/filiale/qianneng/revenue/ChargeManage.vue +1 -1
- package/src/filiale/rizhao/MeterinfoTest.vue +5 -5
- package/src/filiale/rizhao/UserEssentialInfoTest.vue +321 -0
- package/src/filiale/rizhao/sale.js +3 -1
- package/src/filiale/shanggao/HighMeterIdCard.vue +5 -2
- package/src/filiale/shanggao/ReturnMoneyExamine.vue +2 -2
- package/src/main.js +1 -1
- package/src/sale.js +1 -1
package/build/dev-server.js
CHANGED
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</div>
|
|
102
102
|
<div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
|
|
103
103
|
<label class="font_normal_body" title="开户方式">开户方式</label>
|
|
104
|
-
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id
|
|
104
|
+
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"
|
|
105
105
|
search v-model='row.f_open_way' :disabled="true"></v-select>
|
|
106
106
|
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else
|
|
107
107
|
search v-model='row.f_open_way' :disabled="false"></v-select>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
condition: self.data.id
|
|
42
42
|
}
|
|
43
43
|
if (self.data.fillgasid) {
|
|
44
|
-
temp.
|
|
44
|
+
temp.condition = `"${self.data.fillgasid}"`
|
|
45
45
|
}
|
|
46
46
|
console.log('self.billData.url:', self.billData.url)
|
|
47
47
|
self.bill = new DataModel(self.billData.url, temp)
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
async getGroupData () {
|
|
94
94
|
console.log('获取记录')
|
|
95
|
-
let condition = '
|
|
95
|
+
let condition = ' fillgas_id= ' + this.model.id + " and tablename='t_fillgas'"
|
|
96
96
|
let res = await this.$resetpost('rs/sql/singleTable_OrderBy', {
|
|
97
97
|
data: {
|
|
98
98
|
items: '*',
|
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
<label class="font_normal_body">所属部门</label>
|
|
87
87
|
<input type="text" v-model="model.f_depname" disabled=disabled style="width: 60%" class="input_search">
|
|
88
88
|
</div>
|
|
89
|
+
<div class="col-sm-12">
|
|
90
|
+
<label class="font_normal_body" >补气原因</label>
|
|
91
|
+
<textarea class="form-control" v-model="model.f_comments" rows="3" ></textarea>
|
|
92
|
+
</div>
|
|
89
93
|
</div>
|
|
90
94
|
</form>
|
|
91
95
|
<div style="float: right">
|
|
@@ -145,6 +149,7 @@
|
|
|
145
149
|
'f_operator': '操作人员',
|
|
146
150
|
'f_meter_brand': '气表品牌',
|
|
147
151
|
'f_write_card': '写卡状态',
|
|
152
|
+
'f_comments': '补气原因',
|
|
148
153
|
'f_depname': '所属部门'
|
|
149
154
|
}
|
|
150
155
|
}
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
self.model.f_use_type = self.config.billType
|
|
276
276
|
self.model.f_bill_type = self.model.f_print
|
|
277
277
|
self.hasValidateBill = self.config.hasBillManage
|
|
278
|
-
self.setTypename(self.model.otherdetail[0].f_brand_spec)
|
|
278
|
+
self.setTypename(self.model.otherdetail[0].f_brand_spec, self.model.otherdetail[0])
|
|
279
279
|
}
|
|
280
280
|
export default {
|
|
281
281
|
title: '其他收费',
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
f_typenumber: '',
|
|
324
324
|
typeNameList: [],
|
|
325
325
|
typenumberList: [],
|
|
326
|
-
brandspec: this.$appdata.getParam('
|
|
326
|
+
brandspec: this.$appdata.getParam('其他收费收费类型') ? this.$appdata.getParam('其他收费收费类型') : [],
|
|
327
327
|
printstyle: this.$appdata.getParam('打印格式'),
|
|
328
328
|
paytype: this.$appdata.getParam('付款方式'),
|
|
329
329
|
feetype: this.$appdata.getParam('其他费用'),
|
|
@@ -101,10 +101,9 @@
|
|
|
101
101
|
</div>
|
|
102
102
|
<div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
|
|
103
103
|
<label class="font_normal_body" title="开户方式">开户方式</label>
|
|
104
|
-
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
search v-model='row.f_open_way' :disabled="false"></v-select>
|
|
104
|
+
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select search v-model='row.f_open_way' :disabled="!jurisdiction.includes('档案信息查询修改')"></v-select>
|
|
105
|
+
<!--<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else-->
|
|
106
|
+
<!--search v-model='row.f_open_way' :disabled="false"></v-select>-->
|
|
108
107
|
</div>
|
|
109
108
|
</div>
|
|
110
109
|
<div>
|
|
@@ -489,6 +488,7 @@
|
|
|
489
488
|
}
|
|
490
489
|
}, {resolveMsg: null, rejectMsg: '在档案中更改气表品牌时,获取之前卡表收费信息出错!!'})
|
|
491
490
|
}
|
|
491
|
+
console.log('111', self.row)
|
|
492
492
|
if (beforeRecord.data.length > 0 && self.row.gasbrand[0].f_meter_brand != self.oldrow.gasbrand[0].f_meter_brand) {
|
|
493
493
|
self.$showAlert('该气表已投入使用,如需更改请执行换表操作', 'warning', 3000)
|
|
494
494
|
// self.row.gasbrand = self.meter.gasbrand
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
} else {
|
|
499
499
|
self.row.f_whether_hairpin = self.row.gasbrand[0].f_meter_type === '机表' ? '无卡' : '未发'
|
|
500
500
|
}
|
|
501
|
-
console.log('
|
|
501
|
+
console.log('222', self.row)
|
|
502
502
|
}
|
|
503
503
|
export default {
|
|
504
504
|
title: '表具信息',
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<validator name='v' @valid="$emit('valid')" @invalid="$emit('invalid')">
|
|
4
|
+
<form class="form-horizontal select-overspread ">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-4 form-group " :class="[$v.f_user_name.required ? 'has-error' : '']">
|
|
7
|
+
<label for="f_user_name" class="font_normal_body">*客户姓名</label>
|
|
8
|
+
<input type="text" v-model="baseinfo.base.f_user_name" v-validate:f_user_name='{required: true }'
|
|
9
|
+
class="input_search" style="width:60%" placeholder="客户名称" v-next-el="phone">
|
|
10
|
+
</div>
|
|
11
|
+
<div style="" class="col-sm-4 form-group"
|
|
12
|
+
:class="[$v.f_user_phone.minlength || $v.f_user_phone.maxlength ? 'has-error' : '']">
|
|
13
|
+
<label for="f_user_phone" class="font_normal_body">*客户电话</label>
|
|
14
|
+
<input type="text" maxlength="11" v-model="baseinfo.base.f_user_phone"
|
|
15
|
+
v-validate:f_user_phone="{minlength: 11, maxlength: 11 }" class="input_search" style="width:60%"
|
|
16
|
+
placeholder="客户电话" v-el:phone v-next-el="area">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-4 form-group">
|
|
19
|
+
<label for="f_user_state" class="font_normal_body"> 客户状态</label>
|
|
20
|
+
<v-select :value.sync="baseinfo.base.f_user_state"
|
|
21
|
+
:disabled="false"
|
|
22
|
+
:value-single="true"
|
|
23
|
+
:options='userstates' placeholder='客户状态'
|
|
24
|
+
close-on-select></v-select>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="row">
|
|
28
|
+
<div style="" class="col-sm-4 form-group">
|
|
29
|
+
<label for="f_credentials" class="font_normal_body"> 证件类型</label>
|
|
30
|
+
<v-select id="idCardType" :value.sync="baseinfo.base.f_credentials"
|
|
31
|
+
v-model="baseinfo.base.f_credentials"
|
|
32
|
+
:value-single="true"
|
|
33
|
+
:options='credentials' placeholder='证件类型'
|
|
34
|
+
style="width: 65%"
|
|
35
|
+
close-on-select></v-select>
|
|
36
|
+
</div>
|
|
37
|
+
<div style="" class="col-sm-8 form-group"
|
|
38
|
+
:class="[$v.f_idnumber2.identityCardValid ? 'has-error' : '']"
|
|
39
|
+
v-if="baseinfo.base.f_credentials === '身份证'||baseinfo.base.f_credentials[0] === '身份证'">
|
|
40
|
+
<label for="f_idnumber" class="font_normal_body color-red">*证件号码</label>
|
|
41
|
+
<input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
|
|
42
|
+
v-validate:f_idnumber2='{identityCardValid: true}' class="input_search" style="width:80%"
|
|
43
|
+
placeholder="证件号码">
|
|
44
|
+
</div>
|
|
45
|
+
<div style="" class="col-sm-8 form-group"
|
|
46
|
+
v-if="baseinfo.base.f_credentials !== '身份证'&&baseinfo.base.f_credentials[0] !== '身份证'">
|
|
47
|
+
<label class="font_normal_body"> 证件号码</label>
|
|
48
|
+
<input type="text" v-model="baseinfo.base.f_idnumber" class="input_search" style="width:80%"
|
|
49
|
+
placeholder="证件号码">
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row">
|
|
53
|
+
<div class="col-sm-12 form-group" :class="[$v.f_address.required ? 'has-error' : '']">
|
|
54
|
+
<label for="f_address" class="font_normal_body">*地址信息</label>
|
|
55
|
+
<input type="text" v-model="addressinfo.f_address" :value.sync="addressinfo.f_address" v-validate:f_address='{required: true }'
|
|
56
|
+
class="input_search" disabled="disabled" style="width:75%;" placeholder="用户地址" >
|
|
57
|
+
<span>
|
|
58
|
+
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="!isedit" @click="selectaddress()">选择地址</button>
|
|
59
|
+
<!-- <button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="modifyaddress()">修改地址</button>-->
|
|
60
|
+
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="selectaddress()">修改地址</button>
|
|
61
|
+
</span>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="row">
|
|
65
|
+
<div style="" class="col-sm-4 form-group">
|
|
66
|
+
<label for="f_used_name" class="font_normal_body"> 曾 用 名</label>
|
|
67
|
+
<input type="text" v-model="baseinfo.base.f_used_name" class="input_search" style="width:60%"
|
|
68
|
+
placeholder="曾用名">
|
|
69
|
+
</div>
|
|
70
|
+
<div style="" class="col-sm-4 form-group">
|
|
71
|
+
<label for="f_rent_phone" class="font_normal_body"> 备用电话</label>
|
|
72
|
+
<input type="text" v-model="baseinfo.base.f_rent_phone" class="input_search" style="width:60%"
|
|
73
|
+
placeholder="备用电话">
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-4 form-group" :class="[$v.f_people_num.dctest ? 'has-error' : '']">
|
|
76
|
+
<label for="f_people_num" class="font_normal_body"> 人 口 数</label>
|
|
77
|
+
<input type="number" v-model="baseinfo.base.f_people_num" v-validate:f_people_num='{dctest: [0, ">=" ]}'
|
|
78
|
+
:disabled="!jurisdiction.includes('修改人口数')" class="input_search" style="width:60%"
|
|
79
|
+
placeholder="家庭人口数">
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="row">
|
|
83
|
+
<div style="" class="col-sm-4 form-group">
|
|
84
|
+
<label for="f_balance" class="font_normal_body"> 用户余额</label>
|
|
85
|
+
<input type="text" v-model="baseinfo.base.f_balance" class="input_search" style="width:60%"
|
|
86
|
+
placeholder="用户余额" :disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
87
|
+
</div>
|
|
88
|
+
<div style="" class="col-sm-4 form-group">
|
|
89
|
+
<label for="f_is_mgq" class="font_normal_body ">煤 改 气 </label>
|
|
90
|
+
<v-select id="f_is_mgq" :value.sync="baseinfo.base.f_is_mgq" v-model="baseinfo.base.f_is_mgq"
|
|
91
|
+
:options='mgq' placeholder='是否煤改气' style="width: 65%" close-on-select></v-select>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="col-sm-4 form-group">
|
|
94
|
+
<label for="f_contract" class="font_normal_body"> 燃气本号</label>
|
|
95
|
+
<input type="text" v-model="baseinfo.base.f_book_no" class="input_search" style="width:60%" placeholder="用户证号">
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="row">
|
|
99
|
+
<div style="" class="col-sm-4 form-group">
|
|
100
|
+
<label for="f_rent_name" class="font_normal_body"> 租户姓名</label>
|
|
101
|
+
<input type="text" v-model="baseinfo.base.f_rent_name" class="input_search" style="width:60%"
|
|
102
|
+
placeholder="租户姓名">
|
|
103
|
+
</div>
|
|
104
|
+
<div style="" class="col-sm-4 form-group">
|
|
105
|
+
<label for="f_zuhu_phone" class="font_normal_body"> 租户电话</label>
|
|
106
|
+
<input type="text" v-model="baseinfo.base.f_zuhu_phone" class="input_search" style="width:60%"
|
|
107
|
+
placeholder="租户电话">
|
|
108
|
+
</div>
|
|
109
|
+
<div style="" class="col-sm-4 form-group">
|
|
110
|
+
<label for="f_cost_type" class="font_normal_body "> 付款类型</label>
|
|
111
|
+
<v-select id="f_cost_type" :value.sync="baseinfo.base.f_cost_type" v-model="baseinfo.base.f_cost_type"
|
|
112
|
+
:options='costtype' placeholder='付款类型' style="width: 65%" close-on-select></v-select>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="row">
|
|
116
|
+
<div class="col-sm-8 form-group">
|
|
117
|
+
<label for="f_contract" class="font_normal_body"> 合同编号</label>
|
|
118
|
+
<input type="text" v-model="baseinfo.base.f_contract_id" class="input_search" style="width:80%"
|
|
119
|
+
placeholder="合同编号">
|
|
120
|
+
</div>
|
|
121
|
+
<!--<div style="" class="col-sm-4 form-group">-->
|
|
122
|
+
<!--<label for="f_print_lc" class="font_normal_body "> 打印状态</label>-->
|
|
123
|
+
<!--<v-select id="f_print_lc" :value.sync="baseinfo.base.f_print_lc" v-model="baseinfo.base.f_print_lc"-->
|
|
124
|
+
<!--:value-single="true" :disabled="!jurisdiction.includes('档案信息查询修改')"-->
|
|
125
|
+
<!--:options='mgq' placeholder='是否打印' style="width: 65%" close-on-select></v-select>-->
|
|
126
|
+
<!--</div>-->
|
|
127
|
+
<div class="col-sm-4 form-group" >
|
|
128
|
+
<label for="f_print_dh" class="font_normal_body "> 打印类别</label>
|
|
129
|
+
<v-select id="f_print_dh" :value.sync="baseinfo.base.f_print_dh" v-model="baseinfo.base.f_print_dh"
|
|
130
|
+
:options='printstate' placeholder='流程单 | 点火单' style="width: 65%" close-on-select></v-select>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
</div>
|
|
135
|
+
<div class="row">
|
|
136
|
+
<div style="" class="col-sm-8 form-group">
|
|
137
|
+
<label for="f_comments" class="font_normal_body "> 备  注</label>
|
|
138
|
+
<input class="input_search" style="width:80%" v-model="baseinfo.base.f_comments"/>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="col-sm-4 form-group" >
|
|
141
|
+
<label for="f_house_type" class="font_normal_body"> 房屋类型</label>
|
|
142
|
+
<v-select :value.sync="baseinfo.base.f_house_type" v-model="baseinfo.base.f_house_type"
|
|
143
|
+
:options='housetype' placeholder='房屋类型' style="width: 65%" close-on-select>
|
|
144
|
+
</v-select>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="row">
|
|
148
|
+
<a style="text-decoration: none;font-weight: 300;float: left;color: #333;margin-top: 15px;font-weight: 500"
|
|
149
|
+
v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">银行信息</a>
|
|
150
|
+
</div>
|
|
151
|
+
<div v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">
|
|
152
|
+
<div class="row">
|
|
153
|
+
<div class="col-sm-4 form-group"
|
|
154
|
+
:class="[$v.f_bank_accopen.required ? 'has-error' : '']">
|
|
155
|
+
<label for="f_username" class="font_normal_body">银行户名</label>
|
|
156
|
+
<input type="text" v-model="baseinfo.bank.f_bank_accopen"
|
|
157
|
+
class="input_search" style="width:60%" id="f_username" placeholder="客户名称"
|
|
158
|
+
v-validate:f_bank_accopen='{required: true}'
|
|
159
|
+
v-next-el="bankaccount">
|
|
160
|
+
</div>
|
|
161
|
+
<div class="col-sm-4 form-group" id=userfiles-useEssInf-银行名称>
|
|
162
|
+
<label for="f_username" class="font_normal_body ">银行名称</label>
|
|
163
|
+
<v-select :value.sync="baseinfo.bank.f_bank_name"
|
|
164
|
+
:options='banknames' placeholder='银行名称'
|
|
165
|
+
close-on-select></v-select>
|
|
166
|
+
</div>
|
|
167
|
+
<div class="col-sm-4 form-group">
|
|
168
|
+
<label for="f_bank_idnumber" class="font_normal_body">缴费编号</label>
|
|
169
|
+
<input type="text" v-model="baseinfo.bank.f_bank_pay_number"
|
|
170
|
+
class="input_search" style="width:60%"
|
|
171
|
+
aria-describedby="helpBlock" placeholder="缴费编号" v-el:bankpaynumber>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="col-sm-12 form-group">
|
|
174
|
+
<label for="f_bank_idnumber" class="font_normal_body">身份证号</label>
|
|
175
|
+
<input type="text" v-model="baseinfo.bank.f_bank_idnumber"
|
|
176
|
+
class="input_search" style="width:54%"
|
|
177
|
+
aria-describedby="helpBlock" placeholder="身份证号" v-el:bankidnumber>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="col-sm-12 form-group"
|
|
180
|
+
:class="[$v.f_bank_account.required ? 'has-error' : '']">
|
|
181
|
+
<label for="f_userid" class="font_normal_body">银行账号</label>
|
|
182
|
+
<input type="text" v-model="baseinfo.bank.f_bank_account" class="input_search" style="width:54%"
|
|
183
|
+
v-validate:f_bank_account='{required: true}' placeholder="银行账号" v-el:bankaccount
|
|
184
|
+
v-next-el="bankidnumber">
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
</form>
|
|
189
|
+
</validator>
|
|
190
|
+
<modal v-if="showselectaddress" :show.sync="showselectaddress" width="80%" title="地址信息" v-ref:modal large backdrop="false">
|
|
191
|
+
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
192
|
+
<file-address-manage-new :is-select="isSelect" :fileinfo="addressinfo"
|
|
193
|
+
@address-valid="doNothing" :showselectaddress.sync="showselectaddress" v-ref:fileaddress ></file-address-manage-new>
|
|
194
|
+
</article>
|
|
195
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
196
|
+
</footer>
|
|
197
|
+
</modal>
|
|
198
|
+
</div>
|
|
199
|
+
</template>
|
|
200
|
+
|
|
201
|
+
<script>
|
|
202
|
+
import {HttpResetClass} from 'vue-client'
|
|
203
|
+
// import HighMeter from '../../plugins/HighMeterPlugin'
|
|
204
|
+
|
|
205
|
+
let getEditUserState = async function (self) {
|
|
206
|
+
try {
|
|
207
|
+
let http = new HttpResetClass()
|
|
208
|
+
let result = await http.load('GET', `rs/vue/EditUserState.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
209
|
+
console.log('看看结果', result.data.EditUserState)
|
|
210
|
+
self.config.f_print_dh = result.data.f_print_dh
|
|
211
|
+
self.baseinfo.base.f_print_dh = (self.baseinfo.base.f_print_dh && self.baseinfo.base.f_print_dh != '' && self.baseinfo.base.f_print_dh != '否') ? self.baseinfo.base.f_print_dh : result.data.f_print_dh
|
|
212
|
+
self.edituserstate = result.data.EditUserState
|
|
213
|
+
} catch (e) {
|
|
214
|
+
console.log(e)
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export default {
|
|
219
|
+
title: '基本信息',
|
|
220
|
+
props: ['baseinfo', 'addressinfo', 'isedit'],
|
|
221
|
+
data () {
|
|
222
|
+
return {
|
|
223
|
+
showselectaddress: false,
|
|
224
|
+
site: '',
|
|
225
|
+
areas: [],
|
|
226
|
+
streets: [],
|
|
227
|
+
residentials: [],
|
|
228
|
+
config: {},
|
|
229
|
+
inputtores: this.$appdata.getParam('抄表员'),
|
|
230
|
+
credentials: this.$appdata.getParam('证件类型'),
|
|
231
|
+
costtypes: this.$appdata.getParam('缴费类型'),
|
|
232
|
+
banknames: this.$appdata.getParam('银行名称'),
|
|
233
|
+
userstates: [{label: '预备', value: '预备'}],
|
|
234
|
+
housetype: [{label: '楼房', value: '楼房'}, {label: '自建房', value: '自建房'}],
|
|
235
|
+
mgq: this.$appdata.getParam('是否煤改气'),
|
|
236
|
+
costtype: this.$appdata.getParam('付款类型'),
|
|
237
|
+
printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')]:[{label: '暂不选择', value: '暂不选择'}],
|
|
238
|
+
jurisdiction: this.$login.r,
|
|
239
|
+
edituserstate: false,
|
|
240
|
+
// highMeterPlugin: {},
|
|
241
|
+
readCardFlag: true,
|
|
242
|
+
|
|
243
|
+
isSelect: false
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
ready () {
|
|
247
|
+
getEditUserState(this)
|
|
248
|
+
this.$resetValidation()
|
|
249
|
+
// this.highMeterPlugin = new HighMeter(this,this.readIDCardCallback)
|
|
250
|
+
},
|
|
251
|
+
beforeDestroy () {
|
|
252
|
+
console.log('销毁')
|
|
253
|
+
// this.highMeterPlugin.Stop()
|
|
254
|
+
},
|
|
255
|
+
methods: {
|
|
256
|
+
selectaddress () {
|
|
257
|
+
this.showselectaddress = true
|
|
258
|
+
this.isSelect = true
|
|
259
|
+
},
|
|
260
|
+
modifyaddress () {
|
|
261
|
+
this.showselectaddress = true
|
|
262
|
+
this.isSelect = false
|
|
263
|
+
},
|
|
264
|
+
onValid (res) {
|
|
265
|
+
this.$dispatch('valid')
|
|
266
|
+
},
|
|
267
|
+
onInvalid (res) {
|
|
268
|
+
this.$dispatch('invalid')
|
|
269
|
+
},
|
|
270
|
+
doNothing () {
|
|
271
|
+
// console.log('啥也不做')
|
|
272
|
+
},
|
|
273
|
+
readIDCardCallback (compoent, msg) {
|
|
274
|
+
// console.log('进入高拍仪',msg)
|
|
275
|
+
if (msg.err !== 0) {
|
|
276
|
+
return
|
|
277
|
+
}
|
|
278
|
+
// document.getElementById("idCardType").getElementsByClassName("btn-content")[0].innerHTML="身份证"
|
|
279
|
+
compoent.baseinfo.base.f_idnumber = msg.strID
|
|
280
|
+
compoent.baseinfo.base.f_user_name = msg.strName.trim()
|
|
281
|
+
compoent.baseinfo.base.f_credentials = ['身份证']
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
watch: {
|
|
285
|
+
// 重置验证结果,当证件类型切换时,验证结果不能立即刷新,需要重置
|
|
286
|
+
'baseinfo.base.f_credentials[0]' () {
|
|
287
|
+
// console.log('验证器重置')
|
|
288
|
+
this.$resetValidation()
|
|
289
|
+
this.baseinfo.base.f_print_dh = (this.baseinfo.base.f_print_dh && this.baseinfo.base.f_print_dh != '' && this.baseinfo.base.f_print_dh != '否') ? this.baseinfo.base.f_print_dh : this.config.f_print_dh
|
|
290
|
+
},
|
|
291
|
+
'baseinfo.base.f_cost_type[0]' () {
|
|
292
|
+
// console.log('验证器重置')
|
|
293
|
+
this.$resetValidation()
|
|
294
|
+
this.baseinfo.base.f_print_dh = (this.baseinfo.base.f_print_dh && this.baseinfo.base.f_print_dh != '' && this.baseinfo.base.f_print_dh != '否') ? this.baseinfo.base.f_print_dh : this.config.f_print_dh
|
|
295
|
+
},
|
|
296
|
+
// 当选择销户,需要给其提醒是否进行销户
|
|
297
|
+
'baseinfo.base.f_user_state' (val) {
|
|
298
|
+
if (val[0] === '销户') {
|
|
299
|
+
this.$showMessage('是否要对该客户进行销户操作?', ['confirm', 'cancel']).then((res) => {
|
|
300
|
+
if (res !== 'confirm') {
|
|
301
|
+
this.baseinfo.base.f_user_state = ['正常']
|
|
302
|
+
}
|
|
303
|
+
})
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
computed: {},
|
|
308
|
+
events: {
|
|
309
|
+
'confirmaddress' (res) {
|
|
310
|
+
// console.log('选定地址', res)
|
|
311
|
+
this.showselectaddress = false
|
|
312
|
+
this.addressinfo.f_address = res.f_address
|
|
313
|
+
this.addressinfo.id = res.id
|
|
314
|
+
if (res.f_house_type != null) {
|
|
315
|
+
this.baseinfo.base.f_house_type = res.f_house_type
|
|
316
|
+
}
|
|
317
|
+
this.$dispatch('defaultOtheret', res)
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
</script>
|
|
@@ -20,6 +20,8 @@ let specialComp = {
|
|
|
20
20
|
// 列表
|
|
21
21
|
'charge-list': (resolve) => { require(['./ChargeList'], resolve) },
|
|
22
22
|
// 收费页面的流水查询
|
|
23
|
-
'meter-charge-record-query': (resolve) => { require(['./ChargeRecordQuery'], resolve) }
|
|
23
|
+
'meter-charge-record-query': (resolve) => { require(['./ChargeRecordQuery'], resolve) },
|
|
24
|
+
// 用户基本信息test(预备户)
|
|
25
|
+
'file-user-essential-info-new': (resolve) => { require(['./UserEssentialInfoTest'], resolve) }
|
|
24
26
|
}
|
|
25
27
|
exports.specialComp = specialComp
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<header slot="modal-header">
|
|
4
4
|
<div class="header">
|
|
5
5
|
<span class="glyphicon glyphicon-remove-circle close" style="margin-top: 35px;margin-right: 30px" @click="close"></span>
|
|
6
|
-
<h4 class="title"
|
|
6
|
+
<h4 class="title">高拍仪(哲林)</h4>
|
|
7
7
|
</div>
|
|
8
8
|
</header>
|
|
9
9
|
<article slot="modal-body" class="form-control" style="padding: 0px">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
<div class="showInfo">
|
|
25
25
|
<IMG ID="Base64IMG" src="" class="img"></IMG>
|
|
26
|
-
<button style="position: absolute;buttom:-10px;left:0px;" @click="splitsimg">旋转</button
|
|
26
|
+
<!-- <button style="position: absolute;buttom:-10px;left:0px;" @click="splitsimg">旋转</button>-->
|
|
27
27
|
<textarea id="Console" disabled="disabled"></textarea>
|
|
28
28
|
<IMG id="cam" :src="cameraurl" width="640" height="640">
|
|
29
29
|
</IMG>
|
|
@@ -95,8 +95,10 @@ export default {
|
|
|
95
95
|
resolve()
|
|
96
96
|
}
|
|
97
97
|
this.connected = true
|
|
98
|
+
console.log('已连接服务器')
|
|
98
99
|
this.output('已经连接到服务器')
|
|
99
100
|
// 打开视频
|
|
101
|
+
console.log('打开摄像头1')
|
|
100
102
|
this.cam_switch(1)
|
|
101
103
|
// 打开自动裁边
|
|
102
104
|
resolve()
|
|
@@ -184,6 +186,7 @@ export default {
|
|
|
184
186
|
// 打开视频
|
|
185
187
|
cam_switch (capID) {
|
|
186
188
|
if (capID == 1) {
|
|
189
|
+
|
|
187
190
|
this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=0'
|
|
188
191
|
}
|
|
189
192
|
if (capID == 2) {
|
|
@@ -191,7 +191,7 @@ export default {
|
|
|
191
191
|
if (res === 'confirm') {
|
|
192
192
|
let examineState = ''
|
|
193
193
|
// 退款逻辑开始
|
|
194
|
-
if (row.f_payment === '微信支付') {
|
|
194
|
+
if (row.f_payment === '微信支付' || row.f_payment === '&扫码') {
|
|
195
195
|
let res = await this.$resetpost('shunmin/rs/pay/refundShanggao',
|
|
196
196
|
{id: row.wxid}, {
|
|
197
197
|
resolveMsg: null,
|
|
@@ -227,7 +227,7 @@ export default {
|
|
|
227
227
|
sql: sql
|
|
228
228
|
}
|
|
229
229
|
await this.$resetpost('rs/logic/runSQL', data, {resolveMsg: null, rejectMsg: null})
|
|
230
|
-
|
|
230
|
+
await this.search()
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
233
|
// 全部通过并退款
|
package/src/main.js
CHANGED
package/src/sale.js
CHANGED
|
@@ -221,7 +221,7 @@ export default {
|
|
|
221
221
|
// Vue.component('change-meter-add-gas', (resolve) => { require(['./components/revenue/comprehen/ComprehenOperation/ChangeMeterAddGas/OldChangeMeterAddGas'], resolve) })
|
|
222
222
|
// 换表补卡
|
|
223
223
|
Vue.component('change_fill_sendcard', (resolve) => { require(['./components/charge/business/ChangeSendCard'], resolve) })
|
|
224
|
-
//
|
|
224
|
+
// 补气购气
|
|
225
225
|
Vue.component('change-meter-add-gas', (resolve) => { require(['./components/charge/business/ChangeMeterAddGas'], resolve) })
|
|
226
226
|
// 退费管理
|
|
227
227
|
Vue.component('refund-manage', (resolve) => { require(['./components/charge/business/refund/RefundManage'], resolve) })
|