sale-client 4.1.230 → 4.2.1-ronghao

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 (171) hide show
  1. package/build/dev-server.js +29 -46
  2. package/package.json +2 -2
  3. package/src/App.vue +3 -3
  4. package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -4
  5. package/src/components/FilesManageNew/FileUserFiles.vue +2 -4
  6. package/src/components/FilesManageNew/MeterinfoTest.vue +9 -9
  7. package/src/components/FilesManageNew/UserEssentialInfoTest.vue +201 -227
  8. package/src/components/FilesManageNew/UserGeneralInfoTest.vue +0 -2
  9. package/src/components/charge/business/CardMeterCenter.vue +1 -1
  10. package/src/components/charge/business/FilesComplete.vue +3 -3
  11. package/src/components/charge/business/IOTMeterCenter.vue +1 -1
  12. package/src/components/charge/business/OtherChargeNew.vue +68 -48
  13. package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +10 -1
  14. package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +1 -1
  15. package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +1 -1
  16. package/src/components/common/userinfo_detail/ic_detail/GarbageRecordList.vue +69 -0
  17. package/src/components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue +384 -0
  18. package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
  19. package/src/components/revenue/Common/MeterMessage.vue +1 -1
  20. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  21. package/src/components/revenue/HandManager/WebHand.vue +7 -4
  22. package/src/components/revenue/base/leftview/SafeCheck.vue +41 -3
  23. package/src/components/revenue/base/leftview/UserFeeInfo.vue +76 -0
  24. package/src/components/revenue/base/leftview/otherinfo.vue +1 -0
  25. package/src/components/revenue/base/rightview/CardList.vue +7 -3
  26. package/src/components/revenue/batchDeduction/batchDeductionList.vue +1 -1
  27. package/src/components/revenue/cardHandManage/cardDown.vue +18 -0
  28. package/src/components/revenue/changeInsurance/InsuranceAdd.vue +1 -0
  29. package/src/components/revenue/changeInsurance/InsuranceRecord.vue +2 -1
  30. package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +1 -1
  31. package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +4 -2
  32. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  33. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  34. package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +2 -2
  35. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  36. package/src/components/revenue/machineHandManage/HandplanQuery.vue +1 -1
  37. package/src/components/revenue/machineHandManage/machineHand.vue +3 -2
  38. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  39. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  40. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  41. package/src/filiale/bayan/StockListmain.vue +543 -543
  42. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  43. package/src/filiale/dexin/MeterinfoTest.vue +1239 -0
  44. package/src/filiale/dexin/UserEssentialInfoTest.vue +602 -0
  45. package/src/filiale/dexin/sale.js +5 -0
  46. package/src/filiale/fugou/MeterinfoTest.vue +1 -1
  47. package/src/filiale/jiaxian/AutomaticPurse.vue +349 -0
  48. package/src/filiale/jiaxian/ChangeMeterQueryUser.vue +303 -0
  49. package/src/filiale/jiaxian/ChangeRecord.vue +44 -2
  50. package/src/filiale/jiaxian/FillCardQueryUser.vue +250 -0
  51. package/src/filiale/jiaxian/FillGasQueryUser.vue +270 -0
  52. package/src/filiale/jiaxian/OtherChargeQueryUser.vue +305 -0
  53. package/src/filiale/jiaxian/PriceAdjustmentQueryUser.vue +368 -0
  54. package/src/filiale/jiaxian/PriceChangeQueryUser.vue +243 -0
  55. package/src/filiale/jiaxian/QueryInstruct.vue +436 -0
  56. package/src/filiale/jiaxian/RecordQueryUser.vue +321 -0
  57. package/src/filiale/jiaxian/Repurchase.vue +181 -0
  58. package/src/filiale/jiaxian/TransferQueryUser.vue +274 -0
  59. package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +11 -11
  60. package/src/filiale/jiaxian/Userinfo.vue +426 -0
  61. package/src/filiale/jiaxian/WatchCollection.vue +54 -1
  62. package/src/filiale/jiaxian/WebAutomaticPurse.vue +348 -0
  63. package/src/filiale/jiaxian/contractSigningList.vue +149 -0
  64. package/src/filiale/jiaxian/sale.js +5 -0
  65. package/src/filiale/jinhong/AutoAccountsDetail.vue +63 -0
  66. package/src/filiale/jinhong/CardList.vue +572 -0
  67. package/src/filiale/jinhong/CardMeterCenter.vue +1 -1
  68. package/src/filiale/jinhong/CardMeterCenterInner.vue +61 -22
  69. package/src/filiale/jinhong/GarbageCharge.vue +1 -1
  70. package/src/filiale/jinhong/HandplanQuery.vue +1430 -0
  71. package/src/filiale/jinhong/IOTMeterCenterInner.vue +42 -14
  72. package/src/filiale/jinhong/InsuranceAdd.vue +27 -5
  73. package/src/filiale/jinhong/InsuranceChargesDetails.vue +11 -5
  74. package/src/filiale/jinhong/InsuranceRecord.vue +4 -5
  75. package/src/filiale/jinhong/InsuranceTemp.vue +33 -5
  76. package/src/filiale/jinhong/MachineChargeService.js +8 -0
  77. package/src/filiale/jinhong/MachineMeterCenter.vue +38 -11
  78. package/src/filiale/jinhong/ShowCardSellGasInner.vue +46 -14
  79. package/src/filiale/jinhong/Userinfo.vue +75 -1
  80. package/src/filiale/jinhong/insuranceGuanL.vue +349 -0
  81. package/src/filiale/jinhong/machineDown.vue +1205 -0
  82. package/src/filiale/jinhong/sale.js +9 -0
  83. package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +259 -0
  84. package/src/filiale/jinhuang/WebHand.vue +1026 -0
  85. package/src/filiale/jinhuang/WebHandQueryUser.vue +413 -0
  86. package/src/filiale/jinhuang/cardsHand.vue +911 -0
  87. package/src/filiale/jinhuang/sale.js +8 -0
  88. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  89. package/src/filiale/lixianV3/InsuranceAdd.vue +1 -0
  90. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  91. package/src/filiale/meihekou/CardMeterCenter.vue +991 -0
  92. package/src/filiale/meihekou/ChargeManage.vue +3 -2
  93. package/src/filiale/meihekou/ChargeOper.vue +279 -169
  94. package/src/filiale/meihekou/HandManager.vue +57 -2
  95. package/src/filiale/meihekou/NoCardMeterCenter.vue +542 -0
  96. package/src/filiale/meihekou/OverUseCharge.vue +1 -1
  97. package/src/filiale/meihekou/PrintBill.vue +48 -41
  98. package/src/filiale/meihekou/ReissueBill.vue +4 -1
  99. package/src/filiale/meihekou/ShowCardSellGas.vue +935 -0
  100. package/src/filiale/meihekou/TransferManage.vue +704 -0
  101. package/src/filiale/meihekou/Userinfo.vue +233 -5
  102. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  103. package/src/filiale/meihekou/icTable.vue +233 -0
  104. package/src/filiale/meihekou/machineHand.vue +2158 -0
  105. package/src/filiale/meihekou/manualChargeCenter.vue +394 -0
  106. package/src/filiale/meihekou/meterTable.vue +220 -0
  107. package/src/filiale/meihekou/sale.js +15 -0
  108. package/src/filiale/qianneng/MeterMessage.vue +1 -1
  109. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  110. package/src/filiale/rizhao/InsuranceAdd.vue +1 -0
  111. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  112. package/src/filiale/ronghao/CardList.vue +19 -17
  113. package/src/filiale/ronghao/CardMeterChargeCancel.vue +5 -0
  114. package/src/filiale/ronghao/CardService.js +2144 -2144
  115. package/src/filiale/ronghao/ChangeMeterService.js +1 -1
  116. package/src/filiale/ronghao/ChargeList.vue +17 -17
  117. package/src/filiale/ronghao/ChargeManage.vue +325 -0
  118. package/src/filiale/ronghao/ChargeOper.vue +330 -0
  119. package/src/filiale/ronghao/FilesManageNew/UserEssentialInfoTest.vue +457 -0
  120. package/src/filiale/ronghao/FilesManageNew/UserGeneralInfoTest.vue +690 -0
  121. package/src/filiale/ronghao/HandplanQuery.vue +13 -14
  122. package/src/filiale/ronghao/IOTMeterCenter.vue +15 -6
  123. package/src/filiale/ronghao/InsuranceAdd.vue +1 -0
  124. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  125. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  126. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  127. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  128. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  129. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  130. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  131. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  132. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  133. package/src/filiale/ronghao/Upload.vue +654 -654
  134. package/src/filiale/ronghao/Userinfo.vue +18 -18
  135. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  136. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  137. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  138. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  139. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  140. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  141. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  142. package/src/filiale/ronghao/machineRefund.vue +3 -1
  143. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  144. package/src/filiale/ronghao/sale.js +11 -0
  145. package/src/filiale/ronghao/specificInformation.vue +537 -537
  146. package/src/filiale/ronghao/uploadFilesHistory.vue +214 -0
  147. package/src/filiale/ruihua/FilesManage/MeterinfoTest.vue +10 -0
  148. package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +1 -0
  149. package/src/filiale/wuan/MeterMessage.vue +1 -1
  150. package/src/filiale/yangchun/BasicLivingList.vue +281 -0
  151. package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +1 -0
  152. package/src/filiale/yangchun/CardChangeFill.vue +1 -1
  153. package/src/filiale/yangchun/ChargeList.vue +954 -954
  154. package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +3 -3
  155. package/src/filiale/yangchun/NewMeterList.vue +742 -0
  156. package/src/filiale/yangchun/sale.js +3 -0
  157. package/src/filiale/yuncheng/CardList.vue +1 -1
  158. package/src/filiale/yuncheng/IndustryCommerceHand.vue +1145 -0
  159. package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +794 -0
  160. package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +64 -0
  161. package/src/filiale/yuncheng/InsuranceAdd.vue +1 -0
  162. package/src/filiale/yuncheng/MeterBookUser.vue +781 -0
  163. package/src/filiale/yuncheng/UserDeviceInfoTest.vue +2 -2
  164. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  165. package/src/filiale/yuncheng/industryDown.vue +1118 -0
  166. package/src/filiale/yuncheng/sale.js +11 -0
  167. package/src/filiale/yuncheng/uploadFilesHistory.vue +185 -0
  168. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  169. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  170. package/src/plugins/CardService.js +2217 -2217
  171. package/src/sale.js +3 -1
@@ -0,0 +1,233 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="span">
4
+ <validator name='v'>
5
+ <form novalidate class="form-horizontal">
6
+ <div class="row" v-if="isGas">
7
+ <div class="col-sm-4" :class="[$v.f_pregas.dctest ? 'has-error' : 'has-success']">
8
+ <label class="font_normal_body">赠气</label>
9
+ <input class="input_search" style="width:60%" type="number" @blur="pregas"
10
+ v-validate:f_pregas='{ dctest: [0, ">=" ]}' v-model="model.f_pregas" placeholder="赠气量" v-ref:f_pregas>
11
+ </div>
12
+ </div>
13
+ <div class="col-sm-4 form-group">
14
+ <label class="font_normal_body" title="参数值:计入/不计入,计入:更新档案结余及累购,不计入:只保存记录不对档案进行操作">计入累购</label>
15
+ <input v-show="false" v-model="model.f_add_gas" v-validate:f_operat_type='{required: true}'>
16
+ <v-select :value.sync="model.f_add_gas" value-single
17
+ :options='addGas' placeholder='请选择'
18
+
19
+ selected="是否计入累购"
20
+ style="width:60%"
21
+ close-on-select></v-select>
22
+ </div>
23
+ <div class="row" v-if="!isGas">
24
+ <div class="col-sm-4">
25
+ <label for="f_preamount" class=" font_normal_body">金额:</label>
26
+ <input class="input_search" style="width:60%" type="number" min = "0.01" v-model="model.f_preamount" placeholder="金额">
27
+ </div>
28
+ <!-- <div class="col-sm-4">-->
29
+ <!-- <label for="f_add_gas" class="font_normal_body">是否入累计:</label>-->
30
+ <!-- <v-select v-model="model.f_add_gas"-->
31
+ <!-- placeholder='请选择'-->
32
+ <!-- :value.sync="model.f_add_gas"-->
33
+ <!-- :options='addGas'-->
34
+ <!-- close-on-select clear-button>-->
35
+ <!-- </v-select>-->
36
+ <!-- </div>-->
37
+ </div>
38
+ <div class="row" style="margin-top:10px;">
39
+ <label for="f_reason" class=" font_normal_body">备&emsp;&emsp;注</label>
40
+ <input class="input_search" style="width:55%" rows="1" v-model="model.f_reason" placeholder="备注">
41
+ </div>
42
+ </form>
43
+ <div style="text-align:right;margin-top: 2%">
44
+
45
+ <button class="button_search" @click="confirm()" :disabled='!$v.valid' >确认</button>
46
+ <button class="button_clear" @click="clean()" >取消</button>
47
+ </div>
48
+ </validator>
49
+ <print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
50
+ </div>
51
+ </div>
52
+ <upload :blodid="row.f_userinfo_id" :businessid="randomBusinessId" isremark="true" fusetype="赠气"></upload>
53
+ </template>
54
+ <script>
55
+ let otherGasGen = async function (self) {
56
+ let data = self.getSell()
57
+ data.f_total_gas = data.f_add_gas === '计入' ? (self.row.f_total_gas - 0) + (self.model.f_pregas - 0) : (self.row.f_total_gas - 0)
58
+ data.f_total_fee = data.f_add_gas === '计入' ? (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) : (self.row.f_total_fee - 0)
59
+ if (self.isGas) {
60
+ data.f_pregas = self.model.f_pregas
61
+ } else {
62
+ data.f_preamount = self.model.f_preamount
63
+ }
64
+ data.f_userfiles_id = {
65
+ f_userfiles_id: self.row.f_userfiles_id,
66
+ f_userinfo_id: self.row.f_userinfo_id,
67
+ f_user_id: self.row.f_user_id,
68
+ version: self.row.version,
69
+ f_times: self.row.cardInfo.Times + 1,
70
+ f_total_gas: data.f_add_gas === '计入' ? (self.row.f_total_gas - 0) + (self.model.f_pregas - 0) : (self.row.f_total_gas - 0),
71
+ f_total_fee: data.f_add_gas === '计入' ? (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) : (self.row.f_total_fee - 0),
72
+ f_balance_gas: 0,
73
+ f_balance_amount: 0
74
+ }
75
+
76
+
77
+
78
+ // 保存表类型
79
+ data.f_meter_type = self.row.f_meter_type
80
+ data.f_times = self.row.cardInfo.Times + 1
81
+
82
+ await self.$resetpost('api/af-revenue/logic/fedWithgaIc', data, {resolveMsg: null, rejectMsg: '补气报错!!!'})
83
+ }
84
+ let asyncIcTable = async function (self) {
85
+ await self.$getConfig(self, 'icTable')
86
+ console.log('卡表赠气赠费config', self.config)
87
+ this.model.f_add_gas = self.config.f_add_gas
88
+ }
89
+
90
+ export default {
91
+ title: '卡表赠气赠费',
92
+ data () {
93
+ return {
94
+ isGas: false,
95
+ acceptprint: false,
96
+ acceptUrl: '',
97
+ printData: {
98
+ reason: '',
99
+ fillgas: '',
100
+ fillamount: ''
101
+ },
102
+ randomBusinessId: '',
103
+ resid: [], // 存放新增的f_files表中id
104
+ model: {
105
+ f_pregas: 0,
106
+ f_preamount: 1,
107
+ f_reason: '',
108
+ f_add_gas: '计入'
109
+ },
110
+ config: {
111
+ hasPrint: false,
112
+ f_add_gas: '计入'
113
+ },
114
+ billData: {
115
+ url: 'api/af-revenue/report/icGiftGas',
116
+ operator: this.$login.f.name,
117
+ billnumber: ''
118
+ },
119
+ print: false
120
+ }
121
+ },
122
+ props: ['row', 'cardData'],
123
+ ready () {
124
+ this.isGas = this.row.f_meter_type = false
125
+ this.row.cardInfo = this.cardData
126
+ console.log('卡信息', this.row.cardInfo)
127
+ this.getRandomId()
128
+ asyncIcTable(this)
129
+ if (this.isGas) {
130
+ this.billData.url = 'api/af-revenue/report/icGiftGas'
131
+ } else {
132
+ this.billData.url = 'api/af-revenue/report/icGiftFee'
133
+ }
134
+ },
135
+ events: {
136
+ // 删除Resid数组元素
137
+ 'delResid' (val) {
138
+ this.resid.$remove({id: val, f_biobid: ''})
139
+ // this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
140
+ },
141
+ // 增加Resid数组元素
142
+ 'resid' (val) {
143
+ this.resid.push({id: val, f_biobid: ''})
144
+ }
145
+ },
146
+ methods: {
147
+ getRandomId () {
148
+ this.randomBusinessId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
149
+ let res = Math.random() * 16 | 0
150
+ let v = c == 'x' ? res : (res & 0x3 | 0x8)
151
+ return v.toString(16)
152
+ })
153
+ },
154
+ confirm () {
155
+ otherGasGen(this).then((res) => {
156
+ let param1 = []
157
+ for (let row of this.resid) {
158
+ param1.push({id: row.id})
159
+ }
160
+ let data = {
161
+ param: param1,
162
+ f_blobid: res
163
+ }
164
+ this.$resetpost('api/af-revenue/logic/updatefiles', data)
165
+
166
+ if (this.config.hasPrint) {
167
+ this.row.id = res
168
+ this.row.f_bill_type = this.isGas ? '卡表赠气' : '卡表赠费'
169
+ this.row.f_bill_style = '普通收据'
170
+ this.print = true
171
+ } else {
172
+ this.$dispatch('success')
173
+ }
174
+ })
175
+ },
176
+ pregas () {
177
+ // 对气量进行验证
178
+ if ((this.row.f_topup_ceil - 0) > 0 && (this.model.f_pregas - 0) > (this.row.f_topup_ceil - 0)) {
179
+ this.$showAlert(`您输入的气量不能大于该表的充值上限: ${this.row.f_topup_ceil}`, 'warning', 5000)
180
+ this.model.f_pregas = null
181
+ }
182
+ },
183
+ getSell () {
184
+ return {
185
+ f_balance: this.row.f_balance,
186
+ f_curbalance: this.row.f_balance,
187
+ f_card_id: this.row.f_card_id,
188
+ f_comments: this.model.f_reason,
189
+ f_type: this.model.f_pregas != 0 ? '卡表赠气' : '卡表赠费',
190
+ f_user_id: this.row.f_user_id,
191
+ f_userfiles_id: this.row.f_userfiles_id,
192
+ f_add_gas: this.model.f_add_gas,
193
+ f_userinfo_id: this.row.f_userinfo_id,
194
+ f_user_name: this.row.f_user_name,
195
+ f_user_type: this.row.f_user_type,
196
+ f_gasproperties: this.row.f_gasproperties,
197
+ f_address: this.row.f_address,
198
+ f_meter_brand: this.row.f_meter_brand,
199
+ f_operat_type: '其他补气',
200
+ f_describe: `${this.$login.f.name}对客户${this.row.f_user_name}进行${this.model.f_pregas != 0 ? '卡表赠气' : '卡表赠费'}操作`,
201
+ f_state: '有效',
202
+ f_operator: this.$login.f.name,
203
+ f_operatorid: this.$login.f.id,
204
+ f_orgid: this.$login.f.orgid,
205
+ f_orgname: this.$login.f.orgs,
206
+ f_depid: this.$login.f.depids,
207
+ f_depname: this.$login.f.deps,
208
+ f_zoneid: this.$login.f.zoneid,
209
+ f_zones: this.$login.f.zones
210
+ }
211
+ },
212
+ close () {
213
+ this.print = false
214
+ this.clean()
215
+ },
216
+ clean () {
217
+ this.$info('取消操作')
218
+ this.$dispatch('cancelclean', this.row)
219
+ },
220
+ printok () {
221
+ this.$dispatch('success')
222
+ }
223
+ },
224
+ computed: {
225
+ addGas () {
226
+ return [{label: '计入', value: '计入'}, {label: '不计入', value: '不计入'}]
227
+ }
228
+ }
229
+ }
230
+ </script>
231
+
232
+ <style>
233
+ </style>