更新
This commit is contained in:
38
src/api/WorkshopProcurement/AccountingPrice.js
Normal file
38
src/api/WorkshopProcurement/AccountingPrice.js
Normal 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}`
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user