提交 15085de5 编写于 作者: L LAPTOP-UV1MNL38\18023

Merge branch 'company_server' of https://gitee.com/doc_wei01/skyeye into company_server

...@@ -14,11 +14,14 @@ layui.config({ ...@@ -14,11 +14,14 @@ layui.config({
var index = parent.layer.getFrameIndex(window.name); var index = parent.layer.getFrameIndex(window.name);
var $ = layui.$; var $ = layui.$;
var id = GetUrlParam("id"); var id = GetUrlParam("id");
let initFirst = false
// 工序验收
// 工序验收的【编辑布局】 // 工序验收的【编辑布局】
dsFormUtil.initEditPageForStatic('content', 'FP2024071500001', {}, { dsFormUtil.initEditPageForStatic('content', 'FP2024071500001', {}, {
savePreParams: function (params) { savePreParams: function (params) {
params.machinProcedureFarmId=id
}, },
saveData: function (params) { saveData: function (params) {
// 保存数据 // 保存数据
...@@ -45,6 +48,16 @@ layui.config({ ...@@ -45,6 +48,16 @@ layui.config({
// $("div[controlType='simpleTable']").find(".taxLastinspectionRatio").prop('disabled', true); // $("div[controlType='simpleTable']").find(".taxLastinspectionRatio").prop('disabled', true);
// //
// } // }
tableDeleteRowCallback: function (tableId) {
if (!initFirst) {
if (!isNull(tableId)) {
initFirst = true;
$("#addRow" + tableId).click();
}
// initFirst = false;
}
}
}); });
}); });
\ No newline at end of file
...@@ -150,7 +150,7 @@ var skyeyeClassEnum = getAndWriteLocal('skyeyeClassEnum'); ...@@ -150,7 +150,7 @@ var skyeyeClassEnum = getAndWriteLocal('skyeyeClassEnum');
function getSysServiceMationAppIdByClassName(className) { function getSysServiceMationAppIdByClassName(className) {
let appId = ""; let appId = "";
$.each(sysServiceMation, function(key, value) { $.each(sysServiceMation, function(key, value) {
if (value.className == className) { if (value.key == className) {
appId = value.appId; appId = value.appId;
} }
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册