sale-client 4.0.33-preview → 4.0.35-preview

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": "sale-client",
3
- "version": "4.0.33-preview",
3
+ "version": "4.0.35-preview",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -494,11 +494,11 @@
494
494
  name = 'api/af-revenue/report/garbageChargeReport'
495
495
  } else if (type === '物联网赠费') {
496
496
  name = 'api/af-revenue/report/iotGiftFee'
497
- }else if (type === '物联网赠气') {
497
+ } else if (type === '物联网赠气') {
498
498
  name = 'api/af-revenue/report/iotGiftGas'
499
- }else if (type === '卡表赠费') {
499
+ } else if (type === '卡表赠费') {
500
500
  name = 'api/af-revenue/report/icGiftFee'
501
- }else if (type === '卡表赠费') {
501
+ } else if (type === '卡表赠气') {
502
502
  name = 'api/af-revenue/report/icGiftGas'
503
503
  }
504
504
  return name
@@ -76,7 +76,7 @@
76
76
  <div class="col-sm-2 form-group">
77
77
  <label class="font_normal_body">用户编号:</label>
78
78
  <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
79
- condition="f_userinfo_code = '{}'" placeholder='用户编号'>
79
+ condition="s.f_userinfo_code = '{}'" placeholder='用户编号'>
80
80
  </div>
81
81
  <div class="col-sm-2 form-group">
82
82
  <label class="font_normal_body">&emsp;订单号:</label>
@@ -232,7 +232,7 @@
232
232
  this.f_orgid = this.$login.convertToIn(val)
233
233
  this.f_filialeid = val[0]
234
234
  },
235
- // 微信单方账单,系统可缴费
235
+ // 银行单方账单,系统可缴费
236
236
  async charge (row) {
237
237
  console.log('单边账补缴:', row)
238
238
  row.f_operator = Vue.$login.f.name
@@ -267,13 +267,13 @@
267
267
  let gasAmountApproved = 0
268
268
 
269
269
  if (chargeLength === 1) {
270
- gasFee = pricingRes.data.chargeprice[0].f_money
270
+ gasFee = Number(pricingRes.data.chargeprice[0].f_money)
271
271
  gasAmountApproved = pricingRes.data.chargeprice[0].f_gas
272
272
  } else if (chargeLength === 2) {
273
- gasFee = pricingRes.data.f_stair1fee + pricingRes.data.f_stair2fee
273
+ gasFee = Number(pricingRes.data.f_stair1fee) + Number(pricingRes.data.f_stair2fee)
274
274
  gasAmountApproved = pricingRes.data.oughtamount
275
275
  } else if (chargeLength === 3) {
276
- gasFee = pricingRes.data.f_stair1fee + pricingRes.data.f_stair2fee + pricingRes.data.f_stair3fee
276
+ gasFee = Number(pricingRes.data.f_stair1fee) + Number(pricingRes.data.f_stair2fee) + Number(pricingRes.data.f_stair3fee)
277
277
  gasAmountApproved = pricingRes.data.oughtamount
278
278
  }
279
279
  // 缴费
@@ -141,7 +141,7 @@ export default {
141
141
  // f_add_gas: '不计入'
142
142
  },
143
143
  config: {
144
- hasPrint: true
144
+ hasPrint: false
145
145
  },
146
146
  billData: {
147
147
  url: 'api/af-revenue/report/icGiftGas',
@@ -82,7 +82,7 @@ export default {
82
82
  f_comments: ''
83
83
  },
84
84
  config: {
85
- hasPrint: true
85
+ hasPrint: false
86
86
  },
87
87
  billData: {
88
88
  url: 'api/af-revenue/report/iotGiftGas',
@@ -179,7 +179,7 @@ let CommonService = {
179
179
  let sql = `update t_userfiles set
180
180
  f_card_password = '${cardRes.data.Kmm}'
181
181
  where f_userfiles_id = '${row.f_userfiles_id}'`
182
- await Vue.resetpost('api/af-revenue/rs/logic/runSQL', {sql: sql})
182
+ await Vue.resetpost('api/af-revenue/logic/runSQL', {sql: sql})
183
183
  }
184
184
  }
185
185
  },