This commit is contained in:
cwchen 2024-11-16 14:24:51 +08:00
parent e7397a94b7
commit 989fa72c16
1 changed files with 6 additions and 4 deletions

View File

@ -18,11 +18,13 @@ function setParams(params) {
// 获取配件报废记录详情 // 获取配件报废记录详情
function getDetailsById() { function getDetailsById() {
let encryptedData = { let params = {
'id': objParam.id encryptedData: JSON.stringify({
'id': objParam.id
})
}; };
let url = dataUrl + 'backstage/partScrap/getDetailsById?encryptedData=' + encodeURIComponent(JSON.stringify(encryptedData)); let url = dataUrl + 'backstage/partScrap/getDetailsById';
ajaxRequest(url, "GET", null, true, function () { ajaxRequest(url, "POST", params, true, function () {
}, function (result) { }, function (result) {
console.error(result); console.error(result);
if (result.code === 200) { if (result.code === 200) {