Blame view

src/api/cycle/cycleCountHeader/header.js 978 Bytes
yuanshuhui authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import request from '@/utils/request'

// 查询盘点主表列表
export function listCycleCountHeader(query) {
  return request({
    url: '/cycle/cycleCountHeader/cycleCountHeaderLook',
    method: 'get',
    params: query
  })
}

// 新增盘点主表
export function addCycleCountHeader(data) {
  return request({
    url: '/cycle/cycleCountHeader/add',
    method: 'post',
    data: data
  })
}
yuanshuhui authored
21
22
23
24
25
26
27
28
29
// 差异复盘
export function createCyclecountWithGapQty(cycleCountHeadCode) {
  return request({
    url: '/cycle/cycleCountHeader/createCyclecountWithGapQty',
    method: 'post',
    params: {cycleCountHeadCode}
  })
}
yuanshuhui authored
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// 生成调整单
export function goAdjust(id) {
    return request({
      url: '/cycle/cycleCountHeader/goAdjust',
      method: 'post',
      params: {id}
    })
  }

// 删除盘点主表
export function delCycleCountHeader(ids) {
  return request({
    url: '/cycle/cycleCountHeader',
    method: 'delete',
    params: {ids:ids.toString()}
  })
}