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