|
@@ -260,14 +260,15 @@ export default {
|
|
let orderMonth = parseInt(orderTime.substring(4, 6))
|
|
let orderMonth = parseInt(orderTime.substring(4, 6))
|
|
let orderDay = parseInt(orderTime.substring(6, 8))
|
|
let orderDay = parseInt(orderTime.substring(6, 8))
|
|
if (orderYear == year) {
|
|
if (orderYear == year) {
|
|
- if ((month - orderMonth) < 6) {
|
|
|
|
|
|
+ if ((month - orderMonth) < 5) {
|
|
|
|
+ this.opoutShow = true
|
|
|
|
+ } else {
|
|
|
|
+ this.unbuyClick()
|
|
|
|
+ }
|
|
|
|
+ } else if ((year - orderYear) == 1) {
|
|
|
|
+ let number = (12 - orderMonth) + month
|
|
|
|
+ if (number < 5) {
|
|
this.opoutShow = true
|
|
this.opoutShow = true
|
|
- } else if ((month - orderMonth) == 6) {
|
|
|
|
- if (day - orderDay > 0) {
|
|
|
|
- this.unbuyClick()
|
|
|
|
- } else {
|
|
|
|
- this.opoutShow = true
|
|
|
|
- }
|
|
|
|
} else {
|
|
} else {
|
|
this.unbuyClick()
|
|
this.unbuyClick()
|
|
}
|
|
}
|