创建采购合同跳转

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

@@ -16,8 +16,8 @@ export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoic
export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement
export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx` export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx`
export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx` export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx`
export const url = `http://192.168.0.110:8002/submit/MESCommonBase.ashx` // 采购件入库、离线件入库 export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
export const ExcelDownLoad = 'http://192.168.0.110:8002/submit/downloadFile.ashx' // 导出excel export const ExcelDownLoad = 'http://192.168.1.231:8411/submit/downloadFile.ashx' // 导出excel
// 技术中心程序发布时要更改下面所有的IP到0段 // 技术中心程序发布时要更改下面所有的IP到0段
export const ServerIP = `http://192.168.1.231:8411/webpage/file/` export const ServerIP = `http://192.168.1.231:8411/webpage/file/`

View File

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