sale-client-xianyang 3.3.448 → 3.3.450

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-xianyang",
3
- "version": "3.3.448",
3
+ "version": "3.3.450",
4
4
  "description": "费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -348,6 +348,17 @@ export default {
348
348
  // }
349
349
  // }
350
350
  this.hascard = hascard
351
+ // 检查撤销剩余天数限制
352
+ let cancelDays = this.$appdata.getSingleValue('撤销剩余天数') ? this.$appdata.getSingleValue('撤销剩余天数') : 30
353
+ if (this.model.f_date) {
354
+ let chargeDate = new Date(this.model.f_date).getTime()
355
+ let currentDate = new Date().getTime()
356
+ let dayDiff = Math.floor((currentDate - chargeDate) / (1000 * 60 * 60 * 24))
357
+ if (dayDiff > cancelDays) {
358
+ this.$showAlert(`已超过撤销冲正退款时限:${cancelDays}天。`, 'warning', 2000)
359
+ return
360
+ }
361
+ }
351
362
  if (this.config.cancletime) {
352
363
  let a = this.$login.toStandardDateString() + ' 00:00:00'
353
364
  // console.log('当前时间',row.f_date>a)
@@ -1387,7 +1387,7 @@ let reissueCardGen = function * (model, row) {
1387
1387
  f_card_id: model.f_card_id,
1388
1388
  f_ispick_table: model.f_ispick_table,
1389
1389
  f_cardfees: model.f_cardfees,
1390
- f_payment: model.f_payment[0],
1390
+ f_payment: model.f_cardfees === 0 || model.f_cardfees === '0' ? '现金缴费' : model.f_payment[0],
1391
1391
  f_bill_style: model.f_print[0],
1392
1392
  f_comments: model.f_comments,
1393
1393
  record_userinfo: row.f_userinfo_id,
File without changes
@@ -1,2 +0,0 @@
1
- #Thu Dec 18 17:45:08 CST 2025
2
- gradle.version=5.2.1
File without changes