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() {
let encryptedData = {
'id': objParam.id
let params = {
encryptedData: JSON.stringify({
'id': objParam.id
})
};
let url = dataUrl + 'backstage/partScrap/getDetailsById?encryptedData=' + encodeURIComponent(JSON.stringify(encryptedData));
ajaxRequest(url, "GET", null, true, function () {
let url = dataUrl + 'backstage/partScrap/getDetailsById';
ajaxRequest(url, "POST", params, true, function () {
}, function (result) {
console.error(result);
if (result.code === 200) {