sale-client 4.2.70 → 4.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +36 -58
- package/index.html +2 -7
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/FilesManage/addressts/FileUserFilests.vue +671 -0
- package/src/components/FilesManage/ncUserinfoList.vue +315 -0
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +107 -0
- package/src/components/SendCard/SendCardData.vue +208 -0
- package/src/components/accounts/accountAdd.vue +276 -0
- package/src/components/accounts/accountsList.vue +183 -0
- package/src/components/accounts/accountsManage.vue +87 -0
- package/src/components/common/chargeinfo/chargeinfo.vue +55 -0
- package/src/components/common/userinfo_detail/config/exportConfig.js +85 -0
- package/src/components/ncarchives/ncArchivesAdd.vue +468 -0
- package/src/components/ncarchives/ncArchivesList.vue +159 -0
- package/src/components/ncarchives/ncUserfilesList.vue +373 -0
- package/src/components/ncarchives/ncarchivesmanage.vue +80 -0
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/IOTArrears/arrears.vue +323 -0
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +369 -0
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +59 -0
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +59 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +199 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +356 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +148 -0
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +136 -0
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +65 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +483 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +279 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +265 -0
- package/src/components/thirdapply/thirdAdd.vue +289 -0
- package/src/components/thirdapply/thirdList.vue +162 -0
- package/src/components/thirdapply/thirdManage.vue +74 -0
- package/src/components/webMeter/InstructQuery.vue +414 -0
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
- package/src/components/webMeter/ParamSet/ParamSet.vue +556 -0
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +296 -0
- package/src/components/webMeter/WebUserHand.vue +483 -0
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +509 -0
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +48 -0
- package/src/components/webMeter/webManage/NewMeterList.vue +461 -0
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
- package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
- package/src/filiale/bazhong/sale.js +8 -8
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/jinhuang/WebHand.vue +1026 -1026
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yuncheng/FileManageService.js +469 -469
- package/src/filiale/yuncheng/IndustryCommerceHand.vue +5 -0
- package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +38 -0
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/plugins/FileManageServicets.js +214 -0
- package/src/plugins/GetImg.js +53 -0
|
@@ -0,0 +1,199 @@
|
|
|
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 ">备 注</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> 降价补气使用情景:</dt>
|
|
60
|
+
<dd style="line-height:30px;"> 1. 此功能仅针对卡表</dd>
|
|
61
|
+
<dd style="line-height:30px;"> 2. 该操作会进行写卡操作,不需进行收费!</dd>
|
|
62
|
+
<dd style="line-height:30px;"> 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>
|
package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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>
|
package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
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>
|
|
@@ -0,0 +1,185 @@
|
|
|
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 ">备 注</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> 涨价补费使用情景:</dt>
|
|
59
|
+
<dd style="line-height:30px;"> 1. 气价价格上调,用户需要补费的情况!</dd>
|
|
60
|
+
<dd style="line-height:30px;"> 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>
|
package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
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 ">备 注</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> 预收款使用情景:</dt>
|
|
59
|
+
<dd style="line-height:30px;"> 1. 气价价格上调,用户需要补费的情况!</dd>
|
|
60
|
+
<dd style="line-height:30px;"> 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>
|