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.
Files changed (171) hide show
  1. package/build/dev-server.js +29 -46
  2. package/package.json +2 -2
  3. package/src/App.vue +3 -3
  4. package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -4
  5. package/src/components/FilesManageNew/FileUserFiles.vue +2 -4
  6. package/src/components/FilesManageNew/MeterinfoTest.vue +9 -9
  7. package/src/components/FilesManageNew/UserEssentialInfoTest.vue +201 -227
  8. package/src/components/FilesManageNew/UserGeneralInfoTest.vue +0 -2
  9. package/src/components/charge/business/CardMeterCenter.vue +1 -1
  10. package/src/components/charge/business/FilesComplete.vue +3 -3
  11. package/src/components/charge/business/IOTMeterCenter.vue +1 -1
  12. package/src/components/charge/business/OtherChargeNew.vue +68 -48
  13. package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +10 -1
  14. package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +1 -1
  15. package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +1 -1
  16. package/src/components/common/userinfo_detail/ic_detail/GarbageRecordList.vue +69 -0
  17. package/src/components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue +384 -0
  18. package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
  19. package/src/components/revenue/Common/MeterMessage.vue +1 -1
  20. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  21. package/src/components/revenue/HandManager/WebHand.vue +7 -4
  22. package/src/components/revenue/base/leftview/SafeCheck.vue +41 -3
  23. package/src/components/revenue/base/leftview/UserFeeInfo.vue +76 -0
  24. package/src/components/revenue/base/leftview/otherinfo.vue +1 -0
  25. package/src/components/revenue/base/rightview/CardList.vue +7 -3
  26. package/src/components/revenue/batchDeduction/batchDeductionList.vue +1 -1
  27. package/src/components/revenue/cardHandManage/cardDown.vue +18 -0
  28. package/src/components/revenue/changeInsurance/InsuranceAdd.vue +1 -0
  29. package/src/components/revenue/changeInsurance/InsuranceRecord.vue +2 -1
  30. package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +1 -1
  31. package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +4 -2
  32. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  33. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  34. package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +2 -2
  35. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  36. package/src/components/revenue/machineHandManage/HandplanQuery.vue +1 -1
  37. package/src/components/revenue/machineHandManage/machineHand.vue +3 -2
  38. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  39. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  40. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  41. package/src/filiale/bayan/StockListmain.vue +543 -543
  42. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  43. package/src/filiale/dexin/MeterinfoTest.vue +1239 -0
  44. package/src/filiale/dexin/UserEssentialInfoTest.vue +602 -0
  45. package/src/filiale/dexin/sale.js +5 -0
  46. package/src/filiale/fugou/MeterinfoTest.vue +1 -1
  47. package/src/filiale/jiaxian/AutomaticPurse.vue +349 -0
  48. package/src/filiale/jiaxian/ChangeMeterQueryUser.vue +303 -0
  49. package/src/filiale/jiaxian/ChangeRecord.vue +44 -2
  50. package/src/filiale/jiaxian/FillCardQueryUser.vue +250 -0
  51. package/src/filiale/jiaxian/FillGasQueryUser.vue +270 -0
  52. package/src/filiale/jiaxian/OtherChargeQueryUser.vue +305 -0
  53. package/src/filiale/jiaxian/PriceAdjustmentQueryUser.vue +368 -0
  54. package/src/filiale/jiaxian/PriceChangeQueryUser.vue +243 -0
  55. package/src/filiale/jiaxian/QueryInstruct.vue +436 -0
  56. package/src/filiale/jiaxian/RecordQueryUser.vue +321 -0
  57. package/src/filiale/jiaxian/Repurchase.vue +181 -0
  58. package/src/filiale/jiaxian/TransferQueryUser.vue +274 -0
  59. package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +11 -11
  60. package/src/filiale/jiaxian/Userinfo.vue +426 -0
  61. package/src/filiale/jiaxian/WatchCollection.vue +54 -1
  62. package/src/filiale/jiaxian/WebAutomaticPurse.vue +348 -0
  63. package/src/filiale/jiaxian/contractSigningList.vue +149 -0
  64. package/src/filiale/jiaxian/sale.js +5 -0
  65. package/src/filiale/jinhong/AutoAccountsDetail.vue +63 -0
  66. package/src/filiale/jinhong/CardList.vue +572 -0
  67. package/src/filiale/jinhong/CardMeterCenter.vue +1 -1
  68. package/src/filiale/jinhong/CardMeterCenterInner.vue +61 -22
  69. package/src/filiale/jinhong/GarbageCharge.vue +1 -1
  70. package/src/filiale/jinhong/HandplanQuery.vue +1430 -0
  71. package/src/filiale/jinhong/IOTMeterCenterInner.vue +42 -14
  72. package/src/filiale/jinhong/InsuranceAdd.vue +27 -5
  73. package/src/filiale/jinhong/InsuranceChargesDetails.vue +11 -5
  74. package/src/filiale/jinhong/InsuranceRecord.vue +4 -5
  75. package/src/filiale/jinhong/InsuranceTemp.vue +33 -5
  76. package/src/filiale/jinhong/MachineChargeService.js +8 -0
  77. package/src/filiale/jinhong/MachineMeterCenter.vue +38 -11
  78. package/src/filiale/jinhong/ShowCardSellGasInner.vue +46 -14
  79. package/src/filiale/jinhong/Userinfo.vue +75 -1
  80. package/src/filiale/jinhong/insuranceGuanL.vue +349 -0
  81. package/src/filiale/jinhong/machineDown.vue +1205 -0
  82. package/src/filiale/jinhong/sale.js +9 -0
  83. package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +259 -0
  84. package/src/filiale/jinhuang/WebHand.vue +1026 -0
  85. package/src/filiale/jinhuang/WebHandQueryUser.vue +413 -0
  86. package/src/filiale/jinhuang/cardsHand.vue +911 -0
  87. package/src/filiale/jinhuang/sale.js +8 -0
  88. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  89. package/src/filiale/lixianV3/InsuranceAdd.vue +1 -0
  90. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  91. package/src/filiale/meihekou/CardMeterCenter.vue +991 -0
  92. package/src/filiale/meihekou/ChargeManage.vue +3 -2
  93. package/src/filiale/meihekou/ChargeOper.vue +279 -169
  94. package/src/filiale/meihekou/HandManager.vue +57 -2
  95. package/src/filiale/meihekou/NoCardMeterCenter.vue +542 -0
  96. package/src/filiale/meihekou/OverUseCharge.vue +1 -1
  97. package/src/filiale/meihekou/PrintBill.vue +48 -41
  98. package/src/filiale/meihekou/ReissueBill.vue +4 -1
  99. package/src/filiale/meihekou/ShowCardSellGas.vue +935 -0
  100. package/src/filiale/meihekou/TransferManage.vue +704 -0
  101. package/src/filiale/meihekou/Userinfo.vue +233 -5
  102. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  103. package/src/filiale/meihekou/icTable.vue +233 -0
  104. package/src/filiale/meihekou/machineHand.vue +2158 -0
  105. package/src/filiale/meihekou/manualChargeCenter.vue +394 -0
  106. package/src/filiale/meihekou/meterTable.vue +220 -0
  107. package/src/filiale/meihekou/sale.js +15 -0
  108. package/src/filiale/qianneng/MeterMessage.vue +1 -1
  109. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  110. package/src/filiale/rizhao/InsuranceAdd.vue +1 -0
  111. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  112. package/src/filiale/ronghao/CardList.vue +19 -17
  113. package/src/filiale/ronghao/CardMeterChargeCancel.vue +5 -0
  114. package/src/filiale/ronghao/CardService.js +2144 -2144
  115. package/src/filiale/ronghao/ChangeMeterService.js +1 -1
  116. package/src/filiale/ronghao/ChargeList.vue +17 -17
  117. package/src/filiale/ronghao/ChargeManage.vue +325 -0
  118. package/src/filiale/ronghao/ChargeOper.vue +330 -0
  119. package/src/filiale/ronghao/FilesManageNew/UserEssentialInfoTest.vue +457 -0
  120. package/src/filiale/ronghao/FilesManageNew/UserGeneralInfoTest.vue +690 -0
  121. package/src/filiale/ronghao/HandplanQuery.vue +13 -14
  122. package/src/filiale/ronghao/IOTMeterCenter.vue +15 -6
  123. package/src/filiale/ronghao/InsuranceAdd.vue +1 -0
  124. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  125. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  126. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  127. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  128. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  129. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  130. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  131. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  132. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  133. package/src/filiale/ronghao/Upload.vue +654 -654
  134. package/src/filiale/ronghao/Userinfo.vue +18 -18
  135. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  136. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  137. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  138. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  139. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  140. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  141. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  142. package/src/filiale/ronghao/machineRefund.vue +3 -1
  143. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  144. package/src/filiale/ronghao/sale.js +11 -0
  145. package/src/filiale/ronghao/specificInformation.vue +537 -537
  146. package/src/filiale/ronghao/uploadFilesHistory.vue +214 -0
  147. package/src/filiale/ruihua/FilesManage/MeterinfoTest.vue +10 -0
  148. package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +1 -0
  149. package/src/filiale/wuan/MeterMessage.vue +1 -1
  150. package/src/filiale/yangchun/BasicLivingList.vue +281 -0
  151. package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +1 -0
  152. package/src/filiale/yangchun/CardChangeFill.vue +1 -1
  153. package/src/filiale/yangchun/ChargeList.vue +954 -954
  154. package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +3 -3
  155. package/src/filiale/yangchun/NewMeterList.vue +742 -0
  156. package/src/filiale/yangchun/sale.js +3 -0
  157. package/src/filiale/yuncheng/CardList.vue +1 -1
  158. package/src/filiale/yuncheng/IndustryCommerceHand.vue +1145 -0
  159. package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +794 -0
  160. package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +64 -0
  161. package/src/filiale/yuncheng/InsuranceAdd.vue +1 -0
  162. package/src/filiale/yuncheng/MeterBookUser.vue +781 -0
  163. package/src/filiale/yuncheng/UserDeviceInfoTest.vue +2 -2
  164. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  165. package/src/filiale/yuncheng/industryDown.vue +1118 -0
  166. package/src/filiale/yuncheng/sale.js +11 -0
  167. package/src/filiale/yuncheng/uploadFilesHistory.vue +185 -0
  168. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  169. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  170. package/src/plugins/CardService.js +2217 -2217
  171. 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">&ensp;证件类型</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">&ensp;证件号码</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">&ensp;{{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">&ensp;备用电话</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">&ensp;{{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">&ensp;{{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">&ensp;{{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">&ensp;{{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.f_contract_id && formconfig.f_contract_id.required) || !onlyshowmust"
173
- :class="[$v.f_contract_id.required ? 'has-error' : '']">
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 ">&ensp;{{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">&ensp;{{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">&ensp;{{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
- v-model="baseinfo.base.f_house_type"
202
- :search="false"
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
- <a style="text-decoration: none;font-weight: 300;float: left;color: #333;margin-top: 15px;font-weight: 500"
211
- v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">银行信息</a>
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
- import {HttpResetClass} from 'vue-client'
265
+ import {HttpResetClass} from 'vue-client'
268
266
 
269
- let getEditUserState = async function (self) {
270
- try {
271
- let http = new HttpResetClass()
272
- let result = await http.load('GET', `rs/vue/EditUserState.json`, {}, {resolveMsg: null, rejectMsg: null})
273
- console.log('看看结果', result.data.EditUserState)
274
- self.config.f_print_dh = result.data.f_print_dh
275
- 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
276
- self.edituserstate = result.data.EditUserState
277
- self.config.f_idnumber = result.data.f_idnumber ? result.data.f_idnumber : self.config.f_idnumber
278
- self.config.f_house_type = result.data.f_house_type ? result.data.f_house_type : self.config.f_house_type
279
- } catch (e) {
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
- export default {
285
- title: '基本信息',
286
- props: ['baseinfo', 'addressinfo', 'isedit', 'f_filialeid', 'formconfig', 'onlyshowmust'],
287
- data () {
288
- return {
289
- showselectaddress: false,
290
- site: '',
291
- areas: [],
292
- streets: [],
293
- residentials: [],
294
- config: {
295
- f_idnumber: true,
296
- f_house_type: true
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
- beforeDestroy () {
323
- },
324
- methods: {
325
- initValidateRules() {
326
- const fields = [
327
- 'f_user_name', 'f_user_phone', 'f_idnumber', 'f_address', 'f_used_name',
328
- 'f_rent_phone', 'f_people_num', 'f_balance', 'f_is_mgq', 'f_book_no',
329
- 'f_rent_name', 'f_zuhu_phone', 'f_cost_type', 'f_contract_id', 'f_print_dh',
330
- 'f_comments', 'f_house_type', 'f_bank_accopen', 'f_bank_account'
331
- ]
332
-
333
- fields.forEach(field => {
334
- this.validateRules[field] = {}
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
- if (fieldConfig.maxlength) {
358
- rules.maxlength = fieldConfig.maxlength
359
- }
360
-
361
- this.validateRules[field] = Object.assign({}, this.validateRules[field], rules)
362
- })
363
- },
364
-
365
- getConfigValidate (name, defaultVal) {
366
- this.$resetValidation()
367
-
368
- if (this.validateRules[name] && Object.keys(this.validateRules[name]).length > 0) {
369
- return this.validateRules[name]
370
- } else if (name === 'f_user_phone') {
371
- return { minlength: 11, maxlength: 11 }
372
- } else if (defaultVal) {
373
- return {required: defaultVal}
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
- return {}
377
- },
378
- getConfigShowItem (name, defaultVal = true) {
379
- if (this.formconfig && this.formconfig[name] && this.formconfig[name].hasOwnProperty('showItem')) {
380
- return this.formconfig[name].showItem
381
- } else {
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
- watch: {
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
- computed: {
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.f_totalcost, row.f_fee_decimal||4]" :disabled="$refs.givechange.promptText != ''"/>
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.row.f_user_name
197
- this.model.f_user_phone = this.row.f_user_phone
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('close', this.row)
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(2) - 0
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
  }