From 22a916ca233bd8253a49c5288aa01db42920c156 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Thu, 17 Oct 2019 14:53:48 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E9=87=87=E8=B4=AD=E5=90=88?=
=?UTF-8?q?=E5=90=8C=E8=B7=B3=E8=BD=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/request.js | 4 ++--
.../CreateInquirySheet/index.vue | 20 ++++++++++++++-----
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index da3f9d7b..56ffd77d 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -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 uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.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 ExcelDownLoad = 'http://192.168.0.110:8002/submit/downloadFile.ashx' // 导出excel
+export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
+export const ExcelDownLoad = 'http://192.168.1.231:8411/submit/downloadFile.ashx' // 导出excel
// 技术中心程序发布时要更改下面所有的IP到0段
export const ServerIP = `http://192.168.1.231:8411/webpage/file/`
diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
index 6cfa1094..5c583e5d 100644
--- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue
+++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue
@@ -34,7 +34,7 @@
-
+
@@ -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 = ''