sale-client-xianyang 3.3.446 → 3.3.448

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.
@@ -1,2 +1,2 @@
1
- #Fri Nov 28 09:22:31 CST 2025
1
+ #Thu Dec 18 17:45:08 CST 2025
2
2
  gradle.version=5.2.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client-xianyang",
3
- "version": "3.3.446",
3
+ "version": "3.3.448",
4
4
  "description": "费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -131,7 +131,21 @@ export default {
131
131
  this.show_devices = !this.show_devices
132
132
  },
133
133
  deleteDevice (index, row) {
134
- this.devicesinfo.splice(index, 1)
134
+ if (row.id) {
135
+ this.$showMessage('此操作无法还原,是否确定要删除此设备?', ['confirm', 'cancel']).then((res) => {
136
+ if (res === 'confirm') {
137
+ let sql = `delete from t_devices where id = ${row.id}`
138
+ this.$resetpost('/rs/logic/runSQL', {data: {sql: sql}}, {
139
+ resolveMsg: `成功删除此设备`,
140
+ rejectMsg: '删除设备失败'
141
+ }).then((res) => {
142
+ this.devicesinfo.splice(index, 1)
143
+ })
144
+ }
145
+ })
146
+ } else {
147
+ this.devicesinfo.splice(index, 1)
148
+ }
135
149
  },
136
150
  addDevice () {
137
151
  console.log('设备信息', this.devicesinfo)
@@ -68,7 +68,7 @@
68
68
  <a @click.stop="$parent.$parent.$parent.operate('票据补打', row)" href="#">票据补打</a>
69
69
  </li>
70
70
  <li
71
- v-if="row.state === 1 && (row.payment !== '微信支付' && row.payment !== '银行') && (row.type === '换表补气' || row.type === '清零补气' || row.type === '物联网开户' || row.type === '物联网收费' || row.type === '其他收费' || row.type === '过户' || row.type === '换新表' || row.type === '换控制器' || row.type === '气表清零' || row.type === '机表收费' || row.type === '超用收费' || row.type === '补卡' || row.type === '过户'|| row.type === '发卡售气')">
71
+ v-if="row.state === 1 && row.f_operator!=='微信公众号' && (row.payment !== '微信支付' && row.payment !== '银行') && (row.type === '换表补气' || row.type === '清零补气' || row.type === '物联网开户' || row.type === '物联网收费' || row.type === '其他收费' || row.type === '过户' || row.type === '换新表' || row.type === '换控制器' || row.type === '气表清零' || row.type === '机表收费' || row.type === '超用收费' || row.type === '补卡' || row.type === '过户'|| row.type === '发卡售气')">
72
72
  <a @click.stop="$parent.$parent.$parent.operate('撤销', row)" href="#">撤销</a>
73
73
  </li>
74
74
  <li
@@ -713,6 +713,8 @@ let ChangeMeterService = {
713
713
  f_user_id: row.f_user_id,
714
714
  f_userfiles_id: row.f_userfiles_id,
715
715
  version: row.version,
716
+ // 要求计入累购的情况下需要给 f_balance_gas 加上本次收费气量
717
+ f_balance_gas: (row.f_balance_gas - 0) + (model.f_pregas - 0),
716
718
  f_total_gas: (model.f_pregas - 0) + (row.f_total_gas - 0),
717
719
  f_total_fee: (model.f_preamount - 0) + (row.f_total_fee - 0)
718
720
  // f_meter_base: (model.f_pregas - 0) + (row.f_total_gas - 0),
@@ -729,6 +731,8 @@ let ChangeMeterService = {
729
731
  f_user_id: row.f_user_id,
730
732
  f_userfiles_id: row.f_userfiles_id,
731
733
  version: row.version,
734
+ // 要求计入累购的情况下需要给 f_balance_amount 加上本次收费金额
735
+ f_balance_amount: (row.f_balance_amount - 0) + (model.f_preamount - 0),
732
736
  f_total_gas: (model.f_pregas - 0) + (row.f_total_gas - 0),
733
737
  f_total_fee: (model.f_preamount - 0) + (row.f_total_fee - 0)
734
738
  // f_meter_base: (model.f_pregas - 0) + (row.f_total_gas - 0),
File without changes
File without changes
Binary file