| | |
| | | <label class="layui-form-label">å½åå·¥åº:</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HProcName" lay-verify="HProcName" id="HProcName" disabled autocomplete="off"> |
| | | <input id="HProcID" name="HProcID" type="hidden" /> |
| | | <input id="HProcID" name="HProcID" value="0" type="hidden" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <label class="layui-form-label">产å代ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HMaterCode" id="HMaterCode" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" class="layui-input" value="0" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HMaterList" id="HMaterList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | |
| | | <label class="layui-form-label">çäº§èµæº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HSourceName" id="HSourceName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" class="layui-input" value="0" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HSourceList" id="HSourceList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | |
| | | <label class="layui-form-label">æä½å:</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HEmpName" id="HEmpName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" class="layui-input" value="0" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HEmpList" id="HEmpList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | |
| | | <label class="layui-form-label">æºååå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HMainSourceBillNo" id="HMainSourceBillNo" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HMainSourceBillType" id="HMainSourceBillType" class="layui-input" value=""> |
| | | <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" class="layui-input" value="0" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HMainSourceBillType" id="HMainSourceBillType" class="layui-input" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="XDHList" id="XDHList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | |
| | | <div class="layui-inline" style="display:none"> |
| | | <label class="layui-form-label">æºåè¡å·:</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HMainSourceEntryID" lay-verify="HMainSourceEntryID" id="HMainSourceEntryID" autocomplete="off" disabled> |
| | | <input class="layui-input" name="HMainSourceEntryID" lay-verify="HMainSourceEntryID" id="HMainSourceEntryID" value="0" autocomplete="off" disabled> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç产订å:</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HICMOBillNo" lay-verify="HICMOBillNo" id="HICMOBillNo" autocomplete="off"> |
| | | <input id="HICMOInterID" name="HICMOInterID" type="hidden" /> |
| | | <input id="HICMOEntryID" name="HICMOEntryID" type="hidden" /> |
| | | <input id="HICMOInterID" name="HICMOInterID" type="hidden" value="0" /> |
| | | <input id="HICMOEntryID" name="HICMOEntryID" type="hidden" value="0" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <label class="layui-form-label">ç产çç»:</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HGroupName" id="HGroupName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HGroupID" id="HGroupID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HGroupID" id="HGroupID" class="layui-input" value="0" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HGroupList" id="HGroupList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | |
| | | <label class="layui-form-label">车é´:</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HDeptName" id="HDeptName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HDeptID" id="HDeptID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HDeptID" id="HDeptID" class="layui-input" value="0" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HDeptList" id="HDeptList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | |
| | | <label class="layui-form-label">çäº§çæ¬¡:</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HWorkShiftName" id="HWorkShiftName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HWorkShiftID" id="HWorkShiftID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HWorkShiftID" id="HWorkShiftID" class="layui-input" value="0" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HWorkShiftList" id="HWorkShiftLists" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | |
| | | $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) { |
| | | if (event.key == "F7") { |
| | | if (obj.event == "HRelationBillNo") { |
| | | var HProcID = $("#HProcID").val(); |
| | | var HSourceID = $("#HSourceID").val(); |
| | | layer.open({ |
| | | type: 2 |
| | | , skin: "layui-layer-rim" //å ä¸è¾¹æ¡ |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../../views/Baseset/åºç¡èµæ/Sc_ProcessExchangeBillListView.html', 'yes'] |
| | | , content: ['../../../views/Baseset/åºç¡èµæ/Sc_ProcessExchangeBillListView.html?HProcID=' + HProcID + '&HSourceID=' + HSourceID+'', 'yes'] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | if (checkStatus.data.length != 1) { |
| | | return layer.msg("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | } |
| | | if ($("#HMaterName").val() == checkStatus.data[0].产å && $("#HProcName").val() == checkStatus.data[0].å·¥åº) { |
| | | if ($("#HSourceName").val() == checkStatus.data[0].çäº§èµæº && $("#HProcName").val() == checkStatus.data[0].å·¥åº) { |
| | | obj.update({ |
| | | "HProcExchInterID": checkStatus.data[0].hmainid |
| | | , "HProcExchEntryID": checkStatus.data[0].hsubid |
| | |
| | | }) |
| | | } |
| | | else { |
| | | return layer.msg("éæ©å¯äº§è®¡ååçç©æä¸å·¥åº,è·å½åå·¥åä¸å¹é
"); |
| | | return layer.msg("éæ©å¯äº§è®¡ååççäº§èµæºä¸å·¥åº,è·å½åçäº§èµæºä¸å·¥åºä¸å¹é
"); |
| | | } |
| | | |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { |
| | | if ($("#HMaterName").val() == OptionData[0].产å && $("#HProcName").val() == OptionData[0].å·¥åº) { |
| | | if ($("#HSourceName").val() == OptionData[0].çäº§èµæº && $("#HProcName").val() == OptionData[0].å·¥åº) { |
| | | obj.update({ |
| | | "HProcExchInterID": OptionData[0].hmainid |
| | | , "HProcExchEntryID": OptionData[0].hsubid |
| | |
| | | |
| | | }) |
| | | } else { |
| | | return layer.msg("éæ©å¯äº§è®¡ååçç©æä¸å·¥åº,è·å½åå·¥åä¸å¹é
"); |
| | | return layer.msg("éæ©å¯äº§è®¡ååççäº§èµæºä¸å·¥åº,è·å½åçäº§èµæºä¸å·¥åºä¸å¹é
"); |
| | | } |
| | | |
| | | OptionData = []; |