10.9
This commit is contained in:
parent
94fb9e5b34
commit
f438ff47b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user