From a0879b60391616bb077b53815114af74ec7a77cd Mon Sep 17 00:00:00 2001 From: hjg <hjg@123.com> Date: 星期五, 05 七月 2024 09:38:04 +0800 Subject: [PATCH] 更新pda接口 --- 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