sale-client 4.2.24 → 4.2.25

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 (60) hide show
  1. package/build/dev-server.js +41 -30
  2. package/package.json +1 -1
  3. package/src/App.vue +1 -1
  4. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  5. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  6. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  7. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  8. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  9. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  10. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  11. package/src/filiale/bayan/StockListmain.vue +543 -543
  12. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  13. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  14. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  15. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  16. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  17. package/src/filiale/qingjian/MeterinfoTest.vue +27 -13
  18. package/src/filiale/qingjian/SafeCheck.vue +37 -4
  19. package/src/filiale/qingjian/UserEssentialInfoTest.vue +5 -5
  20. package/src/filiale/qingjian/WebHandQueryUser.vue +2 -2
  21. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  22. package/src/filiale/ronghao/CardService.js +2144 -2144
  23. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  24. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  25. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  26. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  27. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  28. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  29. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  30. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  31. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  32. package/src/filiale/ronghao/Upload.vue +654 -654
  33. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  34. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  35. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  36. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  37. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  38. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  39. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  40. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  41. package/src/filiale/ronghao/specificInformation.vue +537 -537
  42. package/src/filiale/yangchun/ChargeList.vue +954 -954
  43. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  44. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  45. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  46. package/src/main.js +1 -1
  47. package/src/plugins/CardService.js +2217 -2217
  48. package/.gradle/8.10/checksums/checksums.lock +0 -0
  49. package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
  50. package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
  51. package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
  52. package/.gradle/8.10/fileChanges/last-build.bin +0 -0
  53. package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
  54. package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
  55. package/.gradle/8.10/gc.properties +0 -0
  56. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  57. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  58. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  59. package/.gradle/file-system.probe +0 -0
  60. package/.gradle/vcs-1/gc.properties +0 -0
@@ -345,8 +345,14 @@
345
345
  <label for="f_adjustable" class="font_normal_body" style="width: auto;letter-spacing: 0.5em;margin-right: -0.5em;margin-left: -0.5em">&ensp;{{getConfigLabelName('f_adjustable','调压箱')}}</label>
346
346
  <input type="text" v-model="row.f_adjustable" v-show="false"
347
347
  v-validate:f_adjustable=getConfigValidate("f_adjustable",false)>
348
- <v-select :value.sync="row.f_adjustable" :options='adjustables' placeholder='调压箱' close-on-select
349
- v-model='row.f_adjustable' :search='true'></v-select>
348
+ <v-select :value.sync="row.f_adjustable"
349
+ :options='adjustables'
350
+ placeholder='调压箱'
351
+ close-on-select
352
+ @select-search="getAdjustables"
353
+ v-model='row.f_adjustable'
354
+ :search='true'>
355
+ </v-select>
350
356
  </div>
351
357
  <div class="col-sm-4 form-group" :class="[$m.f_hand_date.required ? 'has-error' : '']"
352
358
  v-show="(formconfig && formconfig.f_hand_date && formconfig.f_hand_date.required) || !onlyshowmust"
@@ -720,6 +726,7 @@
720
726
  opteratormetrbook: false, // 抄表册操作
721
727
  oldrow: [],
722
728
  overdueset: [],
729
+ adjustables: [],
723
730
  isiot: true,
724
731
  meterNumberDisabled: false,
725
732
  meterChangeDisabled: this.$appdata.getSingleValue('建档后禁止更改表号') ? this.$appdata.getSingleValue('建档后禁止更改表号') : false,
@@ -757,8 +764,26 @@
757
764
  }
758
765
  await this.getConcentrators()
759
766
  co(meterBookGen(this))
767
+ this.getAdjustables()
760
768
  },
761
769
  methods: {
770
+ async getAdjustables (searchText) {
771
+ let condition = `f_orgid = '${this.$login.f.orgid}'`
772
+ if (searchText) {
773
+ condition = condition + ` and (f_adjustable_name like '%${searchText}%' or f_adjustable_id like '%${searchText}%')`
774
+ }
775
+ let data = {
776
+ items: 'id,f_adjustable_name,f_adjustable_id',
777
+ tablename: 't_adjustablebox',
778
+ condition: condition,
779
+ orderitem: 'id desc'
780
+ }
781
+ let result = await this.$resetpost('rs/sql/singleTable_OrderBy?pageNo=1&pageSize=100', {data: data}, {resolveMsg: null, rejectMsg: '获取集中器失败!'})
782
+ this.adjustables = [{label: '全部', value: ''}]
783
+ for (let row of result.data) {
784
+ this.adjustables.push({label: `[${row.f_adjustable_id}]-${row.f_adjustable_name}`, value: row})
785
+ }
786
+ },
762
787
  validateInput (event, key) {
763
788
  const value = event.target.value
764
789
  const sanitizedValue = value.replace(/[^0-9.]/g, '')
@@ -1090,17 +1115,6 @@
1090
1115
  return Array.from(new Set(result))
1091
1116
  },
1092
1117
 
1093
- adjustables () {
1094
- let arr = []
1095
- let filter = this.f_filialeid
1096
- this.$GetSaleParam.getAdjustable(filter).forEach((item) => {
1097
- let temp = {}
1098
- temp.label = `[${item.value.f_adjustable_id}]-${item.label}`
1099
- temp.value = item.value
1100
- arr.push(temp)
1101
- })
1102
- return [{label: '全部', value: ''}, ...arr]
1103
- },
1104
1118
  inputtores () {
1105
1119
  // return this.$login.f.f_gasman
1106
1120
  let rs = new Array()
@@ -89,13 +89,29 @@
89
89
  </thead>
90
90
  <tbody>
91
91
  <tr v-show="nextCheckDateShow">
92
- <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">下次安检时间:</td>
92
+ <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">本次安检时间:</td>
93
93
  <td colspan="3" :style=style>{{ model.f_next_check_date }}</td>
94
94
  </tr>
95
95
  <tr>
96
96
  <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次安检时间:</td>
97
97
  <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_last_check_date }}</td>
98
98
  </tr>
99
+ <tr>
100
+ <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次安检结果:</td>
101
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ lastDefectResult }}</td>
102
+ </tr>
103
+ <tr>
104
+ <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次是否有隐患:</td>
105
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ lastDefectResult === '有隐患' ? '是' : '否' }}</td>
106
+ </tr>
107
+ <tr>
108
+ <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次隐患名称:</td>
109
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_last_defect_text }}</td>
110
+ </tr>
111
+ <tr>
112
+ <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">上次处理结果:</td>
113
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_last_repaired === '已修' ? '已处理' : '未处理' }}</td>
114
+ </tr>
99
115
  <tr>
100
116
  <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">安检员:</td>
101
117
  <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;">{{model.f_checker_name}}</td>
@@ -289,11 +305,28 @@
289
305
  }
290
306
  },
291
307
  computed: {
292
- inspectionResult() {
308
+ inspectionResult () {
293
309
  if (this.model.safecheckitem == null || this.model.safecheckitem.every(item => item.f_repaire_state === '已处理')) {
294
- return '正常';
310
+ return '正常'
311
+ }
312
+ return '有隐患'
313
+ },
314
+ lastDefectResult () {
315
+ let content = this.model.f_last_defect_content
316
+ if (!content) return ''
317
+
318
+ try {
319
+ // 先解析一次
320
+ let parsed = typeof content === 'string' ? JSON.parse(content) : content
321
+ // 如果 result 还是 undefined,再尝试一次解析
322
+ if (typeof parsed.result === 'undefined' && typeof parsed === 'string') {
323
+ parsed = JSON.parse(parsed)
324
+ }
325
+ return parsed.result || ''
326
+ } catch (e) {
327
+ console.warn('解析 f_last_defect_content 出错', e)
328
+ return ''
295
329
  }
296
- return '有隐患';
297
330
  }
298
331
  },
299
332
  watch: {
@@ -441,14 +441,14 @@ export default {
441
441
  'baseinfo.base.f_cost_type[0]' () {
442
442
  this.$resetValidation()
443
443
  },
444
- 'baseinfo.base.f_user_name'(val) {
444
+ 'baseinfo.base.f_user_name' (val) {
445
445
  console.log('f_user_name变化', val)
446
446
  },
447
- 'addressinfo.f_lat'(newVal) {
448
- this.lat = newVal;
447
+ 'addressinfo.f_lat' (newVal) {
448
+ this.lat = newVal
449
449
  },
450
- 'addressinfo.f_lng'(newVal) {
451
- this.lng = newVal;
450
+ 'addressinfo.f_lng' (newVal) {
451
+ this.lng = newVal
452
452
  }
453
453
  },
454
454
  computed: {
@@ -169,7 +169,7 @@
169
169
  data () {
170
170
  return {
171
171
  condition: '1=1',
172
- model: new PagedList(`${this.row.f_meter_type === '物联网表'?'api/af-revenue/sql/sale_WebHandplanQuery':'api/af-revenue/sql/sale_HandplanQuery'}`, 20, {f_user_id: this.row.f_user_id}, {
172
+ model: new PagedList(`${this.row.f_meter_type === '物联网表' ? 'api/af-revenue/sql/sale_WebHandplanQuery' : 'api/af-revenue/sql/sale_HandplanQuery'}`, 20, {f_user_id: this.row.f_user_id}, {
173
173
  f_oughtfee: 0,
174
174
  f_oughtamount: 0,
175
175
  f_stairamount1: 0,
@@ -252,7 +252,7 @@
252
252
  this.condition = `${this.$refs.paged.$refs.criteria.condition} and ${this.searchValue} = '${this.row[this.searchValue]}'`
253
253
  this.model.search(this.condition, this.model)
254
254
  let http = new HttpResetClass()
255
- let res = await http.load('POST', `${this.row.f_meter_type === '物联网表'?'api/af-revenue/sql/sale_WebHandplanQuery':'api/af-revenue/sql/sale_HandplanQuery'}`, {
255
+ let res = await http.load('POST', `${this.row.f_meter_type === '物联网表' ? 'api/af-revenue/sql/sale_WebHandplanQuery' : 'api/af-revenue/sql/sale_HandplanQuery'}`, {
256
256
  data: {
257
257
  f_user_id: this.row.f_user_id,
258
258
  condition: this.condition