From f438ff47b86c77ed6c2906815554a0554e634ae5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-369JRHT\\12997" <9> Date: Thu, 10 Oct 2024 16:19:07 +0800 Subject: [PATCH] 10.9 --- .../views/cashier/NewComponents/Integral.vue | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/Integral.vue b/fuintCashierWeb/src/views/cashier/NewComponents/Integral.vue index 5bae3fe1a..ff12e3d32 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/Integral.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/Integral.vue @@ -602,7 +602,6 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; }, methods:{ changeSeekZero(){ - this.seekZero = (this.authCode - this.allAmout).toFixed(2) }, @@ -660,13 +659,11 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; flag = true } }) - if (data.exchangeMethod == "积分+加钱购" || flag) { flag = false this.shoppingCart.forEach(res => { if (res.id != data.id ) { flag = true - return } }) @@ -676,8 +673,6 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; return } } - - if (data.markPurchases) { if (data.markPurchases>=data.remainingInventory){ this.$message.error('库存不足'); @@ -693,16 +688,8 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; } this.markPurchasesAll++ console.log("addGift",data) - - - - // 计算总额 this.dataChange(data); - - - - if (this.shoppingCart.length === 0) { this.shoppingCart.push(data); } else { @@ -717,8 +704,6 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; } } this.allData(); - - // 计算余额是否足够 }, handleClick(tab, event){ @@ -742,7 +727,6 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; } }else { this.$message.error('请先选择会员'); - } }, @@ -1801,12 +1785,11 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; display: flex; align-items: center; justify-content: center; - border-radius: 50px; box-sizing: border-box; padding: 10px 15px; - border: 1px solid #13ce66; font-size: 20px; - background: #13ce66; + background: linear-gradient( 312deg, #9CDCA0 0%, #5BC557 100%); + border-radius: 6px 6px 6px 6px; color: white; margin: 8px 10px; cursor: pointer; @@ -1818,9 +1801,9 @@ import {getReturnCode, printIntegralReport, sendPrintIndex} from "@/api/print"; border-radius: 50px; box-sizing: border-box; padding: 10px 25px; - border: 1px solid #FF9655; font-size: 20px; - background: #FF9655; + background: linear-gradient( 312deg, #70CAFD 0%, #0BADFE 100%, #02AAFE 100%); + border-radius: 6px 6px 6px 6px; color: white; margin: 8px 10px; cursor: pointer;