计划管理-生产计划管理-收油生产计划
parent
63bd22df44
commit
2c483417ac
@ -0,0 +1,138 @@
|
|||||||
|
.container {
|
||||||
|
padding: 15px 0px;
|
||||||
|
min-height: 100%;
|
||||||
|
|
||||||
|
.topBar {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
height: 46px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
|
||||||
|
.currentLabel {
|
||||||
|
border-top-left-radius: 20px;
|
||||||
|
height: 100%;
|
||||||
|
width: 230px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-left: 22px;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 17px;
|
||||||
|
font-weight: 450;
|
||||||
|
background: pink;
|
||||||
|
background-image: url('@/assets/business_basic/bgOil.png');
|
||||||
|
background-size: 100% 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.selectsWrapper {
|
||||||
|
height: 100%;
|
||||||
|
// width: 230px;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-image-source: linear-gradient(96.54deg, #FFFFFF -0.94%, rgba(255, 255, 255, 0) 25.28%, rgba(167, 229, 228, 0) 59.69%, #A7E5E4 79.76%);
|
||||||
|
border-image-slice: 1;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topSelect {
|
||||||
|
width: 130px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
box-shadow: none;
|
||||||
|
|
||||||
|
:global(.ant-select-selector) {
|
||||||
|
border: transparent !important;
|
||||||
|
background-image: url('@/assets/business_basic/Union.svg');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
font-size: 12px;
|
||||||
|
color: rgba(0, 102, 101, 1);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.ant-select-focused .ant-select-selector),
|
||||||
|
:global(.ant-select-selector:hover) {
|
||||||
|
border: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.ant-select-arrow) {
|
||||||
|
right: 25px;
|
||||||
|
color: rgba(0, 102, 101, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.section {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
|
||||||
|
.blockTitle {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #2f4f4f;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.formGrid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
grid-column-gap: 16px;
|
||||||
|
grid-row-gap: 12px;
|
||||||
|
|
||||||
|
.formItem {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.label {
|
||||||
|
color: #666;
|
||||||
|
font-size: 12px;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.span2 {
|
||||||
|
grid-column: 1 / span 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.actionsRight {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.listHeader {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.filterRow {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 16px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
|
||||||
|
.filterItem {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
.filterLabel {
|
||||||
|
color: #666;
|
||||||
|
font-size: 12px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,233 @@
|
|||||||
|
@section-border: rgba(118, 194, 181, 1);
|
||||||
|
@section-bg: rgba(243, 249, 248, 1);
|
||||||
|
|
||||||
|
.container {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
background: #fff;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 15px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
// 底部区域 - 油品列表
|
||||||
|
.searchSection {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
// border: 1px solid @section-border;
|
||||||
|
background: #fff;
|
||||||
|
padding: 30px 20px 0 20px;
|
||||||
|
|
||||||
|
// 区域头部
|
||||||
|
.sectionHeader {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
|
||||||
|
// 将右侧动作区推到最右侧
|
||||||
|
.headerActions {
|
||||||
|
display: flex;
|
||||||
|
gap: 12px;
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
.addBtn {
|
||||||
|
background-image: url('@/assets/business_basic/Bt_bg1.png');
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 装饰条
|
||||||
|
.sectionBar {
|
||||||
|
width: 2px;
|
||||||
|
height: 16px;
|
||||||
|
background: rgba(0, 102, 101, 1);
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 标题
|
||||||
|
.sectionTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 筛选内容区域
|
||||||
|
.filterContent {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 20px;
|
||||||
|
// margin-bottom: 20px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
// justify-content: space-between;
|
||||||
|
|
||||||
|
// 筛选项
|
||||||
|
.filterItem {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
|
||||||
|
// 筛选标签
|
||||||
|
.filterLabel {
|
||||||
|
color: #333;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global {
|
||||||
|
|
||||||
|
// 统一 Input.Search 边框颜色为绿主题
|
||||||
|
.ant-input-affix-wrapper {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
border-color: rgba(44, 158, 157, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-input-search-button {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
border-color: rgba(44, 158, 157, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-select {
|
||||||
|
min-width: 140px;
|
||||||
|
|
||||||
|
// 选择框样式
|
||||||
|
.ant-select-selector {
|
||||||
|
border-color: rgba(44, 158, 157, 1) !important;
|
||||||
|
border-radius: 2px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover .ant-select-selector {
|
||||||
|
border-color: rgba(44, 158, 157, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.ant-select-focused .ant-select-selector {
|
||||||
|
border-color: rgba(44, 158, 157, 1) !important;
|
||||||
|
box-shadow: 0 0 0 2px rgba(44, 158, 157, 0.2) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 筛选按钮组
|
||||||
|
.filterButtons {
|
||||||
|
display: flex;
|
||||||
|
gap: 12px;
|
||||||
|
|
||||||
|
.queryBtn {
|
||||||
|
background-image: url('@/assets/business_basic/Bt_bg1.png');
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.resetBtn {
|
||||||
|
background-image: url('@/assets/business_basic/Bt_bg2.png');
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
border: none;
|
||||||
|
color: #006665;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// 表格包装器
|
||||||
|
.tableWrapper {
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.primaryActionBtn {
|
||||||
|
color: #2D9E9D;
|
||||||
|
}
|
||||||
|
:global(.ant-table-wrapper) {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 表头样式
|
||||||
|
:global {
|
||||||
|
.ant-table-thead>tr>th {
|
||||||
|
color: rgba(51, 51, 51, 1) !important;
|
||||||
|
font-weight: 450 !important;
|
||||||
|
background-color: rgba(240, 247, 247, 1) !important;
|
||||||
|
text-align: center !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 表体样式
|
||||||
|
.ant-table-tbody>tr>td {
|
||||||
|
color: rgba(78, 88, 86, 1) !important;
|
||||||
|
font-weight: 400 !important;
|
||||||
|
text-align: center !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 操作列按钮样式
|
||||||
|
.viewDetailBtn {
|
||||||
|
color: rgba(0, 102, 101, 1) !important;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: rgba(0, 102, 101, 1) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.editBtn {
|
||||||
|
color: rgba(45, 158, 157, 1) !important;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: rgba(45, 158, 157, 1) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.deleteBtn {
|
||||||
|
color: rgba(255, 130, 109, 1) !important;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: rgba(255, 130, 109, 1) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 状态列 Switch 样式
|
||||||
|
.statusSwitch {
|
||||||
|
|
||||||
|
// 启用状态背景色
|
||||||
|
&.ant-switch-checked {
|
||||||
|
background-color: rgba(20, 106, 89, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 停用状态背景色
|
||||||
|
&:not(.ant-switch-checked) {
|
||||||
|
background-color: rgba(153, 153, 153, 1) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 复选框样式
|
||||||
|
.ant-checkbox-inner {
|
||||||
|
border-color: rgba(0, 102, 101, 1) !important;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
background-color: rgba(0, 102, 101, 1) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-checkbox-wrapper:hover .ant-checkbox-inner,
|
||||||
|
.ant-checkbox:hover .ant-checkbox-inner {
|
||||||
|
border-color: rgba(0, 102, 101, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-checkbox-checked .ant-checkbox-inner {
|
||||||
|
background-color: rgba(0, 102, 101, 1) !important;
|
||||||
|
border-color: rgba(0, 102, 101, 1) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue