This commit is contained in:
liushuai
2018-12-28 12:29:43 +08:00
parent b12546fb64
commit 75981dca52
11 changed files with 251 additions and 64 deletions

View File

@@ -0,0 +1,38 @@
import request from '@/utils/request'
// 初始化合同
export function initPayState() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件外购质检_合同查询'
}
})
}
// 查询表1
export function searchParts(pageCurrent, pageSize, check1, num, check2, name) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件外购质检_查询数据',
param: `采购合同流水号_check=${check1}&采购合同流水号=${num}&供应商名称_check=${check2}&供应商名称=${name}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 保存
export function Preservation(id, num, num1) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间管理_核算总额_编辑数据',
param: `请购单明细流水号组=${id}&核算总额组=${num}&核算单价组=${num1}`
}
})
}