apply-clients 7.1.36-yuchuan-48 → 7.1.36-yuchuan-49

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": "7.1.36-yuchuan-48",
3
+ "version": "7.1.36-yuchuan-49",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -124,7 +124,7 @@
124
124
  style="width: 100%"
125
125
  v-validate:f_feecount = "['required']"
126
126
  v-model="charge.f_feecount"
127
- readonly
127
+ @blur="feecountchange"
128
128
  :value="selectdata.f_install_count"
129
129
  />
130
130
  </div>
@@ -345,7 +345,8 @@ export default {
345
345
  data: null
346
346
  }, // 记录
347
347
  charge: {
348
-
348
+ f_amount_words:'',
349
+ f_charge_money:''
349
350
  }
350
351
  }
351
352
  },
@@ -648,9 +649,7 @@ export default {
648
649
  return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
649
650
  },
650
651
  async showChargeModal() {
651
- if(this.selectdata.f_apply_type == '民用报建'){
652
- this.feecountchange()
653
- }
652
+ this.feecountchange()
654
653
  this.showCharge = true
655
654
  },
656
655
  async search () {
@@ -673,8 +672,10 @@ export default {
673
672
  this.search()
674
673
  },
675
674
  feecountchange(){
676
- this.charge.f_charge_money = Number(this.selectdata.f_price) * Number(this.charge.f_feecount || this.selectdata.f_install_count)
677
- this.charge.f_amount_words = this.smalltoBIG(this.charge.f_charge_money)
675
+ if(this.selectdata.f_apply_type == '民用报建'){
676
+ this.charge.f_charge_money = Number(this.selectdata.f_price) * Number(this.charge.f_feecount || this.selectdata.f_install_count)
677
+ this.charge.f_amount_words = this.smalltoBIG(this.charge.f_charge_money)
678
+ }
678
679
  }
679
680
  },
680
681
  events: {