| | |
| | | <input type="hidden" name="HSTOCKINORGID" id="HSTOCKINORGID" lay-verify="HSTOCKINORGID"> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¥æ*</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | |
| | | </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; width: 185px;"> |
| | | <select name="HIsStockQty" lay-filter="HIsStockQty" id="HIsStockQty"> |
| | | <option value="0" selected>å¦</option> |
| | | <option value="1">æ¯</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç产车é´</label> |
| | | <div class="layui-input-block" style="margin-left: 71px;"> |
| | | <input type="text" class="layui-input" lay-verify="HDeptName" name="HDeptName" id="HDeptName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HDeptID" id="HDeptID" lay-verify="HDeptID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHDept" id="btnHDept" 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" style="width: 51%;"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">客æ·</label> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <!--<div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">çäº§èµæº</label> |
| | | <div class="layui-input-block" style="margin-left: 75px;"> |
| | | <input type="text" class="layui-input" lay-verify="HSourceName" name="HSourceName" id="HSourceName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" lay-verify="HSourceID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSource" id="btnHSource" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label" style="width: 85px;">çäº§èµæº</label> |
| | | <div class="layui-input-block" style="margin-left: 75px;"> |
| | | <input type="text" class="layui-input" lay-verify="HSourceName" name="HSourceName" id="HSourceName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" lay-verify="HSourceID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSource" id="btnHSource" 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: 71px;"> |
| | |
| | | <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="HRemark" id="HRemark" lay-verify="HRemark" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline" style="width: 56%;"> |
| | | <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="HRemark3" id="HRemark3" lay-verify="HRemark3" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç产车é´</label> |
| | | <div class="layui-input-block" style="margin-left: 71px;"> |
| | | <input type="text" class="layui-input" lay-verify="HDeptName" name="HDeptName" id="HDeptName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HDeptID" id="HDeptID" lay-verify="HDeptID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHDept" id="btnHDept" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | } |
| | | }); |
| | | } |
| | | else {//å¦æä¿®æ¹åèµ°ä¸é¢ |
| | | else if (OperationType == 2) { |
| | | RoadBillMain(linterid); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | | data: { "HBillType": '3710' }, |
| | | success: function (d) { |
| | | $("#HInterID").val(d.data[0].HInterID); |
| | | $("#HBillNo").val(d.data[0].HBillNo); |
| | | } |
| | | }); |
| | | } |
| | | else if (OperationType == 3) {//å¦æä¿®æ¹åèµ°ä¸é¢ |
| | | //ç¦ç¨ç»ç»é项 |
| | | $("#HPRDORGID").attr("disabled", true); |
| | | $("#HDate").attr("disabled", true); |
| | |
| | | $("#HModel").val(checkStatus.data[0].è§æ ¼åå·); |
| | | $("#HUnitID").val(checkStatus.data[0].HUnitID);//计éåä½id |
| | | $("#HUnitName").val(checkStatus.data[0].计éåä½åç§°);//计éåä½åç§° |
| | | $("#HWidth").val(checkStatus.data[0].HWidth);//å¹
宽 |
| | | $("#HWeight").val(checkStatus.data[0].HWeight);//å
é |
| | | $("#HColorRemark").val(checkStatus.data[0].æè²è¦æ±);//å
é |
| | | $("#HWidth").val(checkStatus.data[0].å¹
宽);//å¹
宽 |
| | | $("#HWeight").val(checkStatus.data[0].å
é);//å
é |
| | | $("#HColorRemark").val(checkStatus.data[0].æè²è¦æ±);//æè²è¦æ± |
| | | $("#HRemark").val(checkStatus.data[0].夿³¨);//夿³¨ |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | ////$('#set_CancelCloseBill').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | //$('#set_CancelltionBill').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | ////$('#set_AbandonCancelltion').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | |
| | | |
| | | } |
| | | else { |
| | | layer.close(index); |
| | |
| | | , "HUnitID": d.data[0].HUnitID |
| | | , "HUnitName": d.data[0].计éåä½ |
| | | , "HSTATUS": HSTATUS |
| | | , "HIsStockQty": d.data[0].HIsStockQty |
| | | , "HBomID": d.data[0].HBomID |
| | | , "HBomName": d.data[0].BOMåç¼ç |
| | | , "HPlanBeginDate": Format(new Date(d.data[0].计åå¼å·¥æ¥æ), "yyyy-MM-dd") |
| | |
| | | , "HBeginDate": Format(new Date(d.data[0].æè¿å¼å·¥æ¥æ), "yyyy-MM-dd") |
| | | , "HEndDate": Format(new Date(d.data[0].æè¿å®å·¥æ¥æ), "yyyy-MM-dd") |
| | | , "HRemark": d.data[0].è¡¨å¤´å¤æ³¨ |
| | | , "HRemark3": d.data[0].åºé¨å¤æ³¨ |
| | | , "HAuxQty": d.data[0].HAuxQty |
| | | , "HAuxUnit": d.data[0].HAuxUnit |
| | | , "HAuxUnitName": d.data[0].HAuxUnitName |
| | |
| | | , "HWeight": d.data[0].HWeight |
| | | , "HColorRemark": d.data[0].æè²è¦æ± |
| | | //å
¶ä»ä¿¡æ¯ |
| | | , "hmakers": d.data[0].å¶å人 |
| | | , "hmakedate": d.data[0].å¶åæ¥æ == null ? "" : Format(new Date(d.data[0].å¶åæ¥æ), "yyyy-MM-dd") |
| | | , "hchecker": d.data[0].å®¡æ ¸äºº |
| | | , "hcheckdate": d.data[0].å®¡æ ¸æ¥æ == null ? "" : Format(new Date(d.data[0].å®¡æ ¸æ¥æ), "yyyy-MM-dd") |
| | | , "hupdater": d.data[0].ä¿®æ¹äºº |
| | | , "hupdatedate": d.data[0].ä¿®æ¹æ¥æ == null ? "" : Format(new Date(d.data[0].ä¿®æ¹æ¥æ), "yyyy-MM-dd") |
| | | , "hdeleteman": d.data[0].ä½åºäºº |
| | | , "hdeletedate": d.data[0].ä½åºæ¥æ == null ? "" : Format(new Date(d.data[0].ä½åºæ¥æ), "yyyy-MM-dd") |
| | | , "hmakers": OperationType == 2 ? "" : d.data[0].å¶å人 |
| | | , "hmakedate": OperationType == 2 ? "" : d.data[0].å¶åæ¥æ == null ? "" : Format(new Date(d.data[0].å¶åæ¥æ), "yyyy-MM-dd") |
| | | , "hchecker": OperationType == 2 ? "" : d.data[0].å®¡æ ¸äºº |
| | | , "hcheckdate": OperationType == 2 ? "" : d.data[0].å®¡æ ¸æ¥æ == null ? "" : Format(new Date(d.data[0].å®¡æ ¸æ¥æ), "yyyy-MM-dd") |
| | | , "hupdater": OperationType == 2 ? "" : d.data[0].ä¿®æ¹äºº |
| | | , "hupdatedate": OperationType == 2 ? "" : d.data[0].ä¿®æ¹æ¥æ == null ? "" : Format(new Date(d.data[0].ä¿®æ¹æ¥æ), "yyyy-MM-dd") |
| | | , "hdeleteman": OperationType == 2 ? "" : d.data[0].ä½åºäºº |
| | | , "hdeletedate": OperationType == 2 ? "" : d.data[0].ä½åºæ¥æ == null ? "" : Format(new Date(d.data[0].ä½åºæ¥æ), "yyyy-MM-dd") |
| | | }); |
| | | form.render('select'); |
| | | |
| | | |
| | | } |
| | | }) |
| | | } |
| | |
| | | // layer.msg("BOM没æéæ©"); |
| | | // return false; |
| | | //} |
| | | |
| | | |
| | | |
| | | return true; |
| | | } |