sale-client 3.6.220 → 3.6.222

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.
@@ -1,5 +1,5 @@
1
1
  var path = require('path')
2
- const [ serverRul, localUrl ] = ['http://120.46.92.69:8700/', 'http://120.46.92.69:8700/']
2
+ const [ serverRul, localUrl ] = ['http://192.168.50.4:8400/', 'http://192.168.50.4:8400/']
3
3
  var merge = require('webpack-merge')
4
4
  var baseConfig = require('./webpack.dev.conf')
5
5
  var devConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.220",
3
+ "version": "3.6.222",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -33,6 +33,11 @@
33
33
  <input class="input_search" placeholder="银行名称" style="width:70%" type="text" v-el:paperaccount
34
34
  v-model="baseinfo.base.f_paper_account">
35
35
  </div>
36
+ <div class="col-sm-4 form-group">
37
+ <label class="font_normal_body" for="f_contact_user">联系人名</label>
38
+ <input class="input_search" placeholder="联系人姓名" style="width:60%" type="text" v-el:contactuser
39
+ v-model="baseinfo.base.f_contact_user" >
40
+ </div>
36
41
  </div>
37
42
  <div class="row">
38
43
  <div class="col-sm-8 form-group">
@@ -163,12 +163,7 @@
163
163
  <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
164
164
  v-model="model.f_serial_number" placeholder="业务单号">
165
165
  </div>
166
- <div class="col-sm-4" v-if="!mjshow && model.f_payment == '银行转账'" >
167
- <label for="f_serial_number" class=" font_normal_body">银行流水</label>
168
- <input class="input_search" style="width:60%" type="text"
169
- v-model="model.f_serial_number" placeholder="银行流水">
170
- </div>
171
- <div class="col-sm-4" v-if="mjshow && model.f_payment == '银行转账'" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
166
+ <div class="col-sm-4" v-if="model.f_payment == '银行转账'" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
172
167
  <label for="f_serial_number" class=" font_normal_body">银行流水</label>
173
168
  <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
174
169
  v-model="model.f_serial_number" placeholder="银行流水">
@@ -92,7 +92,11 @@ export default {
92
92
  resolveMsg: null,
93
93
  rejectMsg: '发票打印失败!!'
94
94
  })
95
- this.return_msg = '开票成功,请前往发票管理页面查看'
95
+ if (result.data.code === '9999') {
96
+ this.return_msg = result.data.msg
97
+ } else {
98
+ this.return_msg = '开票成功,请前往发票管理页面查看'
99
+ }
96
100
  } catch (error) {
97
101
  this.return_msg = '开票失败请前往发票管理页面重试'
98
102
  this.$showAlert('电子发票打印出现异常,请联系管理员!!!', 'warning', 5000)
@@ -122,7 +122,7 @@
122
122
  </v-select>
123
123
  </div>
124
124
  <div class="col-sm-6 form-group form-input-group" :class="[!invoice_type ? 'has-error' : '']">
125
- <nobr class="col-sm-4"><label class="control-label">发票种类:</label></nobr>
125
+ <label class="control-label">发票种类:</label>
126
126
  <v-select v-model="invoice_type"
127
127
  placeholder='请选择'
128
128
  :value.sync="invoice_type"
@@ -122,8 +122,7 @@
122
122
  </v-select>
123
123
  </div>
124
124
  <div class="col-sm-6 form-group form-input-group" :class="[!invoice_type ? 'has-error' : '']">
125
- <nobr class="col-sm-4"><label class="control-label">发票种类:</label></nobr>
126
- <v-select v-model="invoice_type"
125
+ <label class="control-label">发票种类:</label> <v-select v-model="invoice_type"
127
126
  placeholder='请选择'
128
127
  :value.sync="invoice_type"
129
128
  close-on-select
@@ -149,6 +149,9 @@
149
149
  <th>
150
150
  <nobr>发票类型</nobr>
151
151
  </th>
152
+ <th>
153
+ <nobr>开票描述</nobr>
154
+ </th>
152
155
  <th>
153
156
  <nobr>收费时间</nobr>
154
157
  </th>
@@ -184,6 +187,7 @@
184
187
  <th style="text-align:center">{{ row.f_bill_number }}</th>
185
188
  <th style="text-align:center">{{ row.f_bill_state }}</th>
186
189
  <th style="text-align:center">{{ row.f_charge_type }}</th>
190
+ <th style="text-align:center">{{ row.f_sign_result }}</th>
187
191
  <th style="text-align:center">{{ row.sell_operate_date }}</th>
188
192
  <th style="text-align:center">{{ row.f_operate_date }}</th>
189
193
  <th style="text-align:center">{{ row.f_operator }}</th>
@@ -277,7 +277,7 @@
277
277
  <th style="text-align: center;">{{row.f_stair_price2}}</th>
278
278
  <th style="text-align: center;">{{row.f_stair_price3}}</th>
279
279
  <th style="text-align: center;">
280
- <div v-if="!row.f_change_price1">
280
+ <div v-if="!row.f_surplus_fee">
281
281
  <button type="button" name="button" class="btn btn-link"
282
282
  @click.stop="$parent.$parent.$parent.calculation(row) && row.states === 1">调价补差
283
283
  </button>
@@ -313,7 +313,7 @@
313
313
  <th style="text-align: center;">{{row.f_stair_gas3}}</th>
314
314
  <th style="text-align: center;">{{row.f_operate_date}}</th>
315
315
  <th style="text-align: center;">
316
- <button type="button" name="button" class="btn btn-link" v-if="row.f_change_price1"
316
+ <button type="button" name="button" class="btn btn-link" v-if="row.f_surplus_fee"
317
317
  @click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1">冲正
318
318
  </button>
319
319
  <!-- <button type="button" name="button" class="btn btn-link" v-if="!row.f_new_price"-->
@@ -199,7 +199,7 @@
199
199
  <th style="text-align: center;">{{row.f_stair_price2}}</th>
200
200
  <th style="text-align: center;">{{row.f_stair_price3}}</th>
201
201
  <th style="text-align: center;">
202
- <div v-if="!row.f_change_price1">
202
+ <div v-if="!row.f_surplus_fee">
203
203
  <button type="button" name="button" class="btn btn-link"
204
204
  @click.stop="$parent.$parent.$parent.calculation(row) && row.states === 1">调价补差
205
205
  </button>
@@ -244,7 +244,7 @@
244
244
  <th style="text-align: center;">{{row.f_surplus_fee}}</th>
245
245
  <th style="text-align: center;">{{row.f_source}}</th>
246
246
  <th style="text-align: center;">
247
- <button type="button" name="button" class="btn btn-link" v-if="row.f_change_price1"
247
+ <button type="button" name="button" class="btn btn-link" v-if="row.f_surplus_fee"
248
248
  @click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1">冲正
249
249
  </button>
250
250
  </th>
@@ -201,7 +201,7 @@
201
201
  <th style="text-align: center;">{{row.f_stair_price2}}</th>
202
202
  <th style="text-align: center;">{{row.f_stair_price3}}</th>
203
203
  <th style="text-align: center;">
204
- <div v-if="!row.f_change_price1">
204
+ <div v-if="!row.f_surplus_fee">
205
205
  <button type="button" name="button" class="btn btn-link"
206
206
  @click.stop="$parent.$parent.$parent.calculation(row) && row.states === 1">调价补差
207
207
  </button>
@@ -248,7 +248,7 @@
248
248
  <th style="text-align: center;">{{row.f_surplus_fee}}</th>
249
249
  <th style="text-align: center;">{{row.f_source}}</th>
250
250
  <th style="text-align: center;">
251
- <button type="button" name="button" class="btn btn-link" v-if="row.f_change_price1"
251
+ <button type="button" name="button" class="btn btn-link" v-if="row.f_surplus_fee"
252
252
  @click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1">冲正
253
253
  </button>
254
254
  </th>
@@ -495,7 +495,15 @@
495
495
  // if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {
496
496
  // args.condition += `and f_filialeids = '${this.$login.f.f_orgids}'`
497
497
  // }
498
- args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
498
+ if (this.f_orgid) {
499
+ args.condition += `and u.f_orgid in ${this.f_orgid}`
500
+ } else {
501
+ args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
502
+ }
503
+ // args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
504
+ if (this.authArr.includes('操作记录查询公司限定')) {
505
+ args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
506
+ }
499
507
  if (this.authArr.includes('操作记录查询限定')) {
500
508
  args.condition += ` and r.f_operatorid = '${this.$login.f.id}'`
501
509
  }
@@ -277,7 +277,7 @@
277
277
  <th style="text-align: center;">{{row.f_stair_price2}}</th>
278
278
  <th style="text-align: center;">{{row.f_stair_price3}}</th>
279
279
  <th style="text-align: center;">
280
- <div v-if="!row.f_change_price1">
280
+ <div v-if="!row.f_surplus_fee">
281
281
  <button type="button" name="button" class="btn btn-link"
282
282
  @click.stop="$parent.$parent.$parent.calculation(row) && row.states === 1">调价补差
283
283
  </button>
@@ -313,7 +313,7 @@
313
313
  <th style="text-align: center;">{{row.f_stair_gas3}}</th>
314
314
  <th style="text-align: center;">{{row.f_operate_date}}</th>
315
315
  <th style="text-align: center;">
316
- <button type="button" name="button" class="btn btn-link" v-if="row.f_change_price1"
316
+ <button type="button" name="button" class="btn btn-link" v-if="row.f_surplus_fee"
317
317
  @click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1">冲正
318
318
  </button>
319
319
  <!-- <button type="button" name="button" class="btn btn-link" v-if="!row.f_new_price"-->
@@ -199,7 +199,7 @@
199
199
  <th style="text-align: center;">{{row.f_stair_price2}}</th>
200
200
  <th style="text-align: center;">{{row.f_stair_price3}}</th>
201
201
  <th style="text-align: center;">
202
- <div v-if="!row.f_change_price1">
202
+ <div v-if="!row.f_surplus_fee">
203
203
  <button type="button" name="button" class="btn btn-link"
204
204
  @click.stop="$parent.$parent.$parent.calculation(row) && row.states === 1">调价补差
205
205
  </button>
@@ -244,7 +244,7 @@
244
244
  <th style="text-align: center;">{{row.f_surplus_fee}}</th>
245
245
  <th style="text-align: center;">{{row.f_source}}</th>
246
246
  <th style="text-align: center;">
247
- <button type="button" name="button" class="btn btn-link" v-if="row.f_change_price1"
247
+ <button type="button" name="button" class="btn btn-link" v-if="row.f_surplus_fee"
248
248
  @click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1">冲正
249
249
  </button>
250
250
  </th>
@@ -201,7 +201,7 @@
201
201
  <th style="text-align: center;">{{row.f_stair_price2}}</th>
202
202
  <th style="text-align: center;">{{row.f_stair_price3}}</th>
203
203
  <th style="text-align: center;">
204
- <div v-if="!row.f_change_price1">
204
+ <div v-if="!row.f_surplus_fee">
205
205
  <button type="button" name="button" class="btn btn-link"
206
206
  @click.stop="$parent.$parent.$parent.calculation(row) && row.states === 1">调价补差
207
207
  </button>
@@ -248,7 +248,7 @@
248
248
  <th style="text-align: center;">{{row.f_surplus_fee}}</th>
249
249
  <th style="text-align: center;">{{row.f_source}}</th>
250
250
  <th style="text-align: center;">
251
- <button type="button" name="button" class="btn btn-link" v-if="row.f_change_price1"
251
+ <button type="button" name="button" class="btn btn-link" v-if="row.f_surplus_fee"
252
252
  @click.stop="$parent.$parent.$parent.delectHand(row) && row.states === 1">冲正
253
253
  </button>
254
254
  </th>
@@ -346,7 +346,16 @@
346
346
  }
347
347
  }
348
348
  },
349
- openUser () {
349
+ async openUser () {
350
+ let param = {
351
+ tablename: 't_instruct',
352
+ condition: `f_userfiles_id = '${this.row.f_userfiles_id}' and f_instruct_type = '远程开户' and f_instruct_state = '执行成功'`
353
+ }
354
+ let result = await this.$resetpost('rs/sql/saleSingleTable', {data: param},{resolveMsg: '', rejectMsg: ''})
355
+ if (result.data.length > 0) {
356
+ this.$showMessage(`该用户已开户,请勿重复发送指令!!!`, ['confirm'])
357
+ return
358
+ }
350
359
  this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
351
360
  if (res === 'confirm') {
352
361
  let data = {
@@ -184,12 +184,7 @@
184
184
  <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
185
185
  v-model="model.f_serial_number" placeholder="业务单号">
186
186
  </div>
187
- <div class="col-sm-4" v-if="!mjshow && model.f_payment == '银行转账'" >
188
- <label for="f_serial_number" class=" font_normal_body">银行流水</label>
189
- <input class="input_search" style="width:60%" type="text"
190
- v-model="model.f_serial_number" placeholder="银行流水">
191
- </div>
192
- <div class="col-sm-4" v-if="mjshow && model.f_payment == '银行转账'" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
187
+ <div class="col-sm-4" v-if="model.f_payment == '银行转账'" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
193
188
  <label for="f_serial_number" class=" font_normal_body">银行流水</label>
194
189
  <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
195
190
  v-model="model.f_serial_number" placeholder="银行流水">
@@ -133,8 +133,7 @@
133
133
  v-model="row.f_paper_name" placeholder="开票名称">
134
134
  </div>
135
135
  <div class="col-sm-6 form-group form-input-group" :class="[!invoice_type ? 'has-error' : '']">
136
- <nobr class="col-sm-4"><label class="control-label">发票种类:</label></nobr>
137
- <v-select v-model="invoice_type"
136
+ <label class="control-label">发票种类:</label> <v-select v-model="invoice_type"
138
137
  placeholder='请选择'
139
138
  :value.sync="invoice_type"
140
139
  close-on-select
@@ -151,12 +151,7 @@
151
151
  <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
152
152
  v-model="model.f_serial_number" placeholder="业务单号">
153
153
  </div>
154
- <div class="col-sm-4" v-if="!mjshow && model.f_payment == '银行转账'" >
155
- <label for="f_serial_number" class=" font_normal_body">银行流水</label>
156
- <input class="input_search" style="width:60%" type="text"
157
- v-model="model.f_serial_number" placeholder="银行流水">
158
- </div>
159
- <div class="col-sm-4" v-if="mjshow && model.f_payment == '银行转账'" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
154
+ <div class="col-sm-4" v-if="model.f_payment == '银行转账'" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
160
155
  <label for="f_serial_number" class=" font_normal_body">银行流水</label>
161
156
  <input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
162
157
  v-model="model.f_serial_number" placeholder="银行流水">
@@ -158,7 +158,7 @@
158
158
  v-model="row.f_paper_name" placeholder="开票名称">
159
159
  </div>
160
160
  <div class="col-sm-6 form-group form-input-group">
161
- <nobr class="col-sm-4"><label class="control-label">是否征税:</label></nobr>
161
+ <nobr><label class="control-label">是否征税:</label></nobr>
162
162
  <v-select v-model="invoice_is_pax"
163
163
  placeholder='请选择'
164
164
  :value.sync="invoice_is_pax"
@@ -171,7 +171,7 @@
171
171
  </v-select>
172
172
  </div>
173
173
  <div class="col-sm-6 form-group form-input-group" :class="[!invoice_type ? 'has-error' : '']">
174
- <nobr class="col-sm-4"><label class="control-label">发票种类:</label></nobr>
174
+ <label class="control-label">发票种类:</label>
175
175
  <v-select v-model="invoice_type"
176
176
  placeholder='请选择'
177
177
  :value.sync="invoice_type"
@@ -220,7 +220,7 @@
220
220
  <footer slot="modal-footer" class="modal-footer">
221
221
  <button type="button" class="btn button_search"
222
222
  v-if="!diytick"
223
- :disabled="!(row.f_paper_name&&row.f_address_phone)"
223
+ :disabled="!(row.f_paper_name&&row.f_buy_address&&row.f_buy_phone)"
224
224
  @click='confirm'>确认收费
225
225
  </button>
226
226
  <button type="button" class="btn button_search"
@@ -330,7 +330,10 @@
330
330
  f_address_phone: res.data[0].f_address_phone,
331
331
  f_user_id: res.data[0].f_user_id,
332
332
  f_userinfo_id: res.data[0].f_userinfo_id,
333
- f_userfiles_id: res.data[0].f_userfiles_id}
333
+ f_userfiles_id: res.data[0].f_userfiles_id,
334
+ f_buy_phone: res.data[0].f_user_phone,
335
+ f_buy_address: res.data[0].f_address
336
+ }
334
337
  )
335
338
  }
336
339
  )
@@ -19,7 +19,7 @@
19
19
  </template>
20
20
  <script>
21
21
  import {HttpResetClass} from 'vue-client'
22
- import Vue from "vue";
22
+ import Vue from 'vue'
23
23
 
24
24
  export default {
25
25
  title: '电子发票',
@@ -90,7 +90,12 @@ export default {
90
90
  }
91
91
  }
92
92
  // TODO 组织开票数据并保存
93
- const res = await this.$resetpost('/invoice/rs/logic/getInvoice', model, {resolveMsg: null, rejectMsg: '开票请求失败'})
93
+ const res = await this.$resetpost('/invoice/rs/logic/getInvoice', model, {
94
+ resolveMsg: null,
95
+ rejectMsg: '开票请求失败',
96
+ aoteEncrypt: '无',
97
+ encryKey: '无'
98
+ })
94
99
  if (res.data.code === 200 && res.data.data.code == '0000') {
95
100
  this.return_msg = '发票开具成功,请稍后到发票管理页面查看或打印'
96
101
  } else {
@@ -123,7 +128,12 @@ export default {
123
128
  isTax: 1
124
129
  }
125
130
  // TODO 组织开票数据并保存
126
- const res = await this.$resetpost('/invoice/rs/logic/getInvoice', model, {resolveMsg: null, rejectMsg: '开票请求失败'})
131
+ const res = await this.$resetpost('/invoice/rs/logic/getInvoice', model, {
132
+ resolveMsg: null,
133
+ rejectMsg: '开票请求失败',
134
+ aoteEncrypt: '无',
135
+ encryKey: '无'
136
+ })
127
137
  if (res.data.code === 200 && res.data.data.code == '0000') {
128
138
  this.return_msg = '发票开具成功,请稍后到发票管理页面查看或打印'
129
139
  } else {
@@ -145,16 +155,36 @@ export default {
145
155
  f_filialeids: this.$login.f.f_orgids,
146
156
  f_buy_name: custModel.f_paper_name,
147
157
  f_pay_id: custModel.f_taxpayer_id,
148
- f_buy_address: custModel.f_address_phone,
158
+ f_buy_address: custModel.f_buy_address,
159
+ f_buy_phone: custModel.f_buy_phone,
149
160
  f_mail_push: custModel.f_email,
150
161
  f_buy_openbank: custModel.f_paper_account,
162
+ f_userinfo_id: custModel.f_userinfo_id,
151
163
  invoice_show_gas: !!(custModel.amount && custModel.price),
152
- detail_price: {amount: custModel.amount, price: custModel.price, name: custModel.name, money: custModel.money},
153
- is_pax: invoice_is_pax === '征税'
164
+ detail_price: {
165
+ amount: custModel.amount,
166
+ price: custModel.price,
167
+ name: custModel.name,
168
+ money: custModel.money
169
+ },
170
+ is_pax: invoice_is_pax === '征税',
171
+ isTax: invoice_is_pax === '征税' ? 1 : 0,
172
+ invoice_type: 0,
173
+ retry: true
154
174
  }, custModel)
155
175
  // TODO 组织开票数据并保存
156
- let ticket_id = await this.$resetpost('rs/logic/TCcombineCustData', model, {resolveMsg: null, rejectMsg: '保存开票信息失败'})
157
- return this.openEticketGen(ticket_id.data)
176
+ const res = await this.$resetpost('/invoice/rs/logic/customInvoice', model, {
177
+ resolveMsg: null,
178
+ rejectMsg: '开票请求失败',
179
+ aoteEncrypt: '无',
180
+ encryKey: '无'
181
+ }
182
+ )
183
+ if (res.data.code === 200 && res.data.data.code == '0000') {
184
+ this.return_msg = '发票开具成功,请稍后到发票管理页面查看或打印'
185
+ } else {
186
+ this.return_msg = '发票开具失败,请稍后到发票管理页面补打或重开'
187
+ }
158
188
  } catch (error) {
159
189
  this.$showAlert(`电子发票开票失败!!请到发票管理重新开票。错误原因: ${JSON.stringify(error)}。`, 'danger', 0)
160
190
  }
@@ -230,7 +260,7 @@ export default {
230
260
  * */
231
261
  async rushRedInvoice_1 (ticket_id) {
232
262
  try {
233
- // 否则正常打票
263
+ // 否则正常打票
234
264
  let time = 0
235
265
  let result = await this.$resetpost('/invoice/rs/tongchuan/rushRed', {eticket_id: ticket_id}, {
236
266
  resolveMsg: null,
@@ -238,14 +268,14 @@ export default {
238
268
  })
239
269
  result = result.data.RESPONSE_FPXX
240
270
  if (result && result.RETURN_CODE === '0000') {
241
- // TODO 开票成功 保存发票详情
271
+ // TODO 开票成功 保存发票详情
242
272
  await this.save_msg({
243
273
  f_eticket_id: ticket_id,
244
274
  f_bill_state: '等待查询'
245
275
  })
246
- // TODO 开票成功 进行查询
276
+ // TODO 开票成功 进行查询
247
277
  let interval = await setInterval(() => {
248
- // 2秒一轮回
278
+ // 2秒一轮回
249
279
  let http = new HttpResetClass()
250
280
  http.load('POST', '/invoice/rs/tongchuan/queryInvoice', {eticket_id: ticket_id}, {
251
281
  resolveMsg: null,
@@ -264,9 +294,9 @@ export default {
264
294
  req = req.data.RESPONSE_FPXXXZ
265
295
  console.log(req, '查出什么玩意了', time, req.DDBH + '')
266
296
  if (req && req.RETURN_CODE === '0000') {
267
- // 组织数据
297
+ // 组织数据
268
298
  clearInterval(interval)
269
- // TODO 成功后保存发票详情
299
+ // TODO 成功后保存发票详情
270
300
  this.save_msg({
271
301
  f_eticket_id: ticket_id,
272
302
  f_bill_code: req.FPDM,
@@ -280,7 +310,7 @@ export default {
280
310
  this.eticket_src = req.PDF_RED_URL
281
311
  } else if (req && req.RETURN_CODE !== '0011') {
282
312
  clearInterval(interval)
283
- // TODO 失败后保存发票详情
313
+ // TODO 失败后保存发票详情
284
314
  this.save_msg({
285
315
  f_eticket_id: ticket_id,
286
316
  f_sign_result: req.RETURN_MESSAGE,
@@ -289,8 +319,8 @@ export default {
289
319
  this.return_msg = '电子票查询出错,错误【' + req.RETURN_MESSAGE + '】,错误代码【' + req.RETURN_CODE + '】,请前往发票管理重新尝试'
290
320
  } else {
291
321
  if (time == 80) {
292
- // 三十秒后无效
293
- // TODO 查询失败后保存发票详情
322
+ // 三十秒后无效
323
+ // TODO 查询失败后保存发票详情
294
324
  this.save_msg({
295
325
  f_eticket_id: ticket_id,
296
326
  f_sign_result: '查询超时请再次尝试。',
@@ -304,7 +334,7 @@ export default {
304
334
  })
305
335
  }, 1 * 2000)
306
336
  } else if (result) {
307
- // TODO 查询失败后保存发票详情
337
+ // TODO 查询失败后保存发票详情
308
338
  await this.save_msg({
309
339
  f_eticket_id: ticket_id,
310
340
  f_sign_result: result.RETURN_MESSAGE,
package/src/main.js CHANGED
@@ -3,7 +3,7 @@ import all from 'vue-client/src/all'
3
3
  import App from './App'
4
4
  import system from 'system-clients/src/system'
5
5
  import sale from './sale'
6
- import FilialeSale from './filiale/yuncheng/sale'
6
+ import FilialeSale from './filiale/tongchuan/sale'
7
7
  import address from 'address-client/src/address'
8
8
  import ldap from 'ldap-clients/src/ldap'
9
9
  import VueClipboard from 'vue-clipboard2'