| | |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | } |
| | | $("#HPURCHASEORGID").append(Organization); |
| | | $("#HPURCHASEORGID").val(sessionStorage["OrganizationID"]); |
| | | $("#HSubORGID").append(Organization); |
| | | $("#HSubORGID").val(sessionStorage["OrganizationID"]); |
| | | form.render('select'); |
| | | } |
| | | layer.closeAll("loading"); |
| | |
| | | , "HInterID": d.data[0].hmainid |
| | | , "HSubORGID": d.data[0].å§å¤ç»ç» |
| | | , "HAddress": d.data[0].交货å°ç¹ |
| | | , "HPURCHASEORGID": d.data[0].主表éè´ç»ç» |
| | | , "HPURCHASEORGID": d.data[0].HPURCHASEORGID |
| | | , "HSupplierID": d.data[0].HSupplierID |
| | | , "HSupplierIDName": d.data[0].ä¾åºååç§° |
| | | , "HSettleCurrId": d.data[0].HSettleCurrId |
| | |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | } |
| | | $("#HPRDORGID").append(Organization); |
| | | $("#HPRDORGID").val(sessionStorage["OrganizationID"]); |
| | | form.render('select'); |
| | | } |
| | | layer.closeAll("loading"); |
| | |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | } |
| | | $("#HPRDORGID").append(Organization); |
| | | $("#HPRDORGID").val(sessionStorage["OrganizationID"]); |
| | | form.render('select'); |
| | | } |
| | | layer.closeAll("loading"); |
| | |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | } |
| | | $("#HPRDORGID").append(Organization); |
| | | $("#HPRDORGID").val(sessionStorage["OrganizationID"]); |
| | | form.render('select'); |
| | | } |
| | | layer.closeAll("loading"); |
| | |
| | | }); |
| | | } |
| | | else {//å¦æä¿®æ¹åèµ°ä¸é¢ new |
| | | //$("#HProdORGID").attr("disabled", true); |
| | | RoadBillMain(linterid); |
| | | //RoadBillSub(linterid); |
| | | } |
| | |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "/Web/GetOrganizations", |
| | | async:false, |
| | | success: function (result) { |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data; |
| | |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | } |
| | | $("#HProdORGID").append(Organization); |
| | | $("#HProdORGID").val(sessionStorage["OrganizationID"]); |
| | | form.render('select'); |
| | | } |
| | | layer.closeAll("loading"); |
| | |
| | | "HBillNo": d.data[0].åæ®å· |
| | | , "HInterID": d.data[0].hmainid |
| | | , "HAddress": d.data[0].交货å°ç¹ |
| | | , "HProdORGID": d.data[0].主ç产ç»ç» |
| | | , "HProdORGID": d.data[0].HProdORGID |
| | | , "HDeptID": d.data[0].HDeptID |
| | | , "HDeptIDName": d.data[0].车é´åç§° |
| | | , "HSettleCurrId": d.data[0].HSettleCurrId |