Merge branch 'master' of ssh://123.56.95.229:29418/高精
This commit is contained in:
@@ -458,27 +458,27 @@ export default {
|
||||
'id'
|
||||
])
|
||||
},
|
||||
watch: {
|
||||
// 如果路由有变化,会再次执行该方法
|
||||
'$route'(to) {
|
||||
const _this = this
|
||||
console.log(to, 2222)
|
||||
if (to.name === 'InitialProduction') {
|
||||
_this.typeChange()
|
||||
}
|
||||
}
|
||||
// '$route': {
|
||||
// handler(route) {
|
||||
// const _this = this
|
||||
// console.log(route.name)
|
||||
// if (route.name === 'InitialProduction') {
|
||||
// _this.typeChange()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
},
|
||||
// watch: {
|
||||
// // 如果路由有变化,会再次执行该方法
|
||||
// '$route'(to) {
|
||||
// const _this = this
|
||||
// console.log(to, 2222)
|
||||
// if (to.name === 'InitialProduction') {
|
||||
// _this.typeChange()
|
||||
// }
|
||||
// }
|
||||
// // '$route': {
|
||||
// // handler(route) {
|
||||
// // const _this = this
|
||||
// // console.log(route.name)
|
||||
// // if (route.name === 'InitialProduction') {
|
||||
// // _this.typeChange()
|
||||
// // }
|
||||
// // }
|
||||
// // }
|
||||
// },
|
||||
created() {
|
||||
// this.typeChange()
|
||||
this.typeChange()
|
||||
this.getCurrentTime()
|
||||
this.getNowTime()
|
||||
},
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</el-select>
|
||||
<el-input v-model="Partpaint" placeholder="零件号" clearable size="small" style="width: 180px;margin:0px 10px;"/>
|
||||
<el-button type="success" class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button>
|
||||
<el-button :disabled="Name===1" type="success" class="el-icon-finished" size="small" style="margin-left: 220px;background-color: green" @click="submit">完成</el-button>
|
||||
<el-button :disabled="Name===1" type="baocun" class="el-icon-finished" size="small" style="margin-left: 220px" @click="submit">完成</el-button>
|
||||
</el-card>
|
||||
<el-row>
|
||||
<el-card style="width: 50%; float: left">
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
height="750"
|
||||
highlight-current-row
|
||||
border
|
||||
stripe
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column align="center" type="selection"/>
|
||||
<el-table-column align="center" label="零件号" prop="零件号" width="160">
|
||||
|
||||
Reference in New Issue
Block a user