sale-client 4.2.71 → 4.2.72

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 (148) hide show
  1. package/build/dev-server.js +58 -36
  2. package/index.html +7 -2
  3. package/package.json +1 -1
  4. package/src/App.vue +1 -1
  5. package/src/components/FilesManage/FileUserFiles.vue +1 -1
  6. package/src/components/revenue/Common/EticketPrint.vue +2 -2
  7. package/src/components/revenue/HandManager/CardHand.vue +6 -6
  8. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  9. package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
  10. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  11. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  12. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  13. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
  14. package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
  15. package/src/filiale/alashan/FileUserFiles.vue +1 -1
  16. package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
  17. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  18. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
  19. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  20. package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
  21. package/src/filiale/bayan/StockListmain.vue +543 -543
  22. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  23. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  24. package/src/filiale/bazhong/sale.js +8 -8
  25. package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
  26. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  27. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
  28. package/src/filiale/dexin/FileUserFiles.vue +1 -1
  29. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
  30. package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
  31. package/src/filiale/fugou/FileUserFiles.vue +1 -1
  32. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
  33. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
  34. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
  35. package/src/filiale/gehua/FileUserFiles.vue +1 -1
  36. package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
  37. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
  38. package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
  39. package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
  40. package/src/filiale/huayin/FileUserFiles.vue +1 -1
  41. package/src/filiale/jingwei/FileUserFiles.vue +1 -1
  42. package/src/filiale/jingyang/EticketPrint.vue +2 -2
  43. package/src/filiale/jingyang/GovernmentSell.vue +1 -1
  44. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  45. package/src/filiale/jinhuang/cardsHand.vue +8 -8
  46. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
  47. package/src/filiale/konggang/FileUserFiles.vue +1 -1
  48. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  49. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  50. package/src/filiale/macheng/EstimateManager.vue +1 -1
  51. package/src/filiale/macheng/FileUserFiles.vue +1 -1
  52. package/src/filiale/meihekou/FileUserFiles.vue +1 -1
  53. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  54. package/src/filiale/ningjin/FileUserFiles.vue +1 -1
  55. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
  56. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +1 -1
  57. package/src/filiale/qingjian/FileUserFiles.vue +1 -1
  58. package/src/filiale/rizhao/FileUserFiles.vue +1 -1
  59. package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
  60. package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
  61. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  62. package/src/filiale/ronghao/CardService.js +2144 -2144
  63. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  64. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  65. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  66. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  67. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  68. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  69. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  70. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  71. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  72. package/src/filiale/ronghao/Upload.vue +654 -654
  73. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  74. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  75. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  76. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  77. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  78. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  79. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  80. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  81. package/src/filiale/ronghao/specificInformation.vue +537 -537
  82. package/src/filiale/shanggao/FileUserFiles.vue +1 -1
  83. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
  84. package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
  85. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
  86. package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
  87. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
  88. package/src/filiale/wenxi/FileUserFiles.vue +1 -1
  89. package/src/filiale/wuan/FileUserFiles.vue +1 -1
  90. package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
  91. package/src/filiale/yangchun/ChargeList.vue +954 -954
  92. package/src/filiale/yangchun/EticketPrint.vue +2 -2
  93. package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
  94. package/src/filiale/yuncheng/FileManageService.js +469 -469
  95. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  96. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  97. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
  98. package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
  99. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  100. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  101. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  102. package/.gradle/5.2.1/gc.properties +0 -0
  103. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  104. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  105. package/.gradle/vcs-1/gc.properties +0 -0
  106. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  107. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  108. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  109. package/src/components/SendCard/SendCardData.vue +0 -208
  110. package/src/components/accounts/accountAdd.vue +0 -276
  111. package/src/components/accounts/accountsList.vue +0 -183
  112. package/src/components/accounts/accountsManage.vue +0 -87
  113. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  114. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  115. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  116. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  117. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  118. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  119. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  120. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  121. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  122. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  123. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  124. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  125. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  126. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  127. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  128. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  129. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  130. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  131. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  132. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  133. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  134. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  135. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  136. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  137. package/src/components/thirdapply/thirdAdd.vue +0 -289
  138. package/src/components/thirdapply/thirdList.vue +0 -162
  139. package/src/components/thirdapply/thirdManage.vue +0 -74
  140. package/src/components/webMeter/InstructQuery.vue +0 -414
  141. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  142. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  143. package/src/components/webMeter/WebUserHand.vue +0 -483
  144. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  145. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  146. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  147. package/src/plugins/FileManageServicets.js +0 -214
  148. package/src/plugins/GetImg.js +0 -53
@@ -1,65 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <validator name='v'>
4
- <form novalidate class="form-horizontal">
5
- <p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
6
- <!-- <data-grid :model="inData" v-ref:grid partial='list'>
7
- <template partial='head'>-->
8
- <table style="width: 100%" class="table table-bordered">
9
- <thead>
10
- <tr>
11
- <th style="text-align: center">序号</th>
12
- <th style="text-align: center">修改内容</th>
13
- <th style="text-align: center">变更前</th>
14
- <th style="text-align: center">变更后</th>
15
- <th style="text-align: center">状态</th>
16
- <th style="text-align: center">修改时间</th>
17
- <th style="text-align: center">操作人</th>
18
- </tr>
19
- </thead>
20
- <tbody>
21
- <tr v-for="row in recordlist">
22
- <td style="text-align: center;">{{$index + 1}}</td>
23
- <td style="text-align: center;">{{row.chinesename}}</td>
24
- <td style="text-align: center;">{{row.oldvalue}}</td>
25
- <td style="text-align: center;">{{row.newvalue}}</td>
26
- <td style="text-align: center;">{{row.state}}</td>
27
- <td style="text-align: center;">{{row.modifitime}}</td>
28
- <td style="text-align: center;">{{row.operator}}</td>
29
- </tr>
30
- </tbody>
31
- </table>
32
- </form>
33
- </validator>
34
- </div>
35
- </template>
36
-
37
- <script>
38
-
39
-
40
- export default {
41
- name: 'addwarehouse',
42
-
43
- data () {
44
- return {
45
- inData: [],
46
- obj: {},
47
- userid: this.$login.f.id
48
-
49
- }
50
- },
51
- props: {
52
- recordlist: Array
53
- },
54
- created () {
55
- },
56
- ready () {
57
- },
58
- methods: {
59
-
60
- }
61
- }
62
- </script>
63
-
64
- <style lang="less">
65
- </style>
@@ -1,483 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <validator name='a' @valid="addressValid(true)" @invalid="addressValid(false)">
4
- <form class="form-horizontal">
5
- <div class="row">
6
- <div class="col-sm-4 form-group">
7
- <label class="font_normal_body">用户编号</label>
8
- <input type="text" v-model="model.f_userinfo_code" style="width: 60%" @blur="selectUserInfo" class="input_search">
9
- </div>
10
- <div class="col-sm-4 form-group">
11
- <label class="font_normal_body">用户姓名</label>
12
- <input type="text" v-model="model.f_user_name" disabled="disabled" style="width: 60%" class="input_search">
13
- </div>
14
- </div>
15
- <div class="row">
16
- <div class="col-sm-4 form-group">
17
- <label class="font_normal_body" title="参数:收费状态">收费状态</label>
18
- <v-select :value.sync="model.f_state" v-model="model.f_state"
19
- :value-single="true"
20
- :search="false"
21
- :options='positions' placeholder='收费状态'
22
- close-on-select>
23
-
24
- </v-select>
25
- </div>
26
- <div class="col-sm-4 form-group">
27
- <label class="font_normal_body" title="参数:写卡状态">写卡状态</label>
28
- <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
29
- :options='writeCards' placeholder='写卡状态'
30
- disabled
31
- :value-single="true"
32
- :search="false"
33
- close-on-select>
34
- </v-select>
35
- </div>
36
- </div>
37
- <div class="row">
38
- <div class="col-sm-12 form-group">
39
- <label class="font_normal_body">地&emsp;&emsp;址</label>
40
- <input type="text" v-model="model.f_address" disabled="disabled" style="width: 86.5%" class="input_search">
41
- </div>
42
- </div>
43
- <div class="row">
44
- <div class="col-sm-4 form-group">
45
- <label class="font_normal_body" title="打印格式">气表类型</label>
46
- <v-select id="f_meter_type"
47
- placeholder='气表类型'
48
- :value-single="true"
49
- :value.sync="model.f_meter_type"
50
- v-model="model.f_meter_type"
51
- :options='meterType'
52
- @change="changeMeterType"
53
- close-on-select clear-button>
54
- </v-select>
55
- </div>
56
- <div class="col-sm-4 form-group">
57
- <label class="font_normal_body" title="参数:付款方式">付款方式</label>
58
- <!-- <input type="text" v-model="model.f_payment" style="width: 60%" class="input_search">-->
59
- <v-select :value.sync="model.f_payment" v-model="model.f_payment"
60
- :options='payments' placeholder='付款方式'
61
- :value-single="true"
62
- :search="false"
63
- close-on-select>
64
- </v-select>
65
- </div>
66
- <div class="col-sm-4 form-group">
67
- <label class="font_normal_body" title="打印格式">收据类型</label>
68
- <v-select id="f_bill_style"
69
- placeholder='收据类型'
70
- :value-single="true"
71
- :value.sync="model.f_bill_style"
72
- :options='equipmentType'
73
- close-on-select clear-button>
74
- </v-select>
75
- </div>
76
- </div>
77
- <div class="row">
78
- <div class="col-sm-4 form-group">
79
- <label class="font_normal_body">操作时间</label>
80
- <!--<input type="text" v-model="model.f_delivery_date" style="width: 60%" class="input_search">-->
81
- <datepicker id="f_delivery_date" placeholder="操作时间" style="width:60%"
82
- v-model="model.f_operate_date"
83
- :value.sync="model.f_operate_date"
84
- :format="'yyyy-MM-dd HH:mm:ss'"
85
- :show-reset-button="true" @change="isNowYear">
86
- </datepicker>
87
- </div>
88
- <div class="col-sm-4 form-group" v-if="unitPriceInp">
89
- <label class="font_normal_body">购气单价</label>
90
- <input type="text" v-model="model.unitPrice" @blur="usePreBtn" style="width: 60%" class="input_search">
91
- </div>
92
- </div>
93
- <div class="row">
94
- <div class="col-sm-4 form-group">
95
- <label class="font_normal_body">购气金额</label>
96
- <input type="text" v-model="model.f_preamount" :disabled="preamountDIS" style="width: 60%" class="input_search" @blur="preamountCollecation">
97
- </div>
98
- <div class="col-sm-4 form-group" v-if="pregasInp">
99
- <label class="font_normal_body">购气气量</label>
100
- <input type="text" v-model="model.f_pregas" :disabled="pergasDIS" style="width: 60%" class="input_search" @blur="pregasCollecation">
101
- </div>
102
- <div class="col-sm-4 form-group" v-if="collectionInp">
103
- <label class="font_normal_body" >收款金额</label>
104
- <input type="text" v-model="model.f_collection" :disabled="collectionDIS" style="width: 60%" class="input_search">
105
- </div>
106
- </div>
107
- <div class="row">
108
- <!-- <res-select-group :show-component="resshow" :style="style" @re-res="getRes" :initres="initres" :mul="false" v-ref:sel></res-select-group>-->
109
- <div class="col-sm-4 form-group">
110
- <label class="font_normal_body">操作人员</label>
111
- <input type="text" v-model="model.f_operator" disabled="disabled" style="width: 60%" class="input_search">
112
- </div>
113
- <div class="col-sm-4 form-group">
114
- <label class="font_normal_body">所属部门</label>
115
- <input type="text" v-model="model.f_depname"style="width: 60%" disabled="disabled" class="input_search">
116
- </div>
117
-
118
-
119
- </div>
120
-
121
- <div class="row">
122
- <div class="col-sm-12 form-group">
123
- <label class="font_normal_body">所属公司</label>
124
- <input type="text" v-model="model.f_orgname" disabled="disabled" style="width: 86.5%" class="input_search">
125
- </div>
126
-
127
- </div>
128
- <div class="row">
129
- <div class="col-sm-12 form-group">
130
- <label class="font_normal_body">备注信息</label>
131
- <input type="text" v-model="model.f_comments" style="width: 85%" class="input_search">
132
- </div>
133
- </div>
134
- </form>
135
- <div style="float: right">
136
- <span v-if="mess" style="color: red">机表不允许此操作</span>
137
- <button class="button_search" :disabled="!saveBtn || mess" @click="save">提交</button>
138
- <button class="button_clear" @click="cancel">取消</button>
139
- </div>
140
- </validator>
141
- <modal :show.sync="showfiles" width="80%" style="width:auto;" v-ref:modal backdrop="false">
142
- <article slot="modal-body">
143
- <upload :blodid="model.f_userinfo_id" :businessid="model.id" v-ref:upload fusetype="收费" isremark="true" style="width:auto" ></upload>
144
- </article>
145
- <footer slot="modal-footer" class="modal-footer">
146
- </footer>
147
- </modal>
148
- </div>
149
- </template>
150
- <script>
151
- import Vue from 'vue'
152
- import {HttpResetClass} from 'vue-client'
153
-
154
- export default {
155
- title: '基本信息',
156
-
157
- data () {
158
- return {
159
- unitPriceInp: false,
160
- pregasInp: false,
161
- collectionInp: false,
162
- mess: false,
163
- pergasDIS: false,
164
- collectionDIS: false,
165
- preamountDIS: false,
166
- style: {
167
- type: String,
168
- default: 'col-sm-2 form-group reshowtype'
169
- },
170
- equipmentType: this.$appdata.getParam('打印格式') ? [{label: '', value: ''}, ...this.$appdata.getParam('打印格式')] : [],
171
- // 构建数组来存储对象
172
- editbank: true,
173
- uploadText: '收费',
174
- showfiles: false,
175
- recordList: [],
176
- saveBtn: false,
177
- initres: {
178
- org: [this.$login.f.orgid],
179
- dep: [this.$login.f.depids],
180
- user: [this.$login.f.id]
181
- },
182
- findInfo: {
183
- f_userfiles_id: ''
184
- },
185
- chargeprice: {},
186
- model: {
187
- f_state: '有效',
188
- f_userinfo_code: '',
189
- f_user_name: '',
190
- f_address: '',
191
- f_operator: this.$login.f.name,
192
- f_depname: this.$login.f.f_department_name,
193
- f_orgname: this.$login.f.orgs,
194
- f_bill_style: '普通收据',
195
- f_payment: '现金缴费',
196
- f_meter_type: '',
197
- f_write_card: '已写卡',
198
- f_userfiles_id: '',
199
- f_user_id: '',
200
- f_use_type: '',
201
- f_operate_date: '',
202
- f_pregas: '',
203
- f_preamount: '',
204
- f_collection: '',
205
- unitPrice: ''
206
- },
207
- isNowDateYear: true,
208
- resshow: ['operator'],
209
- fileNameSet: {
210
- 'f_payment': '付款方式',
211
- 'f_comments': '备注信息'
212
- }
213
- }
214
- },
215
- props: {
216
- },
217
-
218
- ready () {
219
- },
220
- created () {
221
- },
222
- methods: {
223
- preamountCollecation () {
224
- let isGasValue = 1
225
- if(this.model.f_operate_date !== '' ) {
226
- if (this.isNowDateYear || this.model.f_meter_type === '物联网表')
227
- this.calculationAmount(isGasValue, this.model.f_preamount)
228
- else if (this.model.f_meter_type === '气量卡表'){
229
- this.calculationAmount(isGasValue,this.model.f_preamount)
230
- }
231
- }
232
- },
233
- pregasCollecation () {
234
- let isGasValue = 0
235
- if (this.model.f_operate_date !== '') {
236
- if (this.isNowDateYear || this.model.f_meter_type === '物联网表')
237
- this.calculationAmount(isGasValue, this.model.f_pregas)
238
- else if (this.model.f_meter_type === '气量卡表') {
239
- // this.model.unitPrice
240
- this.calculationAmount(isGasValue,this.model.f_pregas)
241
- }
242
- }
243
- },
244
- getRes (obj , objs) {
245
- if (objs.operatornames.length > 0) {
246
- this.model.f_operator_id = objs.operatornames[0]
247
- }
248
- },
249
- changeMeterType () {
250
- this.mess = false
251
- this.pregasInp = false
252
- this.collectionInp = false
253
- if (this.model.f_meter_type === '气量卡表') {
254
- this.isNowYear()
255
- this.saveBtn = true
256
- this.pregasInp = true
257
- this.collectionInp = true
258
- console.log('气量卡表')
259
- } else if (this.model.f_meter_type === '物联网表') {
260
- this.saveBtn = true
261
- this.isNowYear()
262
- console.log('物联网表')
263
- } else if (this.model.f_meter_type === '机表') {
264
- this.isNowYear()
265
- this.mess = true
266
- } else {
267
- this.saveBtn = false
268
- }
269
- },
270
- selectUserInfo () {
271
- this.saveBtn = false
272
- if (this.model.f_userinfo_code !== '') {
273
- this.model.f_user_name = ''
274
- // console.log("this.f_user_name",this.model.f_user_name)
275
- this.model.f_address = ''
276
- this.model.f_userinfo_id = ''
277
- this.model.f_meter_type = ''
278
- let f_userinfo_code = this.model.f_userinfo_code
279
- if (f_userinfo_code === '') {
280
- return null
281
- }
282
- console.log("用户编号", f_userinfo_code)
283
- let http = new HttpResetClass()
284
- http.load('POST','rs/logic/findUserinfo',
285
- {f_userinfo_code: f_userinfo_code,f_orgid: this.$login.f.orgid},
286
- {resolveMsg: null, rejectMsg: '查询失败'}).then((res) => {
287
- // console.log("kanak,res", res.data[0])
288
- // this.saveBtn = false
289
- if (res.data[0] !== undefined) {
290
- // if (res.data[0].f_meter_classify === '机表')
291
- // this.model.f_meter_type = res.data[0].f_meter_classify
292
- this.model.f_user_name = res.data[0].f_user_name
293
- // console.log("this.f_user_name",this.model.f_user_name)
294
- this.model.f_address = res.data[0].f_address
295
- this.model.f_userinfo_id = res.data[0].f_userinfo_id
296
- this.model.f_meter_type = res.data[0].f_meter_classify
297
- this.findInfo.f_userfiles_id = res.data[0].f_userfiles_id
298
- // console.log("this.f_address", this.model.f_address)
299
- console.log("*****************===================", this.$login)
300
- this.saveBtn = true
301
- }else
302
- {
303
- this.$showAlert('无此用户','warning',2500)
304
- }
305
- }
306
- )
307
- } else {
308
- this.saveBtn = false
309
- }
310
- },
311
- cancel () {
312
- this.model = []
313
- this.chargeprice = {}
314
- this.model.f_operator = this.$login.f.name
315
- this.model.f_depname = this.$login.f.f_department_name
316
- this.model.f_orgname = this.$login.f.orgs
317
- this.model.f_bill_style = '普通收据'
318
- this.model.f_payment = '现金缴费'
319
- this.$parent.$parent.addBtn = false
320
- this.$dispatch('close')
321
- },
322
- uploadFiles(){
323
- this.showfiles = !this.showfiles
324
- },
325
- addressValid (val) {
326
- },
327
- isNowYear () {
328
- this.unitPriceInp = false
329
- this.isNowDateYear = true
330
- this.pergasDIS = false
331
- this.collectionDIS = false
332
- this.preamountDIS = false
333
- if (this.model.f_operate_date !== '') {
334
- let selectYear = this.model.f_operate_date
335
- selectYear = selectYear.trim().substr(0, 4)
336
- let downYear = new Date().getUTCFullYear().toString()
337
- if (selectYear === downYear) {
338
- this.isNowDateYear = true
339
- } else if (selectYear < downYear) {
340
- this.isNowDateYear = false
341
- if (this.model.f_meter_type === '气量卡表') {
342
- this.unitPriceInp = true
343
- this.pergasDIS = true
344
- this.collectionDIS = true
345
- this.preamountDIS = true
346
- }
347
- } else {
348
- console.log("请确认时间")
349
- }
350
- }
351
- },
352
- usePreBtn () {
353
- if (this.unitPriceInp) {
354
- if (this.model.unitPrice !== '') {
355
- this.pergasDIS = false
356
- this.collectionDIS = false
357
- this.preamountDIS = false
358
- } else {
359
- this.pergasDIS = true
360
- this.collectionDIS = true
361
- this.preamountDIS = true
362
- }
363
- }
364
- },
365
- calculationAmount (isGasValue , value) {
366
- if(this.unitPriceInp) {
367
- if (isGasValue === 1){
368
- this.model.f_pregas = (this.model.f_preamount * 1.0) / this.model.unitPrice
369
- this.model.f_collection = this.model.f_preamount
370
- } else if (isGasValue === 0){
371
- this.model.f_preamount = this.model.f_pregas * this.model.unitPrice
372
- this.model.f_collection = this.model.f_preamount
373
- }
374
- this.chargeprice.f_price_name = '固定气价'
375
- this.chargeprice.f_price = this.model.unitPrice
376
- this.chargeprice.f_gas = this.model.f_pregas
377
- this.chargeprice.f_money = this.model.f_collection
378
- }else {
379
- let http = new HttpResetClass()
380
- http.load('POST', 'rs/logic/commonCal',
381
- {data: {model: this.findInfo, isGasValue: isGasValue, value: value}},
382
- {resolveMsg: null, rejectMsg: '获取阶梯使用情况出错'}).then((res) => {
383
- this.chargeprice = res.data.chargeprice
384
- var chargeprice = res.data.chargeprice
385
- if (isGasValue === 1) {
386
- var pregas = chargeprice[0].f_gas + chargeprice[1].f_gas + chargeprice[2].f_gas
387
- this.model.f_pregas = pregas
388
- this.model.f_collection = this.model.f_preamount
389
- } else {
390
- var preamount = chargeprice[0].f_money + chargeprice[1].f_money + chargeprice[2].f_money
391
- this.model.f_preamount = preamount
392
- this.model.f_collection = preamount
393
- }
394
- })
395
- }
396
- },
397
- save () {
398
- if (this.model.f_preamount === '' || this.model.f_operate_date === '' || this.model.f_payment === '' ||this.model.f_bill_style === '' ||
399
- this.model.f_user_name === '') {
400
- console.log('请确认信息')
401
- this.$showAlert('请确认信息完整','warning',2500)
402
- return null
403
- }
404
- // f_preamount f_operate_date f_user_id f_meter_type f_payment f_bill_style
405
- var dataModel = {
406
- f_userinfo_code: this.model.f_userinfo_code,
407
- f_userinfo_id: this.model.f_userinfo_id,
408
- f_user_name: this.model.f_user_name,
409
- f_state: this.model.f_state,
410
- f_write_card: this.model.f_write_card,
411
- f_address: this.model.f_address,
412
- f_payment: this.model.f_payment,
413
- f_collection: this.model.f_collection,
414
- f_operate_date: this.model.f_operate_date,
415
- f_pregas: this.model.f_pregas,
416
- f_preamount: this.model.f_preamount,
417
- f_operator: this.model.f_operator,
418
- f_bill_style: this.model.f_bill_style,
419
- f_comments: this.model.f_comments,
420
- f_orgid: this.$login.f.orgid,
421
- f_orgname: this.model.f_orgname,
422
- f_depid: this.$login.f.depids,
423
- f_depname: this.model.f_depname,
424
- f_operatorid: this.$login.f.id,
425
- f_zoneid: this.$login.f.zoneid,
426
- f_zones: this.$login.f.zones,
427
- f_meter_type: this.model.f_meter_type,
428
- chargeprice: this.chargeprice
429
-
430
- }
431
- if (this.model.f_operate_date !== '') {
432
- this.$resetpost('rs/logic/chargerecords', {data: dataModel}).then((res) => {
433
- console.log('dataModel--------------------------------', dataModel)
434
- if (res !== null) {
435
- this.model.f_state = '有效'
436
- this.model.f_userinfo_code = ''
437
- this.model.f_user_name = ''
438
- this.model.f_address = ''
439
- this.model.f_operator = this.$login.f.name
440
- this.model.f_depname = this.$login.f.f_department_name
441
- this.model.f_orgname = this.$login.f.orgs
442
- this.model.f_bill_style = '普通收据'
443
- this.model.f_payment = '现金缴费'
444
- this.model.f_meter_type = ''
445
- this.model.f_userfiles_id = ''
446
- this.model.f_user_id = ''
447
- this.model.f_use_type = ''
448
- this.model.f_operate_date = ''
449
- this.model.f_pregas = ''
450
- this.model.f_preamount = ''
451
- this.model.f_collection = ''
452
- this.model.unitPrice = ''
453
- this.chargeprice = {}
454
- }
455
- })
456
- }
457
- }
458
- },
459
- computed: {
460
- positions () {
461
- return this.$appdata.getParam('收费状态')
462
- },
463
- payments () {
464
- return this.$appdata.getParam('付款方式')
465
- },
466
- writeCards () {
467
- return this.$appdata.getParam('写卡状态')
468
- },
469
- billStyles () {
470
- return this.$appdata.getParam('收据类型')
471
- },
472
- meterType () {
473
- return this.$appdata.getParam('气表类型')
474
- }
475
- }
476
- }
477
- </script>
478
- <style >
479
- .reshowtype {
480
- width:50%;
481
- }
482
- </style>
483
-