sale-client 3.4.112 → 3.4.113

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 (93) hide show
  1. package/.gradle/{5.2.1 → 4.4}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/{6.1.1 → 4.4}/fileHashes/fileHashes.bin +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/build/dev-server.js +3 -3
  5. package/{.gradle/5.2.1/gc.properties → npm} +0 -0
  6. package/package.json +1 -1
  7. package/src/components/FilesManage/MeterinfoTest.vue +904 -905
  8. package/src/components/FilesManage/TemplateManage.vue +167 -167
  9. package/src/components/FilesManage/UserGeneralInfoTest.vue +642 -640
  10. package/src/components/charge/business/CardChangeFill.vue +612 -612
  11. package/src/components/charge/business/CardMeterCenter.vue +899 -899
  12. package/src/components/charge/business/FilesComplete.vue +253 -253
  13. package/src/components/charge/business/refund/IOTRefund.vue +236 -236
  14. package/src/components/charge/business/refund/RefundManage.vue +28 -28
  15. package/src/components/charge/gasloss/gasLossOperate.vue +357 -357
  16. package/src/components/chargeNew/thirdSurplus.vue +2 -0
  17. package/src/components/revenue/Common/MeterMessage.vue +184 -184
  18. package/src/components/revenue/HandManager/MeterBookManage.vue +153 -153
  19. package/src/components/revenue/base/leftview/MixPriceInfo.vue +60 -60
  20. package/src/components/revenue/base/leftview/Mulitinfo.vue +74 -74
  21. package/src/components/revenue/base/leftview/SafeCheck.vue +311 -311
  22. package/src/components/revenue/base/leftview/Stairinfo.vue +156 -156
  23. package/src/components/revenue/base/leftview/meterinfodetail.vue +195 -195
  24. package/src/components/revenue/base/rightview/CardList.vue +477 -477
  25. package/src/components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage.vue +93 -93
  26. package/src/components/revenue/comprehen/ComprehenOperation/MeterEnable/EnableManage.vue +184 -184
  27. package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +5 -1
  28. package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +1 -1
  29. package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +638 -638
  30. package/src/components/revenue/comprehen/Maintenance/revenue/StockListmain.vue +7 -7
  31. package/src/components/revenue/comprehen/Message/MessageList.vue +587 -587
  32. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackList.vue +1 -1
  33. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListManage.vue +1 -1
  34. package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +303 -303
  35. package/src/components/revenue/comprehen/replacement/replacementHandInfoRecord.vue +155 -155
  36. package/src/components/revenue/comprehen/wechatpay/WeChat.vue +62 -62
  37. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +8 -4
  38. package/src/filiale/alashan/PrintBill.vue +116 -116
  39. package/src/filiale/jingwei/CardHand.vue +742 -742
  40. package/src/filiale/macheng/FilesManageNew/FileUserFiles.vue +743 -0
  41. package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +371 -371
  42. package/src/filiale/macheng/FilesManageNew/UserGeneralInfoTest.vue +596 -596
  43. package/src/filiale/macheng/UserEssentialInfoTest.vue +368 -366
  44. package/src/filiale/meihekou/MeterinfoTest.vue +0 -1
  45. package/src/filiale/meihekou/PrintBill.vue +140 -140
  46. package/src/filiale/meihekou/ReissueBill.vue +322 -322
  47. package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +0 -1
  48. package/src/filiale/qianneng/GasPriceList.vue +330 -330
  49. package/src/filiale/qianneng/HandManager.vue +1838 -1838
  50. package/src/filiale/qianneng/OtherChargeNew.vue +6 -2
  51. package/src/filiale/qianneng/sale.js +30 -32
  52. package/src/filiale/qingtongxia/UserGeneralInfoTest.vue +538 -533
  53. package/src/filiale/rongcheng/FilesManageNew/UserGeneralInfoTest.vue +608 -608
  54. package/src/filiale/rongchuang/OtherGas.vue +329 -329
  55. package/src/filiale/tongchuan/CardList.vue +482 -482
  56. package/src/filiale/tongchuan/MeterinfoTest.vue +892 -892
  57. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/AutomaticPurse.vue +298 -298
  58. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/CardHandRecord.vue +267 -267
  59. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +240 -240
  60. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeRecord.vue +235 -235
  61. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +372 -372
  62. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/DeveiceRecord.vue +251 -251
  63. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/FillCardQueryUser.vue +209 -209
  64. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/HandQueryUser.vue +365 -365
  65. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +252 -252
  66. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/OtherChargeQueryUser.vue +250 -250
  67. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/RecordQueryUser.vue +249 -249
  68. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/TransferQueryUser.vue +222 -222
  69. package/src/filiale/tongchuan/sale.js +107 -107
  70. package/src/filiale/zhongsheng/rightview/CardList.vue +492 -492
  71. package/src/filiale/zhongsheng/wechatpay/WeChatPayDetail.vue +469 -469
  72. package/src/main.js +1 -1
  73. package/src/plugins/CardService.js +1798 -1798
  74. package/src/plugins/ChangeMeterService.js +756 -756
  75. package/src/plugins/FileManageService.js +366 -366
  76. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  77. package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
  78. package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
  79. package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
  80. package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
  81. package/.gradle/6.1.1/gc.properties +0 -0
  82. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  83. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  84. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  85. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  86. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  87. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  88. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  89. package/.gradle/7.1/gc.properties +0 -0
  90. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  91. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  92. package/.gradle/checksums/checksums.lock +0 -0
  93. package/.gradle/vcs-1/gc.properties +0 -0
@@ -167,7 +167,6 @@
167
167
  <div class="col-sm-4 form-group" v-show="opteratormetrbook" >
168
168
  <label for="f_position" class="font_normal_body" >&ensp;抄&ensp;表&ensp;册</label>
169
169
  <v-select :value.sync="row.f_meter_book_num" v-model="row.f_meter_book_num"
170
- :value-single="true"
171
170
  :options='meterbookoptions' placeholder='抄表册'
172
171
  close-on-select></v-select>
173
172
  </div>
@@ -1,140 +1,140 @@
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 v-if="bill.data">-->
9
- <!-- {{{bill.data}}}-->
10
- <!-- </div>-->
11
- <validator name='v'>
12
- <form class="form-horizontal select-overspread">
13
- <div class="row" style="display: flex;justify-content: center;" id='normal-bill' v-if="bill.data">
14
- {{{bill.data}}}
15
- </div>
16
- </form>
17
- </validator>
18
- </article>
19
- <footer slot="modal-footer" class="modal-footer">
20
- <div v-if="billConfig.hasBillManage">
21
- <div class="col-sm-2" >
22
- <span><strong>发票号:{{model.f_using_number}}</strong></span>
23
- </div>
24
- </div>
25
- <button type="button" class="btn btn-success" @click='print()'>打印</button>
26
- <report-print id='normal-bill' top='5mm' left='5mm' width='90%' height='80%' :notrepeat="true" :showbtn="false" v-ref:reportprint></report-print>
27
- <button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
28
- </footer>
29
- </modal>
30
- </div>
31
- </template>
32
- <script>
33
- import { DataModel, HttpResetClass } from 'vue-client'
34
-
35
- let getBillData = async function (self, val) {
36
- console.log('temp:', self)
37
- let temp = {
38
- reprint: "'正常'",
39
- condition: self.data.id
40
- }
41
- if (self.data.fillgasid) {
42
- temp.fillgasid = `"${self.data.fillgasid}"`
43
- }
44
- if (self.data.f_meter_type == '气量卡表') {
45
- let http = new HttpResetClass()
46
- let param = {
47
- model: {f_userfiles_id: self.data.f_userfiles_id},
48
- isGasValue: 0,
49
- value: 0
50
- }
51
- let a = await http.load('POST', 'rs/logic/commonCal', {data: param}, {resolveMsg: null, rejectMsg: '获取阶梯使用情况出错'})
52
- let value = a.data
53
- let jt = a.data.chargeprice.length
54
- if (jt > 1) {
55
- value.f_hasuse1 = (value.sumamount >= value.f_stair1ceiling ? value.f_stair1ceiling : value.sumamount).toFixed(4)
56
- value.f_hasuse2 = (value.sumamount >= value.f_stair2ceiling ? value.f_stair2ceiling - value.f_stair1ceiling : value.sumamount - value.f_stair1ceiling).toFixed(4)
57
- value.f_hasuse3 = (value.sumamount >= value.f_stair3ceiling ? value.f_stair3ceiling - value.f_stair2ceiling : value.sumamount - value.f_stair2ceiling).toFixed(4)
58
- if (value.f_hasuse2 < 0) value.f_hasuse2 = 0
59
- if (value.f_hasuse3 < 0) value.f_hasuse3 = 0
60
- } else {
61
- let parm1 = {
62
- items: 'f_pregas',
63
- tablename: 't_sellinggas',
64
- condition: `id=${self.data.id}`
65
- }
66
- let b = await http.load('POST', 'rs/sql/querySingleTable', {data: parm1}, {resolveMsg: null, rejectMsg: '获取同价使用情况出错'})
67
- value.f_hasuse1 = b.data[0].f_pregas
68
- value.f_hasuse2 = 0
69
- value.f_hasuse3 = 0
70
- value.f_stair1price = value.chargeprice[0].f_price
71
- value.f_stair2price = 0
72
- value.f_stair3price = 0
73
- }
74
- temp = Object.assign(temp, value)
75
- }
76
- console.log('self.billData.url:', self.billData.url)
77
- self.bill = new DataModel(self.billData.url, temp)
78
- await self.bill.search(self.data.id)
79
- // 获取发票号
80
- self.model.f_using_number = self.billData.bill.number
81
- }
82
-
83
- export default {
84
- title: '收费发票',
85
- data () {
86
- return {
87
- model: {
88
- f_using_number: null
89
- },
90
- bill: {},
91
- messShow: false
92
- }
93
- },
94
- props: ['show', 'data', 'billData', 'billConfig'],
95
- ready () {
96
- console.log('打票', this.billConfig, this.billData)
97
- },
98
- methods: {
99
- cancel () {
100
- this.$dispatch('toggle')
101
- },
102
-
103
- async print () {
104
- // 更新系统发票
105
- try {
106
- if (this.billConfig.hasBillManage) {
107
- if (this.data.f_bill_type != '清算单') { await this.$CommonService.openPaperBill(this.data.id, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常') }
108
- } else {
109
- await this.$resetpost('rs/logic/sale_billReprint', {data: this.data}, {resolveMsg: null, rejectMsg: '票据补打出错!!'})
110
- }
111
- this.$refs.reportprint.print()
112
- } catch (error) {
113
- this.$dispatch('refresh')
114
- }
115
- }
116
- },
117
- watch: {
118
- 'show' (val) {
119
- if (val) {
120
- getBillData(this, val).then(() => {
121
- this.$emit('ready')
122
- }).catch((error) => {
123
- this.$emit('error', error)
124
- })
125
- }
126
- }
127
- },
128
- events: {
129
- 'print' () {
130
- // 对票据明细进行更新或插入操作
131
- this.$dispatch('printok', '发票打印', this.data)
132
- },
133
- 'print-error' () {
134
- this.$dispatch('error', '发票打印', this.data, null)
135
- }
136
- }
137
- }
138
- </script>
139
- <style >
140
- </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 v-if="bill.data">-->
9
+ <!-- {{{bill.data}}}-->
10
+ <!-- </div>-->
11
+ <validator name='v'>
12
+ <form class="form-horizontal select-overspread">
13
+ <div class="row" style="display: flex;justify-content: center;" id='normal-bill' v-if="bill.data">
14
+ {{{bill.data}}}
15
+ </div>
16
+ </form>
17
+ </validator>
18
+ </article>
19
+ <footer slot="modal-footer" class="modal-footer">
20
+ <div v-if="billConfig.hasBillManage">
21
+ <div class="col-sm-2" >
22
+ <span><strong>发票号:{{model.f_using_number}}</strong></span>
23
+ </div>
24
+ </div>
25
+ <button type="button" class="btn btn-success" @click='print()'>打印</button>
26
+ <report-print id='normal-bill' top='5mm' left='5mm' width='90%' height='80%' :notrepeat="true" :showbtn="false" v-ref:reportprint></report-print>
27
+ <button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
28
+ </footer>
29
+ </modal>
30
+ </div>
31
+ </template>
32
+ <script>
33
+ import { DataModel, HttpResetClass } from 'vue-client'
34
+
35
+ let getBillData = async function (self, val) {
36
+ console.log('temp:', self)
37
+ let temp = {
38
+ reprint: "'正常'",
39
+ condition: self.data.id
40
+ }
41
+ if (self.data.fillgasid) {
42
+ temp.fillgasid = `"${self.data.fillgasid}"`
43
+ }
44
+ if (self.data.f_meter_type == '气量卡表') {
45
+ let http = new HttpResetClass()
46
+ let param = {
47
+ model: {f_userfiles_id: self.data.f_userfiles_id},
48
+ isGasValue: 0,
49
+ value: 0
50
+ }
51
+ let a = await http.load('POST', 'rs/logic/commonCal', {data: param}, {resolveMsg: null, rejectMsg: '获取阶梯使用情况出错'})
52
+ let value = a.data
53
+ let jt = a.data.chargeprice.length
54
+ if (jt > 1) {
55
+ value.f_hasuse1 = (value.sumamount >= value.f_stair1ceiling ? value.f_stair1ceiling : value.sumamount).toFixed(4)
56
+ value.f_hasuse2 = (value.sumamount >= value.f_stair2ceiling ? value.f_stair2ceiling - value.f_stair1ceiling : value.sumamount - value.f_stair1ceiling).toFixed(4)
57
+ value.f_hasuse3 = (value.sumamount >= value.f_stair3ceiling ? value.f_stair3ceiling - value.f_stair2ceiling : value.sumamount - value.f_stair2ceiling).toFixed(4)
58
+ if (value.f_hasuse2 < 0) value.f_hasuse2 = 0
59
+ if (value.f_hasuse3 < 0) value.f_hasuse3 = 0
60
+ } else {
61
+ let parm1 = {
62
+ items: 'f_pregas',
63
+ tablename: 't_sellinggas',
64
+ condition: `id=${self.data.id}`
65
+ }
66
+ let b = await http.load('POST', 'rs/sql/querySingleTable', {data: parm1}, {resolveMsg: null, rejectMsg: '获取同价使用情况出错'})
67
+ value.f_hasuse1 = b.data[0].f_pregas
68
+ value.f_hasuse2 = 0
69
+ value.f_hasuse3 = 0
70
+ value.f_stair1price = value.chargeprice[0].f_price
71
+ value.f_stair2price = 0
72
+ value.f_stair3price = 0
73
+ }
74
+ temp = Object.assign(temp, value)
75
+ }
76
+ console.log('self.billData.url:', self.billData.url)
77
+ self.bill = new DataModel(self.billData.url, temp)
78
+ await self.bill.search(self.data.id)
79
+ // 获取发票号
80
+ self.model.f_using_number = self.billData.bill.number
81
+ }
82
+
83
+ export default {
84
+ title: '收费发票',
85
+ data () {
86
+ return {
87
+ model: {
88
+ f_using_number: null
89
+ },
90
+ bill: {},
91
+ messShow: false
92
+ }
93
+ },
94
+ props: ['show', 'data', 'billData', 'billConfig'],
95
+ ready () {
96
+ console.log('打票', this.billConfig, this.billData)
97
+ },
98
+ methods: {
99
+ cancel () {
100
+ this.$dispatch('toggle')
101
+ },
102
+
103
+ async print () {
104
+ // 更新系统发票
105
+ try {
106
+ if (this.billConfig.hasBillManage) {
107
+ if (this.data.f_bill_type != '清算单') { await this.$CommonService.openPaperBill(this.data.id, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常') }
108
+ } else {
109
+ await this.$resetpost('rs/logic/sale_billReprint', {data: this.data}, {resolveMsg: null, rejectMsg: '票据补打出错!!'})
110
+ }
111
+ this.$refs.reportprint.print()
112
+ } catch (error) {
113
+ this.$dispatch('refresh')
114
+ }
115
+ }
116
+ },
117
+ watch: {
118
+ 'show' (val) {
119
+ if (val) {
120
+ getBillData(this, val).then(() => {
121
+ this.$emit('ready')
122
+ }).catch((error) => {
123
+ this.$emit('error', error)
124
+ })
125
+ }
126
+ }
127
+ },
128
+ events: {
129
+ 'print' () {
130
+ // 对票据明细进行更新或插入操作
131
+ this.$dispatch('printok', '发票打印', this.data)
132
+ },
133
+ 'print-error' () {
134
+ this.$dispatch('error', '发票打印', this.data, null)
135
+ }
136
+ }
137
+ }
138
+ </script>
139
+ <style >
140
+ </style>