apply-clients 3.0.5-3 → 3.0.5-4

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": "3.0.5-3",
3
+ "version": "3.0.5-4",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1911,6 +1911,22 @@
1911
1911
  }
1912
1912
  }
1913
1913
 
1914
+ if (this.data.onetomany[i].tables[0] == 't_use_gas_param') {
1915
+ if (this.data.onetomany[i].fields[j].label == '单台用气量Nm³/h') {
1916
+ if (this.$refs.service_show.showadd_fields.fields[j-1].value){
1917
+ let a = Number.parseInt(this.$refs.service_show.showadd_fields.fields[j-1].value)*Number.parseInt(this.$refs.service_show.showadd_fields.fields[j].value)
1918
+ this.$refs.service_show.showadd_fields.fields[j+1].value = a
1919
+ }else {
1920
+ this.$showAlert('数量不能为空!!','warning', 3000)
1921
+ }
1922
+ }
1923
+ if (this.data.onetomany[i].fields[j].label == '数量') {
1924
+ if (this.$refs.service_show.showadd_fields.fields[j+1].value){
1925
+ let a = Number.parseInt(this.$refs.service_show.showadd_fields.fields[j].value)*Number.parseInt(this.$refs.service_show.showadd_fields.fields[j+1].value)
1926
+ this.$refs.service_show.showadd_fields.fields[j+2].value = a
1927
+ }
1928
+ }
1929
+ }
1914
1930
 
1915
1931
  },
1916
1932
  async 'onetomanyevent'(datas) {