瀏覽代碼

修改变更,调差post带waitloading的所有值

laiguoran 4 年之前
父節點
當前提交
28e329b718

+ 1 - 0
app/public/js/change_information_set.js

@@ -256,6 +256,7 @@ $(document).ready(() => {
                     select.spamount = ZhCalc.round(select.camount, findDecimal(select.unit)) || 0;
                 }
                 console.log(select);
+                delete select.waitingLoading;
 
                 // 更新至服务器
                 postData(window.location.pathname + '/save', { type:'update', updateData: select }, function (result) {

+ 2 - 0
app/public/js/material.js

@@ -358,6 +358,7 @@ $(document).ready(() => {
                 select.msg_spread = materialCol.getValue.msg_spread(select);
                 select.m_spread = materialCol.getValue.m_spread(select);
                 select.m_tp = materialCol.getValue.m_tp(select);
+                delete select.waitingLoading;
 
                 // console.log(select);
 
@@ -389,6 +390,7 @@ $(document).ready(() => {
                         info.sheet.endEdit(true);
                     }
                     select.is_summary = info.sheet.getValue(info.row, info.col) ? 1 : 0;
+                    delete select.waitingLoading;
                     // 更新至服务器
                     postData(window.location.pathname + '/save', { type:'update', updateData: select }, function (result) {
                         m_tp = result.m_tp;

+ 2 - 0
app/public/js/material_exponent.js

@@ -187,6 +187,7 @@ $(document).ready(() => {
                 }
                 select[col.field] = validText;
                 select.calc_num = materialExponentCol.getValue.calc_num(select);
+                delete select.waitingLoading;
                 // console.log(select);
 
                 // 更新至服务器
@@ -220,6 +221,7 @@ $(document).ready(() => {
                         info.sheet.endEdit(true);
                     }
                     select.is_summary = info.sheet.getValue(info.row, info.col) ? 1 : 0;
+                    delete select.waitingLoading;
                     // 更新至服务器
                     postData(window.location.pathname + '/save', { type:'update', updateData: select }, function (result) {
                         ex_tp = result.ex_tp;

+ 1 - 1
app/public/js/schedule_ledger.js

@@ -43,7 +43,7 @@ $(function () {
         font: '12px 微软雅黑',
         // readOnly: true,
         localCache: {
-            key: 'ledger-bills',
+            key: 'ledger-schedule',
             colWidth: true,
         }
     };

+ 1 - 1
app/public/js/schedule_plan.js

@@ -49,7 +49,7 @@ $(function () {
         font: '12px 微软雅黑',
         // readOnly: true,
         localCache: {
-            key: 'ledger-bills',
+            key: 'ledger-plan',
             colWidth: true,
         }
     };

+ 2 - 2
app/public/js/schedule_stage_gcl.js

@@ -49,7 +49,7 @@ $(function () {
         font: '12px 微软雅黑',
         // readOnly: true,
         localCache: {
-            key: 'ledger-bills',
+            key: 'ledger-gcl',
             colWidth: true,
         }
     };
@@ -395,7 +395,7 @@ $(function () {
         font: '12px 微软雅黑',
         // readOnly: true,
         localCache: {
-            key: 'ledger-bills',
+            key: 'ledger-huizong',
             colWidth: true,
         }
     };

+ 1 - 1
app/public/js/schedule_stage_tp.js

@@ -61,7 +61,7 @@ $(function () {
         font: '12px 微软雅黑',
         // readOnly: true,
         localCache: {
-            key: 'ledger-bills',
+            key: 'ledger-tp',
             colWidth: true,
         }
     };