sale-client 4.2.7 → 4.2.9

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 (53) hide show
  1. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  2. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  3. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  4. package/GetLoginInfoService.js.bak +489 -0
  5. package/build/dev-server.js +10 -4
  6. package/package.json +2 -2
  7. package/src/components/FilesManage/addressts/FileUserFilests.vue +671 -0
  8. package/src/components/FilesManage/ncUserinfoList.vue +315 -0
  9. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +107 -0
  10. package/src/components/SendCard/SendCardData.vue +208 -0
  11. package/src/components/accounts/accountAdd.vue +276 -0
  12. package/src/components/accounts/accountsList.vue +183 -0
  13. package/src/components/accounts/accountsManage.vue +87 -0
  14. package/src/components/common/chargeinfo/chargeinfo.vue +55 -0
  15. package/src/components/common/userinfo_detail/config/exportConfig.js +85 -0
  16. package/src/components/ncarchives/ncArchivesAdd.vue +468 -0
  17. package/src/components/ncarchives/ncArchivesList.vue +159 -0
  18. package/src/components/ncarchives/ncUserfilesList.vue +373 -0
  19. package/src/components/ncarchives/ncarchivesmanage.vue +80 -0
  20. package/src/components/revenue/IOTArrears/arrears.vue +323 -0
  21. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +369 -0
  22. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +59 -0
  23. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +59 -0
  24. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +73 -0
  25. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +73 -0
  26. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +199 -0
  27. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +24 -0
  28. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +24 -0
  29. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +185 -0
  30. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +185 -0
  31. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +356 -0
  32. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +148 -0
  33. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +136 -0
  34. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +65 -0
  35. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +483 -0
  36. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +279 -0
  37. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +265 -0
  38. package/src/components/thirdapply/thirdAdd.vue +289 -0
  39. package/src/components/thirdapply/thirdList.vue +162 -0
  40. package/src/components/thirdapply/thirdManage.vue +74 -0
  41. package/src/components/webMeter/InstructQuery.vue +414 -0
  42. package/src/components/webMeter/ParamSet/ParamSet.vue +556 -0
  43. package/src/components/webMeter/ParamSet/ParamSetForm.vue +296 -0
  44. package/src/components/webMeter/WebUserHand.vue +483 -0
  45. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +509 -0
  46. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +48 -0
  47. package/src/components/webMeter/webManage/NewMeterList.vue +461 -0
  48. package/src/filiale/jinhong/machineDown.vue +2 -0
  49. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  50. package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +0 -2
  51. package/src/main.js +1 -1
  52. package/src/plugins/FileManageServicets.js +214 -0
  53. package/src/plugins/GetImg.js +53 -0
@@ -0,0 +1,65 @@
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>
@@ -0,0 +1,483 @@
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
+