manage-client 3.2.80 → 3.2.83-1

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 +6 -6
  2. package/package.json +1 -1
  3. package/src/components/SellReport/NonResidentGas.vue +13 -0
  4. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +36 -30
  5. package/src/components/SellReport/SellDepReport.vue +269 -266
  6. package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
  7. package/src/components/sale/businessquery/AreaGeneralQuery.vue +35 -40
  8. package/src/components/sale/businessquery/BalanceTable.vue +29 -31
  9. package/src/components/sale/businessquery/BusinesQuery.vue +57 -18
  10. package/src/components/sale/businessquery/BusinessManage.vue +3 -1
  11. package/src/components/sale/businessquery/CancellationQuery.vue +37 -6
  12. package/src/components/sale/businessquery/CardHandplanQuery.vue +34 -6
  13. package/src/components/sale/businessquery/ChangeMeterQuery.vue +38 -7
  14. package/src/components/sale/businessquery/CollectManage.vue +9 -3
  15. package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
  16. package/src/components/sale/businessquery/DepositDetail.vue +16 -17
  17. package/src/components/sale/businessquery/DisableQuery.vue +40 -9
  18. package/src/components/sale/businessquery/EnableQuery.vue +66 -34
  19. package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
  20. package/src/components/sale/businessquery/FillCardQuery.vue +38 -6
  21. package/src/components/sale/businessquery/FillGasQuery.vue +45 -7
  22. package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
  23. package/src/components/sale/businessquery/HandBookQuery.vue +37 -38
  24. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +38 -37
  25. package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
  26. package/src/components/sale/businessquery/Handgasquery.vue +30 -33
  27. package/src/components/sale/businessquery/HandplanQuery.vue +1372 -1327
  28. package/src/components/sale/businessquery/InfoOperateRecord.vue +13 -1
  29. package/src/components/sale/businessquery/MonthGasQuery.vue +2 -1
  30. package/src/components/sale/businessquery/MoveMeterQuery.vue +43 -9
  31. package/src/components/sale/businessquery/NoBusinessQuery.vue +23 -26
  32. package/src/components/sale/businessquery/OtherChargeQuery.vue +37 -6
  33. package/src/components/sale/businessquery/PlotSummaryQuery.vue +22 -21
  34. package/src/components/sale/businessquery/PrickBillQuery.vue +15 -13
  35. package/src/components/sale/businessquery/PrivilegeQuery.vue +37 -7
  36. package/src/components/sale/businessquery/ProceedsOper.vue +4 -10
  37. package/src/components/sale/businessquery/ReceiptQuery.vue +9 -6
  38. package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +23 -24
  39. package/src/components/sale/businessquery/ResidentialQuery.vue +21 -28
  40. package/src/components/sale/businessquery/ReverseQuery.vue +37 -6
  41. package/src/components/sale/businessquery/SellOrgnameQuery.vue +29 -27
  42. package/src/components/sale/businessquery/SellPeopleQuery.vue +29 -30
  43. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +27 -26
  44. package/src/components/sale/businessquery/TransferQuery.vue +55 -23
  45. package/src/components/sale/businessquery/UnhandBusiness.vue +324 -0
  46. package/src/components/sale/businessquery/UserSellHeadDetail.vue +30 -33
  47. package/src/components/sale/businessquery/YingShouMingXi.vue +10 -15
  48. package/src/components/sale/businessquery/YonghuJieyu.vue +4 -2
  49. package/src/components/sale/businessquery/gasPriceQuery.vue +1 -2
  50. package/src/components/sale/businessquery/handplan-info.vue +405 -0
  51. package/src/components/sale/businessquery/overDueQuery.vue +39 -29
  52. package/src/components/sale/businessquery/priceadjustQuery.vue +36 -6
  53. package/src/components/sale/businessquery/sellingChargePrice.vue +667 -0
  54. package/src/components/sale/config/exportConfig.js +20 -1
  55. package/src/filiale/qianneng/ChargeQuery.vue +1289 -0
  56. package/src/filiale/qianneng/HandplanQuery.vue +1352 -0
  57. package/src/filiale/qianneng/OtherChargeQuery.vue +13 -1
  58. package/src/filiale/qianneng/exportConfig.js +69 -35
  59. package/src/filiale/qianneng/sale.js +3 -1
  60. package/src/saleManage.js +10 -2
@@ -11,13 +11,13 @@ var compiler = webpack(config)
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var shaoguan='http://183.67.41.139:8400'
15
- var qtx='http://183.67.41.139:8400'
16
- var bendi = 'http://183.67.41.139:8400'
14
+ var shaoguan='http://119.146.1.106:8300/'
15
+ var qtx='http://36.103.222.144:6300/'
16
+ var bendi = 'http://127.0.0.1:8090'
17
17
  // var bendi = 'http://172.168.1.11:9001'
18
- var fuwu = 'http://183.67.41.139:8400'
18
+ var fuwu = 'http://192.168.50.4:8400'
19
19
  // var fuwu = 'http://172.168.1.11:9001'
20
- var system = 'http://183.67.41.139:8400'
20
+ var system = 'http://192.168.50.4:8400'
21
21
  //192.168.
22
22
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
23
23
  // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
@@ -78,7 +78,7 @@ var proxyTable = {
78
78
  target: bendi
79
79
  },
80
80
  '/rs/logic/SumSettleFileImport': {
81
- target: 'http://183.67.41.139:8400'
81
+ target: 'http://127.0.0.1:8080'
82
82
  },
83
83
  '/rs': {
84
84
  target: bendi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.80",
3
+ "version": "3.2.83-1",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -24,6 +24,14 @@
24
24
  :show-reset-button="reset">
25
25
  </datepicker>
26
26
  </div>
27
+ <div class="col-sm-2">
28
+ <label class="font_normal_body" title="参数:气表类型查询">气表类型:</label>
29
+ <v-select :value.sync="model.f_meter_type" multiple
30
+ v-model="model.f_meter_type"
31
+ :options='$parent.$parent.metertype' placeholder='请选择'
32
+ condition="f_meter_classify in {}"
33
+ close-on-select></v-select>
34
+ </div>
27
35
  <div class="col-sm-2">
28
36
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
37
  <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
@@ -162,6 +170,8 @@
162
170
  if(this.f_operatorid && this.f_operatorid[0]) {
163
171
  orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
164
172
  }
173
+ console.log('111111',args)
174
+ orgcondition = orgcondition + ' and ' +args.condition
165
175
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
166
176
  this.$refs.paged.search(args)
167
177
  },
@@ -193,6 +203,9 @@
193
203
  }
194
204
  },
195
205
  computed: {
206
+ metertype() {
207
+ return [...this.$appdata.getParam('气表类型查询')]
208
+ }
196
209
  }
197
210
  }
198
211
  </script>
@@ -103,40 +103,36 @@
103
103
  <validator name='v'>
104
104
  <form class="form-horizontal select-overspread">
105
105
  <div class="row">
106
- <div v-for="(key, value) in org" v-if ="value.trim()!=''" class="col-sm-6 form-group">
107
- <label class="font_normal_body">{{ key == 'f_orgname' ? '公司' : key == 'f_depname' ? '部门' : '人员' }}</label>
106
+ <div v-for="(key, value) in org" v-if ="value.trim()!=''" class="col-sm-4 form-group">
107
+ <label class="font_normal_body">{{ key == 'f_orgname' ? '&emsp;&emsp;&emsp;&emsp;公司' : key == 'f_depname' ? '&emsp;&emsp;&emsp;&emsp;部门' : '&emsp;&emsp;&emsp;&emsp;人员' }}</label>
108
108
  <input type="text" style="width:60%" class="input_search" :value="value"
109
109
  disabled="disabled">
110
110
  </div>
111
111
  </div>
112
112
  <div class="row">
113
113
  <div class="col-sm-4 form-group" v-for="item in affirmDate">
114
- <label class="col-sm-6 font_normal_body">{{item.name}}</label>
114
+ <label class="font_normal_body">&emsp;&emsp;&emsp;&emsp;{{item.name}}</label>
115
115
  <input type="text" style="width:60%" class="input_search" :value="item.val"
116
116
  disabled="disabled">
117
117
  </div>
118
- </div>
119
- <div class="row">
120
118
  <div class="col-sm-4 form-group" >
121
- <label class="col-sm-6 font_normal_body" for="startDate">上次扎帐日期</label>
119
+ <label class="font_normal_body" for="startDate">上次扎帐日期</label>
122
120
  <datepicker id="startDate" placeholder="上次扎帐日期" style="width: 60%"
123
121
  v-model="startDate"
124
122
  :value.sync="startDate"
125
123
  :disabled-days-of-Week="[]"
126
- :format="'yyyy-MM-dd'"
124
+ :format="'yyyy-MM-dd HH:mm:ss'"
127
125
  :disabled="true"
128
126
  :show-reset-button="reset">
129
127
  </datepicker>
130
128
  </div>
131
- </div>
132
- <div class="row" >
133
129
  <div class="col-sm-4 form-group" >
134
- <label class="col-sm-6 font_normal_body" for="endDate">本次扎帐日期</label>
130
+ <label class="font_normal_body" for="endDate">本次扎帐日期</label>
135
131
  <datepicker id="endDate" placeholder="本次扎帐日期" style="width: 60%"
136
132
  v-model="endDate"
137
- :value.sync="endDate.substring(0,10)"
133
+ :value.sync="endDate"
138
134
  :disabled-days-of-Week="[]"
139
- :format="'yyyy-MM-dd'"
135
+ :format="'yyyy-MM-dd HH:mm:ss'"
140
136
  :disabled="true"
141
137
  :show-reset-button="reset">
142
138
  </datepicker>
@@ -144,26 +140,23 @@
144
140
  </div>
145
141
  <div class="row">
146
142
  <div class="col-sm-4 form-group" >
147
- <label class="col-sm-6 font_normal_body">&emsp;系统总金额</label>
143
+ <label class="font_normal_body">&emsp;系统总金额</label>
148
144
  <input type="text" style="width:60%" class="input_search" v-model="reportstr"
149
145
  disabled="disabled" placeholder="系统金额">
150
146
  </div>
151
- </div>
152
- <div class="row">
153
147
  <div class="col-sm-4 form-group" >
154
- <label class="col-sm-6 font_normal_body">&emsp;扎帐总金额</label>
148
+ <label class="font_normal_body">&emsp;扎帐总金额</label>
155
149
  <input type="text" style="width:60%" class="input_search" v-model="f_fee"
156
150
  placeholder="扎帐金额">
157
151
  </div>
158
- </div><br>
152
+ </div>
159
153
  <div class="row">
160
154
  <div class="col-sm-11 form-group">
161
- <label class="col-sm-2 font_normal_body"><nobr>&emsp;&emsp;&emsp;&emsp;备注</nobr></label>
162
- <textarea style="resize:none;width:60%;height: 70px;" class="input_search"
155
+ <label class="font_normal_body"><nobr>&emsp;&emsp;&emsp;&emsp;备注</nobr></label>
156
+ <textarea style="resize:none;width:95%;" class="input_search"
163
157
  v-model='f_remarks' ></textarea>
164
158
  </div>
165
159
  </div>
166
-
167
160
  </form>
168
161
  </validator>
169
162
  </article>
@@ -259,8 +252,6 @@ export default {
259
252
  methods: {
260
253
  async getStartDate () {
261
254
  // 获取上次扎帐日期
262
- console.log(typeof this.f_orgid, this.f_orgid)
263
- console.log(typeof this.f_depid, this.f_depid)
264
255
  let condition = `f_report_path='${this.model.f_report_path}' and f_state = '有效'`
265
256
  if (this.config.isOrgname) {
266
257
  condition += ' and f_orgid = ' + this.f_orgid
@@ -275,6 +266,9 @@ export default {
275
266
  let querys= await this.$resetpost('rs/sql/PrickBillQuery?pageNo=1&pageSize=7',
276
267
  {data:{condition:condition}},{resolveMsg:null,rejectMsg:'查询出错'})
277
268
  this.models.rows = querys.data
269
+ if (querys.data.length === 0){
270
+ this.$dispatch('update', '')
271
+ }
278
272
  },
279
273
  history() {
280
274
  this.isHistory = !this.isHistory
@@ -284,19 +278,30 @@ export default {
284
278
  console.log('撤销信息', val)
285
279
  let data = {
286
280
  flag: 2,
281
+ f_orgid: this.$login.f.orgid,
282
+ f_orgname: this.$login.f.orgs,
283
+ f_depid: this.$login.f.depids,
284
+ f_depname: this.$login.f.deps,
285
+ f_operatorid: this.$login.f.id,
286
+ f_operator: this.$login.f.name,
287
287
  data: {
288
288
  id: val.id,
289
289
  f_state: '无效'
290
290
  }
291
291
  }
292
+ if(this.$login.r.includes('扎帐撤销权限')) {
293
+ data.flag = 3
294
+ }
292
295
  this.$resetpost('rs/logic/SaveTieAnAccount',
293
296
  {data:data},
294
297
  {resolveMsg:null,rejectMsg:null}).then(res =>{
295
298
  switch (res.data) {
296
- case 200 : this.$showAlert('撤销成功', 'success', 3000)
299
+ case 202 :
300
+ this.$showAlert('撤销成功', 'success', 3000)
301
+ this.getStartDate()
297
302
  this.isHistory = !this.isHistory
298
303
  break
299
- case 201 : this.$showAlert('撤销失败', 'warning', 3000)
304
+ case 201 : this.$showAlert('撤销失败,该条记录不是当天扎帐记录,不能撤销!', 'warning', 3000)
300
305
  break
301
306
  }
302
307
  })
@@ -345,6 +350,7 @@ export default {
345
350
  }
346
351
  // 本部门只能扎本部门的
347
352
  if (this.config.isDepname && this.f_depname !== this.org.f_depname) {
353
+ console.log('本公司只能扎本部门的', this.config.isDepname, this.f_depname, this.org.f_depname[0])
348
354
  this.$showAlert('禁止跨部门扎帐', 'warning', 4000)
349
355
  return
350
356
  }
@@ -376,21 +382,18 @@ export default {
376
382
  let rep = this.rep
377
383
  let moneys = val.toString().match(regex)
378
384
  let titles = val.toString().match(this.titRegex)
379
- console.log('---titles---|||||||', titles)
380
385
  if (titles && titles.length > 0) {
381
386
  for (let i = 0; i < titles.length; i++) {
382
387
  let name = titles[i].toString().replace(rep, '').trim()
383
388
  let value = moneys[i].toString().replace(rep, '').trim()
384
389
  item.push({name: name, val: value})
385
390
  }
386
- console.log('=======itme==========>>>>>>>', item)
387
391
  }
388
392
  this.tieData = item
389
393
  },
390
394
  sumMoney (obj, conf) {
391
395
  this.affirmDate = obj.filter(x => conf.includes(x.name))
392
396
  let option = obj.filter(x => conf.includes(x.name)).map(x => parseFloat(x.val)).reduce((x, y) => x + y, 0)
393
- console.log('>>>>', option)
394
397
  return option.toFixed(2)
395
398
  },
396
399
 
@@ -430,12 +433,13 @@ export default {
430
433
  }
431
434
  info.saveData.push(xx)
432
435
  }
433
- console.log('xxzz', info)
434
436
  let HttpReset = new HttpResetClass()
435
437
  HttpReset.load('POST', 'rs/logic/SaveTieAnAccount', info,
436
438
  {resolveMsg: null, rejectMsg: null}).then((res) => {
437
439
  switch (res.data) {
438
- case 200 : this.$showAlert('保存成功', 'success', 3000)
440
+ case 200 :
441
+ this.$showAlert('保存成功', 'success', 3000)
442
+ this.getStartDate()
439
443
  break
440
444
  case 201 : this.$showAlert('重复扎帐', 'warning', 3000)
441
445
  break
@@ -484,7 +488,9 @@ export default {
484
488
  },
485
489
  'models.rows' (val) {
486
490
  if (val && val.length > 0) {
487
- this.startDate = val.map(x => x.f_end_date.substring(0,10))[0].toString() // 获取 上次扎帐时间
491
+ this.startDate = val.map(x => x.f_end_date)[0].toString() // 获取 上次扎帐时间
492
+ console.log('opopopopopo:', this.startDate)
493
+ this.$dispatch('update', this.startDate)
488
494
  }
489
495
  }
490
496
  },