wtt
2024-10-06 cb2fc709d4e2aec6bbea3e6f4e8ccc24f3d27756
WebTM/views/É豸¹ÜÀí/É豸¹¤ÒÕ²ÎÊý¶©µ¥µã¼ì±í/SB_EquipICMOTechParamBillEdit.html
@@ -634,15 +634,15 @@
                        , { field: 'HTechParamUnitName', title: '工艺参数单位名称', width: 130, style: 'background-color:#efefef4d;' }
                        , { field: 'HSNO', title: '工艺次序', width: 110, style: 'background-color:#efefef4d;' }
                        , { field: 'HTechParamIDStd', title: 'HTechParamIDStd', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                        , { field: 'HTechParamIDStdName', title: '设备设定值工艺参数', width: 130, edit: 'text', event: "HTechParamIDStdName" }
                        , { field: 'HResultStd', title: '设备设定值', width: 130, edit: 'text' }
                        , { field: 'HTechParamIDStdName', title: '设备设定值工艺参数', hide: true, width: 130, edit: 'text', event: "HTechParamIDStdName" }
                        , { field: 'HResultStd', title: '设备设定值', hide: true, width: 130, edit: 'text' }
                        , { field: 'HVaule', title: '工艺参数值', width: 100, edit: false, event: "HVaule"  }
                        , { field: 'HStd', title: '标准值', width: 100, edit: 'text' }
                        , { field: 'HMax', title: '上限', width: 100, edit: 'text' }
                        , { field: 'HMin', title: '下限', width: 100, edit: 'text' }
                        , { field: 'HResult', title: '检测结果', width: 100, templet: "#HResult" }
                        , { field: 'HRemark', title: '备注', width: 100, edit: 'text' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                       // , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]                  
                }
@@ -1292,9 +1292,9 @@
                    return item;
                });
                layui.table.reload('mainTable', {
                    data: updatedData
                });
                //layui.table.reload('mainTable', {
                //    data: updatedData
                //});
                // å–消编辑状态
                cell.removeAttr('contenteditable');
                //取消冒泡
@@ -1774,7 +1774,11 @@
                sSubStr = JSON.parse(sSubStr);
                for (var i = 0; i <= sSubStr.length - 1; i++) {
                    if (sSubStr[i].HTechParamID == "0") {
                        layer.msg("明细记录第" + (i + 1) + "行,工艺参数信息为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        layer.msg("明细记录第" + (i + 1) + "行,工艺参数代码/名称不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        return Result = false;
                    }
                    if (sSubStr[i].HVaule == "" || sSubStr[i].HVaule == null) {
                        layer.msg("明细记录第" + (i + 1) + "行,工艺参数值不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        return Result = false;
                    }
                }