创建采购合同跳转

This commit is contained in:
zhangdingyu
2019-10-17 14:53:48 +08:00
parent d6aa57bec9
commit 22a916ca23
2 changed files with 17 additions and 7 deletions

View File

@@ -34,7 +34,7 @@
<el-divider content-position="right"/>
</div>
</el-card>
<el-row>
<el-row id="Jump">
<el-col :span="24">
<el-tabs v-model="tabName" type="border-card" @tab-click="tabClick">
<el-tab-pane label="外购件" name="外购件">
@@ -1077,7 +1077,15 @@ export default {
this.searchUnBuyPartNumber()
this.initDirection()
},
mounted() {
setTimeout(() => {
this.Jump()
}, 500)
},
methods: {
Jump() {
window.location.hash = '#Jump'
},
tiaozheng1() {
if (this.标准件和外购件流水号.length !== 0) {
if (this.PersonValue) {
@@ -1142,8 +1150,9 @@ export default {
})
},
clickCard1(project, machine) {
var hight = this.$refs.height1.offsetHeight
document.documentElement.scrollTop = hight + 140
window.location.hash = '#asd'
// var hight = this.$refs.height1.offsetHeight
// document.documentElement.scrollTop = hight + 140
this.projectValue = project
this.machine = []
this.machineValue = ''
@@ -1164,8 +1173,9 @@ export default {
})
},
clickCard2(project, machine) {
var hight = this.$refs.height1.offsetHeight
document.documentElement.scrollTop = hight + 140
window.location.hash = '#asd'
// var hight = this.$refs.height1.offsetHeight
// document.documentElement.scrollTop = hight + 140
this.projectValue = project
this.machine = []
this.machineValue = ''