index.less
5.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
:global {
.xly-productionPlan-list {
.ant-layout-sider {
width: 38px !important;
flex: 0 0 38px !important;
width: 38px !important;
max-width: 38px !important;
min-width: 38px !important;
background-color: #f5f5f5 !important;
writing-mode: tb-rl;
text-align: left;
letter-spacing: 0px;
line-height: 38px;
font-size: 12px;
font-weight: bold;
border: 1px solid #cfcece;
padding-top: 30px;
}
/* 设置选中行背景色 */
.processList .selected-record-row td div{
background: #e6f7ff!important;
}
.productPlan{ /* 生产主计划汇总表 */
overflow: hidden!important;
.ant-table-expanded-row-fixed {
width: 100%!important;
}
//height: ~"calc((100vh - 10px) - 11px)"!important;
.topTable .ant-table-content .ant-table-scroll {
padding-bottom: 30px !important;
}
//.topTable{
// height: ~'calc(100% - 150px)';
//}
.ant-table-row{
.anticon-right{
margin: 0!important;
}
}
}
/* 生产主计划展开从表 */
.productPlan .ant-table-expanded-row{
.topTable .ant-table-content .ant-table-scroll {
height: auto!important;
//max-height: 200px;
overflow:auto!important;
overflow-x: auto!important;/* 嵌套子表不要X轴滚动条 */
}
.ant-table-placeholder{
margin-top: 18px!important;
}
}
/* 设置侧边栏与table距离 */
.subForm___2sIdI{
margin-left: 0px!important;
}
.processList{
margin: 0 0 0 10px;
overflow: unset;
}
.mainPlan{
width: 100%;
}
.process{
a{ margin-bottom: 7px;}
img{margin-left: -5px}
}
.productionCard{
color: rgba(0, 0, 0, 0.65) !important;
color: #666;
padding: 0;
margin: 5px 10px;
}
/* 生产主计划 排程详情 */
.productionCardInfo{
margin: 0px 10px;
}
.card_title{
font-weight: bold;
}
.ant-card-head{
display: none;
}
.ant-tabs-content .ant-card-head{
display: block!important;
}
.ant-card-body{
width: 100%;
padding: 0px!important;
padding-right: 1px!important;
overflow: hidden!important;
}
.ant-card-grid{
padding: 5px 10px;
}
.card_left{
width: 100%; /* 80% */
float: left;
font-size:12px;
font-weight: bold;
}
.card_left1{
float:left;
width: 60%;
}
.card_left2{
float:right;
width: 40%;
text-align: right;
}
.card_top{
width: 100%;
}
.card_mid{
font-size: 14px;
float:left;
width: 100%;
}
.card_bottom{
width: 100%;
color:#198ef8 ;
}
.card_right{
width: 10%;
height:100%;
line-height: 50px;
color: #ff0000;
float: left;
font-weight: bold;
}
/* 排程详情 */
.card_data{
width: 50%;
float: left;
}
.card_data_title{
font-weight: bold;
padding: 5px 0;
}
.card_data_detail{
font-size: 12px;
}
.card_data_char{
font-size: 12px;
width: 48%;
max-height: 60px!important;
float: right;
}
.card_char{
height: 49px;
position: relative;
}
.card_data_hour{
position: absolute!important;
top:43%;
width: 75%;
z-index: 1;
text-align: center;
}
.card_char #commonChar{
margin-bottom: 0px!important;
margin-top: -3px!important;
max-height: 49px;
}
.card_char_bottom{
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
.limitDateWeight{
color:#e60012!important;
font-weight: bold!important;
}
}
/* 不同排程状态样式 */
.allCard{
background: #FFF1F0;
}
.unCard{
background: #E6F7FF;
}
.defaultCard{
background:#fff
}
.cardSelectedColor{
background:#fff7e6;
}
/* 排程样式调整 */
.productionCard .ant-card-body{
max-height: 93px!important;
overflow: auto!important;
}
.card_flex{
display: flex;
flex-direction: row;
font-size:12px;
font-weight: bold;
align-items: center;
height: 36px;
flex-flow: row wrap;
justify-content: center;
}
.left_card{
text-align: left;
width: 70%;
font-size: 13px;
height: 100%;
line-height: 36px;
}
.right_card{
width: 30%;
text-align: center;
color: #ff0000;
}
.sMaterialsStatusStyle{
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* 主计划材料状态 */
.sMaterialsStatusStyle:hover{
text-decoration: underline!important;
text-decoration-color:#1E90FF!important;/* 设置下划线颜色 */
}
.planCheckModel[aria-disabled=true]{
cursor: wait;
}
}
#productionPlanningMaster button{
width: 60px;
height: 30px;
text-align: center;
}
}
.commonModal{
button[disabled]{
cursor: wait;
}
}
.charContainer{
background-color: '#fff';
margin: 0 10px;
overflow: hidden;
}