psView.php 23.6 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621
<? include $_SERVER["DOCUMENT_ROOT"] . "/common/classes/AdminProductionSpec.php" ?>
<? include $_SERVER["DOCUMENT_ROOT"] . "/admin/inc/php/header.php" ?> 
<? include $_SERVER["DOCUMENT_ROOT"] . "/admin/inc/php/leftProductionSpecManage.php" ?> 

<?
	$obj		= new AdminProductionSpec($_REQUEST, "");
	$info		= $obj->getInfoOfProductionSpec();
	
	$managerList= $obj->getListOfManager();
	$addCount = 0;
	$rurl		= pack("H*", $_REQUEST["rurl"]) ;
?>
<script type="text/javascript" src="/admin/inc/inputMask.js"></script>
<script type="text/javascript">
	var _rurl = "<?=$rurl?>";
	var _no = "<?=$_REQUEST[no]?>";
	var addCounter = 0;
	var THRESHOLD = 5;

	$(document).ready(function(){

		//=====프레입웤 변수들==================================================================================//
		var FORM_TARGET_CLS_NM		= ".data"	;		// 폼을 동적 wrap 할 타겟 ID이름
		var FORM_NAME				= "alf"		;		// 폼이름
		var FORM_METHOD				= "POST"		;		// 폼 메쏘드
		var FORM_USE_FILE			= false		;		// 파일폼 사용 여부
		var FORM_ACTION				= "/action_front.php" ; 
		
		
		var NEXT_CMD				= ""		;		// 다은 수행 할 cmd
		//=====================================================================================================//

		var jForm = $(FORM_TARGET_CLS_NM).mf({ "name" : FORM_NAME , "method" : FORM_METHOD , "action" : FORM_ACTION , "useFile" : FORM_USE_FILE }) ;

		var dates = $('.jRsvDate').datepicker({
			showMonthAfterYear:true,
			inline: true,
			changeMonth: true,
			changeYear: true,   
			dateFormat : 'yy-mm-dd',
			dayNamesMin:['일', '월', '화', '수', '목', '금', ' 토'],
			monthNames:['1월','2월','3월','4월','5월','6월','7 월','8월','9월','10월','11월','12월'],
			monthNamesShort:['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'],
			showButtonPanel: true, currentText: '오늘 ' , closeText: '닫기',   
			onSelect: function(selectedDate) {
		}
	});
		
		$(".jCancel").click2(function(){
			location.href = _rurl;
		});

		$(".jAdd").click(function(){
			if($("#addContent").val()=="") return;
			if(addCounter == THRESHOLD) {
				alert("특수사항은 최대 " + THRESHOLD + "개까지 추가할  있습니다.");
				return;
			}
			
			$(".addtable")
				.append("<tr no=" 
						+ addCounter + " class='dynamicRow'><td></td><td><input type='text' class='added' readonly value='"
						+ $("#addContent").val() + "' /><span class='button bigrounded gray adddel' no="
						+ addCounter +" style='color:white; width:70px'>&nbsp;X&nbsp;</span></td></tr>");
			addCounter++;
			$("#addContent").val('');
		});

		function pickupRows(){
			var noArr = new Array();
			var noCount = $(".added").length;

			for(var i = 0; i < noCount; i++ ){
				noArr[i] = $(".added:eq(" + i + ")").val();
				$("#specialAddition" + (i + 1)).val(noArr[i]);
			}
			
		}

		$(document).on("click", ".adddel", function(){
			if(confirm("해당 특수 사항을 제거하시겠습니까?\n변경 사항은 저장 클릭시 반영됩니다")){
				$(".dynamicRow[no="+$(this).attr("no")+"]").remove();
				addCounter--;
			}
		});

		
		
		

		$(".jMod").click2(function(){
			pickupRows();
			var balance = $("[name=balance]").val();
			balance = balance.replace(/,/g, "");

			var data = $("#jData").serialize();
            data += "&realBalance="+balance;

			var requestDate=$("[name=requestDate]").val();
			var managerFk=$("[name=managerFk]").val();

			if(requestDate=="" || managerFk==""){
				alert("작성날짜/담당자 필수 입력 사항을 입력해 주시기 바랍니다.");
			}


			var customerName=$("[name=customerName]").val();
			var companyName=$("[name=companyName]").val();
			var telephone1=$("[name=telephone1]").val();
			var telephone2=$("[name=telephone2]").val();
			var telephone3=$("[name=telephone3]").val();
			var vehicleTON=$("[name=vehicleTON]").val();
			var vehicleType=$("[name=vehicleType]").val();
			var productName=$("[name=productName]").val();
			var internalLength=$("[name=internalLength]").val();
			var internalHeight=$("[name=internalHeight]").val();
			var internalWidth=$("[name=internalWidth]").val();
			var balance=$("[name=balance]").val();
			
			var type=$("[name=type]").val();
			var alCoil=$("[name=alCoil]").val();
			var floor=$("[name=floor]").val();
			var tent=$("[name=tent]").val();
			var sideBoard=$("[name=sideBoard]").val();
			var windStopper=$("[name=windStopper]").val();
			var freezer=$("[name=freezer]").val();
			var gateType=$("[name=gateType]").val();
			var load=$("[name=load]").val();
			var eTrackGate=$("[name=eTrackGate]").val();
			var eTrackWing=$("[name=eTrackWing]").val();
			var toolBucket=$("[name=toolBucket]").val();
			var bumperFootHold=$("[name=bumperFootHold]").val();
			var wingProtector=$("[name=wingProtector]").val();
			var axis=$("[name=axis]").val();

//			if(customerName=="" || companyName=="" || telephone1=="" || telephone2=="" || telephone3=="" || vehicleTON=="" || vehicleType=="" || productName=="" || internalLength=="" ||
//					internalHeight=="" || internalWidth=="" || balance=="" || type=="" || alCoil=="" || floor=="" || tent=="" || sideBoard=="" ||  windStopper=="" || freezer=="" || gateType=="" || load=="" ||
//					 eTrackGate=="" || eTrackWing=="" || toolBucket=="" || bumperFootHold=="" || wingProtector=="" || axis==""){
//				 alert("필수 입력 사항을 모두 입력해 주시길 바랍니다");
//				 return;
//			}

            if(customerName == "") {
                alert("성명을 입력해주세요");
                return;
            }
            if(companyName == "") {
                alert("상호를 입력해 주세요");
                return;
            }
            if(productName == ""){
                alert("제품명을 입력해 주세요");
                return;
            }
            if(internalLength == ""){
                alert("내장값을 입력해 주세요");
                return;
            }
            if(internalHeight == ""){
                alert("내고값을 입력해 주세요");
                return;
            }
            if(internalWidth == ""){
                alert("내폭값을 입력해 주세요");
                return;
            }
            if(balance == ""){
                alert("견적금액을 입력해 주세요");
                return;
            }

			if(confirm("저장하시겠습니까?")){
				$.ajax({
					url : "/action_front.php?cmd=AdminProductionSpec.saveProductionSpec",
					async : false,
					
					cache : false,
					dataType : "json",
					data : data,
					success : function(data){
						alert(data.returnMessage);
						location.href=_rurl;
						/*
						if(_no != "")
							location.reload();
						else
							location.href = _rurl;
						*/
					}
				});
			}

			
			
		});

		$("[name=sideBoard]").on('change', function(){
			if($(this).val()==0){
				$("[name=sideBoardValue]").val("");
				$("[name=sideBoardValue]").attr("readonly", true);
			}
			else
				$("[name=sideBoardValue]").attr("readonly", false);
		});

		$("[name=windStopper]").on('change', function(){
			if($(this).val()==0){
				$("[name=windStopperValue]").val("");
				$("[name=windStopperValue]").attr("readonly", true);
			}
			else
				$("[name=windStopperValue]").attr("readonly", false);
		});


		$("[name=freezer]").on('change', function(){
			if($(this).val()==0){
				$("[name=freezerValue]").val("");
				$("[name=freezerValue]").attr("readonly", true);
			}
			else
				$("[name=freezerValue]").attr("readonly", false);
		});

		$("[name=eTrackGate]").on('change', function(){
			if($(this).val()==0){
				$("[name=eTrackValue]").val("");
				$("[name=eTrackValue]").attr("readonly", true);
			}
			else
				$("[name=eTrackValue]").attr("readonly", false);
		});

		$("[name=toolBucket]").on('change', function(){
			if($(this).val()==0){
				$("[name=toolBucketValue]").val("");
				$("[name=toolBucketValue]").attr("readonly", true);
			}
			else
				$("[name=toolBucketValue]").attr("readonly", false);
		});

		$("[name=axis]").on('change', function(){
			if($(this).val()==0){
				$("[name=axisValue]").val("");
				$("[name=axisValue]").attr("readonly", true);
			}
			else
				$("[name=axisValue]").attr("readonly", false);
		});

        $('[name=balance]').inputmask("numeric", {
            radixPoint: ".",
            groupSeparator: ",",
            digits: 2,
            autoGroup: true,
            prefix: '', //No Space, this will truncate the first character
            rightAlign: false,
            oncleared: function () { self.Value(''); }
        });
        $('#good').inputmask("numeric", {
            radixPoint: ".",
            groupSeparator: ",",
            digits: 2,
            autoGroup: true,
            prefix: ' ', //Space after $, this will not truncate the first character.
            rightAlign: false,
            oncleared: function () { self.Value(''); }
        });

    }) ;

</script>

<div id="Contents"  class="notice">
	<h1>사양서 관리</h1>
	<h2>사양서 관리 > <span>상세</span></h2>
	
	<div class="data" style="width:100%;">
		
		<form id="jData">
		
		<input type="hidden" id="specialAddition1" name="specialAddition1" value="" />
		<input type="hidden" id="specialAddition2" name="specialAddition2" value="" />
		<input type="hidden" id="specialAddition3" name="specialAddition3" value="" />
		<input type="hidden" id="specialAddition4" name="specialAddition4" value="" />
		<input type="hidden" id="specialAddition5" name="specialAddition5" value="" />
		
		<input type="hidden" name="productionNo" value="<?=$_REQUEST[no]?>" />
		<table class="datav" style="width:100%;">
			<colgroup>
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
			</colgroup>
			<tr>
				<!-- 호실 -->
				<th style="height:25px;">작성 날짜</th>
				<td class="center">
					<input type="text" name="requestDate" class="jRsvDate" value="<?=$info["requestDate"]?>" />
				</td>
					
				<!-- 관리유형 -->
				<th style="height:25px;">담당자</th>
				<td class="center" colspan='3'>
					<select name="managerFk" class="wm">
						<? for($i=0; $i<sizeof($managerList); $i++){ ?>
						<option value='<?=$managerList[$i]["userNo"]?>' <?=$managerList[$i]["userNo"] == $info["userFk"] ? "SELECTED" : ""?>><?=$managerList[$i]["userName"]?></option>
						<? } ?>
					</select>
				</td>
				
			</tr>
		</table>
		<br>
		<h3>고객 정보</h3>
		<table class="datav" style="width:100%;">
			<colgroup>
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
			</colgroup>
			<tr>
				<!-- 입주자 -->
				<th style="height:25px;">성명</th>
				<td class="center">
					<input type="text" name="customerName" class="wm" value="<?=$info["customerName"]?>" />
				</td>
				
				<!-- 연락처 -->
				<th style="height:25px;">상호</th>
				<td class="center">
					<input type="text" name="companyName" class="wm" value="<?=$info["companyName"]?>" />
				</td>
				
				<!-- 반환계좌 / 입금주 -->
				<th style="height:25px;">연락처</th>
				<td class="center" colspan='3'>
					<input type="text" name="telephone1" style="width:50px" value="<?=substr($info["telephone"], 0, 3)?>"/>&nbsp;  -  &nbsp;
					<input type="text" name="telephone2" style="width:50px" value="<?=substr($info["telephone"], 3, 4)?>"/>&nbsp;  -  &nbsp;
					<input type="text" name="telephone3" style="width:50px" value="<?=substr($info["telephone"], 7, 4)?>"/>
				</td>
			</tr>
			<tr>
				<!-- 계약일 -->
				<th style="height:25px;">차종</th>
				<td class="center" colspan='7'>
					<select name="vehicleTON" >
						<?for($i=1; $i<=25; $i++){?>
							<option value='<?=$i?>' <?=$info["vehicleTON"] == $i ? "selected" : ""?>><?=$i?></option>
						<?}?>
					</select> TON
					<input type="text" name="vehicleText" style="margin-right:50px;" value="<?=$info["vehicleText"]?>"/>
					<input type="radio" name="vehicleType" value="HY" <?=$info["vehicleType"] == "HY" ? "CHECKED" : "" ?>>현대
					<input type="radio" name="vehicleType" value="DW" <?=$info["vehicleType"] == "DW" ? "CHECKED" : "" ?>>대우
					<input type="radio" name="vehicleType" value="VV" <?=$info["vehicleType"] == "VV" ? "CHECKED" : "" ?>>볼보
					<input type="radio" name="vehicleType" value="SC" <?=$info["vehicleType"] == "SC" ? "CHECKED" : "" ?>>스카니아
					<input type="radio" name="vehicleType" value="MB" <?=$info["vehicleType"] == "MB" ? "CHECKED" : "" ?>>벤츠
					<input type="radio" name="vehicleType" value="MA" <?=$info["vehicleType"] == "MA" ? "CHECKED" : "" ?>>
                    <input type="radio" name="vehicleType" value="IV" <?=$info["vehicleType"] == "IV" ? "CHECKED" : "" ?>>이베코
				</td>
			</tr>
		</table>
		
		<h3>제품 정보</h3>
		<table class="datav" style="width:100%;">
			<colgroup>
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
				<col width="10%" />
				<col width="15%" />
			</colgroup>
			<tr>
				<!-- 보증금 -->
				<th style="height:25px;">제품명</th>
				<td class="center" colspan='7'>
					<input type="text" name="productName" class="wm" value="<?=$info["productName"]?>" />
				</td>
				
		
			</tr>
			<tr>
				<!-- 기본관리비 -->
				<th style="height:25px;">TYPE</th>
				<td class="center" colspan='7'>
					<input type="radio" name="type" value="R" <?=$info["type"] == "R" ? "CHECKED" : "" ?>>R
					<input type="radio" name="type" value="A" <?=$info["type"] == "A" ? "CHECKED" : "" ?>>
					<input type="radio" name="type" value="P" <?=$info["type"] == "P" ? "CHECKED" : "" ?>>판넬
					<input type="text" name="typeValue" style="margin-left:50px;" value="<?=$info["typeValue"]?>"/>
				</td>
			</tr>
			<tr>
				<!-- 렌트2 -->
				<th style="height:25px;">내장</th>
				<td class="center">
					<input type="text" name="internalLength" class="wm" value="<?=$info["internalLength"]?>" />
				</td>
				
				<!-- 기타 -->
				<th style="height:25px;">내고</th>
				<td class="center">
					<input type="text" name="internalHeight" class="wm" value="<?=$info["internalHeight"]?>" />
				</td>
				
				<!-- 월세입금일-->
				<th style="height:25px;">내폭</th>
				<td class="center" colspan='2'>
					<input type="text" name="internalWidth" class="wm" value="<?=$info["internalWidth"]?>" />
				</td>
				

			</tr>
			<tr>
				<!-- 전기 검침일-->
				<th style="height:25px;">AL코일</th>
				<td class="center" colspan='7'>
					<input type="radio" name="alCoil" value="G" <?=$info["alCoil"] == "G" ? "CHECKED" : "" ?>>GRP
					<input type="radio" name="alCoil" value="A" <?=$info["alCoil"] == "A" ? "CHECKED" : "" ?>>AL
					<input type="text" name="alCoilValue" style='margin-left:50px;' value="<?=$info["alCoilValue"]?>"/>
				</td>
			</tr>
			<tr>
				<th style="height:25px;">내부바닥</th>
				<td class="center" colspan='7'>
					<input type="radio" name="floor" value="C" <?=$info["floor"] == "C" ? "CHECKED" : "" ?>>체크
					<input type="radio" name="floor" value="P" <?=$info["floor"] == "P" ? "CHECKED" : "" ?>>민판
					<input type="text" name="floorValueT" style='width:5%;' value="<?=$info["floorValueT"]?>"/> T
					<input type="text" name="floorValueText" style='margin-left:45px;' value="<?=$info["floorValueText"]?>" />
				</td>
			</tr>
			<tr>
				<th style="height:25px;">누름천막</th>
				<td class="center" colspan='7'>
					<input type="radio" name="tent" value="0" <?=$info["tent"] == "0" ? "CHECKED" : "" ?>>없음
					<input type="radio" name="tent" value="1" <?=$info["tent"] == "1" ? "CHECKED" : "" ?>>고정식
					<input type="radio" name="tent" value="2" <?=$info["tent"] == "2" ? "CHECKED" : "" ?>>이동식
				</td>
			</tr>
			<tr>
				<th style="height:25px;">내부옆판</th>
				<td class="center" colspan='7'>
					<input type="radio" name="sideBoard" id="sideBoard" value="1" <?=$info["sideBoard"] == "1" ? "CHECKED" : "" ?>>있음
					<input type="radio" name="sideBoard" id="sideBoard" value="0" <?=$info["sideBoard"] == "0" ? "CHECKED" : "" ?>>없음
					<input type="text" name="sideBoardValue" style='margin-left:45px;' value="<?=$info["sideBoardValue"]?>"/>
				</td>
			</tr>
			<tr>
				<th style="height:25px;">바람막이</th>
				<td class="center" colspan='7'>
					<input type="radio" name="windStopper" value="1" <?=$info["windStopper"] == "1" ? "CHECKED" : "" ?>>있음
					<input type="radio" name="windStopper" value="0" <?=$info["windStopper"] == "0" ? "CHECKED" : "" ?>>없음
					<input type="text" name="windStopperValue" style='margin-left:45px;' value="<?=$info["windStopperValue"]?>"/>
				</td>
			</tr>
			<tr>
				<th style="height:25px;">냉동기</th>
				<td class="center" colspan='7'>
					<input type="radio" name="freezer" value="1" <?=$info["freezer"] == "1" ? "CHECKED" : "" ?>>있음
					<input type="radio" name="freezer" value="0" <?=$info["freezer"] == "0" ? "CHECKED" : "" ?>>없음
					<input type="text" name="freezerValue" style='margin-left:45px;' value="<?=$info["freezerValue"]?>"/>
				</td>
			</tr>
			<!-- 게이트 -->
			<tr>
				<th style="height:25px;" rowspan='2'>게이트</th>
				<td class="center" colspan='7'>
					-형태
					<input type="radio" name="gateType" value="0" style='margin-left:50px;' <?=$info["gateType"] == "0" ? "CHECKED" : "" ?>>구형
					<input type="radio" name="gateType" value="1" <?=$info["gateType"] == "1" ? "CHECKED" : "" ?>>신형
					<input type="text" name="gateValue" style='margin-left:45px;' value="<?=$info["gateValue"]?>" />
				</td>				
			</tr>
			<tr>
				<td class="center" colspan='7'>
					-사이즈
					<input type="radio" name="gateSize" value="0"  style='margin-left:50px;' <?=$info["gateSize"] == "0" ? "CHECKED" : "" ?>>600
					<input type="radio" name="gateSize" value="1" <?=$info["gateSize"] == "1" ? "CHECKED" : "" ?>>700
					<input type="radio" name="gateSize" value="2" <?=$info["gateSize"] == "2" ? "CHECKED" : "" ?>>800
				</td>
			</tr>
			<tr>
				<th style="height:25px;">L&LOAD</th>
				<td class="center" colspan='3'>
					<input type="radio" name="load" value="S" style='margin-left:50px;' <?=$info["load"] == "S" ? "CHECKED" : "" ?>>SUS
					<input type="radio" name="load" value="N" <?=$info["load"] == "N" ? "CHECKED" : "" ?>>일반
				</td>	
				<th style="height:25px;">앞/뒤틀 형식</th>
				<td class="center" colspan='3'>
					<input type="radio" name="frontBack" value="S" style='margin-left:50px;' <?=$info["frontBack"] == "S" ? "CHECKED" : "" ?>>SUS
					<input type="radio" name="frontBack" value="N" <?=$info["frontBack"] == "N" ? "CHECKED" : "" ?>>일반
				</td>
			</tr>
			<tr>
				<th style="height:25px;" rowspan='2'>E트랙</th>
				<td class="center" colspan='7'>
					-게이트
					<input type="radio" name="eTrackGate" value="1" style='margin-left:50px;' <?=$info["eTrackGate"] == "1" ? "CHECKED" : "" ?>>있음
					<input type="radio" name="eTrackGate" value="0" <?=$info["eTrackGate"] == "0" ? "CHECKED" : "" ?>>없음
					<input type="text" name="eTrackValue" style='margin-left:45px;' value="<?=$info["eTrackValue"]?>"/>
				</td>				
			</tr>
			<tr>
				<td class="center" colspan='7'>
					-날개
					<input type="radio" name="eTrackWing" value="1"  style='margin-left:50px;' <?=$info["eTrackWing"] == "1" ? "CHECKED" : "" ?>>있을
					<input type="radio" name="eTrackWing" value="0" <?=$info["eTrackWing"] == "0" ? "CHECKED" : "" ?>>없음
				</td>
			</tr>
			
			<tr>
				<th style="height:25px;">공구통</th>
				<td class="center" colspan='7'>
					<input type="radio" name="toolBucket" value="1" <?=$info["toolBucket"] == "1" ? "CHECKED" : "" ?>>
					<input type="radio" name="toolBucket" value="2" <?=$info["toolBucket"] == "2" ? "CHECKED" : "" ?>>
					<input type="radio" name="toolBucket" value="0" <?=$info["toolBucket"] == "0" ? "CHECKED" : "" ?>>없음
					<input type="text" name="toolBucketValue" style='margin-left:45px;' value="<?=$info["toolBucketValue"]?>"/>
				</td>
			</tr>
			
			<tr>
				<th style="height:25px;">범퍼발판</th>
				<td class="center" colspan='3'>
					<input type="radio" name="bumperFootHold" value="1" style='margin-left:50px;' <?=$info["bumperFootHold"] == "1" ? "CHECKED" : "" ?>>1개
					<input type="radio" name="bumperFootHold" value="2" <?=$info["bumperFootHold"] == "2" ? "CHECKED" : "" ?>>2개
				</td>	
				<th style="height:25px;">윙보호장치</th>
				<td class="center" colspan='3'>
					<input type="radio" name="wingProtector" value="1" style='margin-left:50px;' <?=$info["wingProtector"] == "1" ? "CHECKED" : "" ?>>1개
					<input type="radio" name="wingProtector" value="2" <?=$info["wingProtector"] == "2" ? "CHECKED" : "" ?>>2개
				</td>
			</tr>
			
			<tr>
				<th style="height:25px;">축(장착여부)</th>
				<td class="center" colspan='7'>
					<input type="radio" name="axis" value="1" <?=$info["axis"] == "1" ? "CHECKED" : "" ?>>있음
					<input type="radio" name="axis" value="0" <?=$info["axis"] == "0" ? "CHECKED" : "" ?>>없음
					<input type="text" name="axisValue" style='margin-left:45px;' value="<?=$info["axisValue"]?>"/>
				</td>
			</tr>
			
			<tr>
				<th style="height:25px;">견적금액</th>
				<td class="center" colspan='7'>
					<input type="text" name="balance" value="<?=$info["balance"]?>" />
				</td>
			</tr>
		</table>
		
		<h3>특수 사항</h3>
		<table class="datav addtable" style="width:100%; empty-cells: hide;border-collapse: separate;">
			<colgroup>
				<col width="10%" />
				<col width="90%" />
			</colgroup>
			<tr>
				<!-- 입실예정일 -->
				<th style="height:25px;">특수 사항</th>
				<td class="center">
					<input type="text" id="addContent" />
					<span class="button bigrounded gray jAdd" style="color:white; width:70px">&nbsp;추가&nbsp;</span> 
				</td>
			</tr>
			
			<?if($info['specialAddition1'] != ""){?>
				<tr no="<?=$addCount?>" class='dynamicRow'><td></td><td><input type='text' class='added' readonly value="<?=$info['specialAddition1']?>" />
				<span class='button bigrounded gray adddel' no="<?=$addCount?>" style='color:white; width:70px'>&nbsp;X&nbsp;</span></td></tr>
			<?
			$addCount++;
			}?>
			<?if($info['specialAddition2'] != ""){?>
				<tr no="<?=$addCount?>" class='dynamicRow'><td></td><td><input type='text' class='added' readonly value="<?=$info['specialAddition2']?>" />
				<span class='button bigrounded gray adddel' no="<?=$addCount?>" style='color:white; width:70px'>&nbsp;X&nbsp;</span></td></tr>
			<?
			$addCount++;
			}?>
			<?if($info['specialAddition3'] != ""){?>
				<tr no="<?=$addCount?>" class='dynamicRow'><td></td><td><input type='text' class='added' readonly value="<?=$info['specialAddition3']?>" />
				<span class='button bigrounded gray adddel' no="<?=$addCount?>" style='color:white; width:70px'>&nbsp;X&nbsp;</span></td></tr>
			<?
			$addCount++;
			}?>
			<?if($info['specialAddition4'] != ""){?>
				<tr no="<?=$addCount?>" class='dynamicRow'><td></td><td><input type='text' class='added' readonly value="<?=$info['specialAddition4']?>" />
				<span class='button bigrounded gray adddel' no="<?=$addCount?>" style='color:white; width:70px'>&nbsp;X&nbsp;</span></td></tr>
			<?
			$addCount++;
			}?>
			<?if($info['specialAddition5'] != ""){?>
				<tr no="<?=$addCount?>" class='dynamicRow'><td></td><td><input type='text' class='added' readonly value="<?=$info['specialAddition5']?>" />
				<span class='button bigrounded gray adddel' no="<?=$addCount?>" style='color:white; width:70px'>&nbsp;X&nbsp;</span></td></tr>
			<?
			$addCount++;
			}?>
			
			<script>addCounter = <?=$addCount != "" ? $addCount : 0?>;</script>
			
		</table>
		</form>

		<div class="btngroupcenter">
			<span class="button bigrounded blue jCancel btnleft_y">목록으로 </span>
			<span class="button bigrounded blue jMod btnright_y" >저장</span>
		</div>

	</div>
</div>