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,199 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <validator name='v'>
4
- <form novalidate class="form-horizontal">
5
- <div class="row">
6
- <!-- <div class="col-sm-4 form-group" :class="[$v.f_payment.required ? 'has-error' : '']">-->
7
- <!-- <label class=" font_normal_body">付款方式</label>-->
8
- <!-- <input type="text" v-show="false" v-model="model.f_payment" v-validate:f_payment='{required: true }'>-->
9
- <!-- <v-select v-model="f_payment"-->
10
- <!-- placeholder='请选择'-->
11
- <!-- :value.sync="model.f_payment"-->
12
- <!-- :options='paytype' clear-button v-ref:payment></v-select>-->
13
- <!-- </div>-->
14
- <div class="col-sm-4 form-group">
15
- <label for="f_print" class="font_normal_body">打印格式</label>
16
- <input type="text" v-show="false" v-model="model.f_print" v-validate:printstyle='{required: true }'>
17
- <v-select id="print"
18
- v-model="f_print"
19
- placeholder='请选择'
20
- :multiple="mulPrint"
21
- :value.sync="model.f_print"
22
- :options='printstyle'
23
- close-on-select clear-button v-ref:printstyle>
24
- </v-select>
25
- </div>
26
- <div class="col-sm-4 form-group">
27
- <label class="font_normal_body">操作类型</label>
28
- <input v-show="false" v-model="model.f_operat_type"
29
- v-validate:f_operat_type='{required: true}'>
30
- <v-select :value.sync="model.f_operat_type"
31
- :options='operator_type' placeholder='请选择'
32
-
33
- :value-single="true"
34
- style="width:60%"
35
- close-on-select></v-select>
36
- </div>
37
- <div class="col-sm-4 form-group" v-if="model.f_operat_type!=='涨价补费'"
38
- :class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">
39
- <label class="font_normal_body">扣补气量</label>
40
- <input class="input_search" type="number" v-model="model.f_pregas" style="width:60%"
41
- v-validate:f_pregas='{required: true, f_pregas: [0, ">" ]}' placeholder="气量">
42
- </div>
43
- </div>
44
-
45
- <div class="row">
46
- <div class="col-sm-12">
47
- <label for="f_paper_account" class="font_normal_body ">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
48
- <input class="input_search" style="width:86%" rows="1" v-model="model.f_comments"></input>
49
- </div>
50
- </div>
51
- </form>
52
- <div style="text-align:right;margin-top: 46px;">
53
- <button class="btn button_search" @click="confirm()" :disabled='!$v.valid'>确认</button>
54
- <button class="btn button_clear" @click="clean()">取消</button>
55
- </div>
56
- </validator>
57
- <div class="alert alert-warning" role="alert" style="color:darkred">
58
- <dl>
59
- <dt style="font-size:18px;line-height: 30px;"><span class="glyphicon glyphicon-alert"></span>&nbsp;&nbsp;&nbsp;降价补气使用情景:</dt>
60
- <dd style="line-height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. 此功能仅针对卡表</dd>
61
- <dd style="line-height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2. 该操作会进行写卡操作,不需进行收费!</dd>
62
- <dd style="line-height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3. 使用场景为因气价价格下调,需要给用户补气的情况!</dd>
63
- </dl>
64
- </div>
65
- <!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
66
- <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
67
- <!--<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>-->
68
- <print-bill :show="print" :bill-config='config' :bill-data='billData' :data='data' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
69
- </div>
70
- <upload :blodid="blodid" v-if="false" isremark="true" fusetype="降价补气"></upload>
71
- </template>
72
-
73
-
74
- <script>
75
-
76
-
77
-
78
- import Vue from "vue";
79
-
80
- // let asyncCardMeterCenter = async function(self){
81
- // await self.$getConfig(self,'icfeeDeduction')
82
- // }
83
-
84
- export default {
85
- title: '降价补气',
86
- data () {
87
- return {
88
- paytype: this.$appdata.getParam('付款方式'),
89
- printstyle: this.$appdata.getParam('打印格式'),
90
- blodid: '',
91
- showupload:false,
92
- operator_type:[{label:'降价补气',value:'降价补气'}],
93
- config: {
94
- hasPrint : true, //默认打票
95
- hasBillManage : false
96
- },
97
- print: false,
98
- billData: {
99
- url: 'rs/report/overuse_bill',
100
- billnumber: ''
101
- },
102
- data:{},
103
- model: {
104
- f_operat_type: '降价补气',
105
- f_pregas:0,
106
- f_preamount:0,
107
- f_payment: [''],
108
- f_comments: '',
109
- f_print:['普通收据']
110
- }
111
-
112
- }
113
- },
114
- props: ['row','cardData'],
115
-
116
- ready () {
117
- this.row.cardInfo = this.cardData
118
- this.data = this.row
119
-
120
- },
121
- methods: {
122
- close() {
123
- this.print = false
124
- this.clean()
125
- },
126
- confirm () {
127
- this.pushdata();
128
- },
129
- printok () {
130
- // 收据打完,判断是否还有其他票据进行请求
131
- for (let i = 0; i < this.model.f_print.length; i++) {
132
- if (this.model.f_print[i] === '电子发票') {
133
- this.$CommonService.openEticket(this.row.id, '售气收费')
134
- }
135
- }
136
- this.$dispatch('success')
137
- },
138
- async pushdata(){
139
- this.row.cardInfo = this.cardData
140
- this.data = this.row
141
- let param = {
142
- fillmoney:{
143
- f_payment: this.model.f_payment[0],
144
- f_print: this.model.f_print[0],
145
- f_userfiles_id: this.data.f_userfiles_id,
146
- f_preamount:this.model.f_preamount,
147
- f_pregas:this.model.f_pregas,
148
- f_operat_type:this.model.f_operat_type,
149
- f_type: this.model.f_operat_type,
150
- f_comments: this.model.f_comments,
151
- f_operator: Vue.$login.f.name,
152
- f_operatorid: Vue.$login.f.id,
153
- f_orgid: Vue.$login.f.orgid,
154
- f_orgname: Vue.$login.f.orgs,
155
- f_depid: Vue.$login.f.depids,
156
- f_depname: Vue.$login.f.deps,
157
- f_zoneid: Vue.$login.f.zoneid,
158
- f_zones: Vue.$login.f.zones
159
- }
160
- }
161
- if(this.model.f_operat_type==='降价补气'){
162
- this.$CardService.reduceaddgas(this.model,this.data,param).then((res)=>{
163
- console.log(res)
164
- console.log(JSON.stringify(res))
165
- if (this.config.hasPrint) {
166
- if (this.model.f_print[0].indexOf('普通收据') !== -1) {
167
- if (this.config.hasBillManage) {
168
- // 启用发票管理,获取票据管理中的票号并存储记录
169
- this.data.id = res
170
- this.data.f_bill_type = '降价补气'
171
- this.data.f_bill_style = this.model.f_print[0]
172
- this.print = true
173
- } else {
174
- this.data.id = res
175
- this.print = true
176
- }
177
- }
178
- } else {
179
- // this.clean();
180
- this.$dispatch('success')
181
- }
182
- })
183
- }
184
-
185
-
186
- },
187
- clean () {
188
- this.$dispatch('refresh')
189
- }
190
- // printok () {
191
- // this.$dispatch('success')
192
- // },
193
- // validateBill (val) {
194
- // this.validateOk = !val.isOk
195
- // this.billData.bill = val.bill
196
- // }
197
- }
198
- }
199
- </script>
@@ -1,24 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <ic-fee-deduction v-if="row.f_meter_type === '气量卡表' ||row.f_meter_type === '机表' || row.f_meter_type === '物联网表' " :data="row"></ic-fee-deduction>
4
- </div>
5
- </template>
6
- <script>
7
-
8
- import icFeeDeduction from './icfeeDeduction'
9
-
10
- export default {
11
- title: '涨价补费',
12
- components: {
13
- icFeeDeduction
14
- },
15
- data () {
16
- return {
17
- }
18
- },
19
- props: ['row'],
20
- ready() {
21
-
22
- }
23
- }
24
- </script>
@@ -1,24 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <ic-fee-ys-deduction v-if="row.f_meter_type === '气量卡表' ||row.f_meter_type === '机表' " :data="row"></ic-fee-ys-deduction>
4
- </div>
5
- </template>
6
- <script>
7
-
8
- import icFeeYsDeduction from './icfeeYSDeduction'
9
-
10
- export default {
11
- title: '预收款',
12
- components: {
13
- icFeeYsDeduction
14
- },
15
- data () {
16
- return {
17
- }
18
- },
19
- props: ['row'],
20
- ready() {
21
-
22
- }
23
- }
24
- </script>
@@ -1,185 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <validator name='v'>
4
- <form novalidate class="form-horizontal">
5
- <div class="row">
6
- <div class="col-sm-4 form-group" :class="[$v.f_payment.required ? 'has-error' : '']">
7
- <label class=" font_normal_body">付款方式</label>
8
- <input type="text" v-show="false" v-model="model.f_payment" v-validate:f_payment='{required: true }'>
9
- <v-select v-model="f_payment"
10
- placeholder='请选择'
11
- :value.sync="model.f_payment"
12
- :options='paytype' clear-button v-ref:payment></v-select>
13
- </div>
14
- <div class="col-sm-4 form-group">
15
- <label for="f_print" class="font_normal_body">打印格式</label>
16
- <input type="text" v-show="false" v-model="model.f_print" v-validate:printstyle='{required: true }'>
17
- <v-select id="print"
18
- v-model="f_print"
19
- placeholder='请选择'
20
- :multiple="mulPrint"
21
- :value.sync="model.f_print"
22
- :options='printstyle'
23
- close-on-select clear-button v-ref:printstyle>
24
- </v-select>
25
- </div>
26
- <div class="col-sm-4 form-group">
27
- <label class="font_normal_body">操作类型</label>
28
- <input v-show="false" v-model="model.f_operat_type"
29
- v-validate:f_operat_type='{required: true}'>
30
- <v-select :value.sync="model.f_operat_type"
31
- :options='operator_type' placeholder='请选择'
32
- selected="涨价补费"
33
- style="width:60%"
34
- close-on-select></v-select>
35
- </div>
36
- <div class="col-sm-4 form-group"
37
- :class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">
38
- <label class="font_normal_body">补费金额</label>
39
- <input class="input_search" type="number" v-model="model.f_preamount" style="width:60%"
40
- v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">
41
- </div>
42
- </div>
43
-
44
- <div class="row">
45
- <div class="col-sm-12">
46
- <label for="f_paper_account" class="font_normal_body ">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
47
- <input class="input_search" style="width:86%" rows="1" v-model="model.f_comments"></input>
48
- </div>
49
- </div>
50
- </form>
51
- <div style="text-align:right;margin-top: 46px;">
52
- <button class="btn button_search" @click="confirm()" :disabled='!$v.valid'>确认</button>
53
- <button class="btn button_clear" @click="clean()">取消</button>
54
- </div>
55
- </validator>
56
- <div class="alert alert-warning" role="alert" style="color:darkred">
57
- <dl>
58
- <dt style="font-size:18px;line-height: 30px;"><span class="glyphicon glyphicon-alert"></span>&nbsp;&nbsp;&nbsp;涨价补费使用情景:</dt>
59
- <dd style="line-height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. 气价价格上调,用户需要补费的情况!</dd>
60
- <dd style="line-height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. 此次不进行写卡,需进行收费!</dd>
61
- </dl>
62
- </div>
63
- <!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
64
- <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
65
- <!--<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>-->
66
- <print-bill :show="print" :bill-config='config' :bill-data='billData' :data='data' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
67
- </div>
68
- <upload :blodid="blodid" v-if="false" isremark="true" fusetype="涨价补费"></upload>
69
- </template>
70
-
71
-
72
- <script>
73
-
74
-
75
-
76
- import Vue from "vue";
77
-
78
- // let asyncCardMeterCenter = async function(self){
79
- // await self.$getConfig(self,'icfeeDeduction')
80
- // }
81
-
82
- export default {
83
- title: '涨价补费',
84
- data () {
85
- return {
86
- paytype: this.$appdata.getParam('付款方式'),
87
- printstyle: this.$appdata.getParam('打印格式'),
88
- blodid: '',
89
- showupload:false,
90
- operator_type:[{label:'涨价补费',value:'涨价补费'}],
91
- config: {
92
- hasPrint : true, //默认打票
93
- hasBillManage : false
94
- },
95
- print: false,
96
- billData: {
97
- url: 'rs/report/overuse_bill',
98
- billnumber: ''
99
- },
100
- model: {
101
- f_operat_type: ['涨价补费'],
102
- f_pregas:0,
103
- f_preamount:0,
104
- f_payment: [''],
105
- f_comments: '',
106
- f_print:['普通收据']
107
- }
108
-
109
- }
110
- },
111
- props: ['data'],
112
- ready () {
113
-
114
- },
115
- methods: {
116
- close() {
117
- this.print = false
118
- this.clean()
119
- },
120
- confirm () {
121
- this.pushdata();
122
- },
123
- printok () {
124
- // 收据打完,判断是否还有其他票据进行请求
125
- for (let i = 0; i < this.model.f_print.length; i++) {
126
- if (this.model.f_print[i] === '电子发票') {
127
- this.$CommonService.openEticket(this.row.id, '售气收费')
128
- }
129
- }
130
- this.$dispatch('success')
131
- },
132
- async pushdata(){
133
- let param = {
134
- fillmoney:{
135
- f_payment: this.model.f_payment[0],
136
- f_print: this.model.f_print[0],
137
- f_userfiles_id: this.data.f_userfiles_id,
138
- f_preamount:this.model.f_preamount,
139
- f_type: this.model.f_operat_type[0],
140
- f_comments: this.model.f_comments,
141
- f_operator: Vue.$login.f.name,
142
- f_operatorid: Vue.$login.f.id,
143
- f_orgid: Vue.$login.f.orgid,
144
- f_orgname: Vue.$login.f.orgs,
145
- f_depid: Vue.$login.f.depids,
146
- f_depname: Vue.$login.f.deps,
147
- f_zoneid: Vue.$login.f.zoneid,
148
- f_zones: Vue.$login.f.zones
149
- }
150
- }
151
- let res = await this.$resetpost('rs/logic/ICfeededuction', {data: param},
152
- {warnMsg: `确定要对用户${this.data.f_user_name}进行${this.model.f_operat_type}吗?`,
153
- resolveMsg: `${this.model.f_operat_type}成功!!`, rejectMsg: `${this.model.f_operat_type}失败!!请重试!!`});
154
- // 开始打票
155
- if (this.config.hasPrint) {
156
- if (this.model.f_print[0].indexOf('普通收据') !== -1) {
157
- if (this.config.hasBillManage) {
158
- // 启用发票管理,获取票据管理中的票号并存储记录
159
- this.data.id = res.data.id
160
- this.data.f_bill_type = '涨价补费'
161
- this.data.f_bill_style = this.model.f_print[0]
162
- this.print = true
163
- } else {
164
- this.data.id = res.data.id
165
- this.print = true
166
- }
167
- }
168
- } else {
169
- // this.clean();
170
- this.$dispatch('success')
171
- }
172
- },
173
- clean () {
174
- this.$dispatch('refresh')
175
- }
176
- // printok () {
177
- // this.$dispatch('success')
178
- // },
179
- // validateBill (val) {
180
- // this.validateOk = !val.isOk
181
- // this.billData.bill = val.bill
182
- // }
183
- }
184
- }
185
- </script>
@@ -1,185 +0,0 @@
1
- <template>
2
- <div class="auto">
3
- <validator name='v'>
4
- <form novalidate class="form-horizontal">
5
- <div class="row">
6
- <div class="col-sm-4 form-group" :class="[$v.f_payment.required ? 'has-error' : '']">
7
- <label class=" font_normal_body">付款方式</label>
8
- <input type="text" v-show="false" v-model="model.f_payment" v-validate:f_payment='{required: true }'>
9
- <v-select v-model="f_payment"
10
- placeholder='请选择'
11
- :value.sync="model.f_payment"
12
- :options='paytype' clear-button v-ref:payment></v-select>
13
- </div>
14
- <div class="col-sm-4 form-group">
15
- <label for="f_print" class="font_normal_body">打印格式</label>
16
- <input type="text" v-show="false" v-model="model.f_print" v-validate:printstyle='{required: true }'>
17
- <v-select id="print"
18
- v-model="f_print"
19
- placeholder='请选择'
20
- :multiple="mulPrint"
21
- :value.sync="model.f_print"
22
- :options='printstyle'
23
- close-on-select clear-button v-ref:printstyle>
24
- </v-select>
25
- </div>
26
- <div class="col-sm-4 form-group">
27
- <label class="font_normal_body">操作类型</label>
28
- <input v-show="false" v-model="model.f_operat_type"
29
- v-validate:f_operat_type='{required: true}'>
30
- <v-select :value.sync="model.f_operat_type"
31
- :options='operator_type' placeholder='请选择'
32
- selected="预收款"
33
- style="width:60%"
34
- close-on-select></v-select>
35
- </div>
36
- <div class="col-sm-4 form-group"
37
- :class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">
38
- <label class="font_normal_body">补费金额</label>
39
- <input class="input_search" type="number" v-model="model.f_preamount" style="width:60%"
40
- v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">
41
- </div>
42
- </div>
43
-
44
- <div class="row">
45
- <div class="col-sm-12">
46
- <label for="f_paper_account" class="font_normal_body ">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label>
47
- <input class="input_search" style="width:86%" rows="1" v-model="model.f_comments"></input>
48
- </div>
49
- </div>
50
- </form>
51
- <div style="text-align:right;margin-top: 46px;">
52
- <button class="btn button_search" @click="confirm()" :disabled='!$v.valid'>确认</button>
53
- <button class="btn button_clear" @click="clean()">取消</button>
54
- </div>
55
- </validator>
56
- <div class="alert alert-warning" role="alert" style="color:darkred">
57
- <dl>
58
- <dt style="font-size:18px;line-height: 30px;"><span class="glyphicon glyphicon-alert"></span>&nbsp;&nbsp;&nbsp;预收款使用情景:</dt>
59
- <dd style="line-height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. 气价价格上调,用户需要补费的情况!</dd>
60
- <dd style="line-height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. 此次不进行写卡,需进行收费!</dd>
61
- </dl>
62
- </div>
63
- <!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
64
- <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
65
- <!--<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>-->
66
- <print-bill :show="print" :bill-config='config' :bill-data='billData' :data='data' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
67
- </div>
68
- <upload :blodid="blodid" v-if="false" isremark="true" fusetype="涨价补费"></upload>
69
- </template>
70
-
71
-
72
- <script>
73
-
74
-
75
-
76
- import Vue from "vue";
77
-
78
- // let asyncCardMeterCenter = async function(self){
79
- // await self.$getConfig(self,'icfeeDeduction')
80
- // }
81
-
82
- export default {
83
- title: '预收款',
84
- data () {
85
- return {
86
- paytype: this.$appdata.getParam('付款方式'),
87
- printstyle: this.$appdata.getParam('打印格式'),
88
- blodid: '',
89
- showupload:false,
90
- operator_type:[{label:'预收款',value:'预收款'}],
91
- config: {
92
- hasPrint : true, //默认打票
93
- hasBillManage : false
94
- },
95
- print: false,
96
- billData: {
97
- url: 'rs/report/overuse_bill',
98
- billnumber: ''
99
- },
100
- model: {
101
- f_operat_type: ['预收款'],
102
- f_pregas:0,
103
- f_preamount:0,
104
- f_payment: [''],
105
- f_comments: '',
106
- f_print:['普通收据']
107
- }
108
-
109
- }
110
- },
111
- props: ['data'],
112
- ready () {
113
-
114
- },
115
- methods: {
116
- close() {
117
- this.print = false
118
- this.clean()
119
- },
120
- confirm () {
121
- this.pushdata();
122
- },
123
- printok () {
124
- // 收据打完,判断是否还有其他票据进行请求
125
- for (let i = 0; i < this.model.f_print.length; i++) {
126
- if (this.model.f_print[i] === '电子发票') {
127
- this.$CommonService.openEticket(this.row.id, '售气收费')
128
- }
129
- }
130
- this.$dispatch('success')
131
- },
132
- async pushdata(){
133
- let param = {
134
- fillmoney:{
135
- f_payment: this.model.f_payment[0],
136
- f_print: this.model.f_print[0],
137
- f_userfiles_id: this.data.f_userfiles_id,
138
- f_preamount:this.model.f_preamount,
139
- f_type: this.model.f_operat_type[0],
140
- f_comments: this.model.f_comments,
141
- f_operator: Vue.$login.f.name,
142
- f_operatorid: Vue.$login.f.id,
143
- f_orgid: Vue.$login.f.orgid,
144
- f_orgname: Vue.$login.f.orgs,
145
- f_depid: Vue.$login.f.depids,
146
- f_depname: Vue.$login.f.deps,
147
- f_zoneid: Vue.$login.f.zoneid,
148
- f_zones: Vue.$login.f.zones
149
- }
150
- }
151
- let res = await this.$resetpost('rs/logic/ICfeededuction', {data: param},
152
- {warnMsg: `确定要对用户${this.data.f_user_name}进行${this.model.f_operat_type}吗?`,
153
- resolveMsg: `${this.model.f_operat_type}成功!!`, rejectMsg: `${this.model.f_operat_type}失败!!请重试!!`});
154
- // 开始打票
155
- if (this.config.hasPrint) {
156
- if (this.model.f_print[0].indexOf('普通收据') !== -1) {
157
- if (this.config.hasBillManage) {
158
- // 启用发票管理,获取票据管理中的票号并存储记录
159
- this.data.id = res.data.id
160
- this.data.f_bill_type = '预收款'
161
- this.data.f_bill_style = this.model.f_print[0]
162
- this.print = true
163
- } else {
164
- this.data.id = res.data.id
165
- this.print = true
166
- }
167
- }
168
- } else {
169
- // this.clean();
170
- this.$dispatch('success')
171
- }
172
- },
173
- clean () {
174
- this.$dispatch('refresh')
175
- }
176
- // printok () {
177
- // this.$dispatch('success')
178
- // },
179
- // validateBill (val) {
180
- // this.validateOk = !val.isOk
181
- // this.billData.bill = val.bill
182
- // }
183
- }
184
- }
185
- </script>