sale-client 3.5.267 → 3.5.268

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.
Files changed (174) hide show
  1. package/.project +23 -0
  2. package/build/dev-server.js +82 -81
  3. package/package.json +1 -1
  4. package/src/components/FilesManage/FileUserAddress.vue +1 -1
  5. package/src/components/FilesManage/UserEssentialInfoTest.vue +1 -1
  6. package/src/components/FilesManageNew/MeterinfoTest.vue +0 -1
  7. package/src/components/FilesManageNew/UserEssentialInfoTest.vue +1 -1
  8. package/src/components/charge/ChargeOper.vue +2 -2
  9. package/src/components/charge/business/CardChangeFill.vue +1 -1
  10. package/src/components/charge/business/CardMeterCenter.vue +1 -1
  11. package/src/components/charge/business/IOTMeterCenter.vue +1 -2
  12. package/src/components/charge/business/NoCardMeterCenter.vue +1 -1
  13. package/src/components/charge/business/ShowCardSellGas.vue +1 -1
  14. package/src/components/chargeNew/ChargeOper.vue +1 -1
  15. package/src/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +2 -2
  16. package/src/components/revenue/base/leftview/Mulitinfo.vue +1 -1
  17. package/src/components/revenue/base/rightview/RecordCancel.vue +2 -0
  18. package/src/components/revenue/batchPreloads/batchPreloadsList.vue +9 -0
  19. package/src/components/revenue/cardHandManage/cardHandManager.vue +3 -3
  20. package/src/components/revenue/comprehen/Bill/Eticket/EticketCommon.vue +63 -0
  21. package/src/components/revenue/comprehen/Bill/Eticket/EticketManage.vue +1 -1
  22. package/src/components/revenue/comprehen/Bill/paper/BillList.vue +0 -1
  23. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +18 -9
  24. package/src/components/revenue/comprehen/StairPrice/GasPriceManage.vue +0 -3
  25. package/src/components/revenue/comprehen/gasbrand/AddGasBrand.vue +2 -0
  26. package/src/components/revenue/machineHandManage/HandplanQuery.vue +2 -2
  27. package/src/components/revenue/third/rizhao/transferAudit.vue +205 -0
  28. package/src/components/revenue/third/rizhao/transferAuditCenter.vue +76 -0
  29. package/src/components/revenue/third/rizhao/transferAuditDisposeBasics.vue +220 -0
  30. package/src/filiale/chengtou/components/charge/IOTRefund.vue +385 -0
  31. package/src/filiale/chengtou/components/charge/RefundManage.vue +43 -0
  32. package/src/filiale/chengtou/components/charge/bzjcancel.vue +455 -0
  33. package/src/filiale/chengtou/components/charge/machineRefund.vue +340 -0
  34. package/src/filiale/chengtou/sale.js +7 -0
  35. package/src/filiale/gaomi/components/ShowCardSellGas.vue +1 -1
  36. package/src/filiale/gaomi/components/charge/ChargeOper.vue +2 -1
  37. package/src/filiale/gehua/CardChangeFill.vue +1 -1
  38. package/src/filiale/guangxi/CardChangeFill.vue +1 -1
  39. package/src/filiale/guangxi/ChargeOper.vue +2 -1
  40. package/src/filiale/huayin/sale.js +1 -1
  41. package/src/filiale/jinjiang/CardChangeFill.vue +1 -1
  42. package/src/filiale/kelai/CardMeterCenter.vue +6 -2
  43. package/src/filiale/kelai/ChargeOper.vue +2 -1
  44. package/src/filiale/kelai/GarbageCharge.vue +4 -3
  45. package/src/filiale/kelai/IOTMeterCenter.vue +6 -2
  46. package/src/filiale/kelai/MeterinfoTest.vue +5 -2
  47. package/src/filiale/kelai/ShowCardSellGas.vue +965 -0
  48. package/src/filiale/kelai/UserGeneralInfoTest.vue +698 -0
  49. package/src/filiale/kelai/sale.js +4 -0
  50. package/src/filiale/liaoyuan/CardList.vue +8 -8
  51. package/src/filiale/liaoyuan/ChangeMeter.vue +53 -3
  52. package/src/filiale/liuan/sale.js +1 -1
  53. package/src/filiale/macheng/ChargeOper.vue +2 -1
  54. package/src/filiale/meihekou/ChargeOper.vue +1 -0
  55. package/src/filiale/meihekou/sale.js +1 -1
  56. package/src/filiale/ningjin/CardMeterCenter.vue +908 -0
  57. package/src/filiale/ningjin/ChangeMeter.vue +979 -0
  58. package/src/filiale/ningjin/ChargeRecordQuery.vue +100 -0
  59. package/src/filiale/ningjin/FileUserFiles.vue +1017 -0
  60. package/src/filiale/ningjin/FilesManage/UserEssentialInfoTest.vue +321 -0
  61. package/src/filiale/ningjin/HandplanQuery.vue +1200 -0
  62. package/src/filiale/ningjin/IOTMeterCenter.vue +806 -0
  63. package/src/filiale/ningjin/MeterReadAudit.vue +347 -0
  64. package/src/filiale/ningjin/MeterinfoTest.vue +921 -0
  65. package/src/filiale/ningjin/NoCardMeterCenter.vue +464 -0
  66. package/src/filiale/ningjin/ReplaceCardManage.vue +423 -0
  67. package/src/filiale/ningjin/Userinfo.vue +180 -0
  68. package/src/filiale/ningjin/common/userinfo_detail/ic_detail/RecordQueryUser.vue +249 -0
  69. package/src/filiale/ningjin/machineDown.vue +1112 -0
  70. package/src/filiale/ningjin/machineHand.vue +2068 -0
  71. package/src/filiale/ningjin/refund/IOTRefund.vue +244 -0
  72. package/src/filiale/ningjin/refund/RefundManage.vue +28 -0
  73. package/src/filiale/ningjin/refund/machineRefund.vue +200 -0
  74. package/src/filiale/ningjin/sale.js +36 -0
  75. package/src/filiale/qianneng/FilesManage/UserGeneralInfoTest.vue +2 -2
  76. package/src/filiale/qianneng/UserDeviceInfoTest.vue +360 -0
  77. package/src/filiale/qianneng/UserMeterInfoTest.vue +156 -0
  78. package/src/filiale/qianneng/revenue/ChargeOper.vue +2 -1
  79. package/src/filiale/qianneng/sale.js +5 -1
  80. package/src/filiale/rizhao/replaceMentList.vue +5 -4
  81. package/src/filiale/rizhao/replacementSingleInfoOperation.vue +296 -0
  82. package/src/filiale/rizhao/sale.js +4 -1
  83. package/src/filiale/rongcheng/CustomerDeviceInfoTest.vue +252 -0
  84. package/src/filiale/rongcheng/MeterinfoTest.vue +52 -12
  85. package/src/filiale/rongcheng/PriceAdjustment.vue +386 -0
  86. package/src/filiale/rongcheng/RecordCancel.vue +314 -314
  87. package/src/filiale/rongcheng/RemainAdjustment.vue +291 -0
  88. package/src/filiale/rongcheng/UserMeterInfoTest.vue +179 -0
  89. package/src/filiale/rongcheng/business/CardChangeFill.vue +1 -1
  90. package/src/filiale/rongcheng/sale.js +8 -0
  91. package/src/filiale/rongchuang/GasPriceList.vue +359 -0
  92. package/src/filiale/rongchuang/sale.js +3 -1
  93. package/src/filiale/shanggao/charge/ChargeOper.vue +2 -2
  94. package/src/filiale/shanggao/sale.js +1 -1
  95. package/src/filiale/shanxian/ChangeMeter.vue +975 -0
  96. package/src/filiale/shanxian/FileUserAddress.vue +741 -0
  97. package/src/filiale/shanxian/OtherChargeNew.vue +550 -0
  98. package/src/filiale/shanxian/ResetMeter.vue +969 -0
  99. package/src/filiale/shanxian/TransferManage.vue +18 -16
  100. package/src/filiale/shanxian/WebMeterInfo.vue +80 -0
  101. package/src/filiale/shanxian/WebMeterList.vue +437 -0
  102. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +10 -10
  103. package/src/filiale/shanxian/components/FilesManage/UserEssentialInfoTest.vue +25 -9
  104. package/src/filiale/shanxian/components/FilesManage/UserGeneralInfoTest.vue +3 -2
  105. package/src/filiale/shanxian/components/FilesManageNew/FileUserAddress.vue +484 -0
  106. package/src/filiale/shanxian/components/FilesManageNew/UserGeneralInfoTest.vue +617 -0
  107. package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +944 -0
  108. package/src/filiale/shanxian/components/revenue/ChargeList.vue +33 -33
  109. package/src/filiale/shanxian/components/revenue/base/Userinfo.vue +16 -16
  110. package/src/filiale/shanxian/meterinfodetail.vue +247 -0
  111. package/src/filiale/shanxian/sale.js +18 -2
  112. package/src/filiale/shaoguan/charge/ChargeOper.vue +2 -1
  113. package/src/filiale/shaoguan/sale.js +1 -1
  114. package/src/filiale/tongchuan/CardChangeFill.vue +1 -1
  115. package/src/filiale/tongchuan/ChargeOper.vue +2 -1
  116. package/src/filiale/tongchuan/sale.js +1 -1
  117. package/src/filiale/wenxi/CardList.vue +527 -0
  118. package/src/filiale/wenxi/CardService.js +2066 -0
  119. package/src/filiale/wenxi/ChargeList.vue +962 -0
  120. package/src/filiale/wenxi/ChargeQueryUser.vue +434 -0
  121. package/src/filiale/wenxi/ChargeRecordQuery.vue +100 -0
  122. package/src/filiale/wenxi/DisableManage.vue +105 -0
  123. package/src/filiale/wenxi/FileUserFiles.vue +1032 -0
  124. package/src/filiale/wenxi/FilesManageNew/UserEssentialInfoTest.vue +326 -0
  125. package/src/filiale/wenxi/HandplanQuery.vue +4 -1
  126. package/src/filiale/wenxi/MarginCompensation.vue +169 -0
  127. package/src/filiale/wenxi/MeterinfoTest.vue +215 -26
  128. package/src/filiale/wenxi/OffGasAddGas.vue +219 -0
  129. package/src/filiale/wenxi/TransferManage.vue +413 -0
  130. package/src/filiale/wenxi/UserDeviceInfoTest.vue +14 -13
  131. package/src/filiale/wenxi/UserEssentialInfoTest.vue +137 -11
  132. package/src/filiale/wenxi/UserGeneralInfoTest.vue +18 -8
  133. package/src/filiale/wenxi/UserList.vue +481 -0
  134. package/src/filiale/wenxi/UserMeterInfoTest.vue +3 -2
  135. package/src/filiale/wenxi/cardsHand.vue +903 -0
  136. package/src/filiale/wenxi/plugging/UserPlugging.vue +99 -0
  137. package/src/filiale/wenxi/plugging/UserSecurePlugging.vue +141 -0
  138. package/src/filiale/wenxi/plugins/FileManageService.js +392 -0
  139. package/src/filiale/wenxi/plugins/GetTimeService.js +87 -0
  140. package/src/filiale/wenxi/sale.js +28 -2
  141. package/src/filiale/wuhai/CardMeterCenter.vue +939 -0
  142. package/src/filiale/wuhai/IOTMeterCenter.vue +8 -8
  143. package/src/filiale/wuhai/NoCardMeterCenter.vue +466 -0
  144. package/src/filiale/wuhai/ShowCardSellGas.vue +930 -0
  145. package/src/filiale/wuhai/sale.js +7 -1
  146. package/src/filiale/xiangyun/IOTRefund.vue +4 -0
  147. package/src/filiale/xiangyun/RefundManage.vue +11 -3
  148. package/src/filiale/xiangyun/cardChargeQuery.vue +24 -4
  149. package/src/filiale/xiangyun/cardChargeQuery1.vue +54 -3
  150. package/src/filiale/xiangyun/cardHistoryRefund.vue +215 -0
  151. package/src/filiale/xiangyun/machineChargeQuery.vue +24 -4
  152. package/src/filiale/xiangyun/machineChargeQuery1.vue +52 -1
  153. package/src/filiale/xiangyun/machineHand.vue +2068 -0
  154. package/src/filiale/xiangyun/sale.js +2 -0
  155. package/src/filiale/xinkang/sale.js +1 -1
  156. package/src/filiale/yongzhongch/CardChangeFill.vue +1 -1
  157. package/src/filiale/yuansheng/CardChangeFill.vue +598 -0
  158. package/src/filiale/yuansheng/CardMeterCenter.vue +943 -0
  159. package/src/filiale/yuansheng/ChangeMeterAddGas.vue +561 -0
  160. package/src/filiale/yuansheng/DigitalCharge.vue +441 -0
  161. package/src/filiale/yuansheng/IOTMeterCenter.vue +783 -0
  162. package/src/filiale/yuansheng/MeterinfoTest.vue +990 -0
  163. package/src/filiale/yuansheng/NoCardMeterCenter.vue +467 -0
  164. package/src/filiale/yuansheng/ShowCardSellGas.vue +932 -0
  165. package/src/filiale/yuansheng/meterinfodetail.vue +255 -0
  166. package/src/filiale/yuansheng/sale.js +20 -0
  167. package/src/filiale/zhongyi/sale.js +1 -1
  168. package/src/main.js +5 -2
  169. package/src/plugins/CardService.js +265 -2
  170. package/src/plugins/ChangeMeterService.js +0 -1
  171. package/src/plugins/FileManageService.js +42 -0
  172. package/src/plugins/MachineChargeService.js +6 -0
  173. package/src/sale.js +14 -7
  174. package/src/saleRes.json +526 -0
package/.project CHANGED
@@ -5,7 +5,30 @@
5
5
  <projects>
6
6
  </projects>
7
7
  <buildSpec>
8
+ <buildCommand>
9
+ <name>org.eclipse.jdt.core.javabuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
13
+ <buildCommand>
14
+ <name>org.eclipse.buildship.core.gradleprojectbuilder</name>
15
+ <arguments>
16
+ </arguments>
17
+ </buildCommand>
8
18
  </buildSpec>
9
19
  <natures>
20
+ <nature>org.eclipse.jdt.core.javanature</nature>
21
+ <nature>org.eclipse.buildship.core.gradleprojectnature</nature>
10
22
  </natures>
23
+ <filteredResources>
24
+ <filter>
25
+ <id>1671099057782</id>
26
+ <name></name>
27
+ <type>30</type>
28
+ <matcher>
29
+ <id>org.eclipse.core.resources.regexFilterMatcher</id>
30
+ <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31
+ </matcher>
32
+ </filter>
33
+ </filteredResources>
11
34
  </projectDescription>
@@ -1,81 +1,82 @@
1
- var path = require('path')
2
- const [localUrl, serverRul] = ['http://127.0.0.1:8080', 'http://192.168.50.4:8400']
3
- var merge = require('webpack-merge')
4
- var baseConfig = require('./webpack.dev.conf')
5
- var devConfig = {
6
- devServer: {
7
- contentBase: path.join(__dirname, 'src'),
8
- hot: true,
9
- publicPath: baseConfig.output.publicPath,
10
- historyApiFallback: true,
11
- port: 8089,
12
- open: true,
13
- stats: {
14
- colors: false, // 配置控制台输出彩色日志
15
- chunks: false, // 不输出构建 chunk 信息
16
- children: false // 不输出子模块构建信息
17
- },
18
- proxy: {
19
- '/rs/file': {
20
- target: serverRul
21
- },
22
- // 查找资源服务数据
23
- '/rs/search': {
24
- target: serverRul
25
- },
26
- // 查找资源服务数据
27
- '/rs/logic/getLogin': {
28
- target: serverRul
29
- },
30
- // 查找资源服务数据
31
- '/rs/logic/getInitData': {
32
- target: serverRul
33
- },
34
- '/rs/logic/getSaleInitData': {
35
- target: serverRul
36
- },
37
- // 用户登录服务地址
38
- '/rs/user': {
39
- target: serverRul
40
- },
41
- '/rs/path': {
42
- target: serverRul
43
- },
44
- '/rs/data': {
45
- target: serverRul
46
- },
47
- '/rs/license': {
48
- target: serverRul
49
- },
50
- '/rs/db': {
51
- target: serverRul
52
- },
53
- '/excel': {
54
- target: serverRul
55
- },
56
- '/rs/config': {
57
- target: serverRul
58
- },
59
- '/rs/report': {
60
- target: serverRul
61
- },
62
- '/rs/vue': {
63
- target: serverRul
64
- },
65
- '/rs/logic': {
66
- target: localUrl
67
- },
68
- '/rs/sql': {
69
- target: localUrl
70
- },
71
- '/webmeter': {
72
- target: serverRul
73
- },
74
- '/rs': {
75
- target: serverRul
76
- // changeOrigin: true
77
- }
78
- }
79
- }
80
- }
81
- module.exports = merge(baseConfig, devConfig)
1
+ var path = require('path')
2
+ const [localUrl, serverRul] = ['http://192.168.50.4:8400', 'http://192.168.50.4:8400']
3
+ var merge = require('webpack-merge')
4
+ var baseConfig = require('./webpack.dev.conf')
5
+ var devConfig = {
6
+ devServer: {
7
+ contentBase: path.join(__dirname, 'src'),
8
+ hot: true,
9
+ publicPath: baseConfig.output.publicPath,
10
+ historyApiFallback: true,
11
+ host: '127.0.0.1',
12
+ port: 8089,
13
+ open: true,
14
+ stats: {
15
+ colors: false, // 配置控制台输出彩色日志
16
+ chunks: false, // 不输出构建 chunk 信息
17
+ children: false // 不输出子模块构建信息
18
+ },
19
+ proxy: {
20
+ '/rs/file': {
21
+ target: serverRul
22
+ },
23
+ // 查找资源服务数据
24
+ '/rs/search': {
25
+ target: serverRul
26
+ },
27
+ // 查找资源服务数据
28
+ '/rs/logic/getLogin': {
29
+ target: serverRul
30
+ },
31
+ // 查找资源服务数据
32
+ '/rs/logic/getInitData': {
33
+ target: serverRul
34
+ },
35
+ '/rs/logic/getSaleInitData': {
36
+ target: serverRul
37
+ },
38
+ // 用户登录服务地址
39
+ '/rs/user': {
40
+ target: serverRul
41
+ },
42
+ '/rs/path': {
43
+ target: serverRul
44
+ },
45
+ '/rs/data': {
46
+ target: serverRul
47
+ },
48
+ '/rs/license': {
49
+ target: serverRul
50
+ },
51
+ '/rs/db': {
52
+ target: serverRul
53
+ },
54
+ '/excel': {
55
+ target: serverRul
56
+ },
57
+ '/rs/config': {
58
+ target: serverRul
59
+ },
60
+ '/rs/report': {
61
+ target: serverRul
62
+ },
63
+ '/rs/vue': {
64
+ target: serverRul
65
+ },
66
+ '/rs/logic': {
67
+ target: localUrl
68
+ },
69
+ '/rs/sql': {
70
+ target: localUrl
71
+ },
72
+ '/webmeter': {
73
+ target: serverRul
74
+ },
75
+ '/rs': {
76
+ target: serverRul
77
+ // changeOrigin: true
78
+ }
79
+ }
80
+ }
81
+ }
82
+ module.exports = merge(baseConfig, devConfig)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.267",
3
+ "version": "3.5.268",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -351,7 +351,7 @@
351
351
  },
352
352
  methods: {
353
353
  async initdata () {
354
- this.model.f_address_state = '已通气'
354
+ this.model.f_address_state = '未通气'
355
355
  this.initAreas(this.f_filialeids)
356
356
  // 添加特殊地址选省市区
357
357
 
@@ -252,7 +252,7 @@
252
252
  costtype: this.$appdata.getParam('付款类型'),
253
253
  usernature: this.$appdata.getParam('用户性质'),
254
254
  userlevel: this.$appdata.getParam('用户等级'),
255
- housetype: [{label: '楼房', value: '楼房'}, {label: '自建房', value: '自建房'}],
255
+ housetype: this.$appdata.getParam('房屋类型'),
256
256
  jurisdiction: this.$login.r,
257
257
  edituserstate: false,
258
258
  // highMeterPlugin: {},
@@ -372,7 +372,6 @@ let meterBookGen = function * (self) {
372
372
  this.oldrow = this.row
373
373
  this.isdecimal = this.row.gasbrand.length > 0 ? this.row.gasbrand.f_isdecimal : '否'
374
374
  this.row.valid = false
375
- this.row.f_aroundmeter = '左表'
376
375
  if (this.row.pricetype === '混合气价') {
377
376
  this.ratioshow = true
378
377
  }
@@ -236,7 +236,7 @@
236
236
  costtypes: this.$appdata.getParam('缴费类型'),
237
237
  banknames: this.$appdata.getParam('银行名称'),
238
238
  userstates: [{label: '预备', value: '预备'}],
239
- housetype: [{label: '楼房', value: '楼房'}, {label: '自建房', value: '自建房'}],
239
+ housetype: this.$appdata.getParam('房屋类型'),
240
240
  mgq: this.$appdata.getParam('是否煤改气'),
241
241
  costtype: this.$appdata.getParam('付款类型'),
242
242
  printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')]:[{label: '暂不选择', value: '暂不选择'}],
@@ -19,6 +19,7 @@
19
19
  import {HttpResetClass} from 'vue-client'
20
20
 
21
21
  let getNewmetermsg = async function (self, row) {
22
+ self.cardInfo = undefined
22
23
  if (row.f_userfiles_id && row.f_userfiles_id.length > 0) {
23
24
  // 获取用户信息
24
25
  let getUser = await self.$resetpost('rs/sql/sale_getUser', {
@@ -111,12 +112,11 @@ let getBtnsGen = async function (self) {
111
112
  })
112
113
  } else {
113
114
  }
114
-
115
115
  }
116
116
  }
117
117
  }
118
118
  // 如果卡上有气,添加购气撤销按钮
119
- if (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase === '是')) {
119
+ if (self.cardInfo && (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase === '是'))) {
120
120
  self.temp.push({
121
121
  name: '购气撤销',
122
122
  value: {
@@ -481,7 +481,7 @@
481
481
  this.pregas()
482
482
  },
483
483
  pregas () {
484
- if (this.model.f_pregas && this.model.f_pregas >= 0) {
484
+ if (this.model.f_pregas >= 0) {
485
485
  try {
486
486
  pregasGen(this)
487
487
  } catch (error) {
@@ -509,7 +509,7 @@
509
509
  hasBillManage: false, // 默认不启用发票管理
510
510
  billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
511
511
  printType: '普通收据', // 收据/电子票/专用发票/国税发票
512
- payment: '现金缴费',
512
+ payment: '',
513
513
  floor: false,
514
514
  overdraftBalance: false // 是否支持系统余额透支
515
515
  },
@@ -209,7 +209,6 @@
209
209
  */
210
210
 
211
211
  import {HttpResetClass} from 'vue-client'
212
- import XML from '../../../plugins/ObjTree'
213
212
 
214
213
  // 输入金额,换算气量
215
214
  /* let preamountGen = async function (self) {
@@ -445,7 +444,7 @@
445
444
  hasBillManage: false, // 默认不启用发票管理
446
445
  billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
447
446
  printType: '普通收据', // 收据/电子票/专用发票/国税发票
448
- payment: '现金缴费',
447
+ payment: '',
449
448
  overdraftBalance: false // 是否支持系统余额透支
450
449
  },
451
450
  model: {
@@ -320,7 +320,7 @@
320
320
  model: {
321
321
  f_purchase: 0,
322
322
  f_write_card: '不写卡',
323
- f_payment: '现金缴费',
323
+ f_payment: '',
324
324
  f_pregas: '',
325
325
  f_preamount: 0,
326
326
  f_totalcost: 0,
@@ -482,7 +482,7 @@ export default {
482
482
  },
483
483
  model: {
484
484
  f_stairprice_id: '',
485
- f_payment: '现金缴费',
485
+ f_payment: '',
486
486
  f_pregas: '',
487
487
  f_preamount: 0,
488
488
  f_totalcost: 0,
@@ -99,7 +99,7 @@
99
99
  }
100
100
  }
101
101
  // 如果卡上有气,添加购气撤销按钮
102
- if (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase == '是')) {
102
+ if (self.cardInfo && (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase === '是'))) {
103
103
  self.temp.push({name: '购气撤销',
104
104
  value: {
105
105
  'weight': 0,
@@ -91,8 +91,8 @@
91
91
  <th>
92
92
  <nobr>上期结余</nobr>
93
93
  </th>
94
- <th>
95
- <nobr v-if="!$parent.$parent.$parent.isIot">应交金额</nobr>
94
+ <th v-if="!$parent.$parent.$parent.isIot">
95
+ <nobr>应交金额</nobr>
96
96
  </th>
97
97
  <th>
98
98
  <nobr>实收金额</nobr>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="flex">
3
3
  <!--<cardinfo :data="cardData" v-if="cardData.CardID"></cardinfo>-->
4
- <userinfo :warninginfo="warninginfo" @deal-msg="dealMsg" :data="data"></userinfo>
4
+ <sale-userinfo :warninginfo="warninginfo" @deal-msg="dealMsg" :data="data"></sale-userinfo>
5
5
  <user-meterinfodetail @deal-msg="dealMsg" :data="data"></user-meterinfodetail>
6
6
  <!--<meter-use :data="data"></meter-use>-->
7
7
  <!--<recordstoryinfo :data="data" v-ref:recordstoryinfo></recordstoryinfo>-->
@@ -244,6 +244,8 @@
244
244
  name = 'otherchargenopayCancel'
245
245
  } else if (type === '批量收费' || type === '团体收费') {
246
246
  name = 'batchPaymentCancel'
247
+ } else if (type === '垃圾费收费') {
248
+ name = 'garbageChargesCancel'
247
249
  } else {
248
250
  return
249
251
  }
@@ -57,6 +57,7 @@
57
57
  <th>用户姓名</th>
58
58
  <th>用气性质</th>
59
59
  <th>收费金额</th>
60
+ <th>付款方式</th>
60
61
  <th>收费时间</th>
61
62
  <th>记录状态</th>
62
63
  <th>生成记录人员</th>
@@ -70,6 +71,7 @@
70
71
  <td>{{ row.f_user_name }}</td>
71
72
  <td>{{ row.f_gasproperties }}</td>
72
73
  <td>{{ row.f_collection }}</td>
74
+ <td>{{ row.f_payment }}</td>
73
75
  <td>{{ row.f_operate_date }}</td>
74
76
  <td>{{ row.f_state }}</td>
75
77
  <td>{{ row.f_operator }}</td>
@@ -222,4 +224,11 @@ export default {
222
224
  }
223
225
  </script>
224
226
  <style lang="less" scoped>
227
+ .table_sy {
228
+ tr {
229
+ td {
230
+ text-align: center;
231
+ }
232
+ }
233
+ }
225
234
  </style>
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <tab-button v-ref:list>
3
- <tabs header="计划下发">
4
- <card-down></card-down>
5
- </tabs>
3
+ <!-- <tabs header="计划下发">-->
4
+ <!-- <card-down></card-down>-->
5
+ <!-- </tabs>-->
6
6
  <tabs header="卡表抄表">
7
7
  <cards-hand></cards-hand>
8
8
  </tabs>
@@ -0,0 +1,63 @@
1
+ <template>
2
+ <!-- <div v-if="listpage">-->
3
+ <tab-button v-ref:list>
4
+ <tabs header="发票管理">
5
+ <e-ticket-manage @deal-msg="dealMsg"></e-ticket-manage>
6
+ </tabs>
7
+ <tabs header="抬头录入">
8
+ <company-info-manage @deal-msg="dealMsg"></company-info-manage>
9
+ </tabs>
10
+ <tabs header="商品信息录入">
11
+ <goods-info-manage @deal-msg="dealMsg"></goods-info-manage>
12
+ </tabs>
13
+ </tab-button>
14
+ <!-- </div>-->
15
+ <!-- <div v-if="!listpage">-->
16
+ <!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
17
+ <!-- </div>-->
18
+ </template>
19
+
20
+ <script>
21
+ import TabButton from '../../common/TabButton.vue'
22
+ import Tabs from '../../common/Tabs.vue'
23
+
24
+ export default {
25
+ name: 'EticketCommon',
26
+ title: '发票公共管理',
27
+ data () {
28
+ return {// 页面开关
29
+ f_start_date: '',
30
+ f_end_date: '',
31
+ listpage: true,
32
+ width: {
33
+ left: '100%',
34
+ right: '0%'
35
+ },
36
+ // searchNumber:'',
37
+ rowData: {},
38
+ show: [true]
39
+ }
40
+ },
41
+ components: {Tabs, TabButton},
42
+ ready () {
43
+ console.log(this.$refs.list)
44
+ console.log('发票管理')
45
+ },
46
+ methods: {
47
+ cancel (obj) {
48
+ this.listpage = true
49
+ },
50
+ dealMsg (obj) {
51
+ this.rowData = obj
52
+ this.listpage = false
53
+ console.log(obj.model)
54
+ this.f_start_date = obj.model.startDate
55
+ this.f_end_date = obj.model.endDate
56
+ }
57
+ }
58
+ }
59
+ </script>
60
+
61
+ <style scoped>
62
+
63
+ </style>
@@ -24,7 +24,7 @@ import Tabs from '../../../comprehen/common/Tabs'
24
24
  export default {
25
25
  name: 'eticket',
26
26
  title: '发票管理',
27
- components: {Tabs, TabButton },
27
+ components: { Tabs, TabButton },
28
28
  data () {
29
29
  return {// 页面开关
30
30
  f_start_date: '',
@@ -149,7 +149,6 @@
149
149
  f_outlets: this.$login.f.f_parentname,
150
150
  f_orgstr: this.$login.f.orgpathstr,
151
151
  f_filialeids: this.$login.f.orgid
152
-
153
152
  },
154
153
  billstate: [{label: '全部', value: ''}, {label: '启用', value: '启用'}, {label: '停用', value: '停用'}],
155
154
  billusers: this.$appdata.getParam('票据使用人')
@@ -552,16 +552,18 @@ export default {
552
552
  },
553
553
  async confirm () {
554
554
  let msg = ''
555
- if (this.row.f_meter_type.includes('机表')) {
555
+ if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
556
556
  if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
557
- msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
557
+ msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
558
558
  } else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
559
559
  msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
560
560
  }
561
561
  }
562
- if (this.row.f_meter_type.includes('机表') && msg) {
562
+ if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
563
563
  this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
564
564
  if (res === 'confirm') {
565
+ debugger
566
+ let url = this.row.f_meter_type.includes('物联网表') ? 'rs/logic/changeMeterWebHand' : 'rs/logic/changeMeterHand'
565
567
  let data = {
566
568
  downDate: this.$login.toStandardTimeString(),
567
569
  startDate: this.$login.toStandardDateString(),
@@ -575,9 +577,10 @@ export default {
575
577
  f_serial_number: this.model.f_serial_number,
576
578
  f_meterbase: this.model.f_using_base_old,
577
579
  f_meter_brand: this.row.f_meter_brand,
580
+ f_meter_classify: this.row.f_meter_type,
578
581
  f_price_id: this.row.f_price_id
579
582
  }
580
- this.$resetpost('rs/logic/changeMeterHand', {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
583
+ this.$resetpost(url, {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
581
584
  console.log('成功')
582
585
  if (this.model.metermessage.f_meter_type[0] != '机表') {
583
586
  this.$dispatch('refresh')
@@ -721,16 +724,17 @@ export default {
721
724
  this.Iotjisuan()
722
725
  }
723
726
  let msg = ''
724
- if (this.row.f_meter_type.includes('机表')) {
727
+ if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
725
728
  if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
726
- msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
729
+ msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
727
730
  } else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
728
731
  msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
729
732
  }
730
733
  }
731
- if (this.row.f_meter_type.includes('机表') && msg) {
734
+ if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
732
735
  this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
733
736
  if (res === 'confirm') {
737
+ let url = this.row.f_meter_type.includes('物联网表') ? 'rs/logic/changeMeterWebHand' : 'rs/logic/changeMeterHand'
734
738
  let data = {
735
739
  downDate: this.$login.toStandardTimeString(),
736
740
  startDate: this.$login.toStandardDateString(),
@@ -744,11 +748,16 @@ export default {
744
748
  f_serial_number: this.model.f_serial_number,
745
749
  f_meterbase: this.model.f_using_base_old,
746
750
  f_meter_brand: this.row.f_meter_brand,
751
+ f_meter_classify: this.row.f_meter_type,
747
752
  f_price_id: this.row.f_price_id
748
753
  }
749
- this.$resetpost('rs/logic/changeMeterHand', {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
754
+ this.$resetpost(url, {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
750
755
  console.log('成功')
751
- this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
756
+ if (this.row.f_meter_type.includes('物联网表')) {
757
+ this.$dispatch('refresh')
758
+ } else {
759
+ this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
760
+ }
752
761
  })
753
762
  }
754
763
  })
@@ -10,7 +10,6 @@
10
10
  <div class="binary-right" v-if="usershow" :style="{width: usershow ? '50%' : 'auto'}">
11
11
  <gasprice-user :priceid="priceid" :pricename="pricename" :priceorgid="priceorgid"></gasprice-user>
12
12
  </div>
13
-
14
13
  </div>
15
14
  <div v-if="!listpage">
16
15
  <!-- <user-info-detail-manage :f_userinfo_id="f_userinfo_id" @cancel-main="cancel" ></user-info-detail-manage>-->
@@ -30,7 +29,6 @@ let readGen = async function (self) {
30
29
  Object.assign(self.config, self.config, getConfig.data)
31
30
  }
32
31
  }
33
-
34
32
  export default {
35
33
  title: '气价管理',
36
34
  data () {
@@ -52,7 +50,6 @@ export default {
52
50
  priceorgid: '',
53
51
  gasPriceShow: false,
54
52
  usershow: false,
55
-
56
53
  // 控制气价信息界面和变更操作记录界面的展示
57
54
  changeView: false
58
55
  }
@@ -327,6 +327,8 @@ export default {
327
327
  this.$LogicService.modifyGasBrand(this.model, this.addGasModelArray)
328
328
  .then(
329
329
  (res) => {
330
+ let http = new HttpResetClass()
331
+ http.load('POST', 'rs/logic/delSaleInitData', {data: {}}, {resolveMsg: null, rejectMsg: null})
330
332
  this.$dispatch('success', '气表品牌修改', this.data, res)
331
333
  }
332
334
  ).catch(
@@ -778,8 +778,8 @@
778
778
  'f_operator': '操作员',
779
779
  'f_depname': '部门',
780
780
  'f_orgname': '公司',
781
- 'f_surplus_gas': '剩余气量',
782
- 'f_haircut_gas': '扣减气量',
781
+ // 'f_surplus_gas': '剩余气量',
782
+ // 'f_haircut_gas': '扣减气量',
783
783
  'f_stair1amount': '一阶气量',
784
784
  'f_stair1price': '一阶单价',
785
785
  'f_stair1fee': '一阶气费',