Merge branch 'master' of http://192.168.0.149:10010/r/高精2.0
This commit is contained in:
@@ -35,14 +35,15 @@ export function searchgroup(num) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 组件查询
|
// 组件查询
|
||||||
export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, pageCurrent, pageSize) {
|
export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, pageCurrent, pageSize) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '质检管理_质量情况_查询数据',
|
name: '质检管理_质量情况_查询数据',
|
||||||
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4,
|
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 +
|
||||||
|
'&质检类型代码_check=' + check4 + '&质检类型代码=' + value4 + '&开始时间_check=' + check5 + '&开始时间=' + value5 + '&结束时间_check=' + check6 + '&结束时间=' + value6,
|
||||||
Pagination: pageCurrent + '&' + pageSize
|
Pagination: pageCurrent + '&' + pageSize
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -32,14 +32,14 @@ export function searchgroup(num, pageCurrent, pageSize) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export function searchTable(check, entryNameValue, check1, machine, check2, groupNum, check3, year, check4, month, check5, time, pageCurrent, pageSize) {
|
export function searchTable(check, entryNameValue, check1, machine, check2, groupNum, pageCurrent, pageSize) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '车间生产管理工艺_基本件成组配套_查询数据',
|
name: '车间生产管理工艺_基本件成组配套_查询数据',
|
||||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + entryNameValue + '=int&机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int&年_check=' + check3 + '=int&年=' + year + '=string&月_check=' + check4 + '=int&月=' + month + '=int&入库时间_check=' + check5 + '=int&入库时间=' + time + '=string',
|
param: '项目流水号_check=' + check + '=int&项目流水号=' + entryNameValue + '=int&机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int',
|
||||||
pagination: pageCurrent + '&' + pageSize
|
pagination: pageCurrent + '&' + pageSize
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -67,14 +67,14 @@ export function searchPurchaseTable(check, entryNameValue, check1, machine, chec
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export function searchTable1(check, entryNameValue, check1, machine, check2, groupNum, check3, year, check4, month, check5, time, pageCurrent, pageSize) {
|
export function searchTable1(check, entryNameValue, check1, machine, check2, groupNum, pageCurrent, pageSize) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '库存管理_车间采购出库_零件查询',
|
name: '库存管理_车间采购出库_零件查询',
|
||||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + entryNameValue + '=int&机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int&年_check=' + check3 + '=int&年=' + year + '=string&月_check=' + check4 + '=int&月=' + month + '=int&入库时间_check=' + check5 + '=int&入库时间=' + time + '=string',
|
param: '项目流水号_check=' + check + '=int&项目流水号=' + entryNameValue + '=int&机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int',
|
||||||
pagination: pageCurrent + '&' + pageSize
|
pagination: pageCurrent + '&' + pageSize
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -90,3 +90,29 @@ export function processingStatus(num) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 查询表1标准件和外购件
|
||||||
|
export function searchTable01(...params) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
type: '1',
|
||||||
|
name: '采购管理_采购部采购_查询物料_分配后_加供应商',
|
||||||
|
param: `项目流水号_check=${params[0]}&项目流水号=${params[1]}&机床流水号_check=${params[2]}&机床流水号=${params[3]}&组件流水号_check=${params[4]}&组件流水号=${params[5]}`,
|
||||||
|
Pagination: params[6] + '&' + params[7]
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 查询表1基本件
|
||||||
|
export function searchTable02(...params) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
type: '1',
|
||||||
|
name: '采购管理_采购部采购_查询物料_基本件_分配后_加供应商',
|
||||||
|
param: `项目流水号_check=${params[0]}&项目流水号=${params[1]}&机床流水号_check=${params[2]}&机床流水号=${params[3]}&组件流水号_check=${params[4]}&组件流水号=${params[5]}`,
|
||||||
|
Pagination: params[6] + '&' + params[7]
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -81,3 +81,14 @@ export function deletePurchaseData(num) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export function getFileData(MachineDrawValue) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
type: '1',
|
||||||
|
name: 'PDM_机床总图_查询数据',
|
||||||
|
param: `机床流水号=${MachineDrawValue}`
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -11,14 +11,16 @@ export const name1 = `OP1000`
|
|||||||
export const readFile = `http://192.168.1.231:8411/webpage/file/` // invoice
|
export const readFile = `http://192.168.1.231:8411/webpage/file/` // invoice
|
||||||
export const readImg = `http://192.168.1.231:8411/webpage/img/` // delivery/MS/performancebond
|
export const readImg = `http://192.168.1.231:8411/webpage/img/` // delivery/MS/performancebond
|
||||||
export const upload = `http://192.168.1.231:8411/submit/uploadFile.ashx` // ContractInformationManagement
|
export const upload = `http://192.168.1.231:8411/submit/uploadFile.ashx` // ContractInformationManagement
|
||||||
export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
||||||
export const upload2 = `http://192.168.1.231:8411/submit/upload2.ashx` // delivery
|
export const upload2 = `http://192.168.1.231:8411/submit/upload2.ashx` // delivery
|
||||||
export const upload3 = `http://192.168.1.231:8411/submit/upload3.ashx` // performancebond
|
export const upload3 = `http://192.168.1.231:8411/submit/upload3.ashx` // performancebond
|
||||||
export const uploadInvoiceScan = `http://192.168.1.231:8411/submit/uploadInvoiceScan.ashx` // invoice
|
export const uploadInvoiceScan = `http://192.168.1.231:8411/submit/uploadInvoiceScan.ashx` // invoice
|
||||||
export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoiceScan1.ashx` // invoice(workshop)
|
export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoiceScan1.ashx` // invoice(workshop)
|
||||||
export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement
|
export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement
|
||||||
export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
||||||
|
|
||||||
|
// 技术中心程序发布时要更改下面所有的IP到0段
|
||||||
|
export const ServerIP = `http://192.168.1.231:8411/webpage/file/`
|
||||||
|
export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
|
||||||
|
export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFileMachine.ashx` // 机床总图 发布时改成0.231
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`,
|
baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`,
|
||||||
timeout: 1500000 // 请求超时时间
|
timeout: 1500000 // 请求超时时间
|
||||||
|
|||||||
@@ -31,6 +31,22 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
<span>零件:</span>
|
<span>零件:</span>
|
||||||
<el-input v-model="SpareParts" filterable placeholder="请输入零件名称" style="width: 200px" size="small" clearable/>
|
<el-input v-model="SpareParts" filterable placeholder="请输入零件名称" style="width: 200px" size="small" clearable/>
|
||||||
|
<span class="demonstration">时间区间:</span>
|
||||||
|
<el-date-picker
|
||||||
|
v-model="startTime"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
size="small"
|
||||||
|
style="width: 160px"
|
||||||
|
type="date"
|
||||||
|
placeholder="选择日期"/>
|
||||||
|
<span class="demonstration">~</span>
|
||||||
|
<el-date-picker
|
||||||
|
v-model="endTime"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
size="small"
|
||||||
|
style="width: 160px"
|
||||||
|
type="date"
|
||||||
|
placeholder="选择日期"/>
|
||||||
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 15px" @click="pageSize=10; pageCurrent= 1;selecttable()">查询</el-button>
|
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 15px" @click="pageSize=10; pageCurrent= 1;selecttable()">查询</el-button>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-card>
|
</el-card>
|
||||||
@@ -130,6 +146,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
machineNumberValue: '',
|
machineNumberValue: '',
|
||||||
machineNumber: [],
|
machineNumber: [],
|
||||||
|
startTime: '',
|
||||||
|
endTime: '',
|
||||||
groupNumberValue: '',
|
groupNumberValue: '',
|
||||||
groupNumber: [],
|
groupNumber: [],
|
||||||
QualityTypeNumber: [],
|
QualityTypeNumber: [],
|
||||||
@@ -190,7 +208,9 @@ export default {
|
|||||||
if (this.groupNumberValue !== '' && this.groupNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 }
|
if (this.groupNumberValue !== '' && this.groupNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 }
|
||||||
if (this.SpareParts !== '' && this.SpareParts !== null) { this.check3 = 1 } else { this.check3 = 0 }
|
if (this.SpareParts !== '' && this.SpareParts !== null) { this.check3 = 1 } else { this.check3 = 0 }
|
||||||
if (this.QualityTypeValue !== '' && this.QualityTypeValue !== null) { this.check4 = 1 } else { this.check4 = 0 }
|
if (this.QualityTypeValue !== '' && this.QualityTypeValue !== null) { this.check4 = 1 } else { this.check4 = 0 }
|
||||||
selecttable(this.check1, this.machineNumberValue, this.check2, this.groupNumberValue, this.check3, this.SpareParts, this.check4, this.QualityTypeValue, this.pageCurrent, this.pageSize).then(response => {
|
if (this.startTime !== '' && this.startTime !== null) { this.check5 = 1 } else { this.check5 = 0 }
|
||||||
|
if (this.endTime !== '' && this.endTime !== null) { this.check6 = 1 } else { this.check6 = 0 }
|
||||||
|
selecttable(this.check1, this.machineNumberValue, this.check2, this.groupNumberValue, this.check3, this.SpareParts, this.check4, this.QualityTypeValue, this.check5, this.startTime, this.check6, this.endTime, this.pageCurrent, this.pageSize).then(response => {
|
||||||
this.tableData1 = response.data.rows
|
this.tableData1 = response.data.rows
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.total = response.data.total
|
this.total = response.data.total
|
||||||
|
|||||||
@@ -20,44 +20,20 @@
|
|||||||
<el-input v-model="machineToolNumber" placeholder="请双击选择" size="small" clearable style="width:200px" @change="empty1" @dblclick.native="SearchMachine"/>
|
<el-input v-model="machineToolNumber" placeholder="请双击选择" size="small" clearable style="width:200px" @change="empty1" @dblclick.native="SearchMachine"/>
|
||||||
<span>组号:</span>
|
<span>组号:</span>
|
||||||
<el-input v-model="groupNumber" placeholder="请双击选择" size="small" clearable style="width:200px" @dblclick.native="searchGroupList"/>
|
<el-input v-model="groupNumber" placeholder="请双击选择" size="small" clearable style="width:200px" @dblclick.native="searchGroupList"/>
|
||||||
<span>年:</span>
|
<el-button type="success" icon="el-icon-search" size="small" style="margin-top: 15px;margin-left: 10px" @click="total=0;pageSize=10;pageCurrent=1;searchData();searchTable()">查询</el-button>
|
||||||
<el-date-picker
|
|
||||||
v-model="year"
|
|
||||||
type="year"
|
|
||||||
size="small"
|
|
||||||
format="yyyy"
|
|
||||||
value-format="yyyy"
|
|
||||||
placeholder="选择年"/>
|
|
||||||
<span>月:</span>
|
|
||||||
<el-select v-model="month" placeholder="选择月" size="small" clearable style="width:180px">
|
|
||||||
<el-option
|
|
||||||
v-for="item in monthes"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
:value="item.value"/>
|
|
||||||
</el-select>
|
|
||||||
<span>入库时间:</span>
|
|
||||||
<el-date-picker
|
|
||||||
v-model="time"
|
|
||||||
type="date"
|
|
||||||
size="small"
|
|
||||||
style="margin-top: 20px;width: 200px"
|
|
||||||
format="yyyy-MM-dd"
|
|
||||||
value-format="yyyy-MM-dd"
|
|
||||||
placeholder="选择日期"/>
|
|
||||||
<el-button type="success" icon="el-icon-search" size="small" style="margin-top: 15px;margin-left: 10px" @click="total=0;pageSize=10;pageCurrent=1;searchData()">查询</el-button>
|
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
|
<h3 style="text-align: center;">车间生产</h3>
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:summary-method="getSummaries"
|
:summary-method="getSummaries"
|
||||||
style="width: 100%;max-height: 600px"
|
style="width: 100%"
|
||||||
height="400"
|
height="400"
|
||||||
|
size="mini"
|
||||||
show-summary
|
show-summary
|
||||||
highlight-current-row
|
border
|
||||||
border>
|
stripe>
|
||||||
<el-table-column align="center" label="序号" type="index" width="60"/>
|
|
||||||
<el-table-column align="center" label="零件图号">
|
<el-table-column align="center" label="零件图号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
@@ -111,105 +87,188 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table
|
<h3 style="text-align: center;">采购部采购</h3>
|
||||||
:data="tableDataPurchase"
|
<el-tabs v-model="PartType" type="border-card" @tab-click="searchTable()">
|
||||||
border
|
<el-tab-pane label="标准件" name="标准件">
|
||||||
style="width: 100%;"
|
<el-table :data="tableData00" size="mini" height="400px" border stripe>
|
||||||
height="400">
|
<el-table-column align="center" label="机床图号">
|
||||||
<el-table-column
|
<template slot-scope="scope">
|
||||||
label="序号"
|
{{ scope.row.机床图号 }}
|
||||||
align="center"
|
</template>
|
||||||
type="index"
|
</el-table-column>
|
||||||
width="50"/>
|
<el-table-column align="center" label="组号">
|
||||||
<el-table-column label="物料名称" align="center" min-width="80">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.组号 }}
|
||||||
{{ scope.row.物料名称 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column align="center" label="名称">
|
||||||
<el-table-column label="物料规格" align="center" min-width="80">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.物料名称 }}
|
||||||
{{ scope.row.物料规格 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column align="center" label="型号">
|
||||||
<el-table-column label="物料型号" align="center" min-width="80">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.物料型号 }}
|
||||||
{{ scope.row.物料型号 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column align="center" label="规格">
|
||||||
<el-table-column label="项目名称" align="center" min-width="80">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.物料规格 }}
|
||||||
{{ scope.row.项目名称 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column align="center" label="技术下达数量">
|
||||||
<el-table-column label="机床图号" align="center" min-width="80">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.零件数量 || '—' }}
|
||||||
{{ scope.row.机床图号 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column align="center" label="合同采购数量">
|
||||||
<el-table-column label="组号" align="center" min-width="80">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.数量 || scope.row.离线采购数量 || '—' }}
|
||||||
{{ scope.row.组号 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column align="center" label="到货数量">
|
||||||
<el-table-column label="零件数量" align="center" min-width="80">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || scope.row.离线到货数量 || '—' }}
|
||||||
{{ scope.row.数量 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table>
|
||||||
<el-table-column label="到货数量" align="center" min-width="80">
|
<div class="block">
|
||||||
<template slot-scope="scope">
|
<el-pagination
|
||||||
{{ scope.row.实际到货数量 }}
|
:current-page="pageCurrent00"
|
||||||
</template>
|
:page-sizes="[10, 20, 30, 40]"
|
||||||
</el-table-column>
|
:page-size="pageSize00"
|
||||||
<el-table-column label="到货时间" align="center" min-width="80">
|
:total="total00"
|
||||||
<template slot-scope="scope">
|
style="margin-top:10px;display:inline-block;width:50%"
|
||||||
{{ scope.row.到货时间 }}
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
</template>
|
@size-change="handleSizeChange00"
|
||||||
</el-table-column>
|
@current-change="handleCurrentChange00"/>
|
||||||
</el-table>
|
</div>
|
||||||
<div class="block" style="margin-top: 10px;">
|
</el-tab-pane>
|
||||||
<el-pagination
|
<el-tab-pane label="外购件" name="外购件">
|
||||||
:current-page="pageCurrent4"
|
<el-table :data="tableData01" size="mini" height="400px" border stripe>
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
<el-table-column align="center" label="机床图号">
|
||||||
:page-size="pageSize4"
|
<template slot-scope="scope">
|
||||||
:total="total4"
|
{{ scope.row.机床图号 }}
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
</template>
|
||||||
@size-change="handleSizeChange4"
|
</el-table-column>
|
||||||
@current-change="handleCurrentChange4"/>
|
<el-table-column align="center" label="组号">
|
||||||
</div>
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.组号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="名称">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.物料名称 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="型号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.物料型号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="规格">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.物料规格 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="技术下达数量">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.零件数量 || '—' }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="合同采购数量">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.数量 || scope.row.离线采购数量 || '—' }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="到货数量">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || scope.row.离线到货数量 || '—' }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<div class="block">
|
||||||
|
<el-pagination
|
||||||
|
:current-page="pageCurrent01"
|
||||||
|
:page-sizes="[10, 20, 30, 40]"
|
||||||
|
:page-size="pageSize01"
|
||||||
|
:total="total01"
|
||||||
|
style="margin-top:10px;display:inline-block;width:50%"
|
||||||
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
|
@size-change="handleSizeChange01"
|
||||||
|
@current-change="handleCurrentChange01"/>
|
||||||
|
</div>
|
||||||
|
</el-tab-pane>
|
||||||
|
<el-tab-pane label="基本件" name="基本件">
|
||||||
|
<el-table :data="tableData02" size="mini" height="400px" border stripe>
|
||||||
|
<el-table-column align="center" label="机床图号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.机床图号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="组号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.组号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="名称">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.零件名称 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="图号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.零件图号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="规格">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.规格 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="材料">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.材料 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="技术下达数量">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.零件数量 || '—' }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="采购数量">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.数量 || '—' }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="到货数量">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || '—' }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<div class="block">
|
||||||
|
<el-pagination
|
||||||
|
:current-page="pageCurrent02"
|
||||||
|
:page-sizes="[10, 20, 30, 40]"
|
||||||
|
:page-size="pageSize02"
|
||||||
|
:total="total02"
|
||||||
|
style="margin-top:10px;display:inline-block;width:50%"
|
||||||
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
|
@size-change="handleSizeChange02"
|
||||||
|
@current-change="handleCurrentChange02"/>
|
||||||
|
</div>
|
||||||
|
</el-tab-pane>
|
||||||
|
</el-tabs>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-card>
|
<el-card>
|
||||||
|
<h3 style="text-align: center;">制造部采购</h3>
|
||||||
<el-table
|
<el-table
|
||||||
:data="tableData1"
|
:data="tableData1"
|
||||||
border
|
border
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
height="400">
|
height="400">
|
||||||
<el-table-column
|
|
||||||
label="序号"
|
|
||||||
align="center"
|
|
||||||
type="index"
|
|
||||||
width="50"/>
|
|
||||||
<el-table-column label="物料名称" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.物料名称 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="物料规格" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.物料规格 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="物料型号" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.物料型号 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="项目名称" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.项目名称 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="机床图号" align="center" min-width="80">
|
<el-table-column label="机床图号" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.机床图号 }}
|
{{ scope.row.机床图号 }}
|
||||||
@@ -220,19 +279,29 @@
|
|||||||
{{ scope.row.组号 }}
|
{{ scope.row.组号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="物料名称" align="center" min-width="80">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.物料名称 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="图号或型号" align="center" min-width="80">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.图号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="材料或规格" align="center" min-width="80">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.规格或材料 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="零件数量" align="center" min-width="80">
|
<el-table-column label="零件数量" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.货位存量 }}
|
{{ scope.row.零件数量 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="零件类型" align="center" min-width="80">
|
<el-table-column label="已到货数量" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.类型名称 }}
|
{{ scope.row.已到货数量 }}
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="入库时间" align="center" min-width="80">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.入库时间 }}
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -400,7 +469,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { initProject, searchTable, searchmachine, searchgroup, searchPurchaseTable, searchTable1, processingStatus, searchTable22 } from '@/api/ManufacturingCenter/GroupMatching'
|
import { initProject, searchTable, searchmachine, searchgroup, searchPurchaseTable, searchTable1, processingStatus, searchTable22, searchTable01, searchTable02 } from '@/api/ManufacturingCenter/GroupMatching'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -414,6 +483,13 @@ export default {
|
|||||||
groupNum: null, // 组件流水号
|
groupNum: null, // 组件流水号
|
||||||
partNumber: '', // 零件号
|
partNumber: '', // 零件号
|
||||||
num: null,
|
num: null,
|
||||||
|
PartType: '标准件',
|
||||||
|
pageCurrent00: 1,
|
||||||
|
pageSize00: 10,
|
||||||
|
pageCurrent01: 1,
|
||||||
|
pageSize01: 10,
|
||||||
|
pageCurrent02: 1,
|
||||||
|
pageSize02: 10,
|
||||||
pageCurrent: 1,
|
pageCurrent: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageCurrent1: 1,
|
pageCurrent1: 1,
|
||||||
@@ -429,9 +505,15 @@ export default {
|
|||||||
tableData: [],
|
tableData: [],
|
||||||
tableData1: [],
|
tableData1: [],
|
||||||
tableData5: [],
|
tableData5: [],
|
||||||
|
tableData00: [],
|
||||||
|
tableData01: [],
|
||||||
|
tableData02: [],
|
||||||
state: null,
|
state: null,
|
||||||
listLoading1: false,
|
listLoading1: false,
|
||||||
listLoading2: false,
|
listLoading2: false,
|
||||||
|
total00: 0,
|
||||||
|
total01: 0,
|
||||||
|
total02: 0,
|
||||||
total: 0,
|
total: 0,
|
||||||
total1: 0,
|
total1: 0,
|
||||||
total2: 0,
|
total2: 0,
|
||||||
@@ -518,22 +600,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.check2 = 0
|
this.check2 = 0
|
||||||
}
|
}
|
||||||
if (this.year !== null && this.year !== '') {
|
searchTable(this.check, this.entryNameValue, this.check1, this.machine, this.check2, this.groupNum, this.pageCurrent, this.pageSize).then(response => {
|
||||||
this.check3 = 1
|
|
||||||
} else {
|
|
||||||
this.check3 = 0
|
|
||||||
}
|
|
||||||
if (this.month !== null && this.month !== '') {
|
|
||||||
this.check4 = 1
|
|
||||||
} else {
|
|
||||||
this.check4 = 0
|
|
||||||
}
|
|
||||||
if (this.time !== '' && this.time !== null) {
|
|
||||||
this.check5 = 1
|
|
||||||
} else {
|
|
||||||
this.check5 = 0
|
|
||||||
}
|
|
||||||
searchTable(this.check, this.entryNameValue, this.check1, this.machine, this.check2, this.groupNum, this.check3, this.year, this.check4, this.month, this.check5, this.time, this.pageCurrent, this.pageSize).then(response => {
|
|
||||||
for (let i = 0; i < response.data.rows.length; i++) {
|
for (let i = 0; i < response.data.rows.length; i++) {
|
||||||
if (response.data.rows[i].入库时间 !== '') {
|
if (response.data.rows[i].入库时间 !== '') {
|
||||||
response.data.rows[i].入库时间 = response.data.rows[i].入库时间.split(' ', 2)[0]
|
response.data.rows[i].入库时间 = response.data.rows[i].入库时间.split(' ', 2)[0]
|
||||||
@@ -563,7 +630,7 @@ export default {
|
|||||||
this.tableDataPurchase = response.data.rows
|
this.tableDataPurchase = response.data.rows
|
||||||
this.total4 = parseInt(response.data.total)
|
this.total4 = parseInt(response.data.total)
|
||||||
})
|
})
|
||||||
searchTable1(this.check, this.entryNameValue, this.check1, this.machine, this.check2, this.groupNum, this.check3, this.year, this.check4, this.month, this.check5, this.time, this.pageCurrent, this.pageSize).then(response => {
|
searchTable1(this.check, this.entryNameValue, this.check1, this.machine, this.check2, this.groupNum, this.pageCurrent, this.pageSize).then(response => {
|
||||||
this.tableData1 = response.data.rows
|
this.tableData1 = response.data.rows
|
||||||
this.total5 = parseInt(response.data.total)
|
this.total5 = parseInt(response.data.total)
|
||||||
})
|
})
|
||||||
@@ -647,6 +714,44 @@ export default {
|
|||||||
this.groupNumber = this.groupNumber1
|
this.groupNumber = this.groupNumber1
|
||||||
this.dialogFormVisible3 = false
|
this.dialogFormVisible3 = false
|
||||||
},
|
},
|
||||||
|
searchTable() {
|
||||||
|
if (this.PartType === '标准件') {
|
||||||
|
this.searchTable0()
|
||||||
|
} else if (this.PartType === '外购件') {
|
||||||
|
this.searchTable1()
|
||||||
|
} else if (this.PartType === '基本件') {
|
||||||
|
this.searchTable2()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
searchTable0() { // 查询标准件
|
||||||
|
let check1, check2
|
||||||
|
this.machine ? check1 = 1 : check1 = 0
|
||||||
|
this.groupNum ? check2 = 1 : check2 = 0
|
||||||
|
searchTable01(check1, this.machine, check2, this.groupNum, this.pageCurrent00, this.pageSize00, 1).then(response => {
|
||||||
|
this.tableData00 = response.data.rows
|
||||||
|
this.total00 = response.data.total
|
||||||
|
})
|
||||||
|
},
|
||||||
|
searchTable1() { // 查询外购件
|
||||||
|
let check1, check2, check3
|
||||||
|
this.machine ? check1 = 1 : check1 = 0
|
||||||
|
this.groupNum ? check2 = 1 : check2 = 0
|
||||||
|
this.entryNameValue ? check3 = 1 : check3 = 0
|
||||||
|
searchTable01(check3, this.entryNameValue, check1, this.machine, check2, this.groupNum, this.pageCurrent01, this.pageSize01, 2).then(response => {
|
||||||
|
this.tableData01 = response.data.rows
|
||||||
|
this.total01 = response.data.total
|
||||||
|
})
|
||||||
|
},
|
||||||
|
searchTable2() { // 查询基本件
|
||||||
|
let check1, check2, check3
|
||||||
|
this.machine ? check1 = 1 : check1 = 0
|
||||||
|
this.groupNum ? check2 = 1 : check2 = 0
|
||||||
|
this.entryNameValue ? check3 = 1 : check3 = 0
|
||||||
|
searchTable02(check3, this.entryNameValue, check1, this.machine, check2, this.groupNum, this.pageCurrent02, this.pageSize02).then(response => {
|
||||||
|
this.tableData02 = response.data.rows
|
||||||
|
this.total02 = response.data.total
|
||||||
|
})
|
||||||
|
},
|
||||||
handleSizeChange(val) {
|
handleSizeChange(val) {
|
||||||
this.pageCurrent = 1
|
this.pageCurrent = 1
|
||||||
this.pageSize = val
|
this.pageSize = val
|
||||||
@@ -946,6 +1051,33 @@ export default {
|
|||||||
this.$message.warning('请先选择项目')
|
this.$message.warning('请先选择项目')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
handleSizeChange00(val) {
|
||||||
|
this.pageCurrent00 = 1
|
||||||
|
this.pageSize00 = val
|
||||||
|
this.searchTable0()
|
||||||
|
},
|
||||||
|
handleCurrentChange00(val) {
|
||||||
|
this.pageCurrent00 = val
|
||||||
|
this.searchTable0()
|
||||||
|
},
|
||||||
|
handleSizeChange01(val) {
|
||||||
|
this.pageCurrent01 = 1
|
||||||
|
this.pageSize01 = val
|
||||||
|
this.searchTable1()
|
||||||
|
},
|
||||||
|
handleCurrentChange01(val) {
|
||||||
|
this.pageCurrent01 = val
|
||||||
|
this.searchTable1()
|
||||||
|
},
|
||||||
|
handleSizeChange02(val) {
|
||||||
|
this.pageCurrent02 = 1
|
||||||
|
this.pageSize02 = val
|
||||||
|
this.searchTable2()
|
||||||
|
},
|
||||||
|
handleCurrentChange02(val) {
|
||||||
|
this.pageCurrent02 = val
|
||||||
|
this.searchTable2()
|
||||||
|
},
|
||||||
getSummaries(param) {
|
getSummaries(param) {
|
||||||
const { columns } = param
|
const { columns } = param
|
||||||
const sums = []
|
const sums = []
|
||||||
|
|||||||
@@ -194,10 +194,8 @@ export default {
|
|||||||
},
|
},
|
||||||
// 在什么情况下需要查询上传的附件,调用this.getFileData()即可根据
|
// 在什么情况下需要查询上传的附件,调用this.getFileData()即可根据
|
||||||
getFileData(machineDrawValue) {
|
getFileData(machineDrawValue) {
|
||||||
console.log(machineDrawValue, 88)
|
|
||||||
this.hadFile = []
|
this.hadFile = []
|
||||||
getFileData(machineDrawValue).then(res => {
|
getFileData(machineDrawValue).then(res => {
|
||||||
console.log(res)
|
|
||||||
if (res.data.length > 0) {
|
if (res.data.length > 0) {
|
||||||
res.data.map(item => {
|
res.data.map(item => {
|
||||||
this.hadFile.push({
|
this.hadFile.push({
|
||||||
@@ -492,4 +490,5 @@ a{
|
|||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #999;
|
color: #999;
|
||||||
}</style>
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -30,6 +30,22 @@
|
|||||||
|
|
||||||
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData()">查询</el-button>
|
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData()">查询</el-button>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
<el-card>
|
||||||
|
<div v-for="(file, key) in hadFile" :key="key">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="content">
|
||||||
|
<div class="action"/>
|
||||||
|
<div v-if="file.suffix==='pdf'" class="icon"><svg-icon icon-class="pdf" /></div>
|
||||||
|
<div v-else-if="file.suffix==='docx'||file.suffix === 'doc'" class="icon"><svg-icon icon-class="doc" /></div>
|
||||||
|
<div v-else-if="file.suffix==='xlsx' || file.suffix === 'xls'" class="icon"><svg-icon icon-class="excel" /></div>
|
||||||
|
<div v-else-if="file.suffix==='pptx' || file.suffix === 'ppt'" class="icon"><svg-icon icon-class="ppt" /></div>
|
||||||
|
<div v-else-if="file.suffix==='jpg' || file.suffix === 'jpeg'|| file.suffix === 'png'" class="icon"><svg-icon icon-class="pic" /></div>
|
||||||
|
<div v-else class="icon"><svg-icon icon-class="file" /></div>
|
||||||
|
<a :href="file.url" target="view_window"><div class="info">{{ file.name }}</div></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
@@ -225,8 +241,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { projectSelect, machineSelect, groupSelect, basicPartsData, deleteBasicParts, purchasePartsData, deletePurchaseData } from '@/api/TechnologyCenter/QueryParts'
|
import { projectSelect, machineSelect, groupSelect, basicPartsData, deleteBasicParts, purchasePartsData, deletePurchaseData, getFileData } from '@/api/TechnologyCenter/QueryParts'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
import { ServerIP } from '@/utils/request'
|
||||||
export default {
|
export default {
|
||||||
name: 'Index',
|
name: 'Index',
|
||||||
data() {
|
data() {
|
||||||
@@ -246,7 +263,8 @@ export default {
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageCurrentWB: 1,
|
pageCurrentWB: 1,
|
||||||
pageSizeWB: 10,
|
pageSizeWB: 10,
|
||||||
totalWB: 0
|
totalWB: 0,
|
||||||
|
hadFile: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -309,6 +327,22 @@ export default {
|
|||||||
this.fetchData()
|
this.fetchData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 在什么情况下需要查询上传的附件,调用this.getFileData()即可根据
|
||||||
|
getFileData(machineValue) {
|
||||||
|
this.hadFile = []
|
||||||
|
getFileData(machineValue).then(res => {
|
||||||
|
if (res.data.length > 0) {
|
||||||
|
res.data.map(item => {
|
||||||
|
this.hadFile.push({
|
||||||
|
url: `${ServerIP}${item.文件标识}.${item.文件后缀}`,
|
||||||
|
name: `${item.文件名称}.${item.文件后缀}`,
|
||||||
|
suffix: item.文件后缀,
|
||||||
|
id: item.文件标识
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
fetchData() {
|
fetchData() {
|
||||||
this.getSelect(projectSelect, ['项目名称', '项目流水号'], 'project')
|
this.getSelect(projectSelect, ['项目名称', '项目流水号'], 'project')
|
||||||
},
|
},
|
||||||
@@ -319,6 +353,8 @@ export default {
|
|||||||
this.getSelect(groupSelect, ['组号', '组件流水号'], 'group', val)
|
this.getSelect(groupSelect, ['组号', '组件流水号'], 'group', val)
|
||||||
},
|
},
|
||||||
getTableData() {
|
getTableData() {
|
||||||
|
this.getFileData(this.machineValue)
|
||||||
|
console.log(this.hadFile, 88899)
|
||||||
const project_check = this.projectValue ? 1 : 0
|
const project_check = this.projectValue ? 1 : 0
|
||||||
const machine_check = this.machineValue ? 1 : 0
|
const machine_check = this.machineValue ? 1 : 0
|
||||||
const group_check = this.groupValue ? 1 : 0
|
const group_check = this.groupValue ? 1 : 0
|
||||||
@@ -388,4 +424,49 @@ export default {
|
|||||||
span{
|
span{
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
}
|
}
|
||||||
|
.wrapper{
|
||||||
|
width: 225px;
|
||||||
|
height: 50px;
|
||||||
|
overflow: hidden;
|
||||||
|
border: 1px solid #b8c7d9;
|
||||||
|
float: left;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
.content{
|
||||||
|
position: relative;
|
||||||
|
padding: 8px 8px 0 8px;
|
||||||
|
}
|
||||||
|
.action{
|
||||||
|
position: absolute;
|
||||||
|
top: 4px;
|
||||||
|
right: 8px;
|
||||||
|
}
|
||||||
|
.delete{
|
||||||
|
padding: 0 5px;
|
||||||
|
border-radius: 3px;
|
||||||
|
color: #0f84b0;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.delete:hover{
|
||||||
|
background: -webkit-linear-gradient(top,#0ba9e3,#0099d3);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
a{
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.icon{
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 7px;
|
||||||
|
margin-top: 2px;
|
||||||
|
font-size: 26px;
|
||||||
|
}
|
||||||
|
.info{
|
||||||
|
position: absolute;
|
||||||
|
left: 44px;
|
||||||
|
line-height: 30px;
|
||||||
|
display: inline-block;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user