소스 검색

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

outaozhen 4 년 전
부모
커밋
40758ddb8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/Product/Lock/LockStore/components/LocksDetail/TabList.jsx

+ 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