创建询价单排序
This commit is contained in:
@@ -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.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
|
export const url = `http://192.168.0.110:8002/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
|
||||||
export const ExcelDownLoad = 'http://192.168.1.231:8411/submit/downloadFile.ashx' // 导出excel
|
export const ExcelDownLoad = 'http://192.168.0.110:8002/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/`
|
||||||
@@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil
|
|||||||
export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx`
|
export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx`
|
||||||
export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
|
export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`,
|
baseURL: `http://192.168.0.110:8002/submit/MESCommonBase.ashx`,
|
||||||
timeout: 1500000 // 请求超时时间
|
timeout: 1500000 // 请求超时时间
|
||||||
})
|
})
|
||||||
export default service
|
export default service
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
<el-divider content-position="right"/>
|
<el-divider content-position="right"/>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-row id="Jump">
|
<el-row id="PurchasingCenter/CreateInquirySheet">
|
||||||
<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="外购件">
|
||||||
@@ -1068,6 +1068,19 @@ export default {
|
|||||||
'id' // 人员编号
|
'id' // 人员编号
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
// 如果路由有变化,会再次执行该方法
|
||||||
|
'$route': {
|
||||||
|
handler(route) {
|
||||||
|
const _this = this
|
||||||
|
if (route.name === 'CreateInquirySheet') {
|
||||||
|
setTimeout(() => {
|
||||||
|
_this.Jump()
|
||||||
|
}, 1200)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getPerson()
|
this.getPerson()
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
@@ -1084,7 +1097,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
Jump() {
|
Jump() {
|
||||||
window.location.hash = '#Jump'
|
window.location.hash = '#PurchasingCenter/CreateInquirySheet'
|
||||||
},
|
},
|
||||||
tiaozheng1() {
|
tiaozheng1() {
|
||||||
if (this.标准件和外购件流水号.length !== 0) {
|
if (this.标准件和外购件流水号.length !== 0) {
|
||||||
@@ -1150,7 +1163,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
clickCard1(project, machine) {
|
clickCard1(project, machine) {
|
||||||
window.location.hash = '#asd'
|
window.location.hash = '#PurchasingCenter/CreateInquirySheet'
|
||||||
// var hight = this.$refs.height1.offsetHeight
|
// var hight = this.$refs.height1.offsetHeight
|
||||||
// document.documentElement.scrollTop = hight + 140
|
// document.documentElement.scrollTop = hight + 140
|
||||||
this.projectValue = project
|
this.projectValue = project
|
||||||
@@ -1173,7 +1186,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
clickCard2(project, machine) {
|
clickCard2(project, machine) {
|
||||||
window.location.hash = '#asd'
|
window.location.hash = '#PurchasingCenter/CreateInquirySheet'
|
||||||
// var hight = this.$refs.height1.offsetHeight
|
// var hight = this.$refs.height1.offsetHeight
|
||||||
// document.documentElement.scrollTop = hight + 140
|
// document.documentElement.scrollTop = hight + 140
|
||||||
this.projectValue = project
|
this.projectValue = project
|
||||||
|
|||||||
Reference in New Issue
Block a user