修改界面

This commit is contained in:
bryan sun
2019-11-02 18:33:50 +08:00
parent 7fd34ec94c
commit 269d914ad0
3 changed files with 244 additions and 170 deletions

View File

@@ -29,8 +29,8 @@
</el-row>
</el-card>
<el-row>
<el-col style="width: 850px">
<el-card style="width: 830px">
<el-col style="width: 690px">
<el-card style="width: 690px">
<el-table
v-loading="loading"
:data="tableData"
@@ -47,7 +47,7 @@
align="center"
prop="零件图号"
label="零件号"
width="180px"
width="150px"
show-overflow-tooltip
>
<template slot-scope="scope">{{ scope.row.零件图号 }}</template>
@@ -56,7 +56,7 @@
align="center"
prop="零件名称"
label="零件名称"
width="160px"
width="140px"
show-overflow-tooltip
>
<template slot-scope="scope">{{ scope.row.零件名称 }}</template>
@@ -88,24 +88,24 @@
>
<template slot-scope="scope">{{ scope.row.机加工结束时间 }}</template>
</el-table-column>
<el-table-column
align="center"
prop="province7"
label="零件状态"
width="80px"
>
<template slot-scope="scope">
<el-tag v-if="scope.row.批次零件状态 === '2'" type="info" size="small">停产</el-tag>
<el-tag v-else type="success" size="small">生产</el-tag>
</template>
</el-table-column>
<!-- <el-table-column-->
<!-- align="center"-->
<!-- prop="province7"-->
<!-- label="状态"-->
<!-- width="50px"-->
<!-- >-->
<!-- <template slot-scope="scope">-->
<!-- <el-tag v-if="scope.row.批次零件状态 === '2'" type="info" size="small">停产</el-tag>-->
<!-- <el-tag v-else type="success" size="small">生产</el-tag>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
align="center"
label="操作"
width="100px"
width="80px"
>
<template slot-scope="scope" >
<el-button :disabled="scope.row.批次零件状态 === '2'" type="primary" plain size="small" @click="handleEdit(scope.row)">停产</el-button>
<el-button :disabled="scope.row.批次零件状态 === '2'" type="primary" plain size="mini" @click="handleEdit(scope.row)">停产</el-button>
</template>
</el-table-column>
</el-table>
@@ -121,7 +121,7 @@
</div>
</el-card>
</el-col>
<el-col style="width: 690px">
<el-col style="width: 510px">
<el-card>
<el-table
v-loading="loading2"
@@ -132,17 +132,17 @@
height="600"
border
stripe
style="width: 830px">
style="width: 510px">
<el-table-column
width="80px"
width="50px"
prop="province1"
label="工序顺序"
label="顺序"
align="center"
>
<template slot-scope="scope">{{ scope.row.工序顺序 }}</template>
</el-table-column>
<el-table-column
width="100px"
width="80px"
prop="province2"
label="工艺名称"
align="center"
@@ -153,30 +153,30 @@
prop="province4"
label="工艺要求"
align="center"
width="150px"
width="100px"
>
<template slot-scope="scope">{{ scope.row.工艺要求 }}</template>
</el-table-column>
<el-table-column
width="110px"
width="80px"
prop="province5"
label="单件定额工时"
label="单件定额"
align="center"
>
<template slot-scope="scope">{{ scope.row.单件定额工时 }}</template>
</el-table-column>
<el-table-column
width="110px"
width="80px"
prop="province6"
label="准结定额工时"
label="准结定额"
align="center"
>
<template slot-scope="scope">{{ scope.row.准结定额工时 }}</template>
</el-table-column>
<el-table-column
width="110px"
width="90px"
prop="province7"
label="工艺是否完成"
label="完成状态"
align="center"
>
<template slot-scope="scope">