From bb48edb3d9faaaeab0088151c86fc24137acdb08 Mon Sep 17 00:00:00 2001 From: hjg <hjg@123.com> Date: 星期六, 18 十一月 2023 11:42:44 +0800 Subject: [PATCH] 科技装车 --- WebContent/basic/js/vehicleBindMaterials.js | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/WebContent/basic/js/vehicleBindMaterials.js b/WebContent/basic/js/vehicleBindMaterials.js index 16896fe..6597bb8 100644 --- a/WebContent/basic/js/vehicleBindMaterials.js +++ b/WebContent/basic/js/vehicleBindMaterials.js @@ -16,6 +16,7 @@ bsNo: $('#_bsNo').val(), printBtn: $('#printBtn'), detailModal: $("#modal"), + addCarPersons: $("#addCarPersons") } var ViewModel = function() { @@ -58,6 +59,18 @@ 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() { -- Gitblit v1.9.3