| | |
| | | //ç¦ç¨ç»ç»é项 |
| | | $("#HUSEORGID").attr("disabled", true); |
| | | $("#HCreateOrgID").attr("disabled", true); |
| | | |
| | | //设置客æ·ä»£ç |
| | | //set_CusNumber_Add(); |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | set_EditFromGrid(); |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/SettleStyleInformation.html', 'yes'], |
| | | content: ['../../Baseset/åºç¡èµæ/Gy_SettleStyle.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/CurrencyInformation.html', 'yes'], |
| | | content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Currency.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HCurName").val(checkStatus.data[0].HName); |
| | | $("#HCurName").val(checkStatus.data[0].è´§å¸åç§°); |
| | | $("#HCurID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | |
| | | |
| | | //#region æ¤é¡µé¢ä¸ææçæ¹æ³ |
| | | //#region æ°å¢æ¶è·å客æ·ä»£ç |
| | | function set_CusNumber_Add() { |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Gy_Customer/getMaxCusNumber", |
| | | type: "GET", |
| | | data: { |
| | | |
| | | }, |
| | | success: function (d) { |
| | | if (d.code == "1") { |
| | | var HCusNumberLength = d.data[0].HNumber.length; |
| | | var HCusNumber = d.data[0].HNumber * 1 + 1; |
| | | while (HCusNumber.length < HCusNumberLength) |
| | | { |
| | | HCusNumber += "0"; |
| | | } |
| | | $("#HNumber").val(HCusNumber); |
| | | } else { |
| | | layer.msg(d.Message); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //æ æºåæ°å¢ |
| | | function set_AddFNew() { |
| | | $.ajax({ |