sale-client 4.2.82 → 4.2.83
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/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/package.json +1 -1
- package/src/filiale/jiaxian/WatchCollection.vue +3 -1
- package/src/filiale/yuncheng/FileManageService.js +469 -469
- package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
- package/src/components/FilesManage/ncUserinfoList.vue +0 -315
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
- package/src/components/SendCard/SendCardData.vue +0 -208
- package/src/components/accounts/accountAdd.vue +0 -276
- package/src/components/accounts/accountsList.vue +0 -183
- package/src/components/accounts/accountsManage.vue +0 -87
- package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
- package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
- package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
- package/src/components/ncarchives/ncArchivesList.vue +0 -159
- package/src/components/ncarchives/ncUserfilesList.vue +0 -373
- package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
- package/src/components/revenue/IOTArrears/arrears.vue +0 -323
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
- package/src/components/thirdapply/thirdAdd.vue +0 -289
- package/src/components/thirdapply/thirdList.vue +0 -162
- package/src/components/thirdapply/thirdManage.vue +0 -74
- package/src/components/webMeter/InstructQuery.vue +0 -414
- package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
- package/src/components/webMeter/WebUserHand.vue +0 -483
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
- package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
- package/src/plugins/FileManageServicets.js +0 -214
- 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 ">备 注</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
DELETED
|
@@ -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>
|
package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue
DELETED
|
@@ -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>
|
package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue
DELETED
|
@@ -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 ">备 注</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
DELETED
|
@@ -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 ">备 注</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>
|