| | |
| | | "HMainSourceInterID": 0 |
| | | , "HMainSourceEntryID": 0 |
| | | , "HMainSourceBillNo": '' |
| | | , "HMainSourceBillType": '1114' |
| | | , "HMainSourceBillType": '1426' |
| | | |
| | | , "HDeptID": dataArray[0].HDeptID |
| | | , "HDeptName": dataArray[0].é¨é¨ |
| | |
| | | , "HSourceInterID": dataArray[i].hmainid |
| | | , "HSourceEntryID": dataArray[i].hsubid |
| | | , "HSourceBillNo": dataArray[i].åæ®å· |
| | | , "HSourceBillType": 1114 |
| | | , "HSourceBillType": 1426 |
| | | , "HRelationQty": "0" |
| | | , "HRelationMoney": "0" |
| | | |
| | |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | | layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true); |
| | | layer.msg("æäº¤æå"); |
| | | if (data.Verify == "Y") //èªå¨å®¡æ ¸ |
| | | { |
| | | $("#HInterID").val(data.HInterID);//è·åæäº¤æåè¿åç忮䏻ID |
| | | set_CheckBill(0); //å®¡æ ¸ |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | |
| | | , "HSourceInterID": result.data[i].æºå主å
ç |
| | | , "HSourceEntryID": result.data[i].æºååå
ç |
| | | , "HSourceBillNo": result.data[i].æºååå· |
| | | , "HSourceBillType": 1114 |
| | | , "HSourceBillType": result.data[i].æºåç±»å |
| | | , "HRelationQty": result.data[i].å
³èæ°é |
| | | , "HRelationMoney": result.data[i].å
³èéé¢ |
| | | |
| | |
| | | for (var i = 0; i < option.cols[0].length - 1; i++) { |
| | | var dataCols = dataCol[j].split('|'); |
| | | //éæ©ä¸datacolsç¸åºåè¿è¡ä¿®æ¹ |
| | | if (option.cols[0][i + 1]["field"] == dataCols[4]) { |
| | | if (option.cols[0][i + 1]["field"] == dataCols[5]) { |
| | | //éèå |
| | | if (dataCols[1] == 1) { |
| | | option.cols[0][i + 1]["hide"] = true; |