sale-client 3.5.105 → 3.5.106

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.5.105",
3
+ "version": "3.5.106",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -520,7 +520,7 @@ let asyncMachineMeterCenter = async function (self) {
520
520
  console.log('付款码操作返回', misposRes)
521
521
  if (!misposRes.result) return
522
522
 
523
- // machineChargeGen(this)
523
+ machineChargeGen(this)
524
524
  }
525
525
  })
526
526
  },
@@ -0,0 +1,76 @@
1
+ <template>
2
+ <div class="auto" style="overflow:auto;">
3
+ <validator name='v'>
4
+ <form novalidate class="form-horizontal">
5
+ <div class="row auto" >
6
+
7
+ </div>
8
+
9
+ <div style="text-align:right;height:auto;">
10
+ <button class="button_search" type="button" @click="saveobj()"
11
+ >确认
12
+ </button>
13
+ <button class="button_clear" type="button" @click="clean()" >取消
14
+ </button>
15
+ </div>
16
+ </form>
17
+ </validator>
18
+ </div>
19
+ </template>
20
+ <script>
21
+ /**
22
+ */
23
+ import { HttpResetClass } from 'vue-client'
24
+ export default {
25
+ title: '再装表',
26
+ data () {
27
+ return {
28
+ }
29
+ },
30
+ props: ['row'],
31
+ ready () {
32
+
33
+ },
34
+ events: {
35
+
36
+ },
37
+ methods: {
38
+ // 返回
39
+ clean () {
40
+ this.$dispatch('success', '再装表', this.row)
41
+ },
42
+ async saveobj () {
43
+ let data = {
44
+ f_userfiles_id: {
45
+ f_userfiles_id: this.row.f_userfiles_id,
46
+ f_table_state: '正常',
47
+ version: this.row.version
48
+ },
49
+ f_meter_type: this.row.f_meter_type,
50
+ f_userfile_id: this.row.f_userfiles_id,
51
+ f_user_id: this.row.f_user_id,
52
+ f_userinfo_id: this.row.f_userinfo_id,
53
+ f_user_name: this.row.f_user_name,
54
+ f_operat_type: '再装表',
55
+ f_describe: `${this.$login.f.name}对客户${this.row.f_user_name}进行再装表操作`,
56
+ f_state: '有效',
57
+ f_operator: this.$login.f.name,
58
+ f_operatorid: this.$login.f.id,
59
+ f_orgid: this.$login.f.orgid,
60
+ f_orgname: this.$login.f.orgs,
61
+ f_depid: this.$login.f.depids,
62
+ f_depname: this.$login.f.deps,
63
+ f_zoneid: this.$login.f.zoneid,
64
+ f_zones: this.$login.f.zones
65
+ }
66
+ await this.$resetpost('rs/entity/t_enable', data, {resolveMsg: '再装表成功', rejectMsg: '再装表失败'})
67
+ this.$dispatch('success')
68
+ }
69
+
70
+ },
71
+
72
+ watch: {
73
+
74
+ }
75
+ }
76
+ </script>
@@ -78,6 +78,10 @@ let specialComp = {
78
78
  'charge-group-list': (resolve) => { require(['./chargeBatch/ChargeGroupList'], resolve) },
79
79
 
80
80
  // 选中用户的欠费信息
81
- 'owe-record-query': (resolve) => { require(['./chargeBatch/OweRecordQuery'], resolve) }
81
+ 'owe-record-query': (resolve) => { require(['./chargeBatch/OweRecordQuery'], resolve) },
82
+
83
+ // 再装表
84
+ 'reload-table': (resolve) => { require(['./revenue/comprehen/ReloadingTable'], resolve) }
85
+
82
86
  }
83
87
  exports.specialComp = specialComp