sale-client 4.1.98 → 4.1.99-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 (56) hide show
  1. package/build/dev-server.js +1 -1
  2. package/package.json +1 -1
  3. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  4. package/src/filiale/meihekou/icTable.vue +233 -0
  5. package/src/filiale/meihekou/sale.js +2 -0
  6. package/src/filiale/ronghao/HandplanQuery.vue +13 -14
  7. package/src/filiale/ronghao/uploadFilesHistory.vue +27 -1
  8. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  9. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  10. package/.gradle/5.2.1/gc.properties +0 -0
  11. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  12. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  15. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  16. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  17. package/src/components/SendCard/SendCardData.vue +0 -208
  18. package/src/components/accounts/accountAdd.vue +0 -276
  19. package/src/components/accounts/accountsList.vue +0 -183
  20. package/src/components/accounts/accountsManage.vue +0 -87
  21. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  22. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  23. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  24. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  25. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  26. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  27. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  28. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  29. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  30. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  31. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  32. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  33. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  34. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  35. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  36. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  37. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  38. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  39. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  40. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  41. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  42. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  43. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  44. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  45. package/src/components/thirdapply/thirdAdd.vue +0 -289
  46. package/src/components/thirdapply/thirdList.vue +0 -162
  47. package/src/components/thirdapply/thirdManage.vue +0 -74
  48. package/src/components/webMeter/InstructQuery.vue +0 -414
  49. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  50. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  51. package/src/components/webMeter/WebUserHand.vue +0 -483
  52. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  53. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  54. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  55. package/src/plugins/FileManageServicets.js +0 -214
  56. package/src/plugins/GetImg.js +0 -53
@@ -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>
@@ -65,4 +65,6 @@ export default function () {
65
65
  Vue.component('machine-hand', (resolve) => { require(['./machineHand'], resolve) })
66
66
  Vue.component('charge-oper', (resolve) => { require(['./ChargeOper'], resolve) })
67
67
  Vue.component('meterTable', (resolve) => { require(['./meterTable'], resolve) })
68
+ // 卡表赠气
69
+ Vue.component('icTable', (resolve) => { require(['./icTable'], resolve) })
68
70
  }
@@ -642,17 +642,16 @@
642
642
  style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
643
643
  汇总信息
644
644
  </td>
645
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
646
- <!-- 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}-->
647
- <!-- </td>-->
648
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
649
- <!-- 气费合计:&emsp;{{sumsmodel.f_oughtfee}}-->
650
- <!-- </td>-->
651
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
652
- <!-- 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}-->
653
- <!-- </td>-->
654
- <td
655
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
645
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
646
+ 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}
647
+ </td>
648
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
649
+ 气费合计:&emsp;{{sumsmodel.f_oughtfee}}
650
+ </td>
651
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
652
+ 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}
653
+ </td>
654
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
656
655
  欠费金额合计:&emsp;{{ sumsmodel.f_actual_arrears }}
657
656
  </td>
658
657
  <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
@@ -777,9 +776,9 @@ export default {
777
776
  footer: [],
778
777
  data: {},
779
778
  model: new PagedList('api/af-revenue/sql/salehandplanQuery', 20, {}, {
780
- // f_oughtamount: 0,
781
- // f_oughtfee: 0,
782
- // f_debt_money: 0,
779
+ f_oughtamount: 0,
780
+ f_oughtfee: 0,
781
+ f_debt_money: 0,
783
782
  f_actual_arrears: 0
784
783
  // f_stair1amount: 0,
785
784
  // f_stair1fee: 0,
@@ -51,7 +51,7 @@
51
51
  <div class="showtext">分类:&nbsp;<span>{{file.fusetype}}</span></div>
52
52
  <div class="showtext">文件说明:&nbsp;{{file.fremarks}}</div>
53
53
  <div class="flex-row showtext">
54
- <a target="_blank" :href="file.f_downloadURL">预览</a>
54
+ <button class="btn btn-link" @click.stop="imgShow(file.f_downloadURL)">预览</button>
55
55
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
56
56
  <a v-show="isDelete == '1'" @click="delet($index,file)">删除</a>
57
57
  </div>
@@ -64,6 +64,19 @@
64
64
  </div>
65
65
  </div>
66
66
  </div>
67
+ <modal :show.sync="imgshow" v-ref:modal backdrop="true" coverstyle="modalContentRight">
68
+ <header slot="modal-header" class="modal-header">
69
+ 预览
70
+ </header>
71
+ <article slot="modal-body" class="modal-body">
72
+ <div class="from-group">
73
+ <img-self-sale-plus :src="imgfilename" :list="imgfilename" :width="750" :height="750"></img-self-sale-plus>
74
+ </div>
75
+ </article>
76
+ <footer slot="modal-footer" class="modal-footer">
77
+ <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
78
+ </footer>
79
+ </modal>
67
80
  </template>
68
81
  <script>
69
82
  import {HttpResetClass} from 'vue-client'
@@ -78,6 +91,8 @@ export default {
78
91
 
79
92
  upload_date: '',
80
93
  fusetype: [],
94
+ imgfilename: '',
95
+ imgshow: false,
81
96
  files: [],
82
97
  fusetypes: [],
83
98
  isDelete: '0', // 删除按钮,可以进行控制(权限等)
@@ -111,6 +126,14 @@ export default {
111
126
  this.selfSearch()
112
127
  })
113
128
  },
129
+ imgShow (val) {
130
+ // this.imgfilename = `api/af-revenue/file/image/` + val
131
+ this.imgfilename = val
132
+ this.imgshow = true
133
+ },
134
+ imgclose () {
135
+ this.imgshow = false
136
+ },
114
137
  getFiles () {
115
138
  this.files = []
116
139
  this.userinfo_id = this.row.f_userinfo_id
@@ -185,4 +208,7 @@ export default {
185
208
  .showtext{
186
209
  height:20px;
187
210
  }
211
+ .modalContentRight {
212
+ float:right;
213
+ }
188
214
  </style>
File without changes
@@ -1,2 +0,0 @@
1
- #Thu Jun 12 13:59:43 CST 2025
2
- gradle.version=5.2.1
File without changes