| | |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">项ç®ä»£ç <label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" lay-verify="HProNumber" name="HProNumber" id="HProNumber"> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label" style="width: 85px;">项ç®ä»£ç <label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" lay-verify="HProNumber" name="HProNumber" id="HProNumber"> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">项ç®ä»£ç <label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HProNumber" name="HProNumber" id="HProNumber" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <!--<input type="hidden" name="HProjectStageID" id="HProjectStageID" lay-verify="HProjectStageID" value="0">--> |
| | | <input type="hidden" name="HProjectID" id="HProjectID" lay-verify="HProjecID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHProNumber" id="btnSearchHProNumber" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 501px;"> |
| | | <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" lay-verify="HMainSourceInterID" value="0"> |
| | | <input type="hidden" name="HMainSourceEntryID" id="HMainSourceEntryID" lay-verify="HMainSourceEntryID" value="0"> |
| | | <input type="hidden" name="HMainSourceBillType" id="HMainSourceBillType" lay-verify="HMainSourceBillType" value="0"> |
| | | <input type="hidden" name="HMainSourceBillNo" id="HMainSourceBillNo" lay-verify="HMainSourceBillNo" value="0"> |
| | | <input type="hidden" name="HMainSourceBillType" id="HMainSourceBillType" lay-verify="HMainSourceBillType" value=""> |
| | | <input type="hidden" name="HMainSourceBillNo" id="HMainSourceBillNo" lay-verify="HMainSourceBillNo" value=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | //å¤æé¡¹ç®æ¯å¦å
³é |
| | | if (checkStatus.data[0].å
³é人 == null || checkStatus.data[0].å
³é人 == "") { |
| | | $("#HProjectID").val(checkStatus.data[0].HInterID); |
| | | $("#HProNumber").val(checkStatus.data[0].项ç®ä»£ç );//å·¥ç¨é¡¹ç®ä»£ç |
| | | $("#HProName").val(checkStatus.data[0].项ç®åç§°);//å·¥ç¨é¡¹ç®ä»£ç |
| | | $("#HProjectStageID").val(checkStatus.data[0].HProjectStageID);//å·¥ç¨é¡¹ç®ä»£ç |
| | | $("#HProjectStageName").val(checkStatus.data[0].项ç®é¶æ®µ);//å·¥ç¨é¡¹ç®ä»£ç |
| | | |
| | | $("#HMainSourceInterID").val(checkStatus.data[0].HInterID); |
| | | $("#HMainSourceEntryID").val(checkStatus.data[0].HEntryID); |
| | | $("#HMainSourceBillNo").val(checkStatus.data[0].åæ®å·); |
| | | $("#HMainSourceBillType").val(checkStatus.data[0].åæ®ç±»å); |
| | | |
| | | } else { |
| | | layer.msg("该项ç®å·²å
³éï¼ä¸å¯éæ©ï¼"); |
| | | } |
| | |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HInterID": tableMain[0]["HInterID"] |
| | | , "HBillNo": tableMain[0]["HBillNo"] |
| | | , "HProjectID": tableMain[0]["HProjectID"] |
| | | , "HProNumber": tableMain[0]["HProNumber"] |
| | | , "HProName": tableMain[0]["HProName"] |
| | | , "HProjectStageID": tableMain[0]["HProjectStageID"] |
| | |
| | | , "HCopyEmp": tableMain[0]["HCopyEmp"] |
| | | , "HRemark": tableMain[0]["HRemark"] |
| | | , "HOrgID": tableMain[0]["HOrgID"] |
| | | |
| | | , "HMainSourceInterID": tableMain[0]["HMainSourceInterID"] |
| | | , "HMainSourceEntryID": tableMain[0]["HMainSourceEntryID"] |
| | | , "HMainSourceBillNo": tableMain[0]["HMainSourceBillNo"] |
| | | , "HMainSourceBillType": tableMain[0]["HMainSourceBillType"] |
| | | |
| | | , "HMaker": tableMain[0]["HMaker"] |
| | | , "HUpdater": tableMain[0]["HUpdater"] |
| | | , "HChecker": tableMain[0]["HChecker"] |
| | |
| | | //主表 èµå¼ |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HOrgID": tableMain[0]["HOrgID"] |
| | | , "HProjectID": tableMain[0]["HInterID"] |
| | | , "HProNumber": tableMain[0]["HProNumber"] |
| | | , "HProName": tableMain[0]["HProName"] |
| | | , "HProjectStageID": tableMain[0]["HProjectStageID"] |
| | |
| | | layer.msg("åæ®å·ä¸è½ä¸ºç©º!"); |
| | | return false; |
| | | } |
| | | if ($("#HProNumber").val() == "") { |
| | | layer.msg("项ç®ä»£ç ä¸è½ä¸ºç©º!"); |
| | | if ($("#HProID").val() == "0") { |
| | | layer.msg("项ç®ä»£ç 没æéæ©!"); |
| | | return false; |
| | | } |
| | | if ($("#HProjectStageID").val() == "0") { |