You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.2 KiB
59 lines
1.2 KiB
12 months ago
|
import request from '@/utils/request'
|
||
|
let tokens = window.sessionStorage.getItem('token');
|
||
|
export default {
|
||
|
|
||
|
// 查询分页列表
|
||
|
listPage: function(params) {
|
||
|
return request({
|
||
|
url: '/oms/apiadmin/purchasebill/exlistPage',
|
||
|
method: 'post',
|
||
|
data: params,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json',
|
||
|
'token': tokens
|
||
|
}
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 采购明细
|
||
|
fetchDetailsBySid: function(data) {
|
||
|
return request({
|
||
|
url: '/oms/apiadmin/purchasebill/fetchDetailsBySid/' + data,
|
||
|
method: 'get',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json',
|
||
|
'token': tokens
|
||
|
}
|
||
|
})
|
||
|
},
|
||
|
|
||
|
// 查询操作记录信息
|
||
|
operationrecordDetails: function(data) {
|
||
|
return request({
|
||
|
url: '/oms/apiadmin/purchaseflownode/listPage',
|
||
|
method: 'post',
|
||
|
params: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
});
|
||
|
},
|
||
|
|
||
|
// 采购订单- 审核
|
||
|
examine: function(data) {
|
||
|
return request({
|
||
|
url: '/oms/apiadmin/purchasebill/examine',
|
||
|
method: 'post',
|
||
|
params: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json',
|
||
|
'token': tokens
|
||
|
}
|
||
|
})
|
||
|
},
|
||
|
|
||
|
|
||
|
|
||
|
}
|