Просмотр исходного кода

标段概况,合同参数,输入0234,提交后,应显示为234

MaiXinRong 5 лет назад
Родитель
Сommit
acdcaeba81
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      app/public/js/path_tree.js
  2. 1 0
      app/public/js/tender.js

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

@@ -1188,7 +1188,7 @@ const createNewPathTree = function (type, setting) {
             for (const data of datas) {
                 let node = this.getStageItems(data.id);
                 if (node) {
-                    for (const prop in node) {
+                    for (const prop in data) {
                         if (data[prop] !== undefined && data[prop] !== node[prop]) {
                             node[prop] = data[prop];
                         }

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

@@ -611,6 +611,7 @@ $(document).ready(function() {
             property.deal_param = data.deal_param;
             $('#post-4').parent().hide();
             $('#edit-4').parent().show();
+            dealObj.loadDealProperty();
         });
     });