<template>
|
<div>
|
<div class="body" :style="{height:mainHeight+'px'}">
|
<div class="bodyTopButtonGroup">
|
<el-button v-waves type="primary" icon="el-icon-download" @click="download">导出</el-button>
|
</div>
|
|
<div class="bodyTopFormGroup">
|
<el-form
|
ref="form"
|
:model="form"
|
label-width="100px"
|
inline
|
style="display: flex;"
|
>
|
<div class="elForm">
|
<el-form-item label="检验类型" style=" display: flex;">
|
<!-- <el-input v-model="form.checktypecode" placeholder="请输入" style="width: 200px" />-->
|
|
<el-select v-model="form.checktypecode" style="width: 200px" placeholder="请选择">
|
<el-option
|
v-for="item in checktypeArr"
|
:key="item.code"
|
:label="item.name"
|
:value="item.code"
|
/>
|
</el-select>
|
|
</el-form-item>
|
<el-form-item label="物料编码" style=" display: flex;">
|
<el-input v-model="form.partcode" placeholder="请输入" style="width: 200px" />
|
</el-form-item>
|
<el-form-item label="物料名称" style=" display: flex;">
|
<el-input v-model="form.partname" style="width: 200px" placeholder="请输入" />
|
</el-form-item>
|
<el-form-item label="规格型号" style=" display: flex;">
|
<el-input v-model="form.partspec" style="width: 200px" placeholder="请输入" />
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="条码编号" style=" display: flex;">
|
<el-input v-model="form.labcode" style="width: 200px" placeholder="请输入" />
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="往来单位" style=" display: flex;">
|
<!-- <el-input v-model="form.style" style="width: 200px" placeholder="请输入" />-->
|
<el-select v-model="form.customercode" style="width: 200px" placeholder="请选择">
|
<el-option
|
v-for="item in customerArr"
|
:key="item.code"
|
:label="item.name"
|
:value="item.code"
|
/>
|
</el-select>
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="批次编码" style=" display: flex;">
|
<el-input v-model="form.batchno" style="width: 200px" placeholder="请输入" />
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="检验人员" style=" display: flex;">
|
<el-input v-model="form.checkuser" style="width: 200px" placeholder="请输入" />
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="检验时间" style="display: flex;align-items: center">
|
<el-date-picker
|
v-model="form.checkdate"
|
type="daterange"
|
range-separator="~"
|
class="timeMini"
|
size="mini"
|
style="width: 200px;display: flex;line-height: 34px;height: 34px;"
|
:clearable="false"
|
start-placeholder="开始日期"
|
end-placeholder="结束日期"
|
/>
|
<!-- font-size: 14px!important;-->
|
<!-- :picker-options="expireTimeOption"-->
|
|
</el-form-item>
|
</div>
|
<div
|
class="bodySearchReset"
|
:style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}"
|
>
|
<el-button v-waves type="primary" icon="el-icon-search" @click="search">查询</el-button>
|
<el-button v-waves type="info" icon="el-icon-refresh" @click="reset">重置</el-button>
|
</div>
|
</el-form>
|
<div
|
class="bodyTopFormExpand"
|
>
|
<svg-icon
|
v-show="mouseHoverType==='mouseout'"
|
style="cursor: pointer"
|
:icon-class="!isExpandForm?'doubleDown3':'doubleUp3'"
|
@mouseenter="mouseHoverType=$event.type"
|
/>
|
<svg-icon
|
v-show="mouseHoverType==='mouseenter'"
|
style="cursor: pointer"
|
:icon-class="!isExpandForm?'doubleDown':'doubleUp'"
|
@click="isExpandForm=!isExpandForm"
|
@mouseout="mouseHoverType=$event.type"
|
/>
|
</div>
|
</div>
|
|
<div class="elTableDiv">
|
<el-table
|
ref="tableDataRef"
|
class="tableFixed"
|
:data="tableData"
|
:height="isExpandForm?tableHeight:(tableHeight+80)+'px'"
|
border
|
:row-class-name="tableRowClassName"
|
:style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+80)+'px',}"
|
highlight-current-row
|
:header-cell-style="this.$headerCellStyle"
|
:cell-style="this.$cellStyle"
|
@sort-change="sortChange"
|
>
|
<el-table-column
|
prop="RowNum"
|
width="50"
|
fixed
|
label="序号"
|
/>
|
<!-- <el-table-column-->
|
<!-- prop="check_type"-->
|
<!-- label="检验类型"-->
|
<!-- width="160"-->
|
<!-- sortable="custom"-->
|
<!-- >-->
|
<!-- <template slot-scope="{row}">-->
|
<!-- <div>{{ checktypeArr.find(i=>i.code===row.check_type).name }}</div>-->
|
<!-- </template>-->
|
<!-- </el-table-column> -->
|
<el-table-column
|
prop="check_typename"
|
label="检验类型"
|
width="110"
|
sortable="custom"
|
/>
|
<el-table-column
|
prop="sampmethod"
|
label="抽样方式"
|
width="110"
|
sortable="custom"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.sampmethod==='FIXED'">固时抽检</div>
|
<div v-if="row.sampmethod==='SCARE'">比例抽检</div>
|
</template>
|
</el-table-column>
|
<el-table-column
|
prop="partcode"
|
label="物料编码"
|
width="110"
|
show-tooltip-when-overflow
|
sortable="custom"
|
/>
|
<el-table-column
|
prop="partname"
|
label="物料名称"
|
width="160"
|
show-tooltip-when-overflow
|
sortable="custom"
|
/>
|
<el-table-column
|
prop="partspec"
|
label="规格型号"
|
width="120"
|
show-tooltip-when-overflow
|
sortable="custom"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.partspec">{{ row.partspec }}</div>
|
<div v-else>/</div>
|
</template>
|
</el-table-column>
|
<el-table-column
|
prop="hbatchno"
|
label="批次编码"
|
width="110"
|
show-tooltip-when-overflow
|
sortable="custom"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.hbatchno">{{ row.hbatchno }}</div>
|
<div v-else>/</div>
|
</template>
|
</el-table-column>
|
<el-table-column
|
prop="hbarcode"
|
label="条码编号"
|
width="160"
|
show-tooltip-when-overflow
|
sortable="custom"
|
/>
|
<el-table-column
|
prop="customer_name"
|
label="往来单位"
|
min-width="160"
|
show-tooltip-when-overflow
|
sortable="custom"
|
/>
|
<el-table-column
|
prop="username"
|
label="质检人员"
|
width="110"
|
sortable="custom"
|
/>
|
<el-table-column
|
prop="lm_date"
|
label="质检时间"
|
width="160"
|
sortable="custom"
|
/>
|
<el-table-column
|
prop="check_result"
|
label="检验结果"
|
width="110"
|
sortable="custom"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.check_result==='OK'" style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
合格
|
</div>
|
<div v-if="row.check_result==='NG'" style="display: flex;align-items: center">
|
<i class="el-icon-error" style="color: red;margin-right: 2px" />
|
不合格
|
</div>
|
</template>
|
</el-table-column>
|
|
<el-table-column
|
label="检验明细"
|
width="120"
|
fixed="right"
|
>
|
<template slot-scope="{row}">
|
<div class="operationClass">
|
<el-tooltip class="item" effect="dark" content="查看" placement="top">
|
<i
|
class="el-icon-view"
|
:style="{color:$store.state.settings.theme}"
|
style="margin-right:15px;cursor: pointer;"
|
@click="edit('edit',row)"
|
/>
|
</el-tooltip>
|
</div>
|
</template>
|
</el-table-column>
|
|
</el-table>
|
</div>
|
<!--分页-->
|
<pagination
|
:total="total"
|
:page.sync="form.page"
|
:limit.sync="form.rows"
|
align="right"
|
layout="total,prev, pager, next,sizes"
|
popper-class="select_bottom"
|
@pagination="getLogisticsCheckSearch"
|
/>
|
</div>
|
|
<el-dialog
|
v-el-drag-dialog
|
:title="operation==='add'?'新增':'检验明细'"
|
:visible.sync="dialogVisible"
|
width="1100px"
|
:close-on-click-modal="false"
|
top="15vh"
|
@closed="handleClose"
|
@close="handleClose"
|
>
|
|
<el-table
|
ref="tableDataRef2"
|
class="tableFixed"
|
:data="dialogTableData"
|
height="500"
|
style="height:500px"
|
border
|
:row-class-name="tableRowClassName"
|
highlight-current-row
|
:header-cell-style="this.$headerCellStyle"
|
:cell-style="this.$cellStyle"
|
>
|
<el-table-column
|
prop="checkitem_seq"
|
width="50"
|
fixed
|
label="序号"
|
/>
|
|
<el-table-column
|
prop="checkitem_name"
|
min-width="120"
|
fixed
|
show-tooltip-when-overflow
|
label="检验项目"
|
/>
|
|
<el-table-column
|
prop="standvalue"
|
label="标准要求"
|
fixed
|
min-width="120"
|
show-tooltip-when-overflow
|
>
|
<template slot-scope="{row}">
|
<!-- ~当三个值都有 -->
|
<div v-if="row.standvalue&&row.uppervalue&&row.lowervalue">{{ row.standvalue }}({{
|
row.lowervalue
|
}}~{{ row.uppervalue }})
|
</div>
|
<!-- ~当只有标准值和上限值时 -->
|
<div v-else-if="row.standvalue&&row.uppervalue">{{ row.standvalue }}(~{{ row.uppervalue }})</div>
|
<!-- ~当只有标准值和下限值时-->
|
<div v-else-if="row.standvalue&&row.lowervalue">{{ row.standvalue }}({{ row.lowervalue }}~)</div>
|
|
<!-- ~当只有上限值和下限值时-->
|
<div v-else-if="row.uppervalue&&row.lowervalue">({{ row.lowervalue }}~{{ row.uppervalue }})</div>
|
<!-- ~当只有标准值时 -->
|
<div v-else-if="row.standvalue">{{ row.standvalue }}</div>
|
<!-- ~当只有上限值时 -->
|
<div v-else-if="row.uppervalue">(~{{ row.uppervalue }})</div>
|
<!-- ~当只有下限值时 -->
|
<div v-else-if="row.lowervalue">({{ row.lowervalue }}~)</div>
|
|
<div v-else>/</div>
|
|
</template>
|
</el-table-column>
|
|
<el-table-column
|
v-for="(item,index) in dialogTableArrayCol"
|
:key="index+dialogTableData"
|
:prop="(index+1)+'/'+ dialogTableNumberCol"
|
:label="'第'+(index+1)+'件'"
|
show-tooltip-when-overflow
|
min-width="100"
|
>
|
<template slot-scope="{row}">
|
|
<!-- ~当三个值都有 -->
|
<div v-if="row.standvalue&&row.uppervalue&&row.lowervalue&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])>=parseFloat(row.lowervalue)&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])<=parseFloat(row.uppervalue)">
|
<!-- <div v-if="row[(index + 1) + '/' + dialogTableNumberCol]>=row.lowervalue&&row[(index + 1) + '/' + dialogTableNumberCol]<=row.uppervalue">-->
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div>
|
</div>
|
|
<!-- ~当只有标准值和上限值时 -->
|
<div v-else-if="row.standvalue&&row.uppervalue&&row.lowervalue===''&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])<=parseFloat(row.uppervalue)">
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div>
|
</div>
|
<!-- ~当只有标准值和下限值时-->
|
<div v-else-if="row.standvalue&&row.lowervalue&&row.uppervalue===''&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])>=parseFloat(row.lowervalue)">
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div>
|
</div>
|
|
<!-- ~当只有上限值和下限值时-->
|
<div v-else-if="row.uppervalue&&row.lowervalue&&row.standvalue===''&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])>=parseFloat(row.lowervalue)&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])<=parseFloat(row.uppervalue)">
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div>
|
</div>
|
<!-- ~当只有标准值时 -->
|
<div v-else-if="row.standvalue&&row.uppervalue===''&&row.lowervalue===''&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])===parseFloat(row.standvalue)">
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div>
|
</div>
|
<!-- ~当只有上限值时 -->
|
<div v-else-if="row.uppervalue&&row.lowervalue===''&&row.standvalue===''&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])<=parseFloat(row.uppervalue)">
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div>
|
</div>
|
|
<!-- ~当只有下限值时 -->
|
<div v-else-if="row.lowervalue&& row.uppervalue===''&&row.standvalue===''&&parseFloat(row[(index + 1) + '/' + dialogTableNumberCol])>=parseFloat(row.lowervalue)">
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div></div>
|
|
<div v-else>
|
<div style="display: flex;align-items: center">
|
<i class="el-icon-error" style="color: red;margin-right: 2px" />
|
{{ row[(index + 1) + '/' + dialogTableNumberCol] }}
|
</div>
|
</div>
|
|
</template>
|
</el-table-column>
|
|
</el-table>
|
|
<span slot="footer" class="dialog-footer">
|
<div class="footerButton">
|
<el-button v-waves @click="dialogVisible=false">返 回</el-button>
|
<!-- <el-button v-waves @click="dialogVisibleCancel">取 消</el-button>-->
|
<!-- <el-button v-waves type="primary" @click="dialogVisibleConfirm">确 定</el-button>-->
|
</div>
|
</span>
|
</el-dialog>
|
|
</div>
|
</template>
|
|
<script>
|
import Pagination from '@/components/Pagination'
|
|
import ImportPicker from '@/components/ImportPicker'
|
import { handleDatetime } from '@/utils/global'
|
import {
|
MaintenanceDetailsReportExcelSearch, LogisticsCheckSearch, LogisticsCheckSubSearch
|
} from '@/api/reportManager'
|
import elDragDialog from '@/directive/el-drag-dialog'
|
import waves from '@/directive/waves'
|
import { PurchSupplierSelect } from '@/api/basicInfo'
|
|
export default {
|
name: 'Zzjg',
|
components: {
|
Pagination, ImportPicker
|
},
|
directives: { elDragDialog, waves },
|
data() {
|
return {
|
mouseHoverType: 'mouseout',
|
isExpandForm: false,
|
mainHeight: 0,
|
tableHeight: 0,
|
form: {
|
checktypecode: '', // 检验类型
|
partcode: '', // 物料编码
|
partname: '', // 物料名称
|
partspec: '', // 规格型号
|
labcode: '', // 条码编号
|
customercode: '', // 往来单位
|
batchno: '', // 批次条码
|
checkuser: '', // 检验人员
|
checkdate: '', // 检验时间
|
prop: 'partcode', // 排序字段
|
order: 'desc', // 排序字段
|
page: 1, // 第几页
|
rows: 20 // 每页多少条
|
},
|
checktypeArr: [
|
{ code: 'InCheck', name: '入厂检验' },
|
{ code: 'OutCheck', name: '出厂检验' },
|
// { code: 'FirstCheck', name: '首检' },
|
// { code: 'PatroCheck', name: '巡检' },
|
{ code: 'EndCheck', name: '完工检' }
|
],
|
customerArr: [], // 往来单位下拉选项
|
// groupArr: [],
|
total: 10,
|
tableData: [],
|
dialogVisible: false,
|
|
operation: '',
|
dialogTableData: [],
|
dialogTableNumberCol: 0, // 对话框动态的列数
|
dialogTableArrayCol: []// 对话框动态的数组
|
|
}
|
},
|
|
created() {
|
this.handleRequest()
|
},
|
mounted() {
|
window.addEventListener('resize', this.getHeight)
|
this.getHeight()
|
},
|
methods: {
|
handleRequest() {
|
this.getLogisticsCheckSearch().then(res => {
|
if (res.code === '200') {
|
this.getPurchSupplierSelect()
|
}
|
})
|
},
|
async getLogisticsCheckSearch() {
|
let tempDate = this.form.checkdate
|
if (tempDate.length > 0) {
|
tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
|
}
|
const data = {
|
checktypecode: this.form.checktypecode,
|
partcode: this.form.partcode,
|
partname: this.form.partname,
|
partspec: this.form.partspec,
|
labcode: this.form.labcode,
|
customercode: this.form.customercode,
|
batchno: this.form.batchno,
|
checkuser: this.form.checkuser,
|
checkdate: tempDate,
|
prop: this.form.prop,
|
order: this.form.order,
|
page: this.form.page,
|
rows: this.form.rows
|
}
|
|
const res = await LogisticsCheckSearch(data)
|
this.tableData = res.data
|
this.total = res.count
|
|
return { code: res.code }
|
},
|
|
async getPurchSupplierSelect() {
|
const { data: res } = await PurchSupplierSelect()
|
this.customerArr = res
|
},
|
// 排序改变时
|
sortChange({ column, prop, order }) {
|
if (order === 'descending') {
|
order = 'desc'
|
} else if (order === 'ascending') {
|
order = 'asc'
|
} else {
|
order = 'desc'
|
}
|
this.form.order = order
|
this.form.prop = prop
|
this.getLogisticsCheckSearch()
|
},
|
async download() {
|
let tempDate = this.form.checkdate
|
if (tempDate.length > 0) {
|
tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
|
}
|
|
const data = {
|
checktypecode: this.form.checktypecode,
|
partcode: this.form.partcode,
|
partname: this.form.partname,
|
partspec: this.form.partspec,
|
labcode: this.form.labcode,
|
customercode: this.form.customercode,
|
batchno: this.form.batchno,
|
checkuser: this.form.checkuser,
|
checkdate: tempDate
|
}
|
|
const { data: res } = await MaintenanceDetailsReportExcelSearch(data)
|
window.location.href = res
|
},
|
// 查询
|
search() {
|
this.getLogisticsCheckSearch()
|
},
|
|
// 重置
|
reset() {
|
this.form.checktypecode = ''
|
this.form.partcode = ''
|
this.form.partname = ''
|
this.form.partspec = ''
|
this.form.labcode = ''
|
this.form.customercode = ''
|
this.form.batchno = ''
|
this.form.checkuser = ''
|
this.form.checkdate = ''
|
this.getLogisticsCheckSearch()
|
},
|
|
// 新增按钮
|
// add(operation) {
|
// this.operation = operation
|
// this.dialogVisible = true
|
// },
|
// 修改按钮
|
async edit(operation, row) {
|
this.operation = operation
|
this.dialogVisible = true
|
const { data: res } = await LogisticsCheckSubSearch({ checkid: row.id })
|
this.dialogTableData = res
|
|
this.dialogTableData.forEach((item, index) => {
|
for (const it in item) {
|
if (it.indexOf('/') !== -1) {
|
const i = it.split('/')[1]
|
this.dialogTableNumberCol = i
|
}
|
}
|
})
|
|
this.dialogTableArrayCol = []
|
for (let i = 0; i < this.dialogTableNumberCol; i++) {
|
this.dialogTableArrayCol.push(i)
|
}
|
|
this.$nextTick(() => {
|
this.$refs.tableDataRef2.doLayout()
|
})
|
},
|
// 对话框关闭事件
|
handleClose() {
|
this.dialogTableData = []
|
},
|
// 对话框取消
|
dialogVisibleCancel() {
|
this.dialogVisible = false
|
},
|
// 获取页面高度
|
getHeight() {
|
this.$nextTick(() => {
|
this.mainHeight = window.innerHeight - 85
|
this.tableHeight = this.mainHeight - 295
|
this.$refs.tableDataRef.doLayout()
|
})
|
},
|
tableRowClassName({ row, rowIndex }) {
|
return 'custom-row'
|
}
|
}
|
}
|
</script>
|
|
<!--公共页面样式-->
|
<style lang="scss" scoped>
|
$main_color: #42b983;
|
::v-deep .el-range__icon {
|
line-height: 28px !important;
|
}
|
|
::v-deep .el-range-separator {
|
line-height: 28px !important;
|
}
|
|
::v-deep .el-range-input {
|
font-size: 14px;
|
}
|
|
::v-deep .el-range-separator {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
}
|
|
::v-deep .el-button--text {
|
font-size: 14px;
|
cursor: pointer;
|
}
|
|
.el-icon-share, .el-icon-delete, .el-icon-edit-outline {
|
color: $main_color;
|
cursor: pointer;
|
}
|
|
.el-icon-edit-outline {
|
margin-right: 15px;
|
}
|
|
::v-deep .el-button--primary, .el-button--default, .el-button--info {
|
height: 34px;
|
display: flex;
|
align-items: center;
|
padding: 0 15px;
|
}
|
|
::v-deep .el-button--primary {
|
//background-color: $main_color !important;
|
}
|
|
::v-deep .el-button--default {
|
background-color: #f8f8fa;
|
border: none;
|
}
|
|
::v-deep .el-input__inner {
|
height: 34px;
|
line-height: 34px;
|
//color: #a7a7a7;
|
}
|
|
::v-deep .el-dialog__body {
|
//padding: 20px 100px !important;
|
padding: 20px 20px !important;
|
}
|
|
::v-deep .dialogVisibleRoles .el-dialog__body {
|
padding: 20px 20px !important;
|
}
|
|
::v-deep .importPickerClass .el-dialog__body {
|
padding: 20px 20px !important;
|
}
|
|
::v-deep .el-dialog__footer {
|
display: flex;
|
justify-content: flex-end;
|
}
|
|
::v-deep .el-table .caret-wrapper {
|
transform: scale(0.8);
|
}
|
|
::v-deep .cell {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
}
|
|
::v-deep .el-table::before {
|
height: 0;
|
}
|
|
::v-deep .el-table__body-wrapper {
|
background-color: #f8f8fa;
|
z-index:2
|
}
|
|
::v-deep .el-table__body .el-table__row.hover-row td {
|
background-color: #eaecef;
|
}
|
|
::v-deep .el-form--inline .el-form-item__label {
|
color: #a7a7a7;
|
}
|
|
.body ::v-deep .el-divider {
|
border: 1px solid #eee;
|
width: 99%;
|
margin: 10px auto;
|
}
|
|
.body ::v-deep .el-form-item {
|
margin-bottom: 0;
|
}
|
|
.userDialogVisible ::v-deep .el-form-item {
|
margin-bottom: 0;
|
}
|
|
::v-deep .el-select__caret {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.tableFixed {
|
::v-deep .el-table__fixed-right {
|
height: 100% !important;
|
}
|
|
::v-deep .el-table__fixed {
|
height: 100% !important;
|
}
|
}
|
</style>
|
<style>
|
|
.el-table .custom-row {
|
background: #f8f8fa;
|
}
|
</style>
|