@@ -224,7 +224,7 @@ export default defineComponent({
function getMaxNum() {
const qty = props.selectedRow.orderqty;
let result = 0;
- if (isBuy()) {
+ if (!isBuy()) {
// 交易规则
const rules = getRules();
const { buymarginvalue } = rules.length ? rules[0] : { buymarginvalue: 0 };