This commit is contained in:
liushuai
2020-03-04 17:52:28 +08:00
parent c57732671c
commit aafbfae868
3 changed files with 12 additions and 8 deletions

View File

@@ -90,11 +90,16 @@
{{ scope.row.零件名称 }} {{ scope.row.零件名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="计划数" width="70"> <el-table-column align="center" label="投产数" width="70">
<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="报废数" width="70">
<template slot-scope="scope">
{{ scope.row.报废数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="加工完成" width="100"> <el-table-column align="center" label="加工完成" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机加工实际完成时间 }} {{ scope.row.机加工实际完成时间 }}

View File

@@ -41,7 +41,6 @@
height="520" height="520"
highlight-current-row highlight-current-row
border border
stripe
style="width: 850px; text-align: center" style="width: 850px; text-align: center"
@current-change="fetchTableData2"> @current-change="fetchTableData2">
<el-table-column <el-table-column

View File

@@ -68,8 +68,8 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="200px"> <el-table-column align="center" label="操作" fixed="right" width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" icon="el-icon-edit" @click="ChangeOpen1(scope.row)">编辑</el-button> <el-button type="text" size="mini" icon="el-icon-edit" @click="ChangeOpen1(scope.row)">编辑</el-button>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="handleDelete1(scope.row)">删除</el-button> <el-button type="text" size="mini" icon="el-icon-delete" @click="handleDelete1(scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -103,8 +103,8 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="200px"> <el-table-column align="center" label="操作" fixed="right" width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="mini" icon="el-icon-edit" @click="ChangeOpen2(scope.row)">编辑</el-button> <el-button type="text" size="mini" icon="el-icon-edit" @click="ChangeOpen2(scope.row)">编辑</el-button>
<el-button type="danger" size="mini" icon="el-icon-delete" @click="handleDelete2(scope.row)">删除</el-button> <el-button type="text" size="mini" icon="el-icon-delete" @click="handleDelete2(scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -131,7 +131,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-form-item label="开票金额(元)" prop="开票金额"> <el-form-item label="开票金额(元)" prop="开票金额">
<el-input v-model="form1.开票金额" placeholder="开票金额" style="width:200px" clearable size="small"/> <el-input v-positive="'float'" v-model="form1.开票金额" placeholder="开票金额" type="float" style="width:200px" clearable size="small"/>
</el-form-item> </el-form-item>
</el-row> </el-row>
<el-row> <el-row>
@@ -158,7 +158,7 @@
<el-form ref="form2" :model="form2" :rules="rules" label-position="left" label-width="120px" class="demo-ruleForm"> <el-form ref="form2" :model="form2" :rules="rules" label-position="left" label-width="120px" class="demo-ruleForm">
<el-row> <el-row>
<el-form-item label="付款金额(元)" prop="付款金额"> <el-form-item label="付款金额(元)" prop="付款金额">
<el-input v-model="form2.付款金额" placeholder="开票金额" style="width:200px" clearable size="small"/> <el-input v-positive="'float'" v-model="form2.付款金额" placeholder="付款金额" type="float" style="width:200px" clearable size="small"/>
</el-form-item> </el-form-item>
</el-row> </el-row>
<el-row> <el-row>