[FO] 일계부 동력 사용시간 CRUD, 일계부 공통 수정

This commit is contained in:
김현주
2025-06-18 16:44:21 +09:00
parent 5e59e1ba9c
commit ae3652c852
27 changed files with 1283 additions and 84 deletions

View File

@@ -28,6 +28,15 @@ krip.daily.goToPrev = function() {
* @param groupNo
*/
krip.daily.goToNext = function(target, searchMonth, groupNo) {
if (target == null) {
if ($('._nextStep').data('last')) {
target = 'LAST';
} else {
krip.daily.goToDone(searchMonth, groupNo);
return;
}
}
if (target === 'LAST') {
// 임가 건의사항 팝업
const commentModal = document.querySelector('.commentModal').ui;
@@ -231,7 +240,7 @@ krip.daily.createComment = function(month, groupNo) {
const f = document.commentReqForm;
const obj = $(f).serializeObject();
console.log(obj)
console.log(obj, month, groupNo)
if (f.content.value === '') {
krip.daily.goToDone(month, groupNo);
return;