sale-client 3.6.463 → 3.6.464
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/build/dev-server.js +1 -1
- package/package.json +1 -1
- package/src/components/newpriceadjustment/NewPriceAdjustment.vue +1 -1
- package/src/components/newpriceadjustment/NewPriceAdjustmentSell.vue +1 -1
- package/src/components/newpriceadjustment/NewPriceAdjustmentWebmeter.vue +1 -1
- package/src/filiale/gaomi/components/revenue/comprehen/SpecialUser/BlackList/BlackList.vue +3 -2
- package/src/filiale/jingyang/PriceChangeCompensation/CompensationManage.vue +26 -0
- package/src/filiale/jingyang/PriceChangeCompensation/IotCompensation.vue +318 -0
- package/src/filiale/jingyang/PriceChangeCompensation/JbCompensation.vue +343 -0
- package/src/filiale/jingyang/PriceChangeCompensation/SurplusRecordDetail.vue +74 -0
- package/src/filiale/jingyang/sale.js +2 -1
- package/src/filiale/kelai/BlackList.vue +11 -21
- package/src/filiale/lixianV3/charge/ChargeManage.vue +323 -0
- package/src/filiale/lixianV3/components/charge/CardMeterCenter.vue +0 -3
- package/src/filiale/lixianV3/components/charge/IOTMeterCenter.vue +0 -4
- package/src/filiale/lixianV3/sale.js +1 -0
- package/src/filiale/rongchuang/BlackList.vue +11 -21
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
const [ serverRul, localUrl, v4Url ] = ['http://192.168.50.67:30785/', 'http://
|
|
4
|
+
const [ serverRul, localUrl, v4Url ] = ['http://192.168.50.67:30785/', 'http://localhost:8080/', 'http://192.168.50.67:30785']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
row.f_orgname = this.$login.f.orgs
|
|
751
751
|
row.f_depid = this.$login.f.depids
|
|
752
752
|
row.f_depname = this.$login.f.deps
|
|
753
|
-
this.$resetpost('rs/logic/
|
|
753
|
+
this.$resetpost('rs/logic/newpriceAdjustmentOffset', {data: row}).then(() => {
|
|
754
754
|
// this.$dispatch('refresh', '正在处理', row)
|
|
755
755
|
this.selfSearch(this.model)
|
|
756
756
|
})
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
row.f_orgname = this.$login.f.orgs
|
|
498
498
|
row.f_depid = this.$login.f.depids
|
|
499
499
|
row.f_depname = this.$login.f.deps
|
|
500
|
-
this.$resetpost('rs/logic/
|
|
500
|
+
this.$resetpost('rs/logic/newpriceAdjustmentOffset', {data: row}).then(() => {
|
|
501
501
|
// this.$dispatch('refresh', '正在处理', row)
|
|
502
502
|
this.selfSearch(this.model)
|
|
503
503
|
})
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
row.f_orgname = this.$login.f.orgs
|
|
506
506
|
row.f_depid = this.$login.f.depids
|
|
507
507
|
row.f_depname = this.$login.f.deps
|
|
508
|
-
this.$resetpost('rs/logic/
|
|
508
|
+
this.$resetpost('rs/logic/newpriceAdjustmentOffset', {data: row}).then(() => {
|
|
509
509
|
// this.$dispatch('refresh', '正在处理', row)
|
|
510
510
|
this.selfSearch(this.model)
|
|
511
511
|
})
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<div class="col-sm-4 form-group" id="f_user_id" :class="[$v.f_userinfo_code.required ? 'has-error' : 'has-success']">
|
|
11
11
|
<label for="f_userinfo_code" class="font_normal_body">用户编号</label>
|
|
12
12
|
<input class="input_search" style="width:60%" type="text" class="input_search" style="width:60%"
|
|
13
|
-
v-model="model.f_userinfo_code"
|
|
14
|
-
v-validate:f_userinfo_code='{required: true }' :disabled='isEdit' placeholder="
|
|
13
|
+
v-model="model.f_userinfo_code"
|
|
14
|
+
v-validate:f_userinfo_code='{required: true }' :disabled='isEdit' placeholder="用户编号">
|
|
15
15
|
</div>
|
|
16
16
|
<div class="col-sm-4 form-group" id="name">
|
|
17
17
|
<label for="f_user_name" class=" font_normal_body">用户姓名</label>
|
|
@@ -101,6 +101,7 @@ let initGen = async function (self, val) {
|
|
|
101
101
|
self.model.f_address = res.data[0].f_address
|
|
102
102
|
self.model.f_user_phone = res.data[0].f_user_phone
|
|
103
103
|
self.model.version = res.data[0].version
|
|
104
|
+
self.model.isblacklist = res.data[0].isblacklist
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
export default {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<surplus-record-detail :row.sync="row"></surplus-record-detail>
|
|
4
|
+
<iot-compensation v-if="row.f_meter_type.includes('物联网表')" :row.sync="row"></iot-compensation>
|
|
5
|
+
<jb-compensation v-if="row.f_meter_type.includes('机表')||row.f_meter_type.includes('卡表')" :row.sync="row"></jb-compensation>
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
import IotCompensation from './IotCompensation'
|
|
12
|
+
import JbCompensation from './JbCompensation'
|
|
13
|
+
import SurplusRecordDetail from './SurplusRecordDetail'
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
components: {IotCompensation, JbCompensation,SurplusRecordDetail},
|
|
17
|
+
title: '调价补差',
|
|
18
|
+
data () {
|
|
19
|
+
return {
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
props: ['row'],
|
|
23
|
+
ready () {
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="span" style="overflow-y: auto;">
|
|
4
|
+
<validator name='v'>
|
|
5
|
+
<form novalidate class="form-horizontal">
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-4">
|
|
8
|
+
<label class=" font_normal_body">调价补差</label>
|
|
9
|
+
<v-select v-model="f_compensation_type"
|
|
10
|
+
placeholder='请选择'
|
|
11
|
+
:value-single="true"
|
|
12
|
+
:value.sync="model.f_compensation_type"
|
|
13
|
+
:options='compensationTypes'
|
|
14
|
+
close-on-select clear-button></v-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-4">
|
|
17
|
+
<label class=" font_normal_body" title="参数名称:付款方式">收款方式</label>
|
|
18
|
+
<v-select v-model="f_payment"
|
|
19
|
+
placeholder='请选择'
|
|
20
|
+
:value.sync="model.f_payment"
|
|
21
|
+
:options='paytype'
|
|
22
|
+
close-on-select clear-button></v-select>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-sm-4" :class="[$v.printstyle.required ? 'select-error' : '']">
|
|
25
|
+
<label for="f_print" class="font_normal_body">打印格式</label>
|
|
26
|
+
<input type="text" v-show="false" v-model="$refs.printstyle.selectedItems" v-validate:printstyle='{required: true }'>
|
|
27
|
+
<v-select id="print"
|
|
28
|
+
v-model="f_print"
|
|
29
|
+
placeholder='请选择'
|
|
30
|
+
:multiple="mulPrint"
|
|
31
|
+
:value.sync="model.f_print"
|
|
32
|
+
:options='printstyle'
|
|
33
|
+
close-on-select clear-button v-ref:printstyle>
|
|
34
|
+
</v-select>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row" style="margin-top:6px;">
|
|
38
|
+
<div class="col-sm-8">
|
|
39
|
+
<label for="f_comments" class="font_normal_body"> 备注 </label>
|
|
40
|
+
<input class="input_search" style="width:80%" v-model="model.f_comments" rows="1" placeholder="备注">
|
|
41
|
+
</div>
|
|
42
|
+
<div class="col-sm-4" :class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error' : 'has-success']">
|
|
43
|
+
<label for="f_collection" class="font_normal_body" v-if="model.f_compensation_type == '调价补费'">应补金额</label>
|
|
44
|
+
<label for="f_collection" class="font_normal_body" v-else>应退金额</label>
|
|
45
|
+
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"
|
|
46
|
+
readonly
|
|
47
|
+
v-scale="[model.f_collection, 4]" v-validate:f_collection='{required: true, dctest: [(model.f_collection - 0), ">=" ] }' placeholder="补费金额">
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
<div class="row" style="margin-top:6px;">
|
|
52
|
+
<div class="col-sm-4">
|
|
53
|
+
<label for="f_change_price" class="font_normal_body">补差单价</label>
|
|
54
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_change_price"
|
|
55
|
+
v-scale="[model.f_change_price, 4]" placeholder="补差单价" readonly>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="col-sm-4">
|
|
58
|
+
<label for="f_real_amount" class="font_normal_body">补差气量</label>
|
|
59
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_real_amount"
|
|
60
|
+
v-scale="[model.f_real_amount, 4]" placeholder="补差气量" readonly>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-sm-4" :class="[$v.f_surplus_fee.required ? 'has-error' : 'has-success']">
|
|
63
|
+
<label for="f_surplus_fee" class="font_normal_body">补差金额</label>
|
|
64
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_surplus_fee"
|
|
65
|
+
v-scale="[model.f_surplus_fee, 4]" placeholder="补差金额" v-validate:f_surplus_fee='{required: true}' >
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</form>
|
|
69
|
+
<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
|
|
70
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
71
|
+
<div style="text-align:right; height: 25%">
|
|
72
|
+
<strong style="font-size: large" v-if="!config.notShowFormula">计算公式:{{calculatedetail ? calculatedetail : ' 暂无'}}</strong><br/>
|
|
73
|
+
<payment-code-button :clickable="!$v.valid || clickConfirm"
|
|
74
|
+
:payment.sync="model.f_payment" :payment-data="paytype"
|
|
75
|
+
@confirm-payment="confirm()">
|
|
76
|
+
</payment-code-button>
|
|
77
|
+
<button class="button_search btn-gn" type="submit" @click="confirm()" :disabled='!$v.valid || clickConfirm'>确认</button>
|
|
78
|
+
<button class="button_clear btn-gn" @click="clean()">取消</button>
|
|
79
|
+
</div>
|
|
80
|
+
</validator>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row" :money="model.f_collection"></payment-code>
|
|
84
|
+
<upload :blodid="blodid" v-if="config.showupload" isremark="true" fusetype="调价补差"></upload>
|
|
85
|
+
</template>
|
|
86
|
+
<script>
|
|
87
|
+
import {HttpResetClass} from 'vue-client'
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
*综合业务
|
|
91
|
+
*卡表收费组件
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
let compensationChargeGen = async function (self) {
|
|
95
|
+
try {
|
|
96
|
+
if (self.paymentModel.length === 0) {
|
|
97
|
+
self.paymentModel = [{
|
|
98
|
+
f_payment: self.model.f_payment[0],
|
|
99
|
+
f_money: self.model.f_preamount
|
|
100
|
+
}]
|
|
101
|
+
}
|
|
102
|
+
self.model.payments = self.paymentModel
|
|
103
|
+
|
|
104
|
+
let param = Object.assign({}, {}, self.model)
|
|
105
|
+
param.f_payment = self.model.f_payment.toString()
|
|
106
|
+
param.f_print = self.model.f_print.toString()
|
|
107
|
+
// 加入扫码盒付款码支付流水号
|
|
108
|
+
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
|
|
109
|
+
let res = await self.$resetpost('rs/logic/sale_compensationJB_logic', {data: param}, {
|
|
110
|
+
warnMsg: `确定对客户${self.row.f_user_name}进行调价补差吗?`,
|
|
111
|
+
resolveMsg: '调价补差成功!!',
|
|
112
|
+
rejectMsg: '调价补差出错!!!'
|
|
113
|
+
})
|
|
114
|
+
// 开始打票
|
|
115
|
+
console.log('开始打票', self.config)
|
|
116
|
+
if (self.config.hasPrint) {
|
|
117
|
+
if (self.config.printType != '电子发票') {
|
|
118
|
+
if (self.config.hasBillManage) {
|
|
119
|
+
// 启用发票管理,获取票据管理中的票号并存储记录
|
|
120
|
+
self.row.id = res.data.id
|
|
121
|
+
self.row.f_bill_type = '调价补差'
|
|
122
|
+
self.row.f_bill_style = self.model.f_print[0]
|
|
123
|
+
self.print = true
|
|
124
|
+
} else {
|
|
125
|
+
self.row.id = res.data.id
|
|
126
|
+
self.print = true
|
|
127
|
+
}
|
|
128
|
+
} else if (self.config.printType === '国税发票') {
|
|
129
|
+
// TODO
|
|
130
|
+
} else if (self.config.printType === '电子发票') {
|
|
131
|
+
// TODO
|
|
132
|
+
}
|
|
133
|
+
} else {
|
|
134
|
+
self.$dispatch('success')
|
|
135
|
+
}
|
|
136
|
+
} catch (error) {
|
|
137
|
+
if (error.status === 301) {
|
|
138
|
+
self.$dispatch('refresh')
|
|
139
|
+
} else {
|
|
140
|
+
if (error) {
|
|
141
|
+
self.$showAlert(error, 'danger', 0)
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
self.$dispatch('refresh')
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
let asyncCardMeterCenter = async function (self) {
|
|
149
|
+
await self.$getConfig(self, 'IotCompensation')
|
|
150
|
+
console.log('卡表收费config', self.config)
|
|
151
|
+
self.blodid = self.row.f_userinfo_id
|
|
152
|
+
// 默认打印格式
|
|
153
|
+
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
154
|
+
self.model.f_payment = [self.config.payment]
|
|
155
|
+
self.mulPrint = self.config.printType instanceof Array
|
|
156
|
+
let http = new HttpResetClass()
|
|
157
|
+
let getSurplus = await http.load('POST', 'rs/sql/singleTable_OrderBy',
|
|
158
|
+
{data: {items: "f_user_id,min(id) minid,sum(f_real_amount)f_real_amount,f_userinfo_id,sum(f_surplus_fee) as 'f_surplus_fee'",
|
|
159
|
+
tablename: 't_surplus_detail',
|
|
160
|
+
condition: `f_userinfo_id = '${self.row.f_userinfo_id}' and f_state='有效' and f_whether_pay = '否' GROUP BY f_user_id,f_userinfo_id`,
|
|
161
|
+
orderitem: 'f_userinfo_id'}},
|
|
162
|
+
{resolveMsg: null, rejectMsg: null})
|
|
163
|
+
if (getSurplus.data.length > 0) {
|
|
164
|
+
self.row.f_surplus_id = getSurplus.data[0].minid
|
|
165
|
+
self.model.f_collection = getSurplus.data[0].f_surplus_fee
|
|
166
|
+
self.model.f_surplus_fee= getSurplus.data[0].f_surplus_fee
|
|
167
|
+
self.model.f_real_amount= getSurplus.data[0].f_real_amount
|
|
168
|
+
self.model.f_change_price=getSurplus.data[0].f_change_price
|
|
169
|
+
}
|
|
170
|
+
self.model.f_price = getSurplus.data[0].f_price
|
|
171
|
+
// 获取当前票号用
|
|
172
|
+
self.model.f_use_type = self.config.billType
|
|
173
|
+
self.model.f_bill_type = self.model.f_print
|
|
174
|
+
self.hasValidateBill = self.config.hasBillManage
|
|
175
|
+
}
|
|
176
|
+
export default {
|
|
177
|
+
title: '卡表收费',
|
|
178
|
+
data () {
|
|
179
|
+
return {
|
|
180
|
+
config: {
|
|
181
|
+
notShowFormula: false, // 不显示计算公式,默认显示
|
|
182
|
+
// 控制附件显示
|
|
183
|
+
showupload: false,
|
|
184
|
+
hasPrint: false, // 默认打票
|
|
185
|
+
hasBillManage: false, // 默认不启用发票管理
|
|
186
|
+
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
187
|
+
printType: '普通收据', // 收据/电子票/专用发票/国税发票
|
|
188
|
+
payment: '现金缴费'
|
|
189
|
+
},
|
|
190
|
+
model: {
|
|
191
|
+
f_compensation_type: '调价补费',
|
|
192
|
+
f_print: '',
|
|
193
|
+
f_payment: '',
|
|
194
|
+
f_collection: '',
|
|
195
|
+
f_surplus_fee:'',
|
|
196
|
+
f_real_amount:'',
|
|
197
|
+
f_change_price:''
|
|
198
|
+
},
|
|
199
|
+
blodid: '',
|
|
200
|
+
// 启用发票管理需要对票号进行验证
|
|
201
|
+
hasValidateBill: false,
|
|
202
|
+
validateOk: false,
|
|
203
|
+
print: false,
|
|
204
|
+
billData: {
|
|
205
|
+
url: 'rs/report/compensation_bill',
|
|
206
|
+
billnumber: ''
|
|
207
|
+
},
|
|
208
|
+
paymentModel: [],
|
|
209
|
+
mulPrint: false,
|
|
210
|
+
clickConfirm: false, // 控制确认按钮只能点击一次
|
|
211
|
+
// 下拉框值
|
|
212
|
+
paytype: this.$appdata.getParam('付款方式'),
|
|
213
|
+
printstyle: this.$appdata.getParam('打印格式'),
|
|
214
|
+
compensationTypes: [{label: '调价补费', value: '调价补费'}, {label: '调价退费', value: '调价退费'}]
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
props: ['row'],
|
|
218
|
+
ready () {
|
|
219
|
+
asyncCardMeterCenter(this)
|
|
220
|
+
},
|
|
221
|
+
computed:{
|
|
222
|
+
'curbalance' () {
|
|
223
|
+
if (this.model.f_collection) {
|
|
224
|
+
return ((this.row.f_balance- 0) + ((this.model.f_surplus_fee - 0) - (this.model.f_collection - 0))).toFixed(2)
|
|
225
|
+
} else {
|
|
226
|
+
return this.row.f_balance
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
watch: {
|
|
231
|
+
'model.f_payment.length' (val) {
|
|
232
|
+
console.log('付款方式多选。。', val)
|
|
233
|
+
if (val > 1 && !this.model.f_preamount) {
|
|
234
|
+
this.model.f_payment = ['现金缴费']
|
|
235
|
+
this.$showAlert('请先计算付款金额', 'warning', 2000)
|
|
236
|
+
} else {
|
|
237
|
+
this.paymentModel = []
|
|
238
|
+
|
|
239
|
+
this.model.f_payment.forEach((res) => {
|
|
240
|
+
let temp = {
|
|
241
|
+
f_payment: res,
|
|
242
|
+
f_money: 0
|
|
243
|
+
}
|
|
244
|
+
this.paymentModel.push(temp)
|
|
245
|
+
})
|
|
246
|
+
this.$resetValidation()
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
methods: {
|
|
251
|
+
async confirm () {
|
|
252
|
+
this.clickConfirm = true
|
|
253
|
+
this.$dispatch('no-button')
|
|
254
|
+
this.model.f_userinfo_id = this.row.f_userinfo_id
|
|
255
|
+
this.model.f_userfiles_id = this.row.f_userfiles_id
|
|
256
|
+
this.model.f_surplus_id = this.row.f_surplus_id
|
|
257
|
+
this.model.f_user_id = this.row.f_user_id
|
|
258
|
+
this.model.f_total_fee = (this.row.f_total_fee - 0)
|
|
259
|
+
this.model.f_total_gas = (this.row.f_total_gas - 0)
|
|
260
|
+
this.model.f_balance = this.row.f_balance - 0
|
|
261
|
+
this.model.f_curbalance = this.row.f_curbalance - 0
|
|
262
|
+
this.model.f_user_name = this.row.f_user_name
|
|
263
|
+
this.model.f_user_type = this.row.f_user_type
|
|
264
|
+
this.model.f_meter_type = this.row.f_meter_type
|
|
265
|
+
this.model.f_price_id = this.row.f_price_id
|
|
266
|
+
this.model.f_meter_brand = this.row.f_meter_brand
|
|
267
|
+
this.model.f_meter_style = this.row.f_meter_style
|
|
268
|
+
this.model.f_stairprice_id = this.row.f_stairprice_id
|
|
269
|
+
this.model.f_gasproperties = this.row.f_gasproperties
|
|
270
|
+
this.model.f_address = this.row.f_address
|
|
271
|
+
this.model.f_collection2 = (this.model.f_surplus_fee - 0) - (this.model.f_collection - 0)
|
|
272
|
+
this.model.f_curbalance2 = this.curbalance
|
|
273
|
+
this.model.f_collection = (this.model.f_compensation_type == '调价补费' ? this.model.f_collection : (0 - this.model.f_collection))
|
|
274
|
+
this.model.f_times = this.row.f_times
|
|
275
|
+
this.model.f_type = this.model.f_compensation_type
|
|
276
|
+
this.model.f_state = '有效'
|
|
277
|
+
this.model.f_operat_type = this.model.f_compensation_type
|
|
278
|
+
this.model.f_describe = `${this.$login.f.name}对${this.row.f_user_name}进行${this.model.f_compensation_type}操作`
|
|
279
|
+
this.model.f_operator = this.$login.f.name
|
|
280
|
+
this.model.f_operatorid = this.$login.f.id
|
|
281
|
+
this.model.f_orgid = this.$login.f.orgid
|
|
282
|
+
this.model.f_orgname = this.$login.f.orgs
|
|
283
|
+
this.model.f_depid = this.$login.f.depids
|
|
284
|
+
this.model.f_depname = this.$login.f.deps
|
|
285
|
+
// 先调用付款码支付组件流程
|
|
286
|
+
let ss = await this.$refs.paymentcode.flowPath()
|
|
287
|
+
console.log('付款码操作返回', ss)
|
|
288
|
+
this.$refs.paymentcode.paymentCodeShow = false
|
|
289
|
+
if (!ss.result) return
|
|
290
|
+
compensationChargeGen(this)
|
|
291
|
+
},
|
|
292
|
+
clean () {
|
|
293
|
+
this.$info('取消操作')
|
|
294
|
+
this.$dispatch('refresh', this.row)
|
|
295
|
+
},
|
|
296
|
+
validateBill (val) {
|
|
297
|
+
this.validateOk = !val.isOk
|
|
298
|
+
this.billData.bill = val.bill
|
|
299
|
+
},
|
|
300
|
+
printok () {
|
|
301
|
+
// 收据打完,判断是否还有其他票据进行请求
|
|
302
|
+
for (let i = 0; i < this.model.f_print.length; i++) {
|
|
303
|
+
if (this.model.f_print[i] === '电子发票') {
|
|
304
|
+
this.$CommonService.openEticket(this.row.id, '售气收费')
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
this.$dispatch('success')
|
|
308
|
+
},
|
|
309
|
+
close () {
|
|
310
|
+
this.print = false
|
|
311
|
+
this.clean()
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
</script>
|
|
316
|
+
|
|
317
|
+
<style>
|
|
318
|
+
</style>
|