Commit 0dc0676d authored by 郭志伟's avatar 郭志伟

Merge branch 'fix/goods' into 'master'

fix: 试算区间修复

See merge request !76
parents 66b3dcd2 053a9942
......@@ -94,11 +94,12 @@ export default {
case 1:
break;
case 2:
item.disabled = p === "1" || (+p >= 4 && +p <= 6 && a > 2);
item.disabled =
p === "1" || (+p >= 4 && +p <= 6 && a > 3) || (a === 3 && (+p === 1 || +p === 4));
break;
case 3:
item.disabled =
+p < 3 || (a > 1 && +p !== 6) || (a === 1 && +p === 4) || (a > 3 && +p === 6);
+p < 3 || (a > 1 && +p !== 6) || (a === 1 && +p === 4) || (a >= 3 && +p === 6);
break;
default:
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment