This commit is contained in:
parent
e7397a94b7
commit
989fa72c16
|
|
@ -18,11 +18,13 @@ function setParams(params) {
|
||||||
|
|
||||||
// 获取配件报废记录详情
|
// 获取配件报废记录详情
|
||||||
function getDetailsById() {
|
function getDetailsById() {
|
||||||
let encryptedData = {
|
let params = {
|
||||||
|
encryptedData: JSON.stringify({
|
||||||
'id': objParam.id
|
'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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue