| | |
| | | <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="HProID" id="HProID" lay-verify="HProID" 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="HProjectID" id="HProjectID" lay-verify="HProjectID" 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> |
| | |
| | | <select name="HOrgID" id="HOrgID" lay-verify="HOrgID"> |
| | | <!--å¨ææ¸²æç»ç»--> |
| | | </select> |
| | | |
| | | <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=""> |
| | | <input type="hidden" name="HMainSourceBillNo" id="HMainSourceBillNo" lay-verify="HMainSourceBillNo" value=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | } |
| | | //è®¾ç½®è¡¨å¤´æ°æ® |
| | | //è®¾ç½®ææ¬æ¡å¼ |
| | | $("#HProjectID").val(checkStatus.data[0].HInterID); |
| | | $("#HProNumber").val(checkStatus.data[0].项ç®ä»£ç ); |
| | | $("#HProjectStageID").val(checkStatus.data[0].HProjectStageID); |
| | | $("#HProjectStageName").val(checkStatus.data[0].项ç®é¶æ®µ); |
| | |
| | | $("#HRelationGoods").val(checkStatus.data[0].é¶æ®µç¸å
³äº¤ä»ç©); |
| | | $("#HIsKey").val((checkStatus.data[0].éç¨ç¢=='Y'?true:false)); |
| | | $("#HRate").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].åæ®ç±»å); |
| | | |
| | | |
| | | |
| | | //设置å¤éæ¡éä¸ç¶æ |
| | | if ($("#HIsKey").val() == "true") { |
| | |
| | | , "HRate": tableMain[0]["HRate"] |
| | | , "HOrgID": tableMain[0]["HOrgID"] |
| | | , "HRemark": tableMain[0]["HRemark"] |
| | | |
| | | , "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="" 对åºçå¼ |
| | | "HProID": tableMain[0]["HInterID"] |
| | | "HProjectID": tableMain[0]["HInterID"] |
| | | , "HProNumber": tableMain[0]["项ç®ä»£ç "] |
| | | , "HMainSourceBillNo": tableMain[0]["åæ®å·"] |
| | | , "HMainSourceBillType": tableMain[0]["åæ®ç±»å"] |
| | | , "HProjectStageID": tableMain[0]["HProjectStageID"] |
| | | , "HProjectStageName": tableMain[0]["项ç®é¶æ®µ"] |
| | | , "HStageNote": tableMain[0]["项ç®é¶æ®µè¯¦ç»å
容"] |
| | |
| | | , "HIsKey": tableMain[0]["éç¨ç¢"]=="Y"?true:false |
| | | , "HRate": tableMain[0]["é¶æ®µä¸ç»©å æ¯"] |
| | | , "HOrgID": tableMain[0]["HOrgID"] |
| | | |
| | | , "HMainSourceInterID": tableMain[0]["HInterID"] |
| | | , "HMainSourceEntryID": tableMain[0]["HEntryID"] |
| | | , "HMainSourceBillNo": tableMain[0]["åæ®å·"] |
| | | , "HMainSourceBillType": tableMain[0]["åæ®ç±»å"] |
| | | }); |
| | | //è¥è¯¥é¶æ®µä¸ºéç¨ç¢ï¼å设置éç¨ç¢å¤éæ¡ä¸ºéä¸ |
| | | if (tableMain[0]["éç¨ç¢"]=="Y") { |