<기능개선>

1. PMS NO : 5902, 5905
2. (주요)작업내용 
(1) BO/Controllers/croomController.cs
 - 체크된 항목 "taxnos" 추가
(2)BO/Views/croom/tax.cshtml
 - 체크박스 선택시 'stringval11' 값 넣기
(3) 엑셀 넘길시 파라메터 갯수를 23개로 확장
This commit is contained in:
jity7777 2022-05-09 04:11:51 +00:00
parent b14541486c
commit d07fb214f9
3 changed files with 14 additions and 3 deletions

View File

@ -998,11 +998,12 @@ namespace NP.BO.Controllers
ht.Add("staxdate", vm.stringval8);
ht.Add("etaxdate", string.IsNullOrEmpty(vm.stringval9) ? null : (vm.stringval9 + " 23:59:59"));
ht.Add("pstatus", vm.stringval10);
ht.Add("taxnos", vm.stringval11);
ht.Add("ischeck", vm.stringval12);
ht.Add("csdate", vm.stringval13);
ht.Add("cedate", string.IsNullOrEmpty(vm.stringval14) ? null : (vm.stringval14 + " 23:59:59"));
ht.Add("isreceipt", vm.stringval15);
ht.Add("taxnos", vm.stringval11);
if (!string.IsNullOrEmpty(vm.stringval3))
{
if(vm.stringval3 == "2")

View File

@ -63,7 +63,7 @@
@*<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>*@
<script>
function exceldown2(fid, url, checktbody, exname, limitstringval, jsonDataStr) {
var limit = 14;
var limit = 23;
if (limitstringval) {
limit = limitstringval;
}

View File

@ -144,7 +144,17 @@
@section scripts{
<script>
$(document).ready(function () {
$(".autocheck").on("change", function () {
let nos = "";
$(".autocheck").each(function () {
if ($(this).is(":checked")) {
nos += (nos == "" ? "" : ",") + $(this).val()
}
})
//console.log(nos)
$("#stringval11").val(nos)
})
});
function gotax(tno) {
$("#dform_longval").val(tno);