工时查询备注

This commit is contained in:
Vergil
2020-05-22 11:19:31 +08:00
parent 9be39bbd60
commit 4102840f00
2 changed files with 16 additions and 6 deletions

View File

@@ -594,7 +594,8 @@ export default {
this.tableData5 = response.data
})
},
SearchMachine() { // 查询机床
// 查询机床
SearchMachine() {
searchmachine().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.Machines.push({
@@ -605,7 +606,8 @@ export default {
}
})
},
searchGroupList() { // 查询组号
// 查询组号
searchGroupList() {
this.Group = ''
this.Groups = []
searchgroup(this.Machine).then(response => {
@@ -627,7 +629,8 @@ export default {
this.searchTable2()
}
},
searchTable0() { // 查询标准件
// 查询标准件
searchTable0() {
let check1, check2
this.Machine ? check1 = 1 : check1 = 0
this.Group ? check2 = 1 : check2 = 0
@@ -636,7 +639,8 @@ export default {
this.total00 = response.data.total
})
},
searchTable1() { // 查询外购件
// 查询外购件
searchTable1() {
let check1, check2
this.Machine ? check1 = 1 : check1 = 0
this.Group ? check2 = 1 : check2 = 0
@@ -645,7 +649,8 @@ export default {
this.total01 = response.data.total
})
},
searchTable2() { // 查询基本件
// 查询基本件
searchTable2() {
let check1, check2
this.Machine ? check1 = 1 : check1 = 0
this.Group ? check2 = 1 : check2 = 0

View File

@@ -116,6 +116,11 @@
{{ scope.row.修改时间 ? scope.row.修改时间.split(' ')[0] : '-' }}
</template>
</el-table-column>
<el-table-column label="备注" align="center" width="90px">
<template slot-scope="scope">
{{ scope.row.备注 }}
</template>
</el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="90px">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
@@ -159,7 +164,7 @@
<el-form-item label="加工工时(分)" prop="加工时间">
<span style="font-size: 20px">{{ 加工时间 }}</span>
</el-form-item>
<el-form-item v-show="false" label="备注:" prop="备注">
<el-form-item label="备注:" prop="备注">
<el-input v-model="form1.备注" :rows="4" type="textarea" placeholder="备注" clearable size="small" style="width:200px;"/>
</el-form-item>
</el-form>