sale-client 3.6.38 → 3.6.40
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/revenue/Common/EticketPrint.vue +211 -211
- package/src/components/revenue/comprehen/Bill/Eticket/EticketOpenCard.vue +335 -305
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketManage.vue +57 -60
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenJBPage.vue +336 -307
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenPage.vue +328 -305
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketRecordList.vue +269 -274
- package/src/components/revenue/comprehen/replacement/replaceMentList.vue +13 -13
- package/src/filiale/qianneng/components/thirdSurplus.vue +364 -0
- package/src/filiale/qianneng/eticket/EticketPrint.vue +2 -2
- package/src/filiale/qianneng/sale.js +2 -0
- package/src/filiale/rizhao/HighMeterCard.vue +50 -18
- package/src/filiale/rizhao/replaceMentList.vue +4 -4
- package/src/filiale/zhongyi/FileUserFiles.vue +1017 -1020
- package/src/main.js +3 -2
- package/src/sale.js +1162 -1162
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [localUrl, serverRul] = ['
|
|
2
|
+
const [localUrl, serverRul] = ['http://60.222.250.39:8300/', 'http://60.222.250.39:8300/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -1,211 +1,211 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto form-horizontal">
|
|
3
|
-
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
-
<header slot="modal-header" class="modal-header">
|
|
5
|
-
<h3 style="color:black" class="modal-title">收费电子发票</h3>
|
|
6
|
-
</header>
|
|
7
|
-
<article slot="modal-body" class="modal-body">
|
|
8
|
-
<div class="row" style="display: flex;justify-content: center;" v-if="!eticket_src">
|
|
9
|
-
{{ return_msg }}
|
|
10
|
-
</div>
|
|
11
|
-
<iframe :src="eticket_src" v-if="eticket_src" width="100%" height="500px">
|
|
12
|
-
</iframe>
|
|
13
|
-
</article>
|
|
14
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
15
|
-
<button type="button" class="btn btn-default" @click="cancel">{{ '关闭' }}</button>
|
|
16
|
-
</footer>
|
|
17
|
-
</modal>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
<script>
|
|
21
|
-
import {HttpResetClass} from 'vue-client'
|
|
22
|
-
import Vue from 'vue'
|
|
23
|
-
import axios from "axios";
|
|
24
|
-
|
|
25
|
-
export default {
|
|
26
|
-
title: '电子发票',
|
|
27
|
-
data () {
|
|
28
|
-
return {
|
|
29
|
-
eticket_src: '',
|
|
30
|
-
return_msg: '航信收到开票请求,正在查询开票状态,请稍后',
|
|
31
|
-
show: true
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
props: ['show'],
|
|
35
|
-
ready () {
|
|
36
|
-
},
|
|
37
|
-
methods: {
|
|
38
|
-
cancel () {
|
|
39
|
-
console.log('电子哈哈哈,你走了没')
|
|
40
|
-
this.eticket_src = ''
|
|
41
|
-
this.return_msg = '正在查询中,请稍后'
|
|
42
|
-
this.$dispatch('toggle')
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* src赋值 外部调用
|
|
46
|
-
* */
|
|
47
|
-
watch_ch (src) {
|
|
48
|
-
this.eticket_src = src
|
|
49
|
-
},
|
|
50
|
-
/** 冲红
|
|
51
|
-
* */
|
|
52
|
-
async rushRedInvoice (data) {
|
|
53
|
-
try {
|
|
54
|
-
// 否则正常打票
|
|
55
|
-
let result = await axios.post('/invoice/rs/logic/getInvoice', Object.assign(data, {invoice_type: 1}), {
|
|
56
|
-
resolveMsg: null,
|
|
57
|
-
rejectMsg: '发票冲红失败!!'
|
|
58
|
-
})
|
|
59
|
-
this.return_msg = '冲红成功请前往发票管理页面查看'
|
|
60
|
-
} catch (error) {
|
|
61
|
-
this.return_msg = '冲红失败请前往发票管理页面重试'
|
|
62
|
-
this.$showAlert('电子票冲红出现异常,请联系管理员!!!', 'warning', 5000)
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @param id 收费id
|
|
68
|
-
* @param ticket_id 票据信息 id
|
|
69
|
-
* @returns {Promise<void>} 如果查到返回url
|
|
70
|
-
*/
|
|
71
|
-
async openETicket (id, model, f_charge_type) {
|
|
72
|
-
try {
|
|
73
|
-
let result = await axios.post('/invoice/rs/logic/getInvoice', Object.assign({
|
|
74
|
-
id,
|
|
75
|
-
f_charge_type,
|
|
76
|
-
f_paper_name: model.f_paper_name,
|
|
77
|
-
f_taxpayer_id: model.f_taxpayer_id,
|
|
78
|
-
f_address_phone: model.f_address_phone,
|
|
79
|
-
f_email: model.f_email,
|
|
80
|
-
org_id: this.$login.f.orgid,
|
|
81
|
-
loginInfo: {
|
|
82
|
-
operator: Vue.$login.f.name,
|
|
83
|
-
operator_id: Vue.$login.f.id,
|
|
84
|
-
org_id: Vue.$login.f.orgid,
|
|
85
|
-
orgname: Vue.$login.f.orgs,
|
|
86
|
-
dep_id: Vue.$login.f.depids,
|
|
87
|
-
depname: Vue.$login.f.deps
|
|
88
|
-
}
|
|
89
|
-
}, {f_invoice_type: 0}), {
|
|
90
|
-
resolveMsg: null,
|
|
91
|
-
rejectMsg: '发票打印失败!!'
|
|
92
|
-
})
|
|
93
|
-
this.return_msg = '
|
|
94
|
-
} catch (error) {
|
|
95
|
-
this.return_msg = '开票失败请前往发票管理页面重试'
|
|
96
|
-
this.$showAlert('电子发票打印出现异常,请联系管理员!!!', 'warning', 5000)
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
//* 公用保存信息接口 弃用 最新电子票接口自己保存 营收不做保存操作
|
|
101
|
-
// async save_msg (obj) {
|
|
102
|
-
// let model = {
|
|
103
|
-
// id: obj.f_eticket_id,
|
|
104
|
-
// f_bill_code: obj.f_bill_code ? obj.f_bill_code : undefined,
|
|
105
|
-
// f_bill_number: obj.f_bill_number ? obj.f_bill_number : undefined,
|
|
106
|
-
// f_jym: obj.f_jym ? obj.f_jym : undefined,
|
|
107
|
-
// f_bill_url: obj.f_bill_url ? obj.f_bill_url : undefined,
|
|
108
|
-
// f_red_url: obj.f_red_url ? obj.f_red_url : undefined,
|
|
109
|
-
// f_bill_state: obj.f_bill_state,
|
|
110
|
-
// f_sign_result: obj.f_sign_result ? obj.f_sign_result : undefined,
|
|
111
|
-
// f_sign_time: obj.f_sign_time ? obj.f_sign_time : undefined
|
|
112
|
-
// }
|
|
113
|
-
// await this.$resetpost('rs/entity/t_eticket', model, {resolveMsg: null, rejectMsg: '保存发票记录失败'})
|
|
114
|
-
// },
|
|
115
|
-
// 弃用 最新电子票接口自己开票组装数据 营收不做组装数据操作
|
|
116
|
-
// async openETicket (sellId, row, show_gas, is_pax, type) {
|
|
117
|
-
// try {
|
|
118
|
-
// let model = {
|
|
119
|
-
// id: sellId,
|
|
120
|
-
// f_charge_type: type,
|
|
121
|
-
// f_dept_id: this.$login.f.depids,
|
|
122
|
-
// f_operator: this.$login.f.name,
|
|
123
|
-
// f_orgid: this.$login.f.orgid,
|
|
124
|
-
// f_orgname: this.$login.f.orgs,
|
|
125
|
-
// f_depname: this.$login.f.deps,
|
|
126
|
-
// f_operatorid: this.$login.f.id,
|
|
127
|
-
// f_filialeids: this.$login.f.f_orgids,
|
|
128
|
-
// f_buy_name: row.f_paper_name,
|
|
129
|
-
// f_pay_id: row.f_taxpayer_id,
|
|
130
|
-
// f_buy_address: row.f_address_phone,
|
|
131
|
-
// f_mail_push: row.f_email,
|
|
132
|
-
// f_buy_openbank: row.f_paper_account,
|
|
133
|
-
// invoice_show_gas: show_gas === '是',
|
|
134
|
-
// is_pax: is_pax === '征税'
|
|
135
|
-
// }
|
|
136
|
-
// console.log('组织开票数据并保存', model)
|
|
137
|
-
// // TODO 组织开票数据并保存
|
|
138
|
-
// let ticket_id = await this.$resetpost('rs/logic/TCcombineData', model, {resolveMsg: null, rejectMsg: '保存开票信息失败'})
|
|
139
|
-
// return this.openEticketGen(ticket_id.data)
|
|
140
|
-
// } catch (error) {
|
|
141
|
-
// this.$showAlert(`电子发票开票失败!!请到发票管理重新开票。错误原因: ${JSON.stringify(error)}。`, 'danger', 0)
|
|
142
|
-
// }
|
|
143
|
-
// },
|
|
144
|
-
/**
|
|
145
|
-
* 电票查询 外部调用
|
|
146
|
-
* 弃用 最新电子票接口自己定时器查询发票 不需要用户手动查询
|
|
147
|
-
* */
|
|
148
|
-
// fp_search (row, ticket_id) {
|
|
149
|
-
// // 通过收费记录id查询
|
|
150
|
-
// let http = new HttpResetClass()
|
|
151
|
-
// http.load('POST', '/invoice/rs/tongchuan/queryInvoice', {eticket_id: ticket_id}, {
|
|
152
|
-
// resolveMsg: null,
|
|
153
|
-
// rejectMsg: null
|
|
154
|
-
// }).then((req) => {
|
|
155
|
-
// if (!req.data.RESPONSE_FPXXXZ) {
|
|
156
|
-
// this.$showAlert('电子票查询出错,暂无错误信息.请联系管理员', 'danger', 5000)
|
|
157
|
-
// return
|
|
158
|
-
// }
|
|
159
|
-
// req = req.data.RESPONSE_FPXXXZ
|
|
160
|
-
// let model
|
|
161
|
-
// if (req.RETURN_CODE === '0000') {
|
|
162
|
-
// if (req.PDF_URL) {
|
|
163
|
-
// model = {
|
|
164
|
-
// id: ticket_id,
|
|
165
|
-
// f_bill_code: req.FPDM,
|
|
166
|
-
// f_bill_number: req.FPHM,
|
|
167
|
-
// f_jym: req.INVOICE_CHECK_CODE,
|
|
168
|
-
// f_bill_url: req.PDF_URL,
|
|
169
|
-
// f_bill_state: '开票成功',
|
|
170
|
-
// f_sign_result: req.RETURN_MESSAGE
|
|
171
|
-
// }
|
|
172
|
-
// this.eticket_src = req.PDF_URL
|
|
173
|
-
// } else if (req.PDF_RED_URL) {
|
|
174
|
-
// model = {
|
|
175
|
-
// id: ticket_id,
|
|
176
|
-
// f_bill_code: req.FPDM,
|
|
177
|
-
// f_bill_number: req.FPHM,
|
|
178
|
-
// f_jym: req.INVOICE_CHECK_CODE,
|
|
179
|
-
// f_red_url: req.PDF_RED_URL,
|
|
180
|
-
// f_bill_state: '冲红',
|
|
181
|
-
// f_sign_result: req.RETURN_MESSAGE
|
|
182
|
-
// }
|
|
183
|
-
// this.eticket_src = req.PDF_RED_URL
|
|
184
|
-
// }
|
|
185
|
-
// } else if (req.RETURN_CODE === '0011') {
|
|
186
|
-
// model = {
|
|
187
|
-
// id: ticket_id,
|
|
188
|
-
// f_bill_state: '等待查询',
|
|
189
|
-
// f_sign_result: req.RETURN_MESSAGE
|
|
190
|
-
// }
|
|
191
|
-
// this.return_msg = '请稍后再试。' + req.RETURN_MESSAGE
|
|
192
|
-
// } else {
|
|
193
|
-
// model = {
|
|
194
|
-
// id: row.id,
|
|
195
|
-
// f_bill_state: '开票失败',
|
|
196
|
-
// f_sign_result: req.RETURN_MESSAGE
|
|
197
|
-
// }
|
|
198
|
-
// this.return_msg = ' 开票失败。' + req.RETURN_MESSAGE
|
|
199
|
-
// }
|
|
200
|
-
// this.$resetpost('rs/entity/t_eticket', model, {resolveMsg: null, rejectMsg: '保存发票记录失败'}).then(
|
|
201
|
-
// res => this.$dispatch('search')
|
|
202
|
-
// )
|
|
203
|
-
// })
|
|
204
|
-
// },
|
|
205
|
-
},
|
|
206
|
-
watch: {},
|
|
207
|
-
events: {}
|
|
208
|
-
}
|
|
209
|
-
</script>
|
|
210
|
-
<style>
|
|
211
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto form-horizontal">
|
|
3
|
+
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
<h3 style="color:black" class="modal-title">收费电子发票</h3>
|
|
6
|
+
</header>
|
|
7
|
+
<article slot="modal-body" class="modal-body">
|
|
8
|
+
<div class="row" style="display: flex;justify-content: center;" v-if="!eticket_src">
|
|
9
|
+
{{ return_msg }}
|
|
10
|
+
</div>
|
|
11
|
+
<iframe :src="eticket_src" v-if="eticket_src" width="100%" height="500px">
|
|
12
|
+
</iframe>
|
|
13
|
+
</article>
|
|
14
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
15
|
+
<button type="button" class="btn btn-default" @click="cancel">{{ '关闭' }}</button>
|
|
16
|
+
</footer>
|
|
17
|
+
</modal>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
<script>
|
|
21
|
+
import {HttpResetClass} from 'vue-client'
|
|
22
|
+
import Vue from 'vue'
|
|
23
|
+
import axios from "axios";
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
title: '电子发票',
|
|
27
|
+
data () {
|
|
28
|
+
return {
|
|
29
|
+
eticket_src: '',
|
|
30
|
+
return_msg: '航信收到开票请求,正在查询开票状态,请稍后',
|
|
31
|
+
show: true
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
props: ['show'],
|
|
35
|
+
ready () {
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
cancel () {
|
|
39
|
+
console.log('电子哈哈哈,你走了没')
|
|
40
|
+
this.eticket_src = ''
|
|
41
|
+
this.return_msg = '正在查询中,请稍后'
|
|
42
|
+
this.$dispatch('toggle')
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
* src赋值 外部调用
|
|
46
|
+
* */
|
|
47
|
+
watch_ch (src) {
|
|
48
|
+
this.eticket_src = src
|
|
49
|
+
},
|
|
50
|
+
/** 冲红
|
|
51
|
+
* */
|
|
52
|
+
async rushRedInvoice (data) {
|
|
53
|
+
try {
|
|
54
|
+
// 否则正常打票
|
|
55
|
+
let result = await axios.post('/invoice/rs/logic/getInvoice', Object.assign(data, {invoice_type: 1}), {
|
|
56
|
+
resolveMsg: null,
|
|
57
|
+
rejectMsg: '发票冲红失败!!'
|
|
58
|
+
})
|
|
59
|
+
this.return_msg = '冲红成功请前往发票管理页面查看'
|
|
60
|
+
} catch (error) {
|
|
61
|
+
this.return_msg = '冲红失败请前往发票管理页面重试'
|
|
62
|
+
this.$showAlert('电子票冲红出现异常,请联系管理员!!!', 'warning', 5000)
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param id 收费id
|
|
68
|
+
* @param ticket_id 票据信息 id
|
|
69
|
+
* @returns {Promise<void>} 如果查到返回url
|
|
70
|
+
*/
|
|
71
|
+
async openETicket (id, model, f_charge_type) {
|
|
72
|
+
try {
|
|
73
|
+
let result = await axios.post('/invoice/rs/logic/getInvoice', Object.assign({
|
|
74
|
+
id,
|
|
75
|
+
f_charge_type,
|
|
76
|
+
f_paper_name: model.f_paper_name,
|
|
77
|
+
f_taxpayer_id: model.f_taxpayer_id,
|
|
78
|
+
f_address_phone: model.f_address_phone,
|
|
79
|
+
f_email: model.f_email,
|
|
80
|
+
org_id: this.$login.f.orgid,
|
|
81
|
+
loginInfo: {
|
|
82
|
+
operator: Vue.$login.f.name,
|
|
83
|
+
operator_id: Vue.$login.f.id,
|
|
84
|
+
org_id: Vue.$login.f.orgid,
|
|
85
|
+
orgname: Vue.$login.f.orgs,
|
|
86
|
+
dep_id: Vue.$login.f.depids,
|
|
87
|
+
depname: Vue.$login.f.deps
|
|
88
|
+
}
|
|
89
|
+
}, {f_invoice_type: 0}), {
|
|
90
|
+
resolveMsg: null,
|
|
91
|
+
rejectMsg: '发票打印失败!!'
|
|
92
|
+
})
|
|
93
|
+
this.return_msg = '开票成功,请前往发票管理页面查看'
|
|
94
|
+
} catch (error) {
|
|
95
|
+
this.return_msg = '开票失败请前往发票管理页面重试'
|
|
96
|
+
this.$showAlert('电子发票打印出现异常,请联系管理员!!!', 'warning', 5000)
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
//* 公用保存信息接口 弃用 最新电子票接口自己保存 营收不做保存操作
|
|
101
|
+
// async save_msg (obj) {
|
|
102
|
+
// let model = {
|
|
103
|
+
// id: obj.f_eticket_id,
|
|
104
|
+
// f_bill_code: obj.f_bill_code ? obj.f_bill_code : undefined,
|
|
105
|
+
// f_bill_number: obj.f_bill_number ? obj.f_bill_number : undefined,
|
|
106
|
+
// f_jym: obj.f_jym ? obj.f_jym : undefined,
|
|
107
|
+
// f_bill_url: obj.f_bill_url ? obj.f_bill_url : undefined,
|
|
108
|
+
// f_red_url: obj.f_red_url ? obj.f_red_url : undefined,
|
|
109
|
+
// f_bill_state: obj.f_bill_state,
|
|
110
|
+
// f_sign_result: obj.f_sign_result ? obj.f_sign_result : undefined,
|
|
111
|
+
// f_sign_time: obj.f_sign_time ? obj.f_sign_time : undefined
|
|
112
|
+
// }
|
|
113
|
+
// await this.$resetpost('rs/entity/t_eticket', model, {resolveMsg: null, rejectMsg: '保存发票记录失败'})
|
|
114
|
+
// },
|
|
115
|
+
// 弃用 最新电子票接口自己开票组装数据 营收不做组装数据操作
|
|
116
|
+
// async openETicket (sellId, row, show_gas, is_pax, type) {
|
|
117
|
+
// try {
|
|
118
|
+
// let model = {
|
|
119
|
+
// id: sellId,
|
|
120
|
+
// f_charge_type: type,
|
|
121
|
+
// f_dept_id: this.$login.f.depids,
|
|
122
|
+
// f_operator: this.$login.f.name,
|
|
123
|
+
// f_orgid: this.$login.f.orgid,
|
|
124
|
+
// f_orgname: this.$login.f.orgs,
|
|
125
|
+
// f_depname: this.$login.f.deps,
|
|
126
|
+
// f_operatorid: this.$login.f.id,
|
|
127
|
+
// f_filialeids: this.$login.f.f_orgids,
|
|
128
|
+
// f_buy_name: row.f_paper_name,
|
|
129
|
+
// f_pay_id: row.f_taxpayer_id,
|
|
130
|
+
// f_buy_address: row.f_address_phone,
|
|
131
|
+
// f_mail_push: row.f_email,
|
|
132
|
+
// f_buy_openbank: row.f_paper_account,
|
|
133
|
+
// invoice_show_gas: show_gas === '是',
|
|
134
|
+
// is_pax: is_pax === '征税'
|
|
135
|
+
// }
|
|
136
|
+
// console.log('组织开票数据并保存', model)
|
|
137
|
+
// // TODO 组织开票数据并保存
|
|
138
|
+
// let ticket_id = await this.$resetpost('rs/logic/TCcombineData', model, {resolveMsg: null, rejectMsg: '保存开票信息失败'})
|
|
139
|
+
// return this.openEticketGen(ticket_id.data)
|
|
140
|
+
// } catch (error) {
|
|
141
|
+
// this.$showAlert(`电子发票开票失败!!请到发票管理重新开票。错误原因: ${JSON.stringify(error)}。`, 'danger', 0)
|
|
142
|
+
// }
|
|
143
|
+
// },
|
|
144
|
+
/**
|
|
145
|
+
* 电票查询 外部调用
|
|
146
|
+
* 弃用 最新电子票接口自己定时器查询发票 不需要用户手动查询
|
|
147
|
+
* */
|
|
148
|
+
// fp_search (row, ticket_id) {
|
|
149
|
+
// // 通过收费记录id查询
|
|
150
|
+
// let http = new HttpResetClass()
|
|
151
|
+
// http.load('POST', '/invoice/rs/tongchuan/queryInvoice', {eticket_id: ticket_id}, {
|
|
152
|
+
// resolveMsg: null,
|
|
153
|
+
// rejectMsg: null
|
|
154
|
+
// }).then((req) => {
|
|
155
|
+
// if (!req.data.RESPONSE_FPXXXZ) {
|
|
156
|
+
// this.$showAlert('电子票查询出错,暂无错误信息.请联系管理员', 'danger', 5000)
|
|
157
|
+
// return
|
|
158
|
+
// }
|
|
159
|
+
// req = req.data.RESPONSE_FPXXXZ
|
|
160
|
+
// let model
|
|
161
|
+
// if (req.RETURN_CODE === '0000') {
|
|
162
|
+
// if (req.PDF_URL) {
|
|
163
|
+
// model = {
|
|
164
|
+
// id: ticket_id,
|
|
165
|
+
// f_bill_code: req.FPDM,
|
|
166
|
+
// f_bill_number: req.FPHM,
|
|
167
|
+
// f_jym: req.INVOICE_CHECK_CODE,
|
|
168
|
+
// f_bill_url: req.PDF_URL,
|
|
169
|
+
// f_bill_state: '开票成功',
|
|
170
|
+
// f_sign_result: req.RETURN_MESSAGE
|
|
171
|
+
// }
|
|
172
|
+
// this.eticket_src = req.PDF_URL
|
|
173
|
+
// } else if (req.PDF_RED_URL) {
|
|
174
|
+
// model = {
|
|
175
|
+
// id: ticket_id,
|
|
176
|
+
// f_bill_code: req.FPDM,
|
|
177
|
+
// f_bill_number: req.FPHM,
|
|
178
|
+
// f_jym: req.INVOICE_CHECK_CODE,
|
|
179
|
+
// f_red_url: req.PDF_RED_URL,
|
|
180
|
+
// f_bill_state: '冲红',
|
|
181
|
+
// f_sign_result: req.RETURN_MESSAGE
|
|
182
|
+
// }
|
|
183
|
+
// this.eticket_src = req.PDF_RED_URL
|
|
184
|
+
// }
|
|
185
|
+
// } else if (req.RETURN_CODE === '0011') {
|
|
186
|
+
// model = {
|
|
187
|
+
// id: ticket_id,
|
|
188
|
+
// f_bill_state: '等待查询',
|
|
189
|
+
// f_sign_result: req.RETURN_MESSAGE
|
|
190
|
+
// }
|
|
191
|
+
// this.return_msg = '请稍后再试。' + req.RETURN_MESSAGE
|
|
192
|
+
// } else {
|
|
193
|
+
// model = {
|
|
194
|
+
// id: row.id,
|
|
195
|
+
// f_bill_state: '开票失败',
|
|
196
|
+
// f_sign_result: req.RETURN_MESSAGE
|
|
197
|
+
// }
|
|
198
|
+
// this.return_msg = ' 开票失败。' + req.RETURN_MESSAGE
|
|
199
|
+
// }
|
|
200
|
+
// this.$resetpost('rs/entity/t_eticket', model, {resolveMsg: null, rejectMsg: '保存发票记录失败'}).then(
|
|
201
|
+
// res => this.$dispatch('search')
|
|
202
|
+
// )
|
|
203
|
+
// })
|
|
204
|
+
// },
|
|
205
|
+
},
|
|
206
|
+
watch: {},
|
|
207
|
+
events: {}
|
|
208
|
+
}
|
|
209
|
+
</script>
|
|
210
|
+
<style>
|
|
211
|
+
</style>
|