Merge branch 'master' of http://123.56.95.229:10010/r/高精
This commit is contained in:
@@ -113,7 +113,7 @@
|
|||||||
{{ scope.row.零件名称 }}
|
{{ scope.row.零件名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="规格" prop="规格" align="center">
|
<el-table-column label="规格" prop="规格" align="center" width="170">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.规格 }}
|
{{ scope.row.规格 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -148,17 +148,19 @@
|
|||||||
{{ scope.row.零件类型名称 }}
|
{{ scope.row.零件类型名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="200px" fixed="right" align="center">
|
<el-table-column label="操作" width="170px" fixed="right" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="checked_hebing"
|
:disabled="checked_hebing"
|
||||||
size="mini"
|
size="mini"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
style="padding: 4px 8px"
|
||||||
plain
|
plain
|
||||||
@click="handleEdit(scope.$index, scope.row, 'form')">分批投产</el-button>
|
@click="handleEdit(scope.$index, scope.row, 'form')">分批投产</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
style="padding: 4px 8px"
|
||||||
plain
|
plain
|
||||||
@click="handleEditNumber(scope.$index, scope.row)">更改数量</el-button>
|
@click="handleEditNumber(scope.$index, scope.row)">更改数量</el-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -456,27 +458,27 @@ export default {
|
|||||||
'id'
|
'id'
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
watch: {
|
// watch: {
|
||||||
// 如果路由有变化,会再次执行该方法
|
// // 如果路由有变化,会再次执行该方法
|
||||||
'$route'(to) {
|
// '$route'(to) {
|
||||||
const _this = this
|
// const _this = this
|
||||||
console.log(to, 2222)
|
// console.log(to, 2222)
|
||||||
if (to.name === 'InitialProduction') {
|
// if (to.name === 'InitialProduction') {
|
||||||
_this.typeChange()
|
// _this.typeChange()
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
// '$route': {
|
// // '$route': {
|
||||||
// handler(route) {
|
// // handler(route) {
|
||||||
// const _this = this
|
// // const _this = this
|
||||||
// console.log(route.name)
|
// // console.log(route.name)
|
||||||
// if (route.name === 'InitialProduction') {
|
// // if (route.name === 'InitialProduction') {
|
||||||
// _this.typeChange()
|
// // _this.typeChange()
|
||||||
// }
|
// // }
|
||||||
// }
|
// // }
|
||||||
// }
|
// // }
|
||||||
},
|
// },
|
||||||
created() {
|
created() {
|
||||||
// this.typeChange()
|
this.typeChange()
|
||||||
this.getCurrentTime()
|
this.getCurrentTime()
|
||||||
this.getNowTime()
|
this.getNowTime()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,7 +36,6 @@
|
|||||||
height="750"
|
height="750"
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
border
|
border
|
||||||
stripe
|
|
||||||
@selection-change="handleSelectionChange">
|
@selection-change="handleSelectionChange">
|
||||||
<el-table-column align="center" type="selection"/>
|
<el-table-column align="center" type="selection"/>
|
||||||
<el-table-column align="center" label="零件号" prop="零件号" width="160">
|
<el-table-column align="center" label="零件号" prop="零件号" width="160">
|
||||||
|
|||||||
@@ -245,7 +245,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
:disabled="Number(id)!==0"
|
:disabled="Number(id)!==0"
|
||||||
size="mini"
|
size="mini"
|
||||||
plsin
|
plain
|
||||||
type="danger"
|
type="danger"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)">删除</el-button>
|
@click="handleDelete(scope.row)">删除</el-button>
|
||||||
@@ -290,7 +290,7 @@
|
|||||||
<el-input v-model="form.零件名称" placeholder="零件名称" size="small" style="width:200px" clearable/>
|
<el-input v-model="form.零件名称" placeholder="零件名称" size="small" style="width:200px" clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="零件数量" prop="零件数量" style="margin-left: 70px">
|
<el-form-item label="零件数量" prop="零件数量" style="margin-left: 70px">
|
||||||
<el-input v-model="form.零件数量" placeholder="零件数量" size="small" style="width:200px" clearable/>
|
<el-input-number v-model="form.零件数量" :step="1" :min="0" size="mini" style="width:200px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="零件备注" prop="零件备注" style="margin-left: 70px">
|
<el-form-item label="零件备注" prop="零件备注" style="margin-left: 70px">
|
||||||
<el-input v-model="form.零件备注" placeholder="零件备注" size="small" style="width:200px" clearable/>
|
<el-input v-model="form.零件备注" placeholder="零件备注" size="small" style="width:200px" clearable/>
|
||||||
|
|||||||
Reference in New Issue
Block a user