sale-client 4.1.230 → 4.2.1-ronghao
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 +29 -46
- package/package.json +2 -2
- package/src/App.vue +3 -3
- package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -4
- package/src/components/FilesManageNew/FileUserFiles.vue +2 -4
- package/src/components/FilesManageNew/MeterinfoTest.vue +9 -9
- package/src/components/FilesManageNew/UserEssentialInfoTest.vue +201 -227
- package/src/components/FilesManageNew/UserGeneralInfoTest.vue +0 -2
- package/src/components/charge/business/CardMeterCenter.vue +1 -1
- package/src/components/charge/business/FilesComplete.vue +3 -3
- package/src/components/charge/business/IOTMeterCenter.vue +1 -1
- package/src/components/charge/business/OtherChargeNew.vue +68 -48
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +10 -1
- package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/GarbageRecordList.vue +69 -0
- package/src/components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue +384 -0
- package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
- package/src/components/revenue/Common/MeterMessage.vue +1 -1
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/HandManager/WebHand.vue +7 -4
- package/src/components/revenue/base/leftview/SafeCheck.vue +41 -3
- package/src/components/revenue/base/leftview/UserFeeInfo.vue +76 -0
- package/src/components/revenue/base/leftview/otherinfo.vue +1 -0
- package/src/components/revenue/base/rightview/CardList.vue +7 -3
- package/src/components/revenue/batchDeduction/batchDeductionList.vue +1 -1
- package/src/components/revenue/cardHandManage/cardDown.vue +18 -0
- package/src/components/revenue/changeInsurance/InsuranceAdd.vue +1 -0
- package/src/components/revenue/changeInsurance/InsuranceRecord.vue +2 -1
- package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +4 -2
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +2 -2
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/components/revenue/machineHandManage/HandplanQuery.vue +1 -1
- package/src/components/revenue/machineHandManage/machineHand.vue +3 -2
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/dexin/MeterinfoTest.vue +1239 -0
- package/src/filiale/dexin/UserEssentialInfoTest.vue +602 -0
- package/src/filiale/dexin/sale.js +5 -0
- package/src/filiale/fugou/MeterinfoTest.vue +1 -1
- package/src/filiale/jiaxian/AutomaticPurse.vue +349 -0
- package/src/filiale/jiaxian/ChangeMeterQueryUser.vue +303 -0
- package/src/filiale/jiaxian/ChangeRecord.vue +44 -2
- package/src/filiale/jiaxian/FillCardQueryUser.vue +250 -0
- package/src/filiale/jiaxian/FillGasQueryUser.vue +270 -0
- package/src/filiale/jiaxian/OtherChargeQueryUser.vue +305 -0
- package/src/filiale/jiaxian/PriceAdjustmentQueryUser.vue +368 -0
- package/src/filiale/jiaxian/PriceChangeQueryUser.vue +243 -0
- package/src/filiale/jiaxian/QueryInstruct.vue +436 -0
- package/src/filiale/jiaxian/RecordQueryUser.vue +321 -0
- package/src/filiale/jiaxian/Repurchase.vue +181 -0
- package/src/filiale/jiaxian/TransferQueryUser.vue +274 -0
- package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +11 -11
- package/src/filiale/jiaxian/Userinfo.vue +426 -0
- package/src/filiale/jiaxian/WatchCollection.vue +54 -1
- package/src/filiale/jiaxian/WebAutomaticPurse.vue +348 -0
- package/src/filiale/jiaxian/contractSigningList.vue +149 -0
- package/src/filiale/jiaxian/sale.js +5 -0
- package/src/filiale/jinhong/AutoAccountsDetail.vue +63 -0
- package/src/filiale/jinhong/CardList.vue +572 -0
- package/src/filiale/jinhong/CardMeterCenter.vue +1 -1
- package/src/filiale/jinhong/CardMeterCenterInner.vue +61 -22
- package/src/filiale/jinhong/GarbageCharge.vue +1 -1
- package/src/filiale/jinhong/HandplanQuery.vue +1430 -0
- package/src/filiale/jinhong/IOTMeterCenterInner.vue +42 -14
- package/src/filiale/jinhong/InsuranceAdd.vue +27 -5
- package/src/filiale/jinhong/InsuranceChargesDetails.vue +11 -5
- package/src/filiale/jinhong/InsuranceRecord.vue +4 -5
- package/src/filiale/jinhong/InsuranceTemp.vue +33 -5
- package/src/filiale/jinhong/MachineChargeService.js +8 -0
- package/src/filiale/jinhong/MachineMeterCenter.vue +38 -11
- package/src/filiale/jinhong/ShowCardSellGasInner.vue +46 -14
- package/src/filiale/jinhong/Userinfo.vue +75 -1
- package/src/filiale/jinhong/insuranceGuanL.vue +349 -0
- package/src/filiale/jinhong/machineDown.vue +1205 -0
- package/src/filiale/jinhong/sale.js +9 -0
- package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +259 -0
- package/src/filiale/jinhuang/WebHand.vue +1026 -0
- package/src/filiale/jinhuang/WebHandQueryUser.vue +413 -0
- package/src/filiale/jinhuang/cardsHand.vue +911 -0
- package/src/filiale/jinhuang/sale.js +8 -0
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceAdd.vue +1 -0
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/CardMeterCenter.vue +991 -0
- package/src/filiale/meihekou/ChargeManage.vue +3 -2
- package/src/filiale/meihekou/ChargeOper.vue +279 -169
- package/src/filiale/meihekou/HandManager.vue +57 -2
- package/src/filiale/meihekou/NoCardMeterCenter.vue +542 -0
- package/src/filiale/meihekou/OverUseCharge.vue +1 -1
- package/src/filiale/meihekou/PrintBill.vue +48 -41
- package/src/filiale/meihekou/ReissueBill.vue +4 -1
- package/src/filiale/meihekou/ShowCardSellGas.vue +935 -0
- package/src/filiale/meihekou/TransferManage.vue +704 -0
- package/src/filiale/meihekou/Userinfo.vue +233 -5
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/meihekou/icTable.vue +233 -0
- package/src/filiale/meihekou/machineHand.vue +2158 -0
- package/src/filiale/meihekou/manualChargeCenter.vue +394 -0
- package/src/filiale/meihekou/meterTable.vue +220 -0
- package/src/filiale/meihekou/sale.js +15 -0
- package/src/filiale/qianneng/MeterMessage.vue +1 -1
- package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
- package/src/filiale/rizhao/InsuranceAdd.vue +1 -0
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardList.vue +19 -17
- package/src/filiale/ronghao/CardMeterChargeCancel.vue +5 -0
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/ChangeMeterService.js +1 -1
- package/src/filiale/ronghao/ChargeList.vue +17 -17
- package/src/filiale/ronghao/ChargeManage.vue +325 -0
- package/src/filiale/ronghao/ChargeOper.vue +330 -0
- package/src/filiale/ronghao/FilesManageNew/UserEssentialInfoTest.vue +457 -0
- package/src/filiale/ronghao/FilesManageNew/UserGeneralInfoTest.vue +690 -0
- package/src/filiale/ronghao/HandplanQuery.vue +13 -14
- package/src/filiale/ronghao/IOTMeterCenter.vue +15 -6
- package/src/filiale/ronghao/InsuranceAdd.vue +1 -0
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/Userinfo.vue +18 -18
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/machineRefund.vue +3 -1
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/sale.js +11 -0
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/ronghao/uploadFilesHistory.vue +214 -0
- package/src/filiale/ruihua/FilesManage/MeterinfoTest.vue +10 -0
- package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +1 -0
- package/src/filiale/wuan/MeterMessage.vue +1 -1
- package/src/filiale/yangchun/BasicLivingList.vue +281 -0
- package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +1 -0
- package/src/filiale/yangchun/CardChangeFill.vue +1 -1
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +3 -3
- package/src/filiale/yangchun/NewMeterList.vue +742 -0
- package/src/filiale/yangchun/sale.js +3 -0
- package/src/filiale/yuncheng/CardList.vue +1 -1
- package/src/filiale/yuncheng/IndustryCommerceHand.vue +1145 -0
- package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +794 -0
- package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +64 -0
- package/src/filiale/yuncheng/InsuranceAdd.vue +1 -0
- package/src/filiale/yuncheng/MeterBookUser.vue +781 -0
- package/src/filiale/yuncheng/UserDeviceInfoTest.vue +2 -2
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/yuncheng/industryDown.vue +1118 -0
- package/src/filiale/yuncheng/sale.js +11 -0
- package/src/filiale/yuncheng/uploadFilesHistory.vue +185 -0
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/plugins/CardService.js +2217 -2217
- package/src/sale.js +3 -1
|
@@ -28,14 +28,13 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
30
30
|
<div class="row">
|
|
31
|
-
<div style="" class="col-sm-4 form-group">
|
|
31
|
+
<div style="" class="col-sm-4 form-group" >
|
|
32
32
|
<label for="f_credentials" class="font_normal_body"> 证件类型</label>
|
|
33
|
-
<v-select id="idCardType"
|
|
34
|
-
:value.sync="baseinfo.base.f_credentials"
|
|
33
|
+
<v-select id="idCardType" :value.sync="baseinfo.base.f_credentials"
|
|
35
34
|
v-model="baseinfo.base.f_credentials"
|
|
36
35
|
:value-single="true"
|
|
37
36
|
:options='credentials'
|
|
38
|
-
placeholder='证件类型'
|
|
37
|
+
:placeholder="getConfigPlaceholder('f_credentials','证件类型')"
|
|
39
38
|
style="width: 65%"
|
|
40
39
|
close-on-select></v-select>
|
|
41
40
|
</div>
|
|
@@ -46,14 +45,14 @@
|
|
|
46
45
|
<label for="f_idnumber" class="font_normal_body color-red">*证件号码</label>
|
|
47
46
|
<input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
|
|
48
47
|
v-validate:f_idnumber='{identityCardValid: true}' class="input_search" style="width:80%"
|
|
49
|
-
placeholder="证件号码">
|
|
48
|
+
:placeholder="getConfigPlaceholder('f_idnumber','证件号码')">
|
|
50
49
|
</div>
|
|
51
50
|
<div style="" class="col-sm-8 form-group"
|
|
52
51
|
key="证件号码"
|
|
53
52
|
v-else>
|
|
54
53
|
<label class="font_normal_body"> 证件号码</label>
|
|
55
54
|
<input type="text" v-model="baseinfo.base.f_idnumber" class="input_search" style="width:80%"
|
|
56
|
-
placeholder="证件号码">
|
|
55
|
+
:placeholder="getConfigPlaceholder('f_idnumber','证件号码')">
|
|
57
56
|
</div>
|
|
58
57
|
</div>
|
|
59
58
|
<div class="row">
|
|
@@ -63,7 +62,7 @@
|
|
|
63
62
|
class="input_search" disabled="disabled" style="width:75%;" placeholder="用户地址" >
|
|
64
63
|
<span>
|
|
65
64
|
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="!isedit" @click="selectaddress()">选择地址</button>
|
|
66
|
-
<!-- <button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="modifyaddress()">修改地址</button>-->
|
|
65
|
+
<!-- <button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="modifyaddress()">修改地址</button>-->
|
|
67
66
|
<button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="selectaddress()">修改地址</button>
|
|
68
67
|
</span>
|
|
69
68
|
</div>
|
|
@@ -75,7 +74,7 @@
|
|
|
75
74
|
class="col-sm-4 form-group" v-if="getConfigShowItem('f_used_name')">
|
|
76
75
|
<label style="letter-spacing: 0.5em;margin-right: -0.5em;margin-left: -0.5em" for="f_used_name" class="font_normal_body w3"> {{getConfigLabelName('f_used_name','曾用名')}}</label>
|
|
77
76
|
<input type="text" v-model="baseinfo.base.f_used_name" class="input_search" style="width:60%"
|
|
78
|
-
v-validate:f_used_name="getConfigValidate('f_used_name',false)"
|
|
77
|
+
v-validate:f_used_name="getConfigValidate('f_used_name', false)"
|
|
79
78
|
:placeholder="getConfigPlaceholder('f_used_name','曾用名')">
|
|
80
79
|
</div>
|
|
81
80
|
<div style="" class="col-sm-4 form-group"
|
|
@@ -83,7 +82,7 @@
|
|
|
83
82
|
:class="[$v.f_rent_phone.required ? 'has-error' : '']" v-if="getConfigShowItem('f_rent_phone')">
|
|
84
83
|
<label for="f_rent_phone" class="font_normal_body"> 备用电话</label>
|
|
85
84
|
<input type="text" v-model="baseinfo.base.f_rent_phone" class="input_search" style="width:60%"
|
|
86
|
-
v-validate:f_rent_phone="getConfigValidate('f_rent_phone',false)"
|
|
85
|
+
v-validate:f_rent_phone="getConfigValidate('f_rent_phone', false)"
|
|
87
86
|
placeholder="备用电话">
|
|
88
87
|
</div>
|
|
89
88
|
<div class="col-sm-4 form-group"
|
|
@@ -110,7 +109,7 @@
|
|
|
110
109
|
class="col-sm-4 form-group" v-if="getConfigShowItem('f_balance')">
|
|
111
110
|
<label for="f_balance" class="font_normal_body"> {{getConfigLabelName('f_balance','用户余额')}}</label>
|
|
112
111
|
<input type="text" v-model="baseinfo.base.f_balance" class="input_search" style="width:60%"
|
|
113
|
-
v-validate:f_balance="getConfigValidate('f_balance',false)"
|
|
112
|
+
v-validate:f_balance="getConfigValidate('f_balance', false)"
|
|
114
113
|
:placeholder="getConfigPlaceholder('f_balance','用户余额')"
|
|
115
114
|
:disabled="!jurisdiction.includes('档案信息查询修改')">
|
|
116
115
|
</div>
|
|
@@ -119,7 +118,7 @@
|
|
|
119
118
|
:class="[$v.f_is_mgq.required ? 'has-error' : '']">
|
|
120
119
|
<label for="f_is_mgq" style="letter-spacing: 0.5em;margin-right: -0.5em" class="font_normal_body w3">{{getConfigLabelName('f_is_mgq','煤改气')}}</label>
|
|
121
120
|
<input type="text" v-show="false" v-model="baseinfo.base.f_is_mgq"
|
|
122
|
-
v-validate:f_is_mgq="getConfigValidate('f_is_mgq',false)">
|
|
121
|
+
v-validate:f_is_mgq="getConfigValidate('f_is_mgq', false)">
|
|
123
122
|
<v-select id="f_is_mgq" :value.sync="baseinfo.base.f_is_mgq" v-model="baseinfo.base.f_is_mgq"
|
|
124
123
|
:placeholder="getConfigPlaceholder('f_is_mgq','是否煤改气')"
|
|
125
124
|
:options='mgq' style="width: 65%" close-on-select></v-select>
|
|
@@ -129,7 +128,7 @@
|
|
|
129
128
|
:class="[$v.f_book_no.required ? 'has-error' : '']">
|
|
130
129
|
<label for="f_contract" class="font_normal_body"> {{getConfigLabelName('f_book_no','燃气本号')}}</label>
|
|
131
130
|
<input type="text" v-model="baseinfo.base.f_book_no" class="input_search" style="width:60%"
|
|
132
|
-
v-validate:f_book_no="getConfigValidate('f_book_no',false)"
|
|
131
|
+
v-validate:f_book_no="getConfigValidate('f_book_no', false)"
|
|
133
132
|
:placeholder="getConfigPlaceholder('f_book_no','用户证号')">
|
|
134
133
|
</div>
|
|
135
134
|
</div>
|
|
@@ -139,7 +138,7 @@
|
|
|
139
138
|
:class="[$v.f_rent_name.required ? 'has-error' : '']">
|
|
140
139
|
<label for="f_rent_name" class="font_normal_body"> {{getConfigLabelName('f_rent_name','租户姓名')}}</label>
|
|
141
140
|
<input type="text" v-model="baseinfo.base.f_rent_name" class="input_search" style="width:60%"
|
|
142
|
-
v-validate:f_rent_name="getConfigValidate('f_rent_name',false)"
|
|
141
|
+
v-validate:f_rent_name="getConfigValidate('f_rent_name', false)"
|
|
143
142
|
:placeholder="getConfigPlaceholder('f_rent_name','租户姓名')">
|
|
144
143
|
</div>
|
|
145
144
|
<div style="" class="col-sm-4 form-group" v-if="getConfigShowItem('f_zuhu_phone')"
|
|
@@ -147,7 +146,7 @@
|
|
|
147
146
|
:class="[$v.f_zuhu_phone.required ? 'has-error' : '']">
|
|
148
147
|
<label for="f_zuhu_phone" class="font_normal_body">{{getConfigLabelName('f_zuhu_phone','租户电话')}}</label>
|
|
149
148
|
<input type="text" v-model="baseinfo.base.f_zuhu_phone" class="input_search" style="width:60%"
|
|
150
|
-
v-validate:f_zuhu_phone="getConfigValidate('f_zuhu_phone',false)"
|
|
149
|
+
v-validate:f_zuhu_phone="getConfigValidate('f_zuhu_phone', false)"
|
|
151
150
|
:placeholder="getConfigPlaceholder('f_zuhu_phone','租户电话')">
|
|
152
151
|
</div>
|
|
153
152
|
<div style="" class="col-sm-4 form-group"
|
|
@@ -165,15 +164,15 @@
|
|
|
165
164
|
:class="[$v.f_contract_id.required ? 'has-error' : '']">
|
|
166
165
|
<label for="f_contract" class="font_normal_body"> {{getConfigLabelName('f_contract_id','合同编号')}}</label>
|
|
167
166
|
<input type="text" v-model="baseinfo.base.f_contract_id" class="input_search" style="width:80%"
|
|
168
|
-
v-validate:f_contract_id="getConfigValidate('f_contract_id',false)"
|
|
167
|
+
v-validate:f_contract_id="getConfigValidate('f_contract_id', false)"
|
|
169
168
|
:placeholder="getConfigPlaceholder('f_contract_id','合同编号')">
|
|
170
169
|
</div>
|
|
171
170
|
<div class="col-sm-4 form-group"
|
|
172
|
-
v-show="(formconfig && formconfig.
|
|
173
|
-
:class="[$v.
|
|
171
|
+
v-show="(formconfig && formconfig.f_print_dh && formconfig.f_print_dh.required) || !onlyshowmust"
|
|
172
|
+
:class="[$v.f_print_dh.required ? 'has-error' : '']">
|
|
174
173
|
<label for="f_print_dh" class="font_normal_body "> {{getConfigLabelName('f_print_dh','打印类别')}}</label>
|
|
175
174
|
<input type="text" v-show="false" v-model="baseinfo.base.f_print_dh"
|
|
176
|
-
v-validate:f_print_dh="getConfigValidate('f_print_dh',false)">
|
|
175
|
+
v-validate:f_print_dh="getConfigValidate('f_print_dh', false)">
|
|
177
176
|
<v-select id="f_print_dh" :value.sync="baseinfo.base.f_print_dh" v-model="baseinfo.base.f_print_dh"
|
|
178
177
|
:value-single="true" :disabled="baseinfo.base.f_print_dh_stats" :search="false"
|
|
179
178
|
:options='printstate' placeholder='流程单 | 点火单' style="width: 65%" close-on-select></v-select>
|
|
@@ -188,7 +187,7 @@
|
|
|
188
187
|
<label for="f_paper_accoun" style="letter-spacing: 2em;margin-right: -2em;margin-left: -2em" class="font_normal_body w2"> {{getConfigLabelName('f_comments','备注')}}</label>
|
|
189
188
|
<input class="input_search" style="width:86.5%;height: 40px" v-model="baseinfo.base.f_comments"
|
|
190
189
|
:placeholder="getConfigPlaceholder('f_comments','请输入备注信息')"
|
|
191
|
-
v-validate:f_comments="getConfigValidate('f_comments',false)"
|
|
190
|
+
v-validate:f_comments="getConfigValidate('f_comments',false)" />
|
|
192
191
|
</div>
|
|
193
192
|
|
|
194
193
|
<div class="col-sm-4 form-group"
|
|
@@ -196,19 +195,18 @@
|
|
|
196
195
|
:class="[$v.f_house_type.required ? 'has-error' : '']">
|
|
197
196
|
<label for="f_user_state" class="font_normal_body"> {{getConfigLabelName('f_house_type','房屋类型')}}</label>
|
|
198
197
|
<input type="text" v-show="false" v-model="baseinfo.base.f_house_type"
|
|
199
|
-
v-validate:f_house_type="getConfigValidate('f_house_type')"
|
|
198
|
+
v-validate:f_house_type="getConfigValidate('f_house_type',false)">
|
|
200
199
|
<v-select :value.sync="baseinfo.base.f_house_type"
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
:value-single="true"
|
|
200
|
+
:search="false"
|
|
201
|
+
:value-single="true"
|
|
204
202
|
:options='housetype' close-on-select
|
|
205
203
|
:placeholder="getConfigPlaceholder('f_house_type','房屋类型')">
|
|
206
204
|
</v-select>
|
|
207
205
|
</div>
|
|
208
206
|
</div>
|
|
209
207
|
<div class="row">
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
<a style="text-decoration: none;font-weight: 300;float: left;color: #333;margin-top: 15px;font-weight: 500"
|
|
209
|
+
v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">银行信息</a>
|
|
212
210
|
</div>
|
|
213
211
|
<div v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">
|
|
214
212
|
<div class="row">
|
|
@@ -264,216 +262,192 @@
|
|
|
264
262
|
</template>
|
|
265
263
|
|
|
266
264
|
<script>
|
|
267
|
-
|
|
265
|
+
import {HttpResetClass} from 'vue-client'
|
|
268
266
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
console.log(e)
|
|
281
|
-
}
|
|
282
|
-
}
|
|
267
|
+
let getEditUserState = async function (self) {
|
|
268
|
+
try {
|
|
269
|
+
let http = new HttpResetClass()
|
|
270
|
+
let result = await http.load('GET', `rs/vue/EditUserState.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
271
|
+
console.log(result.data.EditUserState)
|
|
272
|
+
self.edituserstate = result.data.EditUserState
|
|
273
|
+
Object.assign(self.config, result.data)
|
|
274
|
+
} catch (e) {
|
|
275
|
+
console.log(e)
|
|
276
|
+
}
|
|
277
|
+
}
|
|
283
278
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
},
|
|
298
|
-
validateRules: {},
|
|
299
|
-
inputtores: this.$appdata.getParam('抄表员'),
|
|
300
|
-
credentials: this.$appdata.getParam('证件类型'),
|
|
301
|
-
costtypes: this.$appdata.getParam('缴费类型'),
|
|
302
|
-
banknames: this.$appdata.getParam('银行名称'),
|
|
303
|
-
userstates: [{label: '预备', value: '预备'}],
|
|
304
|
-
housetype: this.$appdata.getParam('房屋类型'),
|
|
305
|
-
mgq: this.$appdata.getParam('是否煤改气'),
|
|
306
|
-
costtype: this.$appdata.getParam('付款类型'),
|
|
307
|
-
printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')] : [{label: '暂不选择', value: '暂不选择'}],
|
|
308
|
-
peopleMax: this.$appdata.getSingleValue('最大人口数'),
|
|
309
|
-
jurisdiction: this.$login.r,
|
|
310
|
-
edituserstate: false,
|
|
311
|
-
// highMeterPlugin: {},
|
|
312
|
-
readCardFlag: true,
|
|
313
|
-
|
|
314
|
-
isSelect: false
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
ready () {
|
|
318
|
-
getEditUserState(this)
|
|
319
|
-
this.$resetValidation()
|
|
320
|
-
this.initValidateRules()
|
|
279
|
+
export default {
|
|
280
|
+
title: '基本信息',
|
|
281
|
+
props: ['baseinfo', 'addressinfo', 'isedit', 'f_filialeid', 'formconfig', 'onlyshowmust'],
|
|
282
|
+
data () {
|
|
283
|
+
return {
|
|
284
|
+
showselectaddress: false,
|
|
285
|
+
site: '',
|
|
286
|
+
areas: [],
|
|
287
|
+
streets: [],
|
|
288
|
+
residentials: [],
|
|
289
|
+
config: {
|
|
290
|
+
f_idnumber: true,
|
|
291
|
+
f_house_type: true
|
|
321
292
|
},
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
this.validateRules['f_user_phone'] = { minlength: 11, maxlength: 11 }
|
|
338
|
-
|
|
339
|
-
this.updateValidateRules()
|
|
340
|
-
},
|
|
341
|
-
|
|
342
|
-
updateValidateRules() {
|
|
343
|
-
if (!this.formconfig) return
|
|
344
|
-
|
|
345
|
-
Object.keys(this.formconfig).forEach(field => {
|
|
346
|
-
const fieldConfig = this.formconfig[field]
|
|
347
|
-
const rules = {}
|
|
348
|
-
|
|
349
|
-
if (fieldConfig.required) {
|
|
350
|
-
rules.required = true
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
if (fieldConfig.minlength || fieldConfig.minlength === 0) {
|
|
354
|
-
rules.minlength = fieldConfig.minlength
|
|
355
|
-
}
|
|
293
|
+
validateRules: {},
|
|
294
|
+
inputtores: this.$appdata.getParam('抄表员'),
|
|
295
|
+
credentials: this.$appdata.getParam('证件类型'),
|
|
296
|
+
costtypes: this.$appdata.getParam('缴费类型'),
|
|
297
|
+
banknames: this.$appdata.getParam('银行名称'),
|
|
298
|
+
userstates: this.$appdata.getParam('预备客户状态参数') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('预备客户状态参数')] : [{label: '预备', value: '预备'}],
|
|
299
|
+
housetype: this.$appdata.getParam('房屋类型'),
|
|
300
|
+
mgq: this.$appdata.getParam('是否煤改气'),
|
|
301
|
+
costtype: this.$appdata.getParam('付款类型'),
|
|
302
|
+
printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')] : [{label: '暂不选择', value: '暂不选择'}],
|
|
303
|
+
peopleMax: this.$appdata.getSingleValue('最大人口数'),
|
|
304
|
+
jurisdiction: this.$login.r,
|
|
305
|
+
edituserstate: false,
|
|
306
|
+
// highMeterPlugin: {},
|
|
307
|
+
readCardFlag: true,
|
|
356
308
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
309
|
+
isSelect: false
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
ready () {
|
|
313
|
+
getEditUserState(this)
|
|
314
|
+
this.$resetValidation()
|
|
315
|
+
// this.initValidateRules()
|
|
316
|
+
},
|
|
317
|
+
beforeDestroy () {
|
|
318
|
+
},
|
|
319
|
+
methods: {
|
|
320
|
+
// updateValidateRules() {
|
|
321
|
+
// if (!this.formconfig) return
|
|
322
|
+
//
|
|
323
|
+
// Object.keys(this.formconfig).forEach(field => {
|
|
324
|
+
// const fieldConfig = this.formconfig[field]
|
|
325
|
+
// const rules = {}
|
|
326
|
+
//
|
|
327
|
+
// if (fieldConfig.required) {
|
|
328
|
+
// rules.required = true
|
|
329
|
+
// }
|
|
330
|
+
//
|
|
331
|
+
// if (fieldConfig.minlength || fieldConfig.minlength === 0) {
|
|
332
|
+
// rules.minlength = fieldConfig.minlength
|
|
333
|
+
// }
|
|
334
|
+
//
|
|
335
|
+
// if (fieldConfig.maxlength) {
|
|
336
|
+
// rules.maxlength = fieldConfig.maxlength
|
|
337
|
+
// }
|
|
338
|
+
//
|
|
339
|
+
// this.validateRules[field] = Object.assign({}, this.validateRules[field], rules)
|
|
340
|
+
// })
|
|
341
|
+
// },
|
|
375
342
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
return defaultVal
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
getConfigLabelName (name, defaultVal) {
|
|
386
|
-
if (this.formconfig && this.formconfig[name] && this.formconfig[name].labelName) {
|
|
387
|
-
return this.formconfig[name].labelName
|
|
388
|
-
} else {
|
|
389
|
-
return defaultVal
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
getConfigPlaceholder (name, defaultVal) {
|
|
393
|
-
if (this.formconfig && this.formconfig[name] && this.formconfig[name].placeholder) {
|
|
394
|
-
return this.formconfig[name].placeholder
|
|
395
|
-
} else {
|
|
396
|
-
return defaultVal
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
selectaddress () {
|
|
400
|
-
this.showselectaddress = true
|
|
401
|
-
this.isSelect = true
|
|
402
|
-
},
|
|
403
|
-
modifyaddress () {
|
|
404
|
-
this.showselectaddress = true
|
|
405
|
-
this.isSelect = false
|
|
406
|
-
},
|
|
407
|
-
onValid (res) {
|
|
408
|
-
this.$dispatch('valid')
|
|
409
|
-
},
|
|
410
|
-
onInvalid (res) {
|
|
411
|
-
this.$dispatch('invalid')
|
|
412
|
-
},
|
|
413
|
-
doNothing () {
|
|
414
|
-
// console.log('啥也不做')
|
|
415
|
-
},
|
|
416
|
-
resetValidation () {
|
|
417
|
-
this.baseinfo = Object.assign({}, this.baseinfo)
|
|
418
|
-
this.$nextTick(() => {
|
|
419
|
-
this.$resetValidation();
|
|
420
|
-
})
|
|
421
|
-
},
|
|
422
|
-
readIDCardCallback (compoent, msg) {
|
|
423
|
-
// console.log('进入高拍仪',msg)
|
|
424
|
-
if (msg.err !== 0) {
|
|
425
|
-
return
|
|
426
|
-
}
|
|
427
|
-
// document.getElementById("idCardType").getElementsByClassName("btn-content")[0].innerHTML="身份证"
|
|
428
|
-
compoent.baseinfo.base.f_idnumber = msg.strID
|
|
429
|
-
compoent.baseinfo.base.f_user_name = msg.strName.trim()
|
|
430
|
-
compoent.baseinfo.base.f_credentials = '身份证'
|
|
343
|
+
getConfigValidate (name, defaultVal) {
|
|
344
|
+
this.$resetValidation()
|
|
345
|
+
if (this.formconfig && this.formconfig[name]) {
|
|
346
|
+
let Validate = {}
|
|
347
|
+
if (this.formconfig[name].required) {
|
|
348
|
+
Object.assign(Validate, {required: true})
|
|
431
349
|
}
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
'baseinfo.base.f_credentials' () {
|
|
435
|
-
this.$resetValidation();
|
|
436
|
-
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
|
|
437
|
-
},
|
|
438
|
-
'baseinfo.base.f_cost_type[0]' () {
|
|
439
|
-
this.$resetValidation()
|
|
440
|
-
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
|
|
441
|
-
},
|
|
442
|
-
'baseinfo.base.f_house_type' () {
|
|
443
|
-
console.log(JSON.stringify(this.$v));
|
|
444
|
-
this.resetValidation()
|
|
445
|
-
},
|
|
446
|
-
'formconfig': {
|
|
447
|
-
handler() {
|
|
448
|
-
this.updateValidateRules()
|
|
449
|
-
},
|
|
450
|
-
deep: true
|
|
350
|
+
if (this.formconfig[name].minlength || this.formconfig[name].minlength === 0) {
|
|
351
|
+
Object.assign(Validate, {minlength: this.formconfig[name].minlength})
|
|
451
352
|
}
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
peoplenums () {
|
|
455
|
-
let peopleMax = this.$appdata.getSingleValue('最大人口数') ? this.$appdata.getSingleValue('最大人口数') : 0
|
|
456
|
-
let nums = []
|
|
457
|
-
for (let i = 1; i <= peopleMax; i++) {
|
|
458
|
-
let temp = {}
|
|
459
|
-
temp.label = i
|
|
460
|
-
temp.value = i
|
|
461
|
-
nums.push(temp)
|
|
462
|
-
}
|
|
463
|
-
return nums
|
|
464
|
-
}
|
|
465
|
-
},
|
|
466
|
-
events: {
|
|
467
|
-
'confirmaddress' (res) {
|
|
468
|
-
this.showselectaddress = false
|
|
469
|
-
this.addressinfo.f_address = res.f_address
|
|
470
|
-
this.addressinfo.id = res.id
|
|
471
|
-
console.log(res.f_house_type,"=========");
|
|
472
|
-
if (res.f_house_type != null) {
|
|
473
|
-
this.baseinfo.base.f_house_type = res.f_house_type
|
|
474
|
-
}
|
|
475
|
-
this.$dispatch('defaultOtheret', res)
|
|
353
|
+
if (this.formconfig[name].maxlength) {
|
|
354
|
+
Object.assign(Validate, {maxlength: this.formconfig[name].maxlength})
|
|
476
355
|
}
|
|
356
|
+
return Validate
|
|
357
|
+
} else if (name === 'f_user_phone') {
|
|
358
|
+
return { minlength: 11, maxlength: 11 }
|
|
359
|
+
} else if (defaultVal) {
|
|
360
|
+
return {required: defaultVal}
|
|
361
|
+
}
|
|
362
|
+
return {}
|
|
363
|
+
},
|
|
364
|
+
getConfigShowItem (name, defaultVal = true) {
|
|
365
|
+
if (this.formconfig && this.formconfig[name] && this.formconfig[name].hasOwnProperty('showItem')) {
|
|
366
|
+
return this.formconfig[name].showItem
|
|
367
|
+
} else {
|
|
368
|
+
return defaultVal
|
|
477
369
|
}
|
|
370
|
+
},
|
|
371
|
+
getConfigLabelName (name, defaultVal) {
|
|
372
|
+
if (this.formconfig && this.formconfig[name] && this.formconfig[name].labelName) {
|
|
373
|
+
return this.formconfig[name].labelName
|
|
374
|
+
} else {
|
|
375
|
+
return defaultVal
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
getConfigPlaceholder (name, defaultVal) {
|
|
379
|
+
if (this.formconfig && this.formconfig[name] && this.formconfig[name].placeholder) {
|
|
380
|
+
return this.formconfig[name].placeholder
|
|
381
|
+
} else {
|
|
382
|
+
return defaultVal
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
selectaddress () {
|
|
386
|
+
this.showselectaddress = true
|
|
387
|
+
this.isSelect = true
|
|
388
|
+
},
|
|
389
|
+
modifyaddress () {
|
|
390
|
+
this.showselectaddress = true
|
|
391
|
+
this.isSelect = false
|
|
392
|
+
},
|
|
393
|
+
onValid (res) {
|
|
394
|
+
this.$dispatch('valid')
|
|
395
|
+
},
|
|
396
|
+
onInvalid (res) {
|
|
397
|
+
// 打印所有校验状态
|
|
398
|
+
this.$dispatch('invalid')
|
|
399
|
+
},
|
|
400
|
+
doNothing () {
|
|
401
|
+
// console.log('啥也不做')
|
|
402
|
+
},
|
|
403
|
+
resetValidation () {
|
|
404
|
+
this.baseinfo = Object.assign({}, this.baseinfo)
|
|
405
|
+
this.$nextTick(() => {
|
|
406
|
+
this.$resetValidation()
|
|
407
|
+
})
|
|
408
|
+
},
|
|
409
|
+
readIDCardCallback (compoent, msg) {
|
|
410
|
+
// console.log('进入高拍仪',msg)
|
|
411
|
+
if (msg.err !== 0) {
|
|
412
|
+
return
|
|
413
|
+
}
|
|
414
|
+
// document.getElementById("idCardType").getElementsByClassName("btn-content")[0].innerHTML="身份证"
|
|
415
|
+
compoent.baseinfo.base.f_idnumber = msg.strID
|
|
416
|
+
compoent.baseinfo.base.f_user_name = msg.strName.trim()
|
|
417
|
+
// compoent.baseinfo.base.f_credentials = '身份证'
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
watch: {
|
|
421
|
+
'baseinfo.base.f_credentials' () {
|
|
422
|
+
this.$resetValidation()
|
|
423
|
+
},
|
|
424
|
+
'baseinfo.base.f_cost_type[0]' () {
|
|
425
|
+
this.$resetValidation()
|
|
426
|
+
},
|
|
427
|
+
'baseinfo.base.f_user_name'(val) {
|
|
428
|
+
console.log('f_user_name变化', val)
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
computed: {
|
|
432
|
+
peoplenums () {
|
|
433
|
+
let peopleMax = this.$appdata.getSingleValue('最大人口数') ? this.$appdata.getSingleValue('最大人口数') : 0
|
|
434
|
+
let nums = []
|
|
435
|
+
for (let i = 1; i <= peopleMax; i++) {
|
|
436
|
+
let temp = {}
|
|
437
|
+
temp.label = i
|
|
438
|
+
temp.value = i
|
|
439
|
+
nums.push(temp)
|
|
440
|
+
}
|
|
441
|
+
return nums
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
events: {
|
|
445
|
+
'confirmaddress' (res) {
|
|
446
|
+
this.showselectaddress = false
|
|
447
|
+
this.addressinfo.f_address = res.f_address
|
|
448
|
+
this.addressinfo.id = res.id
|
|
449
|
+
this.$dispatch('defaultOtheret', res)
|
|
478
450
|
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
479
453
|
</script>
|
|
@@ -248,8 +248,6 @@ export default {
|
|
|
248
248
|
console.warn('获取展示配置失败,按照默认展示')
|
|
249
249
|
}
|
|
250
250
|
this.blodid = '临时id' + Date.now()
|
|
251
|
-
console.log('ready,,,', this.row)
|
|
252
|
-
console.log('f_filialeid111,,,', this.f_filialeid)
|
|
253
251
|
try {
|
|
254
252
|
await this.$getConfig(this, 'FilesDetail')
|
|
255
253
|
} catch (error) {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"
|
|
107
107
|
v-validate:f_collection='{required: true, dctest: [(model.f_totalcost - 0), ">=" ] }'
|
|
108
108
|
v-el:fcollection @keyup.enter="checkInvoiceMsg((!$v.valid || validateOk || !islegal || clickConfirm))"
|
|
109
|
-
v-scale="[model.
|
|
109
|
+
v-scale="[model.f_collection, row.f_fee_decimal||4]" :disabled="$refs.givechange.promptText != ''"/>
|
|
110
110
|
</div>
|
|
111
111
|
<div class="col-sm-3" v-if="row.f_collection_type === '按气量' && model.f_payment!='赠气' && row.f_meter_type.includes('卡表') && config.calculatePreByCollection"
|
|
112
112
|
:class="[$v.f_collection.required ? 'has-error' : 'has-success']">
|
|
@@ -193,8 +193,8 @@
|
|
|
193
193
|
this.model.f_price_id = this.model.f_price_name[0].f_price_id
|
|
194
194
|
this.model.f_gasproperties = this.model.f_price_name[0].f_gasproperties
|
|
195
195
|
this.model.f_user_type = this.model.f_price_name[0].f_user_type
|
|
196
|
-
this.model.f_user_name = this.
|
|
197
|
-
this.model.f_user_phone = this.
|
|
196
|
+
this.model.f_user_name = this.model.f_user_name
|
|
197
|
+
this.model.f_user_phone = this.model.f_user_phone
|
|
198
198
|
this.model.f_meter_classify = this.model.f_gasbrand[0].f_meter_type
|
|
199
199
|
|
|
200
200
|
this.model.f_operator = this.$login.f.name
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
},
|
|
210
210
|
clean () {
|
|
211
211
|
this.$info('取消操作')
|
|
212
|
-
this.$dispatch('
|
|
212
|
+
this.$dispatch('refresh', this.row)
|
|
213
213
|
},
|
|
214
214
|
|
|
215
215
|
printok () {
|
|
@@ -855,7 +855,7 @@
|
|
|
855
855
|
return this.row.f_balance
|
|
856
856
|
}
|
|
857
857
|
if (this.model.f_preamount) {
|
|
858
|
-
return ((this.model.f_collection - 0) - (this.model.f_preamount - 0) + (this.row.f_balance - 0) - this.alldue_fee).toFixed(
|
|
858
|
+
return ((this.model.f_collection - 0) - (this.model.f_preamount - 0) + (this.row.f_balance - 0) - this.alldue_fee).toFixed(this.row.f_gas_decimal || 4) - 0
|
|
859
859
|
} else {
|
|
860
860
|
return 0
|
|
861
861
|
}
|