readmeter-changan 1.0.43 → 1.0.45

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.
@@ -6,6 +6,7 @@
6
6
  <component name="ChangeListManager">
7
7
  <list default="true" id="3ff22a91-c12c-46e5-8072-9f6930fa055a" name="Default Changelist" comment="修复抄表记录界面翻页选项被遮挡">
8
8
  <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
9
10
  <change beforePath="$PROJECT_DIR$/src/components/readingmeter/CheckInfo.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/readingmeter/CheckInfo.vue" afterDir="false" />
10
11
  <change beforePath="$PROJECT_DIR$/src/components/readingmeter/PhoneHandplanInfo.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/readingmeter/PhoneHandplanInfo.vue" afterDir="false" />
11
12
  </list>
@@ -237,7 +238,7 @@
237
238
  &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
238
239
  &quot;git-widget-placeholder&quot;: &quot;changan&quot;,
239
240
  &quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
240
- &quot;last_opened_file_path&quot;: &quot;D:/WorkSpace/module/TelephoneClient&quot;,
241
+ &quot;last_opened_file_path&quot;: &quot;D:/WorkSpace/module/ReadMeterClient&quot;,
241
242
  &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
242
243
  &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
243
244
  &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
@@ -424,7 +425,9 @@
424
425
  <workItem from="1753927585913" duration="2588000" />
425
426
  <workItem from="1760685783403" duration="753000" />
426
427
  <workItem from="1768962396488" duration="1138000" />
427
- <workItem from="1769756231076" duration="646000" />
428
+ <workItem from="1769756231076" duration="2285000" />
429
+ <workItem from="1770189687384" duration="597000" />
430
+ <workItem from="1770629756764" duration="4201000" />
428
431
  </task>
429
432
  <task id="LOCAL-00001" summary="新增卡表抄表气量核算">
430
433
  <created>1553677761707</created>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "readmeter-changan",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "手机抄表客户端",
5
5
  "author": "15529257852@163.com",
6
6
  "private": false,
@@ -435,7 +435,9 @@ export default {
435
435
  imgName: '',
436
436
  sumgas_moment:0,
437
437
  f_datacomparison:0,
438
+ f_weekicsnapsgas:0,
438
439
  f_weekcheckmeternum:'',
440
+ f_weektablesnapsgas:0,
439
441
  f_weekchecktime:Util.toStandardTimeString(),
440
442
  f_weekcheckicsn:'',
441
443
  f_weekchecksn:'',
@@ -633,21 +635,12 @@ export default {
633
635
  }
634
636
 
635
637
  let postdata = Object.assign({},this.model)
636
- postdata.week = '1',
637
-
638
- this.model.f_pregas = this.model.f_pregas?this.model.f_pregas:0
639
- this.model.f_sumgas_moment = this.model.f_sumgas_moment?this.model.f_sumgas_moment:0
640
- let res = this.$androidUtil.bzLogic('gasComputation', postdata,{rejectMsg: null, resolve: null})
641
- this.model.f_hasnotcharge = parseInt(res.hasnotCharge)
642
- this.model.f_hascharge = (parseInt(this.model.f_sumgas_moment)+ parseInt(this.model.f_nogasvalue) - parseInt(this.model.f_hasnotcharge))
643
- console.log('本期已充'+this.model.f_hascharge)
638
+ postdata.week = '1'
644
639
  this.model.f_weekcheckicnum= this.model.f_weekcheckicnum?this.model.f_weekcheckicnum:0
645
- this.model.f_weekicsnapsgas = (parseInt(this.model.f_weekcheckicnum)+ parseInt(this.model.f_hascharge)+parseInt(this.model.f_card_repair)- parseInt(this.model.f_weekcheckicdishu))
640
+ this.model.f_weekicsnapsgas = (parseInt(this.model.f_weekcheckicnum)- parseInt(this.model.f_weekcheckicdishu))
646
641
  console.log('IC走气'+this.model.f_icsnapsgas)
647
- this.model.f_check_result_state = res.f_result_state
642
+ this.model.f_check_result_state = Math.abs(parseInt(this.model.f_weekicsnapsgas)-parseInt(this.model.f_weektablesnapsgas))<=this.model.f_tablewitherrorvalue?'正常':'异常'
648
643
  console.log('抄表状态'+this.model.f_result_state)
649
- this.model.f_datacomparison = (parseInt(this.model.f_icsnapsgas)-parseInt(this.model.f_tablesnapsgas))
650
- this.model.f_curbalance = parseInt(this.model.f_new_lcd * this.model.f_price)
651
644
  console.log('剩余金额'+this.model.f_curbalance)
652
645
  },
653
646
  //获取基表走气量
@@ -674,9 +667,7 @@ export default {
674
667
 
675
668
  //获取基表走气量
676
669
  getWeekMeterMessage(){
677
- // if(this.model.f_weekcheck&&this.model.f_weekcheck ==='1'&& this.model.f_weekcheckdishu){
678
- // this.model.f_weekcheckdishu = this.model.f_new_tablebase
679
- // }
670
+ console.log(1)
680
671
  if (this.model.f_weekcheckdishu === '' || this.model.f_weekcheckdishu === undefined) {
681
672
  this.$showMessage('请检查你录入的表底数')
682
673
  return
@@ -687,7 +678,7 @@ export default {
687
678
  }
688
679
  this.model.f_meter_repair= this.model.f_meter_repair?this.model.f_meter_repair:0
689
680
  this.model.f_weekchecknum= this.model.f_weekchecknum?this.model.f_weekchecknum:0
690
- // this.$set(this.model.f_tablesnapsgas,'')
681
+ // this.$set(this.model.f_weektablesnapsgas,'')
691
682
  this.model.f_weektablesnapsgas = parseInt(this.model.f_weekcheckdishu)- parseInt(this.model.f_weekchecknum)-parseInt(this.model.f_meter_repair)
692
683
  if (this.model.f_weekcheckicdishu ) {
693
684
  this.getWeekCardMessage()
@@ -700,7 +691,9 @@ export default {
700
691
  return
701
692
  }
702
693
  if(!this.model.f_checkic1){
694
+ console.log(this.model.f_checkic1)
703
695
  this.$showMessage('请输入IC卡累计!!!')
696
+ return
704
697
  }
705
698
  if(this.model.f_check_install){
706
699
  this.model.f_weekcheck = 1
@@ -522,7 +522,9 @@
522
522
 
523
523
  commit () {
524
524
  if(!this.model.f_checkic1){
525
+ console.log(this.model.f_checkic1)
525
526
  this.$showMessage('请输入IC卡累计!!!')
527
+ return
526
528
  }
527
529
 
528
530
  if(this.model.f_weekcheck==='1'||this.model.f_weekcheck==='true'||this.model.f_weekcheck==='是'){