| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æºåç±»å</label> |
| | | <label class="layui-form-label" style="width: 85px;">æºåç±»å<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <select name="HMainSourceBillType" id="HMainSourceBillType"> |
| | | <option value="1102" selected>éè´è®¢å</option> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æºååå·</label> |
| | | <label class="layui-form-label" style="width: 85px;">æºååå·<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HMainSourceBillNo" |
| | | id="HMainSourceBillNo" |
| | |
| | | <label class="layui-form-label" style="width: 85px;">æ£éªSN</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HRemarkSN" id="HRemarkSN" |
| | | style="display: inline-block;"> |
| | | style="display: inline-block;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" |
| | | style="width: 85px;padding: 9px 18px;">产å代ç </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" name="HMaterNumber" |
| | | id="HMaterNumber" value="" |
| | | style="background-color:#efefef4d;width: 60%;display: inline-block;" |
| | | readonly> |
| | | id="HMaterNumber" value="" |
| | | style="background-color:#efefef4d;width: 60%;display: inline-block;" |
| | | readonly> |
| | | <input type="hidden" class="layui-input" name="HMaterID" id="HMaterID" |
| | | value="0" |
| | | style="background-color:#efefef4d;width: 60%;display: none;" |
| | | readonly> |
| | | value="0" |
| | | style="background-color:#efefef4d;width: 60%;display: none;" |
| | | readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" |
| | | lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" |
| | | style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" |
| | | style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | |
| | | <label class="layui-form-label" style="width: 85px;">产ååç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterName" id="HMaterName" |
| | | style="background-color:#efefef4d;display: inline-block;" readonly> |
| | | style="background-color:#efefef4d;display: inline-block;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" |
| | | style="width: 85px;padding: 9px 18px;">æ£éªå</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" name="HFirstCheckEmpName" |
| | | id="HFirstCheckEmpName" |
| | | style="background-color:#efefef4d;width: 60%;display: inline-block;" |
| | | readonly> |
| | | id="HFirstCheckEmpName" |
| | | style="background-color:#efefef4d;width: 60%;display: inline-block;" |
| | | readonly> |
| | | <input type="hidden" name="HFirstCheckEmp" id="HFirstCheckEmp" |
| | | value="0"> |
| | | value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" |
| | | lay-submit="" lay-filter="btnSearchHFirstCheckEmp" |
| | | id="btnSearchHFirstCheckEmp" |
| | | style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | lay-submit="" lay-filter="btnSearchHFirstCheckEmp" |
| | | id="btnSearchHFirstCheckEmp" |
| | | style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" |
| | | style="width: 85px;padding: 9px 18px;">æ£éªæ¹æ¡</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" name="HQCSchemeName" |
| | | id="HQCSchemeName" |
| | | style="background-color:#efefef4d;width: 60%;display: inline-block;" |
| | | readonly> |
| | | id="HQCSchemeName" |
| | | style="background-color:#efefef4d;width: 60%;display: inline-block;" |
| | | readonly> |
| | | <input type="hidden" name="HQCSchemeID" id="HQCSchemeID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" |
| | | lay-submit="" lay-filter="btnSearchQCScheme" id="btnSearchQCScheme" |
| | | style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | lay-submit="" lay-filter="btnSearchQCScheme" id="btnSearchQCScheme" |
| | | style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¶è´§æ°é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HQty" id="HQty" |
| | | style="background-color:#efefef4d;" readonly value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-inline" id="hidediv1" style="margin-left:20px;"> |
| | | <label class="layui-form-label" |
| | | style="width: 85px;padding: 9px 18px;">å·¥åº</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" name="HProcName" id="HProcName" |
| | | style="background-color:#efefef4d;width: 60%;display: inline-block;" |
| | |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | btnSearchCheckSampleScheme |
| | | |
| | | } |
| | | }); |
| | |
| | | |
| | | //表ä½ä¿¡æ¯æ½æ ·æ¹æ¡å¼¹çª |
| | | form.on('submit(btnSearchCheckSampleScheme)', function () { |
| | | var nowindex = $("#HEntryID").val()-1; |
| | | var inspectMethod = table.cache["mainTable"][nowindex].HAnalysisMethod; |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | maxmin: true, |
| | | content: ['../../../views/Baseset/åºç¡èµæ/Gy_SampleSchemeListView.html', 'yes'], |
| | | content: ['../../../views/Baseset/åºç¡èµæ/Gy_SampleSchemeListView.html?', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | |
| | | //#region ãéæ£éªæ¹æ¡è·åè¡¨ä½æ£éªé¡¹ç®ä¿¡æ¯ã |
| | | function get_CheckItem() { |
| | | var HBatchQty = $("#HProcExchQty").val() == 0 ? $("#HICMOQty").val() : $("#HProcExchQty").val(); |
| | | var HBatchQty = $("#HQty").val() == 0 ? $("#HICMOQty").val() : $("#HQty").val(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID", |
| | | type: "GET", |
| | |
| | | "HInspectMethodID": data[i]["HInspectMethodID"], "HInspectMethodName": data[i]["æ£éªæ¹æ³"], "HInspectBasisID": data[i]["HInspectBasisID"], "HInspectBasisName": data[i]["æ£éªä¾æ®"], |
| | | } |
| | | ); |
| | | |
| | | SampleNum.push(data[0].æ ·æ¬é); |
| | | } |
| | | |
| | |
| | | , { field: 'HQualityStdName', title: 'è´¨éæ å', edit: 'text', event: "HQualityStdID" }, |
| | | |
| | | , { field: 'HInspectMethodID', title: 'HInspectMethodID', edit: 'text', hide: true }, |
| | | , { field: 'HInspectMethodName', title: 'æ£éªæ¹æ³', edit: 'text', event: "HInspectMethodID" }, |
| | | , { field: 'HInspectMethodName', title: 'æ£éªæ¹æ³', edit: 'text', event: "HInspectMethodID", style: 'white-space: nowrap; overflow: hidden;text-overflow: ellipsis;'}, |
| | | |
| | | , { field: 'HInspectBasisID', title: 'HInspectBasisID', edit: 'text', hide: true }, |
| | | , { field: 'HInspectBasisName', title: 'æ£éªä¾æ®', edit: 'text', event: "HInspectBasisID" }, |
| | |
| | | var HEntryID = $("#HEntryID").val() - 1;//æ°ç»ä¸æ |
| | | if (UnRightQty > HAcceptQty) { |
| | | $("#HResult" + (Number(HEntryID) + Number(1))).val(2); //ä¸åæ ¼ |
| | | table.cache["mainTable"][HEntryID].HResult = 2 |
| | | $("#HInspectResultToSee").val('ä¸åæ ¼'); |
| | | $("#HInspectResultToSee2").val('ä¸åæ ¼'); |
| | | $("#HInspectResultToSee").css("background-color", "#F0D6E3");//æ¹åæ£éªç»æè¾å
¥æ¡èæ¯é¢è² |
| | | $("#HInspectResultToSee2").css("background-color", "#F0D6E3");//æ¹åæ£éªç»æè¾å
¥æ¡èæ¯é¢è² |
| | | } else { |
| | | $("#HResult" + (Number(HEntryID) + Number(1))).val(1); //åæ ¼ |
| | | table.cache["mainTable"][HEntryID].HResult = 1 |
| | | $("#HInspectResultToSee").val('åæ ¼'); |
| | | $("#HInspectResultToSee2").val('åæ ¼'); |
| | | $("#HInspectResultToSee").css("background-color", "#CEE3F2");//æ¹åæ£éªç»æè¾å
¥æ¡èæ¯é¢è² |
| | |
| | | $("#HMainSourceEntryID").val(res.data[0].HEntryID) |
| | | $("#HQCSchemeName").val(res.data[0].æ£éªæ¹æ¡åç§°); |
| | | $("#HQCSchemeID").val(res.data[0].æ£éªæ¹æ¡ID); |
| | | $("#HQty").val(res.data[0].宿¶æ°é); |
| | | //è·åè¡¨ä½æ£éªé¡¹ç®ä¿¡æ¯ |
| | | get_CheckItem(); |
| | | } |