工艺一件保存
This commit is contained in:
@@ -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 MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
|
||||
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 // 请求超时时间
|
||||
})
|
||||
export default service
|
||||
|
||||
@@ -225,6 +225,8 @@ export default {
|
||||
}
|
||||
},
|
||||
getGraphNum() { // 获取下拉图号
|
||||
this.graphNumValue = ''
|
||||
this.graphNum = []
|
||||
this.tableData = []
|
||||
this.total = 0
|
||||
this.GroupNumValue = ''
|
||||
@@ -402,6 +404,13 @@ export default {
|
||||
console.log(this.工艺计划流水号组, this.通用件图号, this.通用件规格, this.工艺员)
|
||||
save2(this.工艺计划流水号组, this.通用件图号, this.通用件规格, this.工艺员).then(response => {
|
||||
console.log(response.data, 231)
|
||||
if (response.data[0].结果 === 'success') {
|
||||
this.$message.success('保存成功')
|
||||
this.PageCurrent = 1
|
||||
this.getTable()
|
||||
} else {
|
||||
this.$message.error('请选择工艺员')
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$message.error('请选择工艺员')
|
||||
|
||||
Reference in New Issue
Block a user