Blame view

src/api/config/shipment/waveMaster/detail.js 861 Bytes
yuanshuhui authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import request from '@/utils/request'

// 查询波次流明细
export function listMasterDetail(query) {
  return request({
    url: '/config/waveFlowDetail',
    method: 'get',
    params: query
  })
}


// 新增波次流明细
export function addMasterDetail(data) {
  return request({
    url: '/config/waveFlowDetail',
    method: 'post',
    data: data
  })
}

// 根据id查询波次流明细
export function getMasterDetail(id) {
  return request({
    url: '/config/waveFlowDetail/'+id,
    method: 'get'
  })
}

// 修改波次流明细
export function updateMasterDetail(data) {
  return request({
    url: '/config/waveFlowDetail',
    method: 'put',
    data: data
  })
}




// 删除波次流明细
export function delMasterDetail(ids) {
  return request({
yuanshuhui authored
45
46
47
    url: '/config/waveFlowDetail',
    method: 'delete',
    params: {ids:ids}
yuanshuhui authored
48
49
50
51
  })
}