From f706797001821c98d9cea111590dea31fd920f16 Mon Sep 17 00:00:00 2001 From: wangh <9483> Date: Fri, 24 Nov 2023 17:59:53 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/convenienceStore/damage/details.vue | 2 +- .../convenienceStore/inventory/details.vue | 2 +- .../convenienceStore/inventory/index.vue | 4 +- .../convenienceStore/purchase/details.vue | 2 +- fuintAdmin/src/views/member/userInfo.vue | 41 +++++++++++++++---- .../src/views/oilConfig/oilGun/list.vue | 2 +- .../controller/MtPurchaseController.java | 12 +++++- .../mapper/xml/MtDamageDetailsMapper.xml | 1 + .../mapper/xml/MtPurchaseDetailsMapper.xml | 5 +-- .../service/impl/MtDamageServiceImpl.java | 2 +- .../service/impl/MtInventoryServiceImpl.java | 2 +- .../service/impl/MtPurchaseServiceImpl.java | 4 +- .../service/impl/MtReturnsServiceImpl.java | 2 +- .../impl/CardFuelRecordServiceImpl.java | 1 + .../impl/CardValueRecordServiceImpl.java | 3 ++ .../service/impl/OilTankServiceImpl.java | 16 +++++++- fuintCashierWeb/src/views/details/index.vue | 22 ++++++++-- 17 files changed, 96 insertions(+), 27 deletions(-) diff --git a/fuintAdmin/src/views/convenienceStore/damage/details.vue b/fuintAdmin/src/views/convenienceStore/damage/details.vue index 8fcbf7c98..c8fb07ad5 100644 --- a/fuintAdmin/src/views/convenienceStore/damage/details.vue +++ b/fuintAdmin/src/views/convenienceStore/damage/details.vue @@ -48,7 +48,7 @@ 保存 保存并审核 退货处理库存 - 作废 + 作废 导出 diff --git a/fuintAdmin/src/views/convenienceStore/inventory/details.vue b/fuintAdmin/src/views/convenienceStore/inventory/details.vue index 1c5f73811..00923a8ac 100644 --- a/fuintAdmin/src/views/convenienceStore/inventory/details.vue +++ b/fuintAdmin/src/views/convenienceStore/inventory/details.vue @@ -49,7 +49,7 @@ 保存 生成差异单 退货处理库存 - 作废 + 作废 导出 diff --git a/fuintAdmin/src/views/convenienceStore/inventory/index.vue b/fuintAdmin/src/views/convenienceStore/inventory/index.vue index 41904815e..df97be688 100644 --- a/fuintAdmin/src/views/convenienceStore/inventory/index.vue +++ b/fuintAdmin/src/views/convenienceStore/inventory/index.vue @@ -73,7 +73,7 @@ 待审核 已审核入库 已作废 - 已审核 + 已审核 @@ -246,6 +246,8 @@ export default { // 重置 resetQuery() { this.queryParams = {} + this.getList(); + }, // 删除 handleDel(data) { diff --git a/fuintAdmin/src/views/convenienceStore/purchase/details.vue b/fuintAdmin/src/views/convenienceStore/purchase/details.vue index 2df884907..7edb25ec6 100644 --- a/fuintAdmin/src/views/convenienceStore/purchase/details.vue +++ b/fuintAdmin/src/views/convenienceStore/purchase/details.vue @@ -50,7 +50,7 @@ 保存 保存并审核 进货并入库 - 作废 + 作废 导出 diff --git a/fuintAdmin/src/views/member/userInfo.vue b/fuintAdmin/src/views/member/userInfo.vue index ba0f394e0..9d2f0e85d 100644 --- a/fuintAdmin/src/views/member/userInfo.vue +++ b/fuintAdmin/src/views/member/userInfo.vue @@ -467,14 +467,14 @@ 升数卡充值不支持自定义积分,选择对应充值活动获得对应积分[需开启积分活动有效] - + @@ -519,7 +519,7 @@ -
付款金额
@@ -1021,7 +1021,11 @@ export default { }, valueAmoutChange(data) { + if(data == '' || data == null) { + data = 0 + this.cardValueForm.amount = 0 + } this.cardValueForm.points = '' this.cardValueForm.bidBalance ='' @@ -1105,6 +1109,15 @@ export default { this.cardValueForm.staffMobile= data.staffMobile }, + refStaff() { + this.cardFuelDieselForm.mtStaffId= '' + this.cardFuelDieselForm.realName= '' + this.cardFuelDieselForm.staffMobile= '' + + this.cardValueForm.mtStaffId= '' + this.cardValueForm.realName= '' + this.cardValueForm.staffMobile= '' + }, // 查询参加存油卡油品 getCountOilType() { getCountOilTypeApi().then(res => { @@ -1172,8 +1185,12 @@ export default { this.realyPayBills = this.cardFuelDieselForm.rechargeBalance } - this.isPay = true this.openConfirm = true; + this.isPay = true + + console.log("11111",this.isPay) + // this.isPaySuccess=false + this.title = this.payment }, // 支付方式 @@ -1230,8 +1247,9 @@ export default { this.cardValueForm.giftBalance = 0 this.cardValueForm.growthValue = 0 this.cardValueForm.bidBalance = 0 + // this.cardValueForm.bidBalance = 1 - // this.cardValueForm.amount = 0 + this.cardValueForm.amount = 0 }else { let file={} @@ -1307,7 +1325,7 @@ export default { } }); let this_ = this - + // let timer = setInterval(async () => { getCheckTheStatusOfYourPaymentApi(id).then(response => { if (response.data!=null){ @@ -1331,10 +1349,12 @@ export default { this_.loading = false; this_.isPay = false; clearInterval(timer); + clearTimeout(timer3); + } },500) - setTimeout(function (){ + var timer3 = setTimeout(function (){ clearInterval(timer2); clearInterval(timer); this_.loading = false; @@ -1411,11 +1431,13 @@ export default { // 关闭支付窗口 handClose(){ - this.isPay = true; + this.isPay=true, + this.isPaySuccess=false, + this.isQuery=true, this.openConfirm = false this.openRecharge = false - this.isPaySuccess = false; + // this.isPaySuccess = false; this.authCode = null this.activeRecharge='balance', @@ -1469,6 +1491,7 @@ export default { }, handleClick(tab, event) { // console.log(tab, event); + this.refStaff() this.realyPayBills = 0 }, handleChange(value) { diff --git a/fuintAdmin/src/views/oilConfig/oilGun/list.vue b/fuintAdmin/src/views/oilConfig/oilGun/list.vue index 3965c87b8..4cf4581e5 100644 --- a/fuintAdmin/src/views/oilConfig/oilGun/list.vue +++ b/fuintAdmin/src/views/oilConfig/oilGun/list.vue @@ -144,7 +144,7 @@ import {cleanTankApi} from "@/api/oilConfig/oilTank"; }, rules: { gunName: [ - { required: true, message: '请输入油罐名称', trigger: 'blur' }, + { required: true, message: '请输入油枪名称', trigger: 'blur' }, ], tankId: [ diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/controller/MtPurchaseController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/controller/MtPurchaseController.java index f1cdcf520..78a2303a2 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/controller/MtPurchaseController.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/controller/MtPurchaseController.java @@ -108,7 +108,7 @@ public class MtPurchaseController extends BaseController { /** - * 盘点审核 + * 进货审核 * @param id * @return */ @@ -117,11 +117,21 @@ public class MtPurchaseController extends BaseController { return getSuccessResult(this.mtPurchaseService.audit(id)); } + /** + * 进货废除 + * @param id + * @return + */ @GetMapping("abolition") public ResponseObject abolition(Integer id) { return getSuccessResult(this.mtPurchaseService.abolition(id)); } + /** + * 进货入库 + * @param id + * @return + */ @GetMapping("storage") public ResponseObject storage(Integer id) { return getSuccessResult(this.mtPurchaseService.storage(id)); diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/MtDamageDetailsMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/MtDamageDetailsMapper.xml index c17842d1c..6e6eee79f 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/MtDamageDetailsMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/MtDamageDetailsMapper.xml @@ -144,6 +144,7 @@ left join mt_goods mg ON md.goods_id = mg.id where damage_id = #{mtDamageDetails.damageId} +