|
@@ -156,7 +156,7 @@ export default {
|
|
|
fullAmountList[item.typeDetail] += item.fullAmount;
|
|
|
faceValueList[item.typeDetail] += item.faceValue;
|
|
|
nowMoneyList[item.typeDetail] =
|
|
|
- shopObj[item.typeDetail] - faceValueList[item.typeDetail];
|
|
|
+ shopObj[item.typeDetail] - faceValueList[item.typeDetail];
|
|
|
// shopObj[item.typeDetail] -= item.faceValue;
|
|
|
} else {
|
|
|
// 全类卷
|
|
@@ -180,7 +180,7 @@ export default {
|
|
|
nowMoneyList[shopType[i]] = Number(
|
|
|
shopObj[shopType[i]] - faceValueList[shopType[i]]
|
|
|
);
|
|
|
- fullAmountList[shopType[i]] = Number(
|
|
|
+ fullAmountList[shopType[i]] = Number(
|
|
|
fullAmountList[shopType[i]] + sclac * Number(item.fullAmount)
|
|
|
);
|
|
|
}
|
|
@@ -223,7 +223,7 @@ export default {
|
|
|
allShopMoney,
|
|
|
"allfaceValue:",
|
|
|
allfaceValue,
|
|
|
- 'allFullMoney',
|
|
|
+ "allFullMoney",
|
|
|
allFullMoney
|
|
|
);
|
|
|
this.faceValue = allfaceValue;
|
|
@@ -231,7 +231,8 @@ export default {
|
|
|
if (
|
|
|
item.typeDetail != "FULLCOUPON" &&
|
|
|
shopObj[item.typeDetail] &&
|
|
|
- item.fullAmount <=(shopObj[item.typeDetail]- fullAmountList[item.typeDetail]) &&
|
|
|
+ item.fullAmount <=
|
|
|
+ shopObj[item.typeDetail] - fullAmountList[item.typeDetail] &&
|
|
|
isDuringDate(item.useStartDate, item.useDeadlineDate)
|
|
|
) {
|
|
|
item.disabled = false;
|
|
@@ -239,7 +240,7 @@ export default {
|
|
|
} else if (
|
|
|
item.typeDetail == "FULLCOUPON" &&
|
|
|
isDuringDate(item.useStartDate, item.useDeadlineDate) &&
|
|
|
- item.fullAmount <= allShopMoney -allFullMoney
|
|
|
+ item.fullAmount <= allShopMoney - allFullMoney
|
|
|
) {
|
|
|
item.disabled = false;
|
|
|
flag = true;
|
|
@@ -287,7 +288,7 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style lang="less" scoped>
|
|
|
+<style lang="less" scoped>
|
|
|
.list {
|
|
|
// background-color: #fff;
|
|
|
width: 3.51rem;
|