li.shaoyi %!s(int64=2) %!d(string=hai) anos
pai
achega
bd2cab73ee

+ 1 - 1
src/packages/mobile/views/supply-demand/detail/components/delisting/index.vue

@@ -110,7 +110,7 @@ const formRules: { [key in keyof Proto.HdWRDealOrderReq]?: FieldRule[] } = {
                 if (val > props.quoteDetail.orderqty) {
                     return '剩余数量不足'
                 }
-                if (val > enableqty) {
+                if (props.buyorsell === BuyOrSell.Sell && val > enableqty) {
                     return '可用数量不足'
                 }
                 return true