測試
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="app-container">
|
||||
<el-card>
|
||||
<span>项目名称</span>
|
||||
<el-select v-model="projectValue" filterable clearable size="small" style="margin-top:10px;width: 220px" placeholder="项目名称" @change="typeChange()">
|
||||
<el-select v-model="projectValue" filterable clearable size="small" style="margin-right:10px;width: 180px" placeholder="项目名称" @change="typeChange">
|
||||
<el-option
|
||||
v-for="item in project"
|
||||
:key="item.value"
|
||||
@@ -10,13 +10,107 @@
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<span>机床名称</span>
|
||||
<el-select v-model="machineValue" clearable filterable size="small" style="margin-bottom:10px;width: 220px" placeholder="机床名称">
|
||||
<el-select v-model="machineValue" clearable filterable size="small" style="margin-right:10px;width: 150px" placeholder="机床名称">
|
||||
<el-option
|
||||
v-for="item in machine"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<span>分组</span>
|
||||
<el-select v-model="partValue" clearable filterable size="small" style="margin-right:10px;width: 80px" placeholder="分组">
|
||||
<el-option
|
||||
v-for="item in part"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<span>规格及型号</span>
|
||||
<el-input v-model="specificationValue" clearable size="small" style="margin-right:10px;width: 150px" placeholder="规格型号"/>
|
||||
<span>加工总工时(小时):</span>
|
||||
<el-input v-model="totalProcessingHours" clearable size="small" style="margin-right:10px;width: 100px"/>
|
||||
<span>计划总工时(小时):</span>
|
||||
<el-input v-model="totalPlannedHours" clearable size="small" style="margin-right:10px;width: 100px"/>
|
||||
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchTable()">查询</el-button>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-table :data="tableData" highlight-current-row border style="width: 100%;" size="mini" height="300">
|
||||
<el-table-column label="跟单号" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.跟单号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="序号" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.序号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="工序名" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.工序名 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划数量" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.计划数量 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划准备工时" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.计划准备工时 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单件计划工时" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.单件计划工时 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划工时(分)" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.计划工时 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划加工日期" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.计划加工日期 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="加工数量" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.加工数量 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="加工准备工时" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.加工准备工时 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单件加工工时" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.单件加工工时 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="加工工时(分)" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.加工工时 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="加工日期" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.加工日期 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="图号及规格" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.图号及规格 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="制品名称" align="center" min-width="200">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.制品名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</div>
|
||||
</template>
|
||||
@@ -29,7 +123,13 @@ export default {
|
||||
project: [],
|
||||
projectValue: '', // 项目名称
|
||||
machineValue: '', // 机床名称
|
||||
machine: []
|
||||
machine: [],
|
||||
part: [], // 分組
|
||||
partValue: '',
|
||||
specificationValue: '', // 规格型号
|
||||
totalProcessingHours: '', // 加工总工时
|
||||
totalPlannedHours: '', // 计划总工时
|
||||
tableData: [] // 详情表
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user