sale-client 3.6.219 → 3.6.220

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": "3.6.219",
3
+ "version": "3.6.220",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -826,7 +826,7 @@ export default {
826
826
  filiale: '',
827
827
  condition2: '',
828
828
  area: [],
829
- webhand: this.$appdata.getSingleValue('新抄表'),
829
+ webhand: this.$appdata.getSingleValue('新抄表') ? this.$appdata.getSingleValue('新抄表') : '',
830
830
  inputtouPerson: [],
831
831
  meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
832
832
  resultstate: this.$appdata.getParam('抄表结果状态'),
@@ -1022,7 +1022,7 @@ export default {
1022
1022
  userfilesid: this.danhu.info.f_userfiles_id
1023
1023
  }
1024
1024
  console.log('下发参数:', param)
1025
- if (this.danhu.info.f_meter_classify === '物联网表' && this.webhand === '1') {
1025
+ if (this.danhu.info.f_meter_classify === '物联网表' && this.webhand) {
1026
1026
  param.f_meter_base = this.danhu.f_tablebase
1027
1027
  param.f_hand_date = this.downModel.downDate
1028
1028
  param.f_userfiles_id = param.userfilesid
@@ -847,8 +847,10 @@ let sendCardSaleGasGen = async function (model, row) {
847
847
  if (getCardNumber.data.cardNumber) {
848
848
  // 当卡的别名是泰鹏普通卡的时候卡号和表号一致
849
849
  console.log('开始验证是不是泰鹏普通卡')
850
- if (row.f_alias && (row.f_alias.includes('SmartCard_TP') || row.f_alias.includes('LiHengSystem'))) {
850
+ if (row.f_alias && row.f_alias.includes('SmartCard_TP')) {
851
851
  model.cardNumber = row.f_meternumber
852
+ } else if (row.f_alias && row.f_alias.includes('LiHengSystem')) {
853
+ model.cardNumber = row.f_meternumber.padStart(8, "0")
852
854
  } else if (row.f_alias && row.f_alias.includes('LaiDeRF')) {
853
855
  model.cardNumber = row.f_card_id
854
856
  } else {