<template>
|
<div>
|
<div class="body" :style="{height:mainHeight+'px'}">
|
<!-- <div class="bodyTopButtonGroup" style="justify-content: space-between">-->
|
<!-- <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button>-->
|
<!-- <el-button v-waves icon="el-icon-download" @click="upload">导入</el-button>-->
|
<!-- </div>-->
|
|
<div class="bodyTopFormGroup" style="margin-top: 10px;">
|
<el-form
|
ref="form"
|
:model="form"
|
label-width="100px"
|
inline
|
style="display: flex;"
|
>
|
<div class="elForm">
|
<el-form-item label="单据状态" style=" display: flex;">
|
<el-select
|
v-model="form.orderstatus"
|
filterable
|
:popper-append-to-body="false"
|
style="width: 200px"
|
placeholder="请选择"
|
>
|
<el-option
|
v-for="item in orderstatusArr"
|
:key="item.value"
|
:label="item.label"
|
:value="item.value"
|
/>
|
</el-select>
|
</el-form-item>
|
<el-form-item label="到货单号" style=" display: flex;">
|
<el-input v-model="form.mesordercode" placeholder="请输入" style="width: 200px" />
|
</el-form-item>
|
<el-form-item label="部门信息" style=" display: flex;">
|
<el-select
|
v-model="form.departmentcode"
|
filterable
|
:popper-append-to-body="false"
|
style="width: 200px"
|
placeholder="请选择"
|
>
|
<el-option
|
v-for="item in departmentcodeArr"
|
:key="item.code"
|
:label="item.name"
|
:value="item.code"
|
/>
|
</el-select>
|
</el-form-item>
|
<el-form-item label="单据日期" style="display: flex;font-size: 14px;align-items: center">
|
<el-date-picker
|
v-model="form.orderdate"
|
type="daterange"
|
range-separator="~"
|
class="timeMini"
|
size="mini"
|
style="width: 200px;display: flex;line-height: 34px;height: 34px;"
|
:clearable="false"
|
start-placeholder="开始日期"
|
end-placeholder="结束日期"
|
/>
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="源单单号" style=" display: flex;">
|
<el-input v-model="form.sourceorder" placeholder="请输入" style="width: 200px" />
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="采购供方" style=" display: flex;">
|
<el-select
|
v-model="form.customercode"
|
filterable
|
:popper-append-to-body="false"
|
style="width: 200px"
|
placeholder="请选择"
|
>
|
<el-option
|
v-for="item in customercodeArr"
|
: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.creatuser" style="width: 200px" placeholder="请输入" />
|
</el-form-item>
|
<el-form-item v-show="isExpandForm" label="到货时间" style=" display: flex;font-size: 14px;align-items: center">
|
<el-date-picker
|
v-model="form.arrivaldate"
|
type="daterange"
|
range-separator="~"
|
class="timeMini"
|
size="mini"
|
style="width: 200px;display: flex;line-height: 34px;height: 34px;"
|
:clearable="false"
|
start-placeholder="开始日期"
|
end-placeholder="结束日期"
|
/>
|
</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">
|
<TableColumnSettings
|
:list1="tableColumnSettingsArray"
|
@tableColumnUpdate="tableColumnUpdate"
|
/>
|
|
<el-table
|
ref="tableDataRef"
|
:key="tableTimeStampKey"
|
class="tableFixed"
|
:data="tableData"
|
:height="isExpandForm?(tableHeight):(tableHeight+40)+'px'"
|
border
|
:row-class-name="tableRowClassName"
|
:style="{width: 100+'%',height:isExpandForm?(tableHeight):(tableHeight+40)+'px'}"
|
highlight-current-row
|
:header-cell-style="this.$headerCellStyle"
|
:cell-style="this.$cellStyle"
|
@sort-change="sortChange"
|
@row-click="rowClick"
|
>
|
<el-table-column
|
width="50"
|
fixed
|
>
|
<template slot-scope="{row}">
|
<el-radio
|
v-model="radioSelected"
|
:label="row.hbillno"
|
style="color: transparent;padding-left: 10px;"
|
/>
|
</template>
|
</el-table-column>
|
|
<el-table-column
|
v-for="item in tableColumnSettingsArray"
|
v-if="item.show"
|
:key="item.id"
|
:sortable="item.sortable"
|
:prop="item.prop"
|
:min-width="item.minWidth"
|
:label="item.label"
|
:width="item.width"
|
show-tooltip-when-overflow
|
:fixed="item.fixed?(item.fixed==='left'?'left':'right'):false"
|
>
|
<template slot-scope="{row}">
|
<div v-if="!row[item.prop]">/</div>
|
<div v-else-if="item.prop==='hbillstaus'">
|
{{ orderstatusArr.find(i => i.value === row[item.prop]).label }}
|
</div>
|
<div v-else-if="item.prop==='hdate'">
|
{{ row.hdate ? row.hdate.substring(0, 11) : '/' }}
|
</div>
|
<div v-else-if="item.prop==='hacceptdate'">
|
{{ row.hacceptdate ? row.hacceptdate.substring(0, 11) : '/' }}
|
</div>
|
<div v-else>{{ row[item.prop] }}</div>
|
</template>
|
</el-table-column>
|
|
<el-table-column
|
label="操作"
|
width="120"
|
fixed="right"
|
>
|
<template slot-scope="{row}">
|
<div class="operationClass">
|
|
<el-tooltip v-del-tab-index class="item" effect="dark" content="关闭" placement="top">
|
<i
|
class="el-icon-switch-button"
|
:style="{color:$store.state.settings.theme}"
|
style=" cursor: pointer"
|
@click="switchButton(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="getPurchaseArrivalOrderSearch"
|
/>
|
|
<div class="elTableDiv">
|
<el-table
|
ref="tableDataRef2"
|
:data="tableDataDetail"
|
border
|
height="210px"
|
:row-class-name="tableRowClassName"
|
highlight-current-row
|
:header-cell-style="this.$headerCellStyle"
|
:cell-style="this.$cellStyle"
|
>
|
<el-table-column
|
width="50"
|
type="index"
|
label="序号"
|
fixed
|
/>
|
<el-table-column
|
prop="partcode"
|
label="产品编号"
|
width="160"
|
show-tooltip-when-overflow
|
/>
|
<el-table-column
|
prop="partname"
|
label="产品名称"
|
width="200"
|
show-tooltip-when-overflow
|
/>
|
|
<el-table-column
|
label="产品规格"
|
prop="partspec"
|
show-tooltip-when-overflow
|
width="150"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.partspec">{{ row.partspec }}</div>
|
<div v-else>/</div>
|
</template>
|
</el-table-column>
|
<el-table-column
|
label="单位"
|
show-tooltip-when-overflow
|
prop="uom_name"
|
width="100"
|
/>
|
<el-table-column
|
label="到货数量"
|
show-tooltip-when-overflow
|
prop="hqty"
|
/>
|
|
<el-table-column
|
label="入库数量"
|
show-tooltip-when-overflow
|
prop="hqty1"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.hqty1">{{ row.hqty1 }}</div>
|
<div v-else>/</div>
|
</template>
|
</el-table-column>
|
|
<el-table-column
|
label="退货数量"
|
show-tooltip-when-overflow
|
prop="hreturnqty"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.hreturnqty!==null">{{ row.hreturnqty }}</div>
|
<div v-else>/</div>
|
</template>
|
</el-table-column>
|
|
<el-table-column
|
label="预计到货日期"
|
show-tooltip-when-overflow
|
prop="hacceptdate"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.hacceptdate">{{ row.hacceptdate.substring(0, 11) }}</div>
|
<div v-else>/</div>
|
</template>
|
</el-table-column>
|
<el-table-column
|
label="仓库"
|
show-tooltip-when-overflow
|
prop="hstorehousename"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.hstorehousename">{{ row.hstorehousename }}</div>
|
<div v-else>/</div>
|
</template>
|
</el-table-column>
|
<el-table-column
|
label="是否检验"
|
show-tooltip-when-overflow
|
prop="hcheckstaus"
|
>
|
<template slot-scope="{row}">
|
<div v-if="row.hcheckstaus==='Y'">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
是
|
</div>
|
<div v-if="row.hcheckstaus==='N'">
|
<i class="el-icon-info" style="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="cursor: pointer;"
|
@click="viewDetails(row)"
|
/>
|
</el-tooltip>
|
</div>
|
</template>
|
</el-table-column>
|
</el-table>
|
</div>
|
|
</div>
|
|
<el-dialog
|
v-el-drag-dialog
|
title="查看详情"
|
:visible.sync="dialogVisible"
|
width="800px"
|
|
top="15vh"
|
:close-on-click-modal="false"
|
@closed="handleClose"
|
@close="handleClose"
|
>
|
|
<div style="margin-bottom: 20px">
|
<i class="el-icon-s-comment" :style="{color:$store.state.settings.theme}" /> 物料信息: {{ viewSelectValue }}
|
</div>
|
|
<el-collapse style="height: 500px;overflow: auto">
|
<el-collapse-item v-for="item in dialogDataArr" :key="item.hbarcode" :title="item.hbarcode" :name="item.hbarcode">
|
<el-descriptions>
|
<el-descriptions-item label="标签编码">{{ item.hbarcode }}</el-descriptions-item>
|
<el-descriptions-item label="单据编码">{{ item.hbillno }}</el-descriptions-item>
|
<el-descriptions-item label="源单单号">{{ item.hsourcebillno }}</el-descriptions-item>
|
<el-descriptions-item label="质量状态">
|
<!-- {{ item.qualitystatus }}-->
|
|
<div v-if="item.qualitystatus==='OK'">
|
<i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" />
|
合格
|
</div>
|
<div v-if="item.hcheckstaus==='NG'">
|
<i class="el-icon-info" style="margin-right: 2px" />
|
不良
|
</div>
|
|
<!-- <el-tag type=""></el-tag>-->
|
</el-descriptions-item>
|
<el-descriptions-item label="标签数量">{{ item.hqty }}</el-descriptions-item>
|
<el-descriptions-item label="批次编号">{{ item.hbatchno?item.hbatchno:'/' }}</el-descriptions-item>
|
</el-descriptions>
|
</el-collapse-item>
|
</el-collapse>
|
|
<span slot="footer" class="dialog-footer">
|
<div class="footerButton">
|
<el-button v-waves @click="dialogVisible=false">取 消</el-button>
|
</div>
|
</span>
|
</el-dialog>
|
|
</div>
|
</template>
|
|
<script>
|
import Pagination from '@/components/Pagination'
|
import elDragDialog from '@/directive/el-drag-dialog'
|
import waves from '@/directive/waves'
|
import TableColumnSettings from '@/components/TableColumnSettings'
|
import {
|
ClosedPurchaseArrivalOrder,
|
PurchaseArrivalOrderSearch, PurchaseArrivalOrderSubLabDetails,
|
PurchaseArrivalOrderSubSearch
|
} from '@/api/purchasesManager'
|
import { DepartMentSelect, PurchSupplierSelect } from '@/api/basicInfo'
|
import { handleDatetime } from '@/utils/global'
|
|
export default {
|
name: 'Zzjg',
|
components: {
|
Pagination, TableColumnSettings
|
},
|
directives: { elDragDialog, waves },
|
data() {
|
return {
|
mouseHoverType: 'mouseout',
|
isExpandForm: false,
|
mainHeight: 0,
|
tableHeight: 0,
|
form: {
|
orderstatus: '', // 单据状态(默认全部)
|
mesordercode: '', // 到货单号
|
departmentcode: '', // 部门编码
|
customercode: '', // 供应商编码
|
orderdate: '', // 单据日期
|
sourceorder: '', // 源单单号(采购订单号)
|
creatuser: '', // 创建人员
|
arrivaldate: '', // 预计到货日期
|
prop: 'hdate', // 排序字段
|
order: 'desc', // 排序字段
|
page: 1, // 第几页
|
rows: 20 // 每页多少条
|
},
|
orderstatusArr: [// 订单状态
|
{ label: '正常', value: 'NEW' },
|
{ label: '关闭', value: 'CLOSED' }
|
],
|
departmentcodeArr: [], // 部门数组
|
customercodeArr: [], // 供应商数组
|
total: 10,
|
tableData: [],
|
tableColumnSettingsArray: [
|
// { minWidth: 50, width: false, prop: 'id', label: 'id', id: 1, show: false, fixed: false, sortable: false }, // 隐藏列 show: false隐藏,true显示
|
{ minWidth: 25, width: 50, prop: 'RowNum', label: '序号', id: 2, show: true, fixed: 'left', sortable: false }, // custom
|
{
|
minWidth: 110,
|
width: false,
|
prop: 'hbillstaus',
|
label: '订单状态',
|
id: 3,
|
show: true,
|
fixed: false,
|
sortable: true
|
},
|
{
|
minWidth: 110,
|
width: false,
|
prop: 'hdate',
|
label: '单据日期',
|
id: 4,
|
show: true,
|
fixed: false,
|
sortable: true
|
},
|
{
|
minWidth: 110,
|
width: false,
|
prop: 'hbillno',
|
label: '单据编号',
|
id: 5,
|
show: true,
|
fixed: false,
|
sortable: true
|
},
|
{
|
minWidth: 110,
|
width: false,
|
prop: 'hdepartmentcode',
|
label: '部门名称编码',
|
id: 6,
|
show: false,
|
fixed: false,
|
sortable: true
|
}, {
|
minWidth: 110,
|
width: false,
|
prop: 'hdepartmentname',
|
label: '部门名称',
|
id: 7,
|
show: true,
|
fixed: false,
|
sortable: true
|
},
|
{
|
minWidth: 110,
|
width: false,
|
prop: 'hcustomercode',
|
label: '往来单位编码',
|
id: 8,
|
show: false,
|
fixed: false,
|
sortable: true
|
},
|
{
|
minWidth: 220,
|
width: false,
|
prop: 'hcustomername',
|
label: '往来单位',
|
id: 9,
|
show: true,
|
fixed: false,
|
sortable: true
|
}, {
|
minWidth: 110,
|
width: false,
|
prop: 'hsourcebillno',
|
label: '源单单号',
|
id: 10,
|
show: true,
|
fixed: false,
|
sortable: true
|
},
|
{
|
minWidth: 130,
|
width: false,
|
prop: 'hacceptdate',
|
label: '预计到货时间',
|
id: 11,
|
show: true,
|
fixed: false,
|
sortable: true
|
},
|
{
|
minWidth: 110,
|
width: false,
|
prop: 'usercode',
|
label: '创建人员',
|
id: 12,
|
show: true,
|
fixed: false,
|
sortable: true
|
}
|
|
],
|
tableTimeStampKey: new Date().getTime(), // 表格key
|
radioSelected: '',
|
tableDataDetail: [], // 子表
|
dialogVisible: false,
|
dialogDataArr: [],
|
viewSelectValue: ''
|
|
}
|
},
|
|
created() {
|
this.handleRequest()
|
},
|
mounted() {
|
window.addEventListener('resize', this.getHeight)
|
this.getHeight()
|
},
|
methods: {
|
tableColumnUpdate(val, isCopyTrue) {
|
if (isCopyTrue) {
|
this.tableColumnSettingsArray = val
|
}
|
this.tableTimeStampKey = new Date().getTime()
|
this.$refs.tableDataRef.doLayout()
|
},
|
handleRequest() {
|
this.getPurchaseArrivalOrderSearch().then(res => {
|
if (res.code === '200') {
|
this.getDepartMentSelect()
|
this.getPurchSupplierSelect()
|
}
|
})
|
},
|
async getPurchaseArrivalOrderSearch() {
|
let tempDate2 = this.form.orderdate
|
if (tempDate2.length > 0) {
|
tempDate2 = handleDatetime(tempDate2[0]) + '~' + handleDatetime(tempDate2[1])
|
}
|
|
let tempDate = this.form.arrivaldate
|
if (tempDate.length > 0) {
|
tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
|
}
|
|
const data = {
|
orderstatus: this.form.orderstatus, // 单据状态(默认全部)
|
mesordercode: this.form.mesordercode, // 到货单号
|
departmentcode: this.form.departmentcode, // 部门编码
|
customercode: this.form.customercode, // 供应商编码
|
orderdate: tempDate2, // 单据日期
|
sourceorder: this.form.sourceorder, // 源单单号(采购订单号)
|
creatuser: this.form.creatuser, // 创建人员
|
arrivaldate: tempDate, // 预计到货日期
|
|
prop: this.form.prop, // 排序字段
|
order: this.form.order, // 排序字段
|
page: this.form.page, // 第几页
|
rows: this.form.rows // 每页多少条
|
}
|
|
const res = await PurchaseArrivalOrderSearch(data)
|
this.tableData = res.data
|
this.total = res.count
|
|
return { code: res.code }
|
},
|
// 获取部门信息
|
async getDepartMentSelect() {
|
const { data: res } = await DepartMentSelect()
|
this.departmentcodeArr = res
|
},
|
async getPurchSupplierSelect() {
|
const { data: res } = await PurchSupplierSelect()
|
this.customercodeArr = 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.getPurchaseArrivalOrderSearch()
|
},
|
// 行点击事件
|
async rowClick(row, event, column) {
|
this.radioSelected = row.hbillno
|
|
const { data: res } = await PurchaseArrivalOrderSubSearch({ arrivelodercode: this.radioSelected })
|
|
this.tableDataDetail = res
|
},
|
// 查询
|
search() {
|
this.getPurchaseArrivalOrderSearch()
|
},
|
|
// 重置
|
reset() {
|
this.form.orderstatus = '', // 单据状态(默认全部)
|
this.form.mesordercode = '', // 到货单号
|
this.form.departmentcode = '', // 部门编码
|
this.form.customercode = '', // 供应商编码
|
this.form.orderdate = '', // 单据日期
|
this.form.sourceorder = '', // 源单单号(采购订单号)
|
this.form.creatuser = '', // 创建人员
|
this.form.arrivaldate = '', // 预计到货日期
|
this.getPurchaseArrivalOrderSearch()
|
},
|
|
// 关闭按钮
|
async switchButton(row) {
|
this.$confirm('是否确认关闭?', '提示', {
|
confirmButtonText: '确定',
|
cancelButtonText: '取消',
|
type: 'warning'
|
}).then(() => {
|
ClosedPurchaseArrivalOrder({ arrivelodercode: row.hbillno }).then(res => {
|
if (res.code === '200') {
|
this.$message.success('关闭成功!')
|
if (this.form.page > 1 && this.tableData.length === 1) {
|
this.form.page--
|
}
|
this.getPurchaseArrivalOrderSearch()
|
}
|
})
|
}).catch(() => {
|
this.$message.info('已取消关闭')
|
})
|
},
|
// 获取页面高度
|
getHeight() {
|
this.$nextTick(() => {
|
this.mainHeight = window.innerHeight - 85
|
this.tableHeight = this.mainHeight - 425
|
this.$refs.tableDataRef.doLayout()
|
this.$refs.tableDataRef2.doLayout()
|
})
|
},
|
tableRowClassName({ row, rowIndex }) {
|
return 'custom-row'
|
},
|
async viewDetails(val) {
|
this.viewSelectValue = val.partname
|
const row = this.tableData.find(i => i.hbillno === this.radioSelected)
|
const data = {
|
sourceorder: row.hsourcebillno,
|
arrivelodercode: row.hbillno,
|
partcode: val.partcode
|
}
|
const res = await PurchaseArrivalOrderSubLabDetails(data)
|
this.dialogDataArr = res.data
|
this.dialogVisible = true
|
},
|
handleClose() {
|
this.dialogDataArr = []
|
}
|
|
}
|
}
|
</script>
|
|
<!--公共页面样式-->
|
<style lang="scss" scoped>
|
$main_color: #42b983;
|
|
::v-deep .el-radio__label {
|
display: none !important;
|
}
|
|
::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 50px !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;
|
}
|
|
::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;
|
}
|
}
|
|
::v-deep .el-collapse-item__header{
|
font-size: 18px;
|
//font-weight: bold;
|
}
|
|
::v-deep .el-descriptions-item__label{
|
font-weight: bold;
|
}
|
</style>
|
<style>
|
|
.el-table .custom-row {
|
background: #f8f8fa;
|
}
|
</style>
|