| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!--éèåæ®µ--> |
| | | <div class="layui-row" style="display:none;"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" name="HSourceInterID" id="HSourceInterID" lay-verify="HSourceInterID" value="0"> |
| | | <input type="hidden" name="HSourceEntryID" id="HSourceEntryID" lay-verify="HSourceEntryID" value="0"> |
| | | <input type="hidden" name="HSourceBillNo" id="HSourceBillNo" lay-verify="HSourceBillNo" value=""> |
| | | <input type="hidden" name="HSourceBillType" id="HSourceBillType" lay-verify="HSourceBillType" value=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | $("#HPRDORGID").attr("disabled", true); |
| | | $("#HDate").attr("disabled", true); |
| | | RoadBillMain(linterid); |
| | | } |
| | | else if (OperationType == 4) { //éå®è®¢å䏿¨ç产订å-页é¢åå§å |
| | | setInit_PushBill(); |
| | | } |
| | | HfBtn(); |
| | | |
| | |
| | | $("#HSeOrderInterID").val(checkStatus.data[0].hmainid); |
| | | $("#HSeOrderBillNo").val(checkStatus.data[0].åæ®å·); |
| | | $("#HSeOrderEntryID").val(checkStatus.data[0].hsubid); |
| | | |
| | | $("#HSourceInterID").val(checkStatus.data[0].hmainid); |
| | | $("#HSourceEntryID").val(checkStatus.data[0].hsubid); |
| | | $("#HSourceBillNo").val(checkStatus.data[0].åæ®å·); |
| | | $("#HSourceBillType").val("1401"); |
| | | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | //#region 䏿¨é¡µé¢åå§å |
| | | function setInit_PushBill() { |
| | | //çæå¹¶è®¾ç½®ä¸»è¡¨çå
ç ååæ®å· |
| | | $.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); |
| | | } |
| | | }); |
| | | |
| | | //æ¥è¯¢ éå®è®¢å æ¯å¦åå¨ |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Xs_SeOrderBill/loadXs_SeOrderBill_InitICMO", |
| | | async: false, |
| | | type: "GET", |
| | | data: { |
| | | "HInterID": linterid |
| | | , "HEntryID": HEntryID |
| | | }, |
| | | success: function (result) { |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data[0]; |
| | | |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HSeOrderBillNo": data.åæ®å· |
| | | , "HSeOrderInterID": data.hmainid |
| | | , "HSeOrderEntryID": data.hsubid |
| | | |
| | | , "HSourceInterID": data.hmainid |
| | | , "HSourceEntryID": data.hsubid |
| | | , "HSourceBillNo": data.åæ®å· |
| | | , "HSourceBillType": "1401" |
| | | |
| | | , "HEmpID": data.HEmpID |
| | | , "HEmpName": data.ä¸å¡å |
| | | , "HCusID": data.HCusID |
| | | , "HCusName": data.å®¢æ· |
| | | , "HQty": data.æ°é |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterNumber": data.ç©æä»£ç |
| | | , "HMaterName": data.ç©æåç§° |
| | | , "HModel": data.è§æ ¼åå· |
| | | , "HUnitID": data.HUnitID |
| | | , "HUnitName": data.计éåä½ |
| | | , "HWidth": data.å¹
宽 |
| | | , "HWeight": data.å
é |
| | | , "HRemark": data.è¡¨å¤´å¤æ³¨ |
| | | }); |
| | | |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("åçé误!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //ä¿åHMaker |
| | | function set_AddNew(data) { |
| | | |
| | |
| | | , "HSeOrderBillNo": d.data[0].æºååå· |
| | | , "HSeOrderInterID": d.data[0].æºå主å
ç |
| | | , "HSeOrderEntryID": d.data[0].æºååå
ç |
| | | |
| | | , "HSourceInterID": d.data[0].HSourceInterID |
| | | , "HSourceEntryID": d.data[0].HSourceEntryID |
| | | , "HSourceBillNo": d.data[0].HSourceBillNo |
| | | , "HSourceBillType": d.data[0].HSourceBillType |
| | | |
| | | , "HEmpID": d.data[0].HEmpID |
| | | , "HEmpName": d.data[0].ä¸å¡å |
| | | , "HCusID": d.data[0].HEntryCusID |