| | |
| | | //parent.location.href = "../../../views/index.html" |
| | | //window.close();//å
³éå½å页 |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | parent.location.href = "../../../views/index_Mobile.html"; |
| | | }); |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | var listOption = { |
| | | elem: '#wl-table' |
| | | , toolbar: '#toolbarDemo' |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HSNO', title: 'åºå·', width: 60 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºåæ°é', width: 80 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80, totalRow: true} |
| | | , { field: 'HQtyMust', title: 'åºåæ°é', width: 80, totalRow: true } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 150 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 150 } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·', width: 150 } |
| | |
| | | table.render({ |
| | | elem: '#wl-table' |
| | | , cellMinWidth: 80 |
| | | , totalRow: true |
| | | //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Webs_Json' |
| | | , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json' |
| | | //, toolbar: '#toolbarDemo' |
| | | , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' } |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HQty', title: 'æ°é', sort: true, width: 100 } |
| | | , { field: 'HQtyMust', title: 'åºæ¶æ°é', sort: true, width: 100 } |
| | | , { field: 'HQty', title: 'æ°é', sort: true, width: 100, totalRow: true} |
| | | , { field: 'HQtyMust', title: 'åºæ¶æ°é', sort: true, width: 100, totalRow: true} |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', sort: true, width: 200 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', sort: true, width: 200 } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·', sort: true, width: 200 } |
| | |
| | | , { field: 'HSourceEntryID', title: 'æºååå
ç ', sort: true, width: 200 } |
| | | , { field: 'HSourceBillNo', title: 'æºååå·', sort: true, width: 200 } |
| | | , { field: 'HBatchNo', title: 'æ¹æ¬¡' } |
| | | , { field: 'HPieceQty', title: 'æ¡ç æ°é', width: 150 } |
| | | ]] |
| | | // , data: [linterid] |
| | | // , page: true |
| | |
| | | $("#HDeptID").val(obj[0].HItemID); |
| | | } |
| | | function AllowLoadData(sSubStr, bnt) { //é空éªè¯ |
| | | //æ°åæ£å(å
å«å°æ°) |
| | | var reg = /^\d+(\.\d+)?$/; |
| | | //if (reg.test($("#HQty").val()) == false || $("#HQty").val() == '') { |
| | | // layer.msg("æ°éå¿
须为æ°éæå°æ°", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return false; |
| | | //} |
| | | //if ($("#HSourceBillNo").val() == '') { |
| | | // layer.msg("请å
æ«æºå!", { icon: 5 }); |
| | | // return false; |