manage-client 3.1.45 → 3.1.46

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 (57) hide show
  1. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  2. package/.gradle/{5.4.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
  3. package/.gradle/{6.1 → 7.1}/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/{4.4 → 7.1}/fileChanges/last-build.bin +0 -0
  6. package/.gradle/{6.1 → 7.1}/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/{6.1 → 7.1}/gc.properties +0 -0
  9. package/.gradle/{4.4/fileHashes/fileHashes.bin → buildOutputCleanup/outputFiles.bin} +0 -0
  10. package/.gradle/configuration-cache/gc.properties +0 -0
  11. package/build/dev-server.js +10 -24
  12. package/package.json +1 -1
  13. package/src/components/SellReport/GasMoneyReport.vue +254 -0
  14. package/src/components/SellReport/ReportItems.vue +241 -241
  15. package/src/components/SellReport/SellDepReport.vue +251 -0
  16. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +10 -6
  17. package/src/components/sale/businessquery/FillGasQuery.vue +491 -491
  18. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  19. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  20. package/src/components/sale/config/exportConfig.js +879 -879
  21. package/src/components/sale/filesquery/DeviceQuery.vue +524 -524
  22. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  23. package/src/components/webmeter/reportdata/ReportDataQuery.vue +25 -53
  24. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  25. package/src/filiale/jingwei/ChargeQuery.vue +1241 -1241
  26. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  27. package/src/filiale/liaoyuan/ChargeQuery.vue +1284 -1284
  28. package/src/filiale/liaoyuan/exportConfig.js +718 -718
  29. package/src/filiale/pingxiang/sale.js +9 -9
  30. package/src/filiale/qingtongxia/sale.js +13 -13
  31. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  32. package/src/filiale/shaoguan/BusinessManage.vue +162 -162
  33. package/src/filiale/shaoguan/ChargeQuery.vue +1034 -1029
  34. package/src/filiale/shaoguan/HandplanQuery.vue +1308 -1308
  35. package/src/filiale/shaoguan/OtherChargeQuery.vue +6 -0
  36. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  37. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  38. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  39. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  40. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  41. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  42. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -41
  43. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -290
  44. package/src/filiale/shaoguan/sale.js +35 -35
  45. package/src/main.js +4 -4
  46. package/src/reportManage.js +8 -0
  47. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  48. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  49. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  50. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  51. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  52. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  53. package/src/.idea/misc.xml +0 -9
  54. package/src/.idea/modules.xml +0 -8
  55. package/src/.idea/src.iml +0 -9
  56. package/src/.idea/vcs.xml +0 -6
  57. package/src/.idea/workspace.xml +0 -93
@@ -52,27 +52,18 @@
52
52
  placeholder='气表品牌'
53
53
  :value.sync="model.f_meter_brand"
54
54
  v-model="model.f_meter_brand"
55
- :options='$parent.$parent.WarningType'
56
- @change="$parent.$parent.getMeterType"
55
+ :options='$parent.$parent.meterbrands'
57
56
  close-on-select
58
57
  condition="f_meter_brand='{}'">
59
58
  </v-select>
60
59
  </div>
61
60
  <div class="col-sm-2 form-group" >
62
61
  <label class="font_normal_body">气表型号</label>
63
- <v-select v-if="$parent.$parent.styles"
64
- placeholder='气表型号'
65
- :value.sync="model.f_meter_style"
66
- v-model="model.f_meter_style"
67
- :options='$parent.$parent.Warningstyle'
68
- close-on-select
69
- condition="f_meter_style='{}'">
70
- </v-select>
71
- <v-select v-if="!$parent.$parent.styles"
62
+ <v-select
72
63
  placeholder='气表型号'
73
64
  :value.sync="model.f_meter_style"
74
65
  v-model="model.f_meter_style"
75
- :options='$parent.$parent.Warningstyles'
66
+ :options='$parent.$parent.metertypes'
76
67
  close-on-select
77
68
  condition="f_meter_style='{}'">
78
69
  </v-select>
@@ -132,6 +123,8 @@
132
123
  import plugin from 'system-clients/src/plugins/GetLoginInfoService'
133
124
 
134
125
  let readySomething = async function (self) {
126
+ await self.$MagLoadParams.loadParam()
127
+ self.initParams()
135
128
  // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
136
129
  }
137
130
  export default {
@@ -158,7 +151,7 @@
158
151
  orgCondtionStr: " and f_filialeid in (" + this.$login.f.orgid+")",
159
152
  resshow:['company'],
160
153
  org:[this.$login.f.orgid],
161
-
154
+ meterbrands:[]
162
155
  }
163
156
  },
164
157
  created () {
@@ -176,49 +169,25 @@
176
169
  },
177
170
  ready() {
178
171
  this.$refs.paged.$refs.cri.search()
179
- this.getMeterTypeAndBrand('f_meter_brand', '1=1')
172
+ readySomething(this).then(() => {
173
+ this.$emit('ready')
174
+ }).catch((error) => {
175
+ this.$emit('error', error)
176
+ })
180
177
  },
181
178
  methods: {
182
- getMeterType() {
183
- this.Warningstyle = [{label: '全部', value: ''}]
184
- this.styles = false
185
- let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
186
- this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
187
- },
188
- getMeterTypeAndBrand(groupname, condition) {
189
- condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
190
- let self = this
191
- let load = new HttpResetClass()
192
- load.load('POST', 'rs/sql/getMeterStyleAndBrand1', {
193
- data: {
194
- condition: condition,
195
- groupname: groupname
196
- }
197
- }, {warnMsg: null, resolveMsg: null}).then((res) => {
198
- let dr = {label: '', value: ''}
199
- let i = 0
200
- for (i = 0; i < res.data.length; i++) {
201
- dr = {label: '', value: ''}
202
- if (groupname == 'f_meter_brand') {
203
- dr.label = res.data[i].f_meter_brand
204
- dr.value = res.data[i].f_meter_brand
205
- //气表品牌
206
- self.WarningType[i + 1] = dr
207
- console.log('气表品牌~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
208
- console.log(dr)
209
- console.log( self.WarningType)
210
- } else if (groupname == 'f_meter_style') {
211
- dr.label = res.data[i].f_meter_style
212
- dr.value = res.data[i].f_meter_style
213
- //气表类型
214
- self.Warningstyle[i + 1] = dr
215
- }
216
- }
217
- if (self.Warningstyle.length > 1) {
218
- self.showMeterStyle()
219
- }
179
+ initParams() {
180
+ // 初始化气表品牌
181
+ let brandArr = []
182
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
183
+ let temp = {}
184
+ temp.label = item.label
185
+ temp.value = item.value.f_meter_brand
186
+ brandArr.push(temp)
220
187
  })
221
-
188
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
189
+ //初始化气表价格
190
+ this.prices = this.$MagGetSaleParam.getPrices();
222
191
  },
223
192
  showMeterStyle() {
224
193
  this.styles = true
@@ -272,6 +241,9 @@
272
241
  watch: {
273
242
  },
274
243
  computed: {
244
+ metertypes() {
245
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
246
+ },
275
247
  }
276
248
  }
277
249
  </script>