样式
This commit is contained in:
@@ -146,21 +146,21 @@
|
|||||||
<template slot-scope="scope">{{ scope.row.工艺要求 }}</template>
|
<template slot-scope="scope">{{ scope.row.工艺要求 }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="80px"
|
width="110px"
|
||||||
prop="province5"
|
prop="province5"
|
||||||
label="单件定额工时"
|
label="单件定额工时"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">{{ scope.row.单件定额工时 }}</template>
|
<template slot-scope="scope">{{ scope.row.单件定额工时 }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="80px"
|
width="110px"
|
||||||
prop="province6"
|
prop="province6"
|
||||||
label="准结定额工时"
|
label="准结定额工时"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">{{ scope.row.准结定额工时 }}</template>
|
<template slot-scope="scope">{{ scope.row.准结定额工时 }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
width="100px"
|
width="110px"
|
||||||
prop="province7"
|
prop="province7"
|
||||||
label="工艺是否完成"
|
label="工艺是否完成"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<el-card>
|
<el-card>
|
||||||
<div>
|
<div>
|
||||||
<span>项目名称:</span>
|
<span>项目名称:</span>
|
||||||
<el-select v-model="entryNameValue" clearable filterable placeholder="项目名称" size="small" style="margin-top: 3px">
|
<el-select v-model="entryNameValue" clearable filterable placeholder="项目名称" size="small" style="width:200px;margin-top: 3px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in entryName"
|
v-for="item in entryName"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -41,14 +41,14 @@
|
|||||||
:row-key="getRowKeys"
|
:row-key="getRowKeys"
|
||||||
:expand-row-keys="expands"
|
:expand-row-keys="expands"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
height="460"
|
height="500"
|
||||||
border
|
border
|
||||||
stripe
|
stripe
|
||||||
size="mini"
|
size="mini"
|
||||||
@expand-change="selectMachine">
|
@expand-change="selectMachine">
|
||||||
<el-table-column type="expand" label="详情">
|
<el-table-column type="expand" label="详情">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-table :data="tableData2" class="" border stripe style="width: 612px; text-align: center" size="mini">
|
<el-table :data="tableData2" class="subTableHeader" border stripe style="width: 612px; text-align: center" size="mini">
|
||||||
<el-table-column label="设备型号" align="center" width="150">
|
<el-table-column label="设备型号" align="center" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.机床图号 }}
|
{{ scope.row.机床图号 }}
|
||||||
@@ -414,3 +414,19 @@ export default {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
<style lang="scss">
|
||||||
|
.subTableHeader {
|
||||||
|
th {
|
||||||
|
background: #8ff4ea !important;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.el-table__row td {
|
||||||
|
background-color: #d8e5f6 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.el-table__row.el-table__row--striped td {
|
||||||
|
background: #e9f0f9 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user