sale-client 4.2.31 → 4.2.33

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.
@@ -1150,6 +1150,18 @@ export default {
1150
1150
  this.$showMessage('本次抄表已超越最大量程, 请熟知!')
1151
1151
  }
1152
1152
  }
1153
+ // 那用气量进行划价 如果跨阶给出提示
1154
+ let gas = this.danhu.f_tablebase - this.danhu.info.f_tablebase
1155
+ let calculate = await this.$CommonService.gasCalculate(this.danhu.info, gas)
1156
+ let num = 0
1157
+ await calculate.data.chargeprice.forEach((item) => {
1158
+ if (item.f_gas > 0) {
1159
+ num = num + 1
1160
+ }
1161
+ })
1162
+ if (num > 1) {
1163
+ await this.$showMessage('友好提示:本次抄表已跨阶梯', ['confirm'])
1164
+ }
1153
1165
  let param = {
1154
1166
  downDate: this.downModel.downDate,
1155
1167
  startDate: this.model.params.startDate,
@@ -1186,6 +1198,7 @@ export default {
1186
1198
  resolveMsg: null,
1187
1199
  rejectMsg: null
1188
1200
  })
1201
+ this.search()
1189
1202
  }).then((res) => {
1190
1203
  this.$showAlert(`单户抄表成功!`, 'success', 2000)
1191
1204
  this.danhuShow()