sale-client 3.6.40 → 3.6.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.40",
3
+ "version": "3.6.42",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -142,7 +142,7 @@
142
142
  @click="$parent.$parent.$parent.kp(row)">开票
143
143
  </button>
144
144
  <button class="btn btn-link" v-if="row.f_bill_state==='开票失败'"
145
- @click="$parent.$parent.$parent.kp(row)">重新开票
145
+ @click="$parent.$parent.$parent.Rekp(row)">重新开票
146
146
  </button>
147
147
  <!-- <button class="btn btn-link" v-if="['查询失败','等待查询'].includes(row.f_bill_state)"-->
148
148
  <!-- @click="$parent.$parent.$parent.fp_search(row)">电票查询-->
@@ -208,6 +208,15 @@ export default {
208
208
  ready () {
209
209
  },
210
210
  methods: {
211
+ async Rekp (row) {
212
+ this.eticket_show = true
213
+ row.f_paper_name = row.f_user_name
214
+ row.f_email = row.f_mail_push
215
+ row.f_taxpayer_id = row.f_pay_id
216
+ row.f_address_phone = row.f_buy_address_phone
217
+ row.f_paper_accoun = row.f_buy_openbank
218
+ await this.$refs.eticketbill.openETicket(row.f_sell_id, row, row.f_charge_type)
219
+ },
211
220
  search () {
212
221
  this.$refs.paged.$refs.cri.search()
213
222
  },
@@ -237,7 +246,7 @@ export default {
237
246
  },
238
247
  kp (row) {
239
248
  this.eticket_show = true
240
- this.$refs.eticketbill.openEticketGen(row.id)
249
+ this.$refs.eticketbill.openETicket(row.f_sell_id, row, row.f_charge_type)
241
250
  },
242
251
  eticket_toggle () {
243
252
  this.eticket_show = false
@@ -168,7 +168,7 @@
168
168
  <button class="button_clear btn-gn" @click="clean()">取消</button>
169
169
  </div>
170
170
  </validator>
171
- <upload :blodid="blodid" v-if="config.showupload" isremark="true" fusetype="其他收费"></upload>
171
+ <upload :blodid="row.f_userinfo_id" v-if="config.showupload" isremark="true" fusetype="其他收费"></upload>
172
172
  </div>
173
173
  <payment-code v-ref:paymentcode :payment="model.f_payment" :row="row" :money="model.f_collection"></payment-code>
174
174
  <mis-pos-pay v-ref:mispospay :payment="model.f_payment" :row="row" :money="model.f_collection"></mis-pos-pay>
@@ -14,7 +14,6 @@
14
14
  <button class="btn btn-info" @click="cam_switch(1)">打开视频1</button>
15
15
  <button class="btn btn-info" @click="cam_switch(2)">打开视频2</button>
16
16
  <button class="btn btn-info" @click="reloadVideo()">重载视频</button>
17
- <!-- <button class="btn btn-info" @click="CloseVideo()">关闭</button>-->
18
17
  <div style="display: inline-block;margin-left: 570px">
19
18
  <strong class="operation">读取身份证:</strong>
20
19
  <button class="btn btn-info readIDCard" @click=Begin()>读身份证</button>
@@ -217,13 +216,6 @@ export default {
217
216
  setTimeout(this.onLoad,2000)
218
217
  })
219
218
  },
220
- CloseVideo(){
221
- window.location.href = 'cameraServicetis:0'
222
- let url = `http://127.0.0.1:38088/video=close&camidx=${this.capID}`
223
- this.$resetpost(url).then((res)=>{
224
- setTimeout(this.onLoad,2000)
225
- })
226
- },
227
219
  openApp () {
228
220
  window.location.href = 'cameraServicetis:0' // 启动 CameraService 服务程序
229
221
 
@@ -508,9 +500,9 @@ export default {
508
500
  // //设置颜色模式 只针对截图
509
501
  bb () {
510
502
  let camidx = 0
511
- if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=0') {
503
+ if (this.capID === 1) {
512
504
  camidx = 0
513
- } else if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=1') {
505
+ } else if (this.capID === 2) {
514
506
  camidx = 1
515
507
  } else {
516
508
  this.$showAlert('请先打开视频', 'warning', 2000)
@@ -945,14 +937,13 @@ export default {
945
937
  document.getElementById('Police').value = msg.issueOrgan
946
938
  document.getElementById('ActivityLFrom').value = msg.validStart
947
939
  document.getElementById('ActivityLTo').value = msg.validEnd
948
- // document.getElementById('DeviceNo').value = msg.validEnd
949
940
  document.getElementById('PhotoBuffer').value = msg.fingerBase64
950
941
  document.getElementById('PhotoDisplay').src = 'data:image/jpg;base64,' + msg.photoBase64
951
942
  this.IdCardInfo = msg
952
943
  },
953
944
  close () {
945
+
954
946
  this.show = !this.show
955
- this.CloseVideo()
956
947
  },
957
948
  getSatate(){
958
949
  this.$resetpost('http://127.0.0.1:38088/video=status').then((res)=>{
@@ -332,6 +332,7 @@ export default {
332
332
  if (this.fileSaveData.userinfo.f_userinfo_id) {
333
333
  if (this.row.f_user_state === '预备' && this.fileSaveData.userinfo.f_user_state === '正常') {
334
334
  this.fileSaveData.userinfo.f_createfile_person = this.$login.f.name
335
+ this.fileSaveData.userinfo.f_open_date = this.$login.toStandardTimeString()
335
336
  this.fileSaveData.modifyReason = this.reason = '建档(档案信息完善)'
336
337
  } else {
337
338
  this.reason = '其他'