Browse Source

变更令插入清单功能更新

ellisran 1 year ago
parent
commit
caff044967
2 changed files with 2 additions and 3 deletions
  1. 0 1
      app/public/js/change_information_add_list.js
  2. 2 2
      app/public/js/change_revise.js

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

@@ -302,7 +302,6 @@ $(document).ready(() => {
                             postData('/tender/' + window.location.pathname.split('/')[2] + '/change/' + window.location.pathname.split('/')[4] + '/information/save', {
                                 type: 'del-change-list',
                                 ids: [cInfo.id],
-                                postData: null
                             }, function (result) {
                                 changeList = result.changeList;
                                 select.is_change = 0;

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

@@ -671,7 +671,7 @@ $(document).ready(() => {
                             info.sheet.setValue(info.row, info.col, 1);
                             return
                         } else {
-                            postData('/tender/' + window.location.pathname.split('/')[2] + '/change/' + window.location.pathname.split('/')[4] + '/information/save', {type: 'del-change-list', ids: [cInfo.id], postData: null }, function (result) {
+                            postData('/tender/' + window.location.pathname.split('/')[2] + '/change/' + window.location.pathname.split('/')[4] + '/information/save', {type: 'del-change-list', ids: [cInfo.id] }, function (result) {
                                 changeList = result.changeList;
                                 select.is_change = 0;
                             }, function () {
@@ -1830,7 +1830,7 @@ $(document).ready(() => {
                             info.sheet.setValue(info.row, info.col, 1);
                             return
                         } else {
-                            postData('/tender/' + window.location.pathname.split('/')[2] + '/change/' + window.location.pathname.split('/')[4] + '/information/save', {type: 'del-change-list', ids: [cInfo.id], postData: null }, function (result) {
+                            postData('/tender/' + window.location.pathname.split('/')[2] + '/change/' + window.location.pathname.split('/')[4] + '/information/save', {type: 'del-change-list', ids: [cInfo.id] }, function (result) {
                                 changeList = result.changeList;
                                 select.is_change = 0;
                                 // 判断是否只剩一个,并同步去勾