Explorar o código

fix: 软件锁有出库状态能借销赠

outaozhen %!s(int64=4) %!d(string=hai) anos
pai
achega
40758ddb8e

+ 1 - 1
src/pages/Product/Lock/LockStore/components/LocksDetail/TabList.jsx

@@ -170,7 +170,7 @@ const LockTabList = props => {
             接收
           </Button>
         ) : null}
-        {stockStatus === 2 && sellStatus === 0 ? (
+        {stockStatus !== 0 && sellStatus === 0 ? (
           <Button
             type="primary"
             ghost