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 +1 -1
- package/src/components/SellGasCharge/ChargeCancel/CardMeterChargeCancel.vue +11 -0
- package/src/plugins/CardService.js +1 -1
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/package.json
CHANGED
|
@@ -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,
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|