瀏覽代碼

版本号修改

xjj 2 年之前
父節點
當前提交
91ec2605d0

+ 0 - 1
public/luckysheet.html

@@ -16,7 +16,6 @@
   <script src="/bom/Luckysheet/luckysheet.umd.js"></script>
 
   <!-- 本地开发使用路径 -->
-
   <!-- <link rel='stylesheet' href='http://localhost:3000/plugins/css/pluginsCss.css' />
   <link rel='stylesheet' href='http://localhost:3000/plugins/plugins.css' />
   <link rel='stylesheet' href='http://localhost:3000/css/luckysheet.css' />

+ 1 - 1
src/pages/PurchaseAdmin/PurchaseList/Detail/FlowModal.js

@@ -197,7 +197,7 @@ function FlowModal(props) {
             {item.id == version.id && !item.isParent && (
               <CheckOutlined style={{ marginRight: 10 }} />
             )}
-            {item.version_no && !item.isParent
+            {item.version_no && !item.children?.length
               ? `${item.version_name}.${item.version_no}`
               : item.version_name}
           </span>

+ 0 - 1
src/pages/PurchaseAdmin/PurchaseList/Detail/LuckySheet.js

@@ -453,7 +453,6 @@ class LuckySheet extends React.Component {
       let data = sheet.data;
       let celldata = sheet.celldata;
       let colList = [];
-      debugger
       data[0]?.forEach((rowOneItem, colIdx) => {
         if (rowOneItem) {
           if (!checkValue || checkValue.indexOf(rowOneItem.cid) !== -1) {