Browse Source

修复bug

ellisran 5 tháng trước cách đây
mục cha
commit
bb4788217f
1 tập tin đã thay đổi với 16 bổ sung16 xóa
  1. 16 16
      app/public/js/change_information.js

+ 16 - 16
app/public/js/change_information.js

@@ -1811,7 +1811,7 @@ $(document).ready(() => {
             const next = changeSpreadSheet.zh_data[row + count];
             const nextUpdates = [];
             if (next && next.id) {
-                preUpdates.push({ id: next.id });
+                nextUpdates.push({ id: next.id });
             } else if (next && next.children && next.children.length > 0) {
                 for (const item of next.children) {
                     nextUpdates.push({ id: item.id });
@@ -2716,21 +2716,21 @@ $(document).ready(() => {
                         return isUsed;
                     }
                 },
-                // sprEdit: '----',
-                // 'allNotValuation': {
-                //     name: '设置全部清单不计价',
-                //     icon: 'fa-magic',
-                //     callback: function (key, opt) {
-                //         changeSpreadObj.setAllValuation(0);
-                //     },
-                // },
-                // 'allValuation': {
-                //     name: '设置全部清单计价',
-                //     icon: 'fa-magic',
-                //     callback: function (key, opt) {
-                //         changeSpreadObj.setAllValuation(1);
-                //     },
-                // },
+                sprEdit: '----',
+                'allNotValuation': {
+                    name: '设置全部清单不计价',
+                    icon: 'fa-magic',
+                    callback: function (key, opt) {
+                        changeSpreadObj.setAllValuation(0);
+                    },
+                },
+                'allValuation': {
+                    name: '设置全部清单计价',
+                    icon: 'fa-magic',
+                    callback: function (key, opt) {
+                        changeSpreadObj.setAllValuation(1);
+                    },
+                },
             }
         });
     }