⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jscript.js

📁 尚洋仓库管理系统,对仓库
💻 JS
字号:
// JScript 文件

var currentTR,orgColor,orgColor2;
window.status="尚洋精密工业有限公司";
function RowMouseOver(obj)
{
    if(obj.style.backgroundColor=="#677287")
    {
        return;
    }
    orgColor=obj.style.backgroundColor;
    obj.style.backgroundColor="#f6f6f6";
}

function RowMouseOut(obj)
{
    if(obj.style.backgroundColor=="#677287")
    {
        return;
    }
    obj.style.backgroundColor=orgColor;
}

function changeBorder_In(obj)
{
    obj.style.borderTopColor="#ffffff";
    obj.style.borderLeftColor="#ffffff";
    obj.style.borderBottomColor="#a0a0a0";
    obj.style.borderRightColor="#a0a0a0";
    obj.style.backgroundColor="#ffffff";
}


function changeBorder_Out(obj)
{
    obj.style.borderTopColor="#f6f6f6"
    obj.style.borderLeftColor="#f6f6f6"
    obj.style.borderBottomColor="#f6f6f6"
    obj.style.borderRightColor="#f6f6f6"
    obj.style.backgroundColor="#f6f6f6";
}

function changeBorder_In2(obj)
{
    obj.style.backgroundColor="#ffffff";
}


function changeBorder_Out2(obj)
{
    obj.style.backgroundColor="#f6f6f6";
}

function chooseTr(objTr)
{
//    if(objTr.style.backgroundColor!="#677287")
//    {
//        orgColor2=objTr.style.backgroundColor;
//    }
    if(currentTR!=null)
    {
        currentTR.style.backgroundColor="#ffffff";
        currentTR.style.color="#000000";
    }
    currentTR=objTr;
    objTr.style.backgroundColor="#677287";
    objTr.style.color="#ffffff";
    
}
//只接收数字类型,且大于0
function jsIsNumber(obj)
{
    if(jsIsEmpty(obj))
    {
        return true;
    }
}
//只接收日期类型
function jsIsDate(obj)
{
    return true;
}
//非空
function jsIsEmpty(obj)
{
    return true;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -