This commit is contained in:
parent
14b248fd21
commit
4fead746ce
|
|
@ -2,14 +2,15 @@ import request from '@/utils/request'
|
|||
|
||||
// 登录方法 - 调试使用 - 产线环境需注释
|
||||
export function login(data) {
|
||||
// return false
|
||||
return request({
|
||||
// url: '/auth/login',
|
||||
// headers: {
|
||||
// isToken: false,
|
||||
// repeatSubmit: false
|
||||
// },
|
||||
// method: 'post',
|
||||
// data
|
||||
url: '/auth/login',
|
||||
headers: {
|
||||
isToken: false,
|
||||
repeatSubmit: false
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,3 +80,12 @@ export function getSelectPartListApi(query) {
|
|||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 配件库存
|
||||
export function getPartPersonNumApi(data){
|
||||
return request({
|
||||
url: '/material/complex_query/getPartPersonNum',
|
||||
method: 'get',
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -834,6 +834,7 @@ export default {
|
|||
leaseLoading: false,
|
||||
taskType: '',
|
||||
currentRow: {},
|
||||
oldTypeId: '',
|
||||
allNum: null,
|
||||
}
|
||||
},
|
||||
|
|
@ -1143,7 +1144,8 @@ export default {
|
|||
leaseProject: this.currentRow.leaseProject,
|
||||
leaseProjectId: this.currentRow.leaseProjectId,
|
||||
taskId: this.currentRow.taskId,
|
||||
code: this.currentRow.code
|
||||
code: this.currentRow.code,
|
||||
oldTypeId:row.oldTypeId
|
||||
}
|
||||
console.log('row', row)
|
||||
console.log('[obj]', [obj])
|
||||
|
|
@ -1162,6 +1164,7 @@ export default {
|
|||
this.outQuery.maStatus = 1
|
||||
this.outQuery.code = this.currentRow.code
|
||||
this.outObj = row
|
||||
this.oldTypeId=row.oldTypeId
|
||||
this.handleOutQuery()
|
||||
},
|
||||
|
||||
|
|
@ -1216,6 +1219,7 @@ export default {
|
|||
this.maCodeList.forEach(item => {
|
||||
item.code = this.currentRow.code
|
||||
item.keyId = this.keyId
|
||||
item.oldTypeId=this.oldTypeId
|
||||
})
|
||||
let param = { leaseOutDetailsList: this.maCodeList }
|
||||
submitOut(param).then(response => {
|
||||
|
|
|
|||
|
|
@ -35,14 +35,15 @@ module.exports = {
|
|||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
target: `http://sgwpdm.ah.sgcc.com.cn/iws/jiju-api`, // 产线
|
||||
// target: `http://sgwpdm.ah.sgcc.com.cn/iws/jiju-api`, // 产线
|
||||
// target: `http://192.168.0.96:18080`,//马
|
||||
// target: `http://192.168.0.244:18580`,//测试
|
||||
// target: `http://192.168.2.223:18080`,//山
|
||||
// target: `http://192.168.2.23:18080`,//洪
|
||||
// target: `http://192.168.0.234:18080`, //阮
|
||||
// target: `http://192.168.137.1:18080`,//
|
||||
// target: `http://192.168.0.15:18080`, // 韩傲宇
|
||||
// target: `http://172.20.10.9:18080`, // 韩傲宇
|
||||
target: `http://192.168.1.115:18080`, // 韩傲宇
|
||||
// target: `http://192.168.0.60:18080`, // 赵福海
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue