apply-clients 4.1.18-weinan → 4.1.19-weinan

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": "4.1.18-weinan",
3
+ "version": "4.1.19-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1054,6 +1054,39 @@ export default {
1054
1054
  }
1055
1055
  }
1056
1056
  if (this.show_data.fields[index].label === '其他费用') {
1057
+ let http = new HttpResetClass()
1058
+ let data = {
1059
+ num1: this.getLableValue('单价'),
1060
+ num2: this.getLableValue('户数'),
1061
+ operator: '*'
1062
+ }
1063
+ try {
1064
+ let res = await http.load('POST', 'rs/logic/compute', {data: data}, {
1065
+ resolveMsg: null,
1066
+ rejectMsg: null
1067
+ })
1068
+ data = {
1069
+ num1: res.data,
1070
+ num2: this.getLableValue('其他费用'),
1071
+ operator: '+'
1072
+ }
1073
+ res = await http.load('POST', 'rs/logic/compute', {data: data}, {
1074
+ resolveMsg: null,
1075
+ rejectMsg: null
1076
+ })
1077
+ this.setLabelValue('合同金额',res.data)
1078
+ if(this.show_data.f_apply_type === '居民报建'){
1079
+ this.show_data.f_contract_money = res.data
1080
+ this.show_data.f_due_money = res.data
1081
+ this.show_data.f_surplus_money = res.data
1082
+ this.setLabelValue('应交总金额',res.data)
1083
+ this.setLabelValue('未结总金额',res.data)
1084
+ }
1085
+ } catch (e) {
1086
+ this.$showAlert(e.data.msg, 'warning', 3000)
1087
+ }
1088
+ }
1089
+ /*if (this.show_data.fields[index].label === '其他费用') {
1057
1090
  let http = new HttpResetClass()
1058
1091
  let data = {
1059
1092
  num1: this.getLableValue(this.show_data.fields[index].label),
@@ -1076,7 +1109,7 @@ export default {
1076
1109
  } catch (e) {
1077
1110
  this.$showAlert(e.data.msg, 'warning', 3000)
1078
1111
  }
1079
- }
1112
+ }*/
1080
1113
  }
1081
1114
  // ========================= 武安 =================================
1082
1115
  // 号码检测