| | |
| | | bsNo: $('#_bsNo').val(), |
| | | printBtn: $('#printBtn'), |
| | | detailModal: $("#modal"), |
| | | addCarPersons: $("#addCarPersons") |
| | | } |
| | | |
| | | var ViewModel = function() { |
| | |
| | | e.preventDefault(); |
| | | I.detailModal.modal('hide'); |
| | | }) |
| | | I.addCarPersons.click(function (e) { |
| | | e.preventDefault(); |
| | | var item = {businessNo: I.bsNo,vehicleId: I.numberplates} |
| | | console.log("item",item); |
| | | parent.closableTab.addTab({ |
| | | 'id': "carPersons-" + item.businessNo + "-" + item.vehicleId, |
| | | 'name': '添加随行人员', |
| | | 'url': '/basic/carPersons.jsf?businessNo=' + item.businessNo + '&vehicleId=' + item.vehicleId, |
| | | 'closable': true |
| | | }); |
| | | |
| | | }) |
| | | getRemarkDetail(); |
| | | } |
| | | function saveRemark() { |