apply-clients 5.0.35-30 → 5.0.35-31

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "5.0.35-30",
3
+ "version": "5.0.35-31",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -38,17 +38,23 @@
38
38
  }
39
39
  },
40
40
  props: ['data','show'],
41
- ready () {
42
-
41
+ async ready () {
42
+ /*debugger
43
43
  console.log(this.data.f_bill_type)
44
44
  if (this.data.f_bill_type) {
45
- getCurrentBill(this)
45
+ await getCurrentBill(this)
46
+ console.log('打印参数',this.data.f_process_id)
46
47
 
47
- }
48
+ }*/
48
49
  },
49
50
  watch : {
50
- 'show' (val) {
51
- getCurrentBill(this)
51
+ data:{
52
+ deep:true,
53
+ immediate:true,
54
+ async handler(){
55
+ console.log('1111155555')
56
+ await getCurrentBill(this)
57
+ }
52
58
  }
53
59
  }
54
60
  }
@@ -420,7 +420,7 @@
420
420
  f_charge_collectors: this.$login.f.name,
421
421
  f_charge_date: '',
422
422
  f_charge_remarks: '',
423
- f_filiale: this.$login.f.f_fengongsi,
423
+ f_filiale: '',
424
424
  f_process_id: '',
425
425
  f_apply_num: '',
426
426
  f_payment_method: '',
@@ -430,7 +430,7 @@
430
430
  },
431
431
  charges: [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}],
432
432
  // 启用发票管理需要对票号进行验证
433
- hasValidateBill: true,
433
+ hasValidateBill: false,
434
434
  validateOk: false,
435
435
  userinfoRow: {
436
436
  rows: []
@@ -581,7 +581,7 @@
581
581
  f_charge_collectors: this.$login.f.name,
582
582
  f_charge_date: '',
583
583
  f_charge_remarks: '',
584
- f_filiale: this.$login.f.f_fengongsi,
584
+ f_filiale: '',
585
585
  f_process_id: '',
586
586
  f_apply_num: '',
587
587
  f_charging_status: '有效',
@@ -729,7 +729,7 @@
729
729
  this.addItem.f_charge_collectors = this.$login.f.name
730
730
  this.addItem.f_charge_date = this.model.f_charge_date
731
731
  this.addItem.f_charge_remarks = this.model.f_charge_remarks
732
- this.addItem.f_filiale = this.$login.f.f_fengongsi
732
+ this.addItem.f_filiale = this.model.f_payment_account =='安泰' ? '欣泰集团.安泰天然气' : '欣泰天然气'
733
733
  this.addItem.f_process_id = this.infee.f_process_id
734
734
  this.addItem.f_apply_num = this.infee.f_apply_num
735
735
  this.model.rows.push(this.addItem)
@@ -953,7 +953,7 @@
953
953
 
954
954
  // 获取数据
955
955
  async load() {
956
-
956
+ console.log('load被重新调用111')
957
957
  this.refresh = !this.refresh
958
958
  console.log("刷新validate,重新加载" + this.refresh)
959
959
  // this.ifsearch = !this.ifsearch
@@ -1006,6 +1006,8 @@
1006
1006
  this.oldInfo.f_address = this.model.f_address;
1007
1007
  this.model.f_isone = ['否'];
1008
1008
  this.charges = [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}];
1009
+ this.hasValidateBill=true
1010
+ console.log('load被重新调用222')
1009
1011
  }
1010
1012
  },
1011
1013
  computed: {