创建询价单排序

This commit is contained in:
zhangdingyu
2019-10-17 15:17:05 +08:00
parent 22a916ca23
commit 6f073bf36b
2 changed files with 20 additions and 7 deletions

View File

@@ -34,7 +34,7 @@
<el-divider content-position="right"/>
</div>
</el-card>
<el-row id="Jump">
<el-row id="PurchasingCenter/CreateInquirySheet">
<el-col :span="24">
<el-tabs v-model="tabName" type="border-card" @tab-click="tabClick">
<el-tab-pane label="外购件" name="外购件">
@@ -1068,6 +1068,19 @@ export default {
'id' // 人员编号
])
},
watch: {
// 如果路由有变化,会再次执行该方法
'$route': {
handler(route) {
const _this = this
if (route.name === 'CreateInquirySheet') {
setTimeout(() => {
_this.Jump()
}, 1200)
}
}
}
},
created() {
this.getPerson()
this.fetchData()
@@ -1084,7 +1097,7 @@ export default {
},
methods: {
Jump() {
window.location.hash = '#Jump'
window.location.hash = '#PurchasingCenter/CreateInquirySheet'
},
tiaozheng1() {
if (this.标准件和外购件流水号.length !== 0) {
@@ -1150,7 +1163,7 @@ export default {
})
},
clickCard1(project, machine) {
window.location.hash = '#asd'
window.location.hash = '#PurchasingCenter/CreateInquirySheet'
// var hight = this.$refs.height1.offsetHeight
// document.documentElement.scrollTop = hight + 140
this.projectValue = project
@@ -1173,7 +1186,7 @@ export default {
})
},
clickCard2(project, machine) {
window.location.hash = '#asd'
window.location.hash = '#PurchasingCenter/CreateInquirySheet'
// var hight = this.$refs.height1.offsetHeight
// document.documentElement.scrollTop = hight + 140
this.projectValue = project