This commit is contained in:
parent
33e84b5e0c
commit
e7397a94b7
|
|
@ -18,13 +18,11 @@ function setParams(params) {
|
||||||
|
|
||||||
// 获取配件报废记录详情
|
// 获取配件报废记录详情
|
||||||
function getDetailsById() {
|
function getDetailsById() {
|
||||||
let params = {
|
let encryptedData = {
|
||||||
encryptedData: JSON.stringify({
|
|
||||||
'id': objParam.id
|
'id': objParam.id
|
||||||
})
|
|
||||||
};
|
};
|
||||||
let url = dataUrl + 'backstage/partScrap/getDetailsById';
|
let url = dataUrl + 'backstage/partScrap/getDetailsById?encryptedData=' + encodeURIComponent(JSON.stringify(encryptedData));
|
||||||
ajaxRequest(url, "POST", params, true, function () {
|
ajaxRequest(url, "GET", null, true, function () {
|
||||||
}, function (result) {
|
}, function (result) {
|
||||||
console.error(result);
|
console.error(result);
|
||||||
if (result.code === 200) {
|
if (result.code === 200) {
|
||||||
|
|
@ -222,7 +220,6 @@ function initTable() {
|
||||||
page: true,
|
page: true,
|
||||||
done: function (res, curr, count) {
|
done: function (res, curr, count) {
|
||||||
pageNum = tableIns.config.page.curr;
|
pageNum = tableIns.config.page.curr;
|
||||||
element.render();
|
|
||||||
table.resize("currentTableId");
|
table.resize("currentTableId");
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -176,5 +176,6 @@ function exportExcel() {
|
||||||
|
|
||||||
// 需求计划编号
|
// 需求计划编号
|
||||||
function plan_detail(obj) {
|
function plan_detail(obj) {
|
||||||
openIframeByParamObj2("plan_detail", "机具需求计划", "/page/demandPlan/child/apply_plan_detail.html", "92%", "95%", obj);
|
// openIframeByParamObj("plan_detail", "机具需求计划", "/page/demandPlan/child/apply_plan_detail.html", "92%", "95%", obj);
|
||||||
|
openIframeByParamObj("plan_detail", "机具需求计划", "./apply_plan_detail.html", "92%", "95%", obj);
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue