Browse Source

针对发货提醒页面显示,如果物料的发货提前期为-1,则设置默认的可发货日期显示为交货前一个月26号(包含26号)及以后

hejq 7 years ago
parent
commit
f2525f5a2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/js/index/app.js

+ 1 - 1
src/main/webapp/resources/js/index/app.js

@@ -7301,7 +7301,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
             var de = new Date(notice.delivery);
             var de = new Date(notice.delivery);
             if (stock == -1) {
             if (stock == -1) {
                 de.setMonth(de.getMonth() - 1);
                 de.setMonth(de.getMonth() - 1);
-                de.setDate(25);
+                de.setDate(26);
             } else if (stock >= 0) {
             } else if (stock >= 0) {
                 de.setDate(de.getDate() - stock - 1);
                 de.setDate(de.getDate() - stock - 1);
             }
             }