代码优化
This commit is contained in:
parent
2362c26ef5
commit
3fa5b9a7ed
|
|
@ -177,9 +177,9 @@ export function backReceiveRecordWeb(data) {
|
||||||
|
|
||||||
export function backReceiveRecordWebPt(data) {
|
export function backReceiveRecordWebPt(data) {
|
||||||
return request({
|
return request({
|
||||||
url: 'material/base/backReceive/backReceiveRecordWebPt ',
|
url: 'material/base/backReceive/backReceiveRecordWebPt',
|
||||||
method: 'get',
|
method: 'post',
|
||||||
params: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -760,7 +760,7 @@ export default {
|
||||||
getUserByRoleList({ roleId: '101' }).then((response) => {
|
getUserByRoleList({ roleId: '101' }).then((response) => {
|
||||||
this.keeperList = response.data
|
this.keeperList = response.data
|
||||||
})
|
})
|
||||||
getUserByRoleList({ roleId: '102' }).then((response) => {
|
getUserByRoleList({ roleIds: [133, 134] }).then((response) => {
|
||||||
this.repairUserList = response.data
|
this.repairUserList = response.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -791,7 +791,7 @@ export default {
|
||||||
console.log(response, '库管员')
|
console.log(response, '库管员')
|
||||||
this.keeperList = response.data
|
this.keeperList = response.data
|
||||||
})
|
})
|
||||||
getUserByRoleList().then((response) => {
|
getUserByRoleList({ roleIds: [133, 134] }).then((response) => {
|
||||||
console.log(response, '维修员')
|
console.log(response, '维修员')
|
||||||
this.repairUserList = response.data
|
this.repairUserList = response.data
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -605,7 +605,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
/** 查询用户列表--采购员 */
|
/** 查询用户列表--采购员 */
|
||||||
getUserList() {
|
getUserList() {
|
||||||
getUserByRoleList({ roleId: 152 }).then((response) => {
|
getUserByRoleList({ roleIds: [152] }).then((response) => {
|
||||||
this.userList = response.data
|
this.userList = response.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -414,7 +414,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
/** 查询用户列表--采购员 */
|
/** 查询用户列表--采购员 */
|
||||||
getUserList() {
|
getUserList() {
|
||||||
getUserByRoleList({ roleId: 152 }).then((response) => {
|
getUserByRoleList({ roleIds: [152] }).then((response) => {
|
||||||
this.userList = response.data
|
this.userList = response.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Reference in New Issue