This commit is contained in:
xingquansheng
2019-09-21 17:08:22 +08:00
parent 52e223101a
commit 50c66e917e
36 changed files with 401 additions and 386 deletions

View File

@@ -51,7 +51,7 @@
<el-table
:data="tableData"
:stripe="true"
height="440"
height="550"
size="mini"
highlight-current-row
style="width: 100%;"
@@ -67,12 +67,12 @@
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="完成数量" align="center" min-width="100px">
<el-table-column label="完成数量" align="center" min-width="70px">
<template slot-scope="scope">
{{ scope.row.完成数量 }}
</template>
</el-table-column>
<el-table-column label="工艺名称" align="center" min-width="100px">
<el-table-column label="工艺名称" align="center" min-width="70px">
<template slot-scope="scope">
{{ scope.row.工艺名称 }}
</template>
@@ -92,12 +92,12 @@
{{ scope.row.加工完成时间 || '—' }}
</template>
</el-table-column>
<el-table-column label="实际工时" align="center" min-width="100px">
<el-table-column label="实际工时" align="center" min-width="70px">
<template slot-scope="scope">
{{ scope.row.实际加工时间段 || '—' }}
</template>
</el-table-column>
<el-table-column label="修补数量" align="center" min-width="100px">
<el-table-column label="修补数量" align="center" min-width="70px">
<template slot-scope="scope">
<template v-if="scope.row.isEditing">
<el-input v-model="scope.row.数量" class="edit-input" size="mini"/>
@@ -105,7 +105,7 @@
<span v-else>{{ scope.row.数量 }}</span>
</template>
</el-table-column>
<el-table-column label="修补工时" align="center" min-width="100px">
<el-table-column label="修补工时" align="center" min-width="70px">
<template slot-scope="scope">
<template v-if="scope.row.isEditing">
<el-input v-model="scope.row.修补工时" class="edit-input" size="mini"/>
@@ -123,7 +123,7 @@
{{ scope.row.修补人 || '—' }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" min-width="300" fixed="right">
<el-table-column label="操作" align="center" min-width="200" fixed="right">
<template slot-scope="scope">
<el-button v-if="scope.row.isEditing" type="mini" plain size="mini" icon="el-icon-circle-check-outline" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-if="scope.row.isEditing" class="cancel-btn" plain size="mini" type="warning" @click="cancelEdit(scope.row)">取消</el-button>
@@ -157,7 +157,7 @@
</div>
</el-card>
<el-dialog :title="title" :visible.sync="dialogFormVisible" center style="min-height: 300px" width="650px">
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible" title="补录工时" center style="min-height: 300px" width="650px">
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="80px" class="demo-ruleForm">
<el-row>
<el-col :span="12">