<template>
|
<div class="indexs">
|
<el-card>
|
<el-row>
|
<el-button type="success" plain @click="exportExcel" >导出Excel</el-button>
|
<el-button v-if="roleDelete" type="warning" plain @click="deleteStock" >删除</el-button>
|
<el-button v-if="roleModifi" type="info" plain @click="updataStock" >修改库存</el-button>
|
<el-select v-model="positionTypeValue" placeholder="选择货位类型" class="positionTypevalue" clearable>
|
<el-option
|
v-for="item in positionType"
|
:key="item.value"
|
:label="item.label"
|
:value="item.value">
|
</el-option>
|
</el-select>
|
<el-select v-model="inStoreDaysFilterTypeValue" placeholder="在库天数选择条件">
|
<el-option
|
v-for="item in InStoreDaysFilterType"
|
:key="item.value"
|
:label="item.label"
|
:value="item.value">
|
</el-option>
|
</el-select>
|
<el-input v-model="inStoreDaysValue" placeholder="在库天数" style="width:100px;"></el-input>
|
<el-select v-model="QueryBarCodeFlagValue" placeholder="是否二维码">
|
<el-option
|
v-for="item in IsQrCodeFilterType"
|
:key="item.value"
|
:label="item.label"
|
:value="item.value">
|
</el-option>
|
</el-select>
|
<el-input v-model="searchParam.BarCode" placeholder="条码" class="searchParam"></el-input>
|
<br/>
|
<el-input v-model="searchParam.materialName" placeholder="物料名称" class="searchParam"></el-input>
|
<el-input v-model="searchParam.materialCode" placeholder="物料编号" class="searchParam"></el-input>
|
<el-input v-model="searchParam.purchaseCode" placeholder="采购单号" class="searchParam"></el-input>
|
<el-input v-model="searchParam.positionName" placeholder="货位名称" class="searchParam"></el-input>
|
<el-input v-model="searchParam.placeCode" placeholder="托盘号" class="searchParam"></el-input>
|
<el-input v-model="searchParam.tranckNnmber" placeholder="跟踪号" class="searchParam"></el-input>
|
<el-date-picker
|
v-model="datatime"
|
size="large"
|
type="datetimerange"
|
value-format="yyyy-MM-dd HH:mm:ss"
|
range-separator="至"
|
start-placeholder="开始日期"
|
end-placeholder="结束日期"
|
class="positionname"
|
>
|
</el-date-picker>
|
<el-checkbox size="large" v-model="searchParam.IsLocked">库存锁定</el-checkbox>
|
<el-checkbox size="large" v-model="searchParam.IsFreeze">标记无货</el-checkbox>
|
<el-checkbox size="large" v-model="searchParam.ContainerNo">正在出库中</el-checkbox>
|
<el-checkbox size="large" v-model="searchParam.OnlyLocked">仅锁定,非出库中</el-checkbox>
|
|
<el-button type="success" plain @click="find(1)" >查询</el-button>
|
<el-button type="info" plain @click="reset" >重置</el-button>
|
|
<el-tag style="background:#aa7798;color:white">库存锁定</el-tag>
|
<el-tag style="background:#5666ab;color:white">标记无货</el-tag>
|
<el-tag style="background:#e91d1d;color:white">正在出库中</el-tag>
|
<el-tag style="background:#00ae9d;color:white">仅锁定,非出库中</el-tag>
|
</el-row>
|
<!-- 显示库存明细 -->
|
<el-table ref= "table" :max-height="tableHeight" :data="TakeStocklist" border stripe show-summary :summary-method="getSummaries" :cell-style="cellStyle" @header-click="headerClick" >
|
<el-table-column
|
type="selection"
|
width="55">
|
</el-table-column>
|
<el-table-column
|
label="序号"
|
type="index"
|
width="50"
|
|
>
|
|
</el-table-column>
|
<el-table-column label="库存id" prop="ProductPosition_Id" width="80" v-if="false"></el-table-column>
|
<el-table-column label="采购单号" prop="PoCode" width="110" ></el-table-column>
|
<el-table-column label="采购项号" prop="ItemNumber" width="80"></el-table-column>
|
<el-table-column label="销售单号" prop="SaleCode" width="110" ></el-table-column>
|
<el-table-column label="销售项号" prop="ExtendField08" width="80"></el-table-column>
|
<el-table-column label="跟踪号" prop="ExtendField04" width="80"></el-table-column>
|
<el-table-column label="货位名称" prop="PositionName" width="110"></el-table-column>
|
<el-table-column label="托盘号" prop="PlateCode" width="110"></el-table-column>
|
<el-table-column label="物料编号" prop="ProductCode" ></el-table-column>
|
<el-table-column label="物料名称" prop="ProductName" ></el-table-column>
|
<el-table-column label="库存量" prop="ProductStorage" width="100"></el-table-column>
|
<el-table-column label="库存单位" prop="SmallUnit" width="80"></el-table-column>
|
<el-table-column label="助力臂" prop="IsBoosterArm" width="80"></el-table-column>
|
<el-table-column label="入库时间" prop="InStorageDate" width="110" ></el-table-column>
|
<el-table-column label="在库天数" prop="InStoreDays" width="80" ></el-table-column>
|
<el-table-column label="限用日期" prop="LimitDate" width="110" ></el-table-column>
|
<el-table-column label="物理高度" prop="PhysicsHeight" width="80" ></el-table-column>
|
<el-table-column label="逻辑高度" prop="LogicHeight" width="80" ></el-table-column>
|
<el-table-column label="是否匹配了高库位" prop="IsInMoreHighPosition" width="80"></el-table-column>
|
<el-table-column label="库位说明" prop="PositionRemark" ></el-table-column>
|
<el-table-column label="备注" prop="OpRemark" ></el-table-column>
|
<el-table-column label="物料锁定时间" prop="DoContainerNoTime" ></el-table-column>
|
<el-table-column label="是否二维码" prop="IsQrCode" width="80"></el-table-column>
|
<el-table-column label="条码" prop="BarCode" width="80" ></el-table-column>
|
</el-table>
|
<el-pagination
|
:current-page="queryInfo.pagenum"
|
:page-sizes="[5,10, 15, 20,50,100,200,500,1000]"
|
:page-size="queryInfo.pagesize"
|
:total="total"
|
layout="total, sizes, prev, pager, next, jumper"
|
@size-change="handleSizeChange"
|
@current-change="handleCurrentChange"
|
>
|
</el-pagination>
|
</el-card>
|
<el-dialog :visible.sync="dialogFormVisible" title="库存修改" width="30%" :close-on-click-modal="false">
|
<el-form label-width="100">
|
<el-form-item label="跟踪号">
|
<el-col :span="18">
|
<el-input v-model="taskForm.tracknumber"></el-input>
|
</el-col>
|
</el-form-item>
|
<el-form-item label="库存量">
|
<el-col :span="18">
|
<el-input v-model="taskForm.productStorage"></el-input>
|
</el-col>
|
</el-form-item>
|
<el-form-item label="限用日期">
|
<el-col :span="18">
|
<el-date-picker
|
v-model="taskForm.LimitDate"
|
type="datetime"
|
placeholder="选择日期时间">
|
</el-date-picker>
|
</el-col>
|
</el-form-item>
|
<el-form-item label="销售单号">
|
<el-col :span="18">
|
<el-input disabled="true" v-model="taskForm.saleCode"></el-input>
|
</el-col>
|
</el-form-item>
|
<el-form-item label="销售项号">
|
<el-col :span="18">
|
<el-input disabled="true" v-model="taskForm.saleItem"></el-input>
|
</el-col>
|
</el-form-item>
|
<el-form-item label="物料编号">
|
<el-col :span="20">
|
<el-select disabled="true" v-model="taskForm.productCode" :remote-method="remoteMethod" filterable clearable remote reserve-keyword placeholder="请选择零件号" width="300px">
|
<el-option v-for="item in productList" :key="item.product_Id" :label="item.productCode" :value="item.productCode">
|
</el-option>
|
</el-select>
|
</el-col>
|
<!-- <el-input v-model="name"></el-input> product_Id-->
|
</el-form-item>
|
<el-form-item label="物料名称">
|
<el-col :span="18">
|
<el-input disabled="true" v-model="taskForm.ProductName"></el-input>
|
</el-col>
|
</el-form-item>
|
<el-form-item label="货位名称">
|
<el-col :span="18">
|
<el-input disabled="true" v-model="taskForm.PositionName"></el-input>
|
</el-col>
|
</el-form-item>
|
<el-form-item label="托盘号">
|
<el-col :span="18">
|
<el-input disabled="true" v-model="taskForm.PlateCode"></el-input>
|
</el-col>
|
</el-form-item>
|
|
</el-form>
|
<div slot="footer" class="dialog-footer">
|
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
<el-button type="primary" @click="updateProductPosition">确 定</el-button>
|
</div>
|
|
</el-dialog>
|
<el-dialog
|
title="提示"
|
:visible.sync="dialogVisible"
|
width="30%"
|
:before-close="handleClose">
|
<span>这是一段信息</span>
|
<span slot="footer" class="dialog-footer">
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
</span>
|
</el-dialog>
|
</div>
|
</template>
|
<script>
|
import { parseTime } from '@/utils'
|
import Cookies from 'js-cookie'
|
import { userInfoCookie, menuListCookie } from '@/utils/auth'
|
import { getDate } from '@/utils/dateTime'
|
//import DropdownMenu from '@/components/DropdownMenu.vue'
|
export default {
|
// components: { DropdownMenu },
|
data() {
|
return {
|
tableHeight:window.innerHeight-274,
|
roleModifi: false,
|
roleDelete: false,
|
searchParam: {
|
materialName: null,
|
BarCode:null,
|
materialCode: null,
|
purchaseCode: null,
|
positionName: null,
|
placeCode: null,
|
tranckNnmber: null,
|
IsLocked:false,
|
OnlyLocked:false,
|
ContainerNo:false,
|
IsFreeze:false
|
},
|
movepositionName: '',
|
queryInfo: {
|
// 当前页
|
pagenum: 1,
|
// 每页显示多少条信息s
|
pagesize: 5
|
},
|
TakeStocklist: [],
|
TakeStocklistAll: [],
|
total: 0,
|
datatime: '',
|
positionType: [{ value: '1', label: '常规货位' }, { value: '4', label: '暂存区' }, { value: '6', label: '空托盘' }],
|
positionTypeValue: '1',
|
InStoreDaysFilterType: [{ value: '1', label: '大于' }, { value: '2', label: '大于等于' }, { value: '3', label: '等于' }, { value: '4', label: '小于' },
|
{ value: '5', label: '小于等于' }],
|
IsQrCodeFilterType: [{ value: '0', label: '都查询' }, { value: '1', label: '仅查询一维码' }, { value: '2', label: '仅查询二维码' }],
|
inStoreDaysFilterTypeValue:'',
|
QueryBarCodeFlagValue:'',
|
inStoreDaysValue:'',
|
dialogFormVisible: false,
|
productList: [],
|
updateDate: null,
|
taskForm: {
|
userName:'',
|
stockId: null,
|
tracknumber: null,
|
saleCode: null,
|
productCode: null,
|
productStorage: null,
|
saleItem: null,
|
ProductName:null,
|
PositionName:null,
|
PlateCode:null,
|
LimitDate:null
|
}
|
}
|
},
|
created() {},
|
mounted() {
|
this.find(1)
|
},
|
methods: {
|
// 监听 pagesize 改变
|
handleSizeChange(newSizd) {
|
this.queryInfo.pagesize = newSizd
|
this.queryInfo.pagenum = 1
|
this.find(1)
|
},
|
// 监听 页码值改变
|
handleCurrentChange(newpage) {
|
this.queryInfo.pagenum = newpage
|
|
this.find(2)
|
},
|
//每行点击事件
|
headerClick(column, event) {
|
//debugger
|
if (event.target && event.target.innerText === '#') {
|
this.showAttrDialog = true
|
}
|
},
|
userStatusChange(userinfo) {
|
console.log(userinfo)
|
},
|
|
formatJson(filterVal, jsonData) {
|
return jsonData.map(v =>
|
filterVal.map(j => {
|
if (j === 'timestamp') {
|
return parseTime(v[j])
|
} else {
|
return v[j]
|
}
|
})
|
)
|
},
|
cellStyle({ row, rowIndex }) {
|
if (row.IsLocked === 1 && row.ContainerNo != '1') {//仅锁定,非出库中
|
return 'background: #00ae9d;color:white'
|
}
|
else if (row.IsLocked === 1) {
|
return 'background: #aa7798;color:white'
|
} else if (row.ContainerNo === '1') {
|
//return 'background: #aa7798;color:white'
|
return 'background: #e91d1d;color:white' //改为显示红色,表示正在出库 【Editby shaocx,2022-06-07】
|
} else if (row.IsFreeze === 0) {
|
return 'background: #5666ab;color:white'
|
}
|
return ''
|
},
|
find(ischang = 1) {
|
if (ischang == 1) {
|
this.queryInfo.pagenum = 1
|
}
|
const url = '/api/task/productStockInfo'
|
const params = {
|
search: this.searchParam,
|
queryInfo: this.queryInfo,
|
positionTypeValue: this.positionTypeValue,
|
inStoreDaysFilterTypeValue:this.inStoreDaysFilterTypeValue,
|
QueryBarCodeFlagValue:this.QueryBarCodeFlagValue,
|
inStoreDaysValue:this.inStoreDaysValue,
|
datatime: this.datatime,
|
role_Id: userInfoCookie.getUserInfo().role_Id
|
}
|
var callback = res => {
|
//debugger
|
if (res.result === true) {
|
res.data.forEach(item => {
|
if (item.IsBoosterArm === 0) item.IsBoosterArm = '否'
|
if (item.IsBoosterArm === 1) item.IsBoosterArm = '是'
|
if (item.IsInMoreHighPosition === 1) item.IsInMoreHighPosition = '是'
|
if (item.IsQrCode){
|
item.IsQrCode = '是'
|
}else{
|
item.IsQrCode = '否'
|
}
|
item.InStorageDate = getDate(item.InStorageDate)
|
item.LimitDate = getDate(item.LimitDate)
|
item.DoContainerNoTime = getDate(item.DoContainerNoTime)
|
})
|
if (res.msg === '0-1') {
|
this.roleModifi = true
|
}
|
if (res.msg === '1-0') {
|
this.roleDelete = true
|
}
|
if (res.msg === '1-1') {
|
this.roleDelete = true
|
this.roleModifi = true
|
}
|
this.TakeStocklist = res.data
|
this.TakeStocklistAll = res.data2
|
this.total = res.countPrint
|
} else {
|
this.TakeStocklist = []
|
this.TakeStocklistAll = []
|
this.total = 0
|
return this.$message.success('当前条件 查不到数据!')
|
}
|
}
|
this.common.ajax(url, params, callback, true)
|
},
|
|
find_export(ischang = 1) {
|
if (ischang == 1) {
|
this.queryInfo.pagenum = 1
|
}
|
const url = '/api/task/productStockInfo'
|
const params = {
|
IsLoadAllData:true,//加载全部
|
/*
|
search: this.searchParam,
|
queryInfo: this.queryInfo,
|
positionTypeValue: this.positionTypeValue,
|
datatime: this.datatime,
|
role_Id: userInfoCookie.getUserInfo().role_Id
|
//*/
|
search: this.searchParam,
|
queryInfo: this.queryInfo,
|
positionTypeValue: this.positionTypeValue,
|
inStoreDaysFilterTypeValue:this.inStoreDaysFilterTypeValue,
|
QueryBarCodeFlagValue:this.QueryBarCodeFlagValue,
|
inStoreDaysValue:this.inStoreDaysValue,
|
datatime: this.datatime,
|
role_Id: userInfoCookie.getUserInfo().role_Id
|
}
|
var callback = res => {
|
//debugger
|
if (res.result === true) {
|
res.data2.forEach(item => {
|
if (item.IsBoosterArm === 0) item.IsBoosterArm = '否'
|
if (item.IsBoosterArm === 1) item.IsBoosterArm = '是'
|
item.InStorageDate = getDate(item.InStorageDate)
|
item.LimitDate = getDate(item.LimitDate)
|
if (item.IsQrCode){
|
item.IsQrCode = '是'
|
}else{
|
item.IsQrCode = '否'
|
}
|
})
|
if (res.msg === '0-1') {
|
this.roleModifi = true
|
}
|
if (res.msg === '1-0') {
|
this.roleDelete = true
|
}
|
if (res.msg === '1-1') {
|
this.roleDelete = true
|
this.roleModifi = true
|
}
|
this.TakeStocklistAll = res.data2
|
this.do_exportExcel()
|
} else {
|
this.TakeStocklistAll = []
|
return this.$message.success('当前条件 查不到数据!')
|
}
|
}
|
this.common.ajax(url, params, callback, true)
|
},
|
do_exportExcel() {
|
// import("@/vendor/Export2Excel")
|
this.downloadLoading = true
|
import('@/vendor/Export2Excel').then(excel => {
|
const tHeader = [
|
'采购单号',
|
'采购项号',
|
'销售单号',
|
'销售项号',
|
'跟踪号',
|
'货位名称',
|
'托盘号',
|
'物料编号',
|
'物料名称',
|
'库存量',
|
'库存单位',
|
'助力臂',
|
'入库时间',
|
'在库天数',
|
'限用日期',
|
'是否二维码',
|
'条码'
|
]
|
const filterVal = [
|
'PoCode',
|
'ItemNumber',
|
'SaleCode',
|
'ExtendField08',
|
'ExtendField04',
|
'PositionName',
|
'PlateCode',
|
'ProductCode',
|
'ProductName',
|
'ProductStorage',
|
'SmallUnit',
|
'IsBoosterArm',
|
'InStorageDate',
|
'InStoreDays',
|
'LimitDate',
|
'IsQrCode',
|
'BarCode'
|
]
|
//debugger
|
const data = this.formatJson(filterVal, this.TakeStocklistAll)
|
excel.export_json_to_excel({
|
header: tHeader,
|
data,
|
filename: '库存明细'
|
})
|
this.downloadLoading = false
|
})
|
},
|
exportExcel() {
|
this.find_export(1)
|
},
|
|
getSummaries(param) {
|
const { columns, data } = param
|
const sums = []
|
columns.forEach((column, index) => {
|
if (index === 0) {
|
sums[index] = '合计'
|
return
|
}
|
if (index != 11) {
|
sums[index] = ''
|
return
|
}
|
const values = data.map(item => Number(item[column.property]))
|
if (!values.every(value => isNaN(value))) {
|
sums[index] = values.reduce((prev, curr) => {
|
const value = Number(curr)
|
if (!isNaN(value)) {
|
return prev + curr
|
} else {
|
return prev
|
}
|
}, 0)
|
sums[index] += ' '
|
} else {
|
sums[index] = 'N/A'
|
}
|
sums[index] = Number(sums[index]).toFixed(2)
|
})
|
|
return sums
|
},
|
|
dateFormat(row, column) {
|
var date = row[column.property]
|
|
// if (date == undefined) {
|
// return "";
|
// }
|
|
return moment(date).format('YYYY-MM-DD HH:mm:ss')
|
},
|
reset() {
|
this.searchParam.materialName = null
|
this.searchParam.BarCode = null;
|
this.searchParam.materialCode = null
|
this.searchParam.purchaseCode = null
|
this.searchParam.positionName = null
|
this.searchParam.placeCode = null
|
this.searchParam.tranckNnmber = null
|
this.searchParam.IsLocked=false
|
this.searchParam.OnlyLocked=false
|
this.searchParam.IsFreeze=false
|
this.searchParam.ContainerNo=false
|
|
this.inStoreDaysFilterTypeValue=''
|
this.QueryBarCodeFlagValue=''
|
this.inStoreDaysValue=''
|
|
this.movepositionName = ''
|
this.positionTypeValue = '1'
|
this.datatime = ''
|
this.find(1)
|
},
|
//移库
|
moveStock() {
|
this.$confirm('确定要进行移库操作吗?', '移库操作', {
|
confirmButtonText: '确定',
|
cancelButtonText: '取消',
|
type: 'warning'
|
})
|
.then(() => {
|
const url = '/api/task/moveStock'
|
|
const params = {
|
positionname: this.movepositionName,
|
username: userInfoCookie.getUserInfo().userTrueName
|
}
|
const ref = this.dataList
|
var callback = res => {
|
if (res.result) {
|
return this.$message.success('移库成功')
|
} else {
|
return this.$message.error('移库失败')
|
}
|
}
|
this.common.ajax(url, params, callback, ref)
|
})
|
.catch(() => {
|
this.$message({
|
type: 'info',
|
message: '已取消'
|
})
|
})
|
},
|
//删除库存
|
deleteStock() {
|
//debugger
|
var ss = this.$refs.table.selection
|
if (!ss.length) {
|
this.$message.error('请选中一行!')
|
return
|
}
|
if (ss.length !== 1) {
|
this.$message.error('只能选中一行!')
|
return
|
}
|
var deleteid = ss[0].ProductPosition_Id
|
this.$confirm('确定要进行删除操作吗?', '删除', {
|
confirmButtonText: '确定',
|
cancelButtonText: '取消',
|
type: 'warning'
|
})
|
.then(() => {
|
const url = '/api/task/deleteProductStock'
|
const params = {
|
id: deleteid,
|
userName:userInfoCookie.getUserInfo().userTrueName //增加 登陆人
|
}
|
//debugger
|
const ref = this.dataList
|
var callback = res => {
|
this.common.showMsg(res)
|
|
if (res.result) {
|
this.$refs.table.clearSelection()
|
this.find(1)
|
return this.$message.success('删除成功')
|
} else {
|
this.$refs.table.clearSelection()
|
|
//return this.$message.error('托盘只有一条数据不可以删除')
|
return this.$message.error('删除失败,可能托盘只有一条数据,不可以被删除')
|
}
|
}
|
this.common.ajax(url, params, callback, ref)
|
})
|
.catch(() => {
|
this.$message({
|
type: 'info',
|
message: '已取消'
|
})
|
})
|
},
|
//向修改页面内赋值
|
updataStock() {
|
var ss = this.$refs.table.selection
|
this.updateDate = ss
|
if (!ss.length) {
|
this.$message.error('请选中一行!')
|
return
|
}
|
if (ss.length !== 1) {
|
this.$message.error('只能选中一行!')
|
return
|
}
|
this.dialogFormVisible = true
|
var rows = JSON.parse(JSON.stringify(ss))
|
rows.forEach(item => {
|
this.taskForm.productCode = item.ProductCode
|
this.taskForm.stockId = item.ProductPosition_Id
|
this.taskForm.tracknumber = item.ExtendField04 //跟踪号
|
this.taskForm.saleCode = item.SaleCode //销售单号
|
this.taskForm.saleItem = item.ExtendField08 //销售项号
|
this.taskForm.productStorage = item.ProductStorage //库存数量
|
this.taskForm.ProductName=item.ProductName //物料名称
|
this.taskForm.PositionName=item.PositionName
|
this.taskForm.PlateCode=item.PlateCode
|
this.taskForm.LimitDate=item.LimitDate
|
})
|
this.$refs.table.clearSelection()
|
},
|
// 获取所有物料基础信息
|
remoteMethod(query) {
|
const url = 'api/basicInfo/base/productInfo/getList'
|
const params = { name: query }
|
|
var callback = res => {
|
if (res.result) {
|
//debugger
|
// this.ALLproductList = res.data;
|
this.productList = res.data
|
}
|
}
|
this.common.ajax(url, params, callback, true)
|
},
|
// 更新库存
|
updateProductPosition() {
|
const url = '/api/task/updateProductStock'
|
this.taskForm.userName= userInfoCookie.getUserInfo().userTrueName //增加 登陆人
|
const params = {
|
taskForm: this.taskForm
|
}
|
const ref = this.dataList
|
var callback = res => {
|
this.common.showMsg(res)
|
this.$refs.table.clearSelection()
|
this.find(1)
|
this.taskForm.productCode = null
|
this.taskForm.stockId = null
|
this.taskForm.tracknumber = null
|
this.taskForm.saleCode = null
|
this.taskForm.saleItem = null
|
this.taskForm.productStorage = null
|
this.taskForm.ProductName=null //物料名称
|
this.taskForm.PositionName = null
|
this.taskForm.PlateCode = null
|
this.taskForm.LimitDate=null
|
this.dialogFormVisible = false
|
if (res.result) {
|
return this.$message.success('修改成功')
|
} else {
|
return this.$message.error('修改失败:'+res.msg)
|
}
|
}
|
this.common.ajax(url, params, callback, ref)
|
}
|
}
|
}
|
</script>
|
<style lang="postcss" scoped>
|
.el-table .el-pagination {
|
margin-top: 10px;
|
line-height: 30px;
|
margin-bottom: 0%;
|
}
|
.el-row {
|
text-align: left;
|
}
|
.positionname {
|
width: 400px;
|
}
|
.searchParam {
|
width: 230px;
|
}
|
.positionTypevalue {
|
width: 150px;
|
}
|
.el-card {
|
padding: 0%;
|
margin-bottom: 0%;
|
}
|
thead .el-table-column--selection .cell {
|
display: none;
|
}
|
.displayneed {
|
//display: none;
|
|
display: inline-block;
|
width: 150px;
|
}
|
.el-table .warning-row {
|
background: #aa7798;
|
}
|
|
.el-table .success-row {
|
background: #bb3455;
|
}
|
.el-table .tr {
|
background: white;
|
}
|
.el-card {
|
padding: 0%;
|
margin-bottom: 0%;
|
/* 84 = navbar + tags-view = 50 +34 */
|
max-height: calc(100vh - 104px);
|
}
|
.el-scrollbar{
|
.el-scrollbar__bar.is-vertical {
|
opacity: 1;/* 改为0不显示滚动条*/
|
width:5;
|
}
|
}
|
|
</style>
|