@import "~@/mixins.less"; .expandCutBtn { left: 400px; top: 8px; position: absolute; background-color: #FFF; transition: all 0.5s ease; } .productionExecMain { .size(); .flex(); position: relative; :global { .leftPanel { // position: absolute; width: 440px; background-color: #fff; transition: all 0.5s ease; overflow: hidden; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); padding: 10px; height: 100%; margin-right: 10px; div[class*='siderInfoComponent'] { transition: margin-left 0.5s ease; /* 内容跟随收缩动画 */ } } .arrow { .size(10px, 100%); position: relative; left: -15px; .ant-btn { top: 10px; margin-left: -18px; z-index: 1; color: #666666; transition: margin-left 0.5s ease; } } .rightPanel { width: 100px; flex-grow: 1; transition: margin-left 0.5s ease; } /* 点击按钮切换状态时应用的类 */ .leftPanel.collapsed { width: 0; padding: 0; margin: 0; // transform: translateX(-460px); div[class*='siderInfoComponent'] { margin-left: -440px; /* 让内容也向左移动,以隐藏起来 */ } .commonInfo { opacity: 0; } } .rightPanel.collapsed { padding: 0; } .btns.collapsed { left: -15px; } .arrow.collapsed { .ant-btn { margin-left: -8px; } } .rightPanel.collapsed { margin-left: 0; } .ant-form-item:not(.sideInfoTitle) { .ant-form-item-label { flex-basis: 160px !important; max-width: 160px !important; } } .ant-form-item.sideInfoTitle { .ant-form-item-label { flex-basis: 180px !important; max-width: 180px !important; } } .ant-form-item-control { flex-grow: 1; flex-basis: auto !important; } .rightFormBtn0 { .size(100%, 79px); padding: 3px 0 3px 0; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); >div { .flex(center, center); } } .rightFormBtn { position: absolute; bottom: 0; left: 0; .size(100%, auto); display: grid; gap: 5px; .rightFormBtnFloor { .size(100%, auto); .flex(center); justify-content: space-between; padding: 0 5px; .abnormalBtn { border-color: #faad14; background: #faad14; } // margin-bottom: 5px; } .rightFormBtnFoot { justify-content: flex-start; gap: 5px; padding: 5px; border-top: 1px solid #d7d7d7; display: flex; &.pagesNuxt { position: relative; } &.pagesNuxt button:not(.print4) { border-color: #eeeeee; background: #eeeeee; color: #999999; border-radius: 5px; } } } // 按钮样式 .rightFormBtnFloor, .rightFormBtn0, .btnContent { .ant-btn { min-width: 80px; .size(80px, 30px); padding: 0; } } } } // 凹印/凹印挑规 .type1 { .size(); .flex(); gap: 10px; flex-direction: column; :global { .topPart { padding: 10px; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); .size(100%, 100px); flex-grow: 1; background: #FFF; .flex(); flex-direction: column; .type1Content { flex-grow: 1; .size(100%, 100px); .flex(); gap: 10px; .leftTable { .size(100px, 100%); flex-grow: 1; border: 1px solid #AAA; } .rightForm { .size(440px, 100%); border: 1px solid #AAA; position: relative; border-top: none; --form-label-bgColor: #ffcc4e; --form-label-height: auto; .extraBorderRight { border-right: none !important; border-left: none !important } &>div:first-child { height: calc(100% - 122px); overflow: auto; border-bottom: 1px solid #d7d7d7; } } } .btns { .size(100%, 35px); .flex(center); margin-top: 5px; &>div { padding: 0; height: 100%; } #sWorkOrderNoundefined { padding: 0px 0 0px 0 !important; } .ant-form-item-control-input-content { height: 100%; } } } .bottomPart { .size(100%, 290px); background: #FFF; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); overflow: hidden; .commonModel { .size(100%, 250px); } .btnPart { .size(100%, 40px); .flex(); align-items: center; justify-content: end; padding-right: 10px; } } } } // 阶段一到六 .stepState { .size(auto, 100%); .flex(center); gap: 20px; margin-left: 50px; color: #7F7F7F; >div { cursor: default; } .stepState1 { color: #70B603; &:after { content: '\2713'; color: #70B603; } } .stepState2 { color: #70B603; } .stepStateUnderline { text-decoration: underline; color: #1890ff; &:after { color: #1890ff; } } } // 品检 .wyrjConent { .size(); :global { .btnContent { .size(100%, 80px); padding: 3px 0 3px 7px; display: grid; column-gap: 7px; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, auto); >div { .flex(center, center); } } .productionExecBllb { position: absolute; right: 0; top: 0; .size(120px, 100%); .flex(center); font-size: 18px; border-left: 1px solid #AAA; padding: 0 0 0 5px; cursor: default; span[role="img"] { color: #1890FF; } .ant-btn-icon-only[disabled] { span[role="img"] { color: #AAA; } } } } } // 包装(成品检验) .wybzContent { .size(); :global { .ant-input-number-group { margin-top: 1px; } .productionExecBllb { position: absolute; right: 0; top: 0; .size(120px, 100%); .flex(center); font-size: 18px; border-left: 1px solid #AAA; padding: 0 0 0 5px; cursor: default; span[role="img"] { color: #1890FF; } .ant-btn-icon-only[disabled] { span[role="img"] { color: #AAA; } } } } } // 读码 .wydmContent { .size(); :global { .productionExecBllb { position: absolute; right: 0; top: 0; .size(120px, 100%); .flex(center); font-size: 18px; border-left: 1px solid #AAA; padding: 0 0 0 5px; cursor: default; span[role="img"] { color: #1890FF; } .ant-btn-icon-only[disabled] { span[role="img"] { color: #AAA; } } } } } // 成品不良类别 .bllb { .size(); overflow-x: hidden; overflow-y: auto; :global { .bllbRow { border: 1px solid #AAA; border-right: none; border-top: none; >.ant-col { height: 40px; border-right: 1px solid #AAA; .flex(center); font-size: 18px; } >.ant-col:nth-child(2), >.ant-col:nth-child(3) { font-weight: bold; } >.ant-col:nth-child(4) { .ant-input { width: 1px; flex-grow: 1; } } >.ant-col:nth-child(1), >.ant-col:nth-child(5) { .flex(center, center); } } .bllbRow:first-child { border-top: 1px solid #AAA; >.ant-col:first-child { border-right: none; .flex(center, center); } >.ant-col:nth-child(2), >.ant-col:nth-child(3) { padding-left: 12px; } } .redDot { .size(8px, 8px); background-color: #FF4D4F; border-radius: 5px; } .ant-select-selector { border: none !important; .ant-select-selection-item { font-weight: bold; } } } .mesAdd { width: 24px; height: 24px; border-radius: 5px; border: 0; background-color: #52C41A; color: #FFF; &:hover, &:active, &:focus { background-color: #52C41A; color: #FFF; } &:hover { scale: 1.1; } &:active { background-color: #2f720e; } } .mesDel { margin-left: 2px; width: 24px; height: 24px; border-radius: 5px; border: 0; background-color: #FF4D4F; color: #FFF; &:hover, &:active, &:focus { background-color: #FF4D4F; color: #FFF; } &:hover { scale: 1.1; } &:active { background-color: #b6383a; } } .mesDel[disabled] { background-color: #AAA; color: #FFF; &:hover, &:active, &:focus { background-color: #AAA; color: #FFF; } } } // 未上班 .noStartWork { .size(); .flex(center, center); font-size: 20px; color: #1890FF; background: #FFF; border-radius: 5px; } // 全部打印 .print4 { position: absolute; top: 3px; right: 5px; width: 167px !important; } // 凹印针位选择弹窗 .wyzwSelect { .size(); overflow-x: hidden; overflow-y: auto; :global { .wyzwSelectItem { .size(100%, 45px); .flex(); font-size: 20px; } .rowNum { flex-basis: 50px; .flex(center, center); } .numberSplit { flex-basis: 50px; .flex(center, center); } .numberSelect { flex-basis: calc(33% - 84px); .flex(center, center); } } }