外协执行编辑已提交
This commit is contained in:
@@ -13,51 +13,26 @@ export function searchtable(check1, ManufacturerAbbreviation, check2, starttime,
|
||||
}
|
||||
})
|
||||
}
|
||||
// 修改实际付款日期
|
||||
export function payTime(num, time) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '车间生产管理_外协加工任务单_修改数据_实际付款时间',
|
||||
param: '外协加工任务单流水号=' + num + '&实际付款时间=' + time
|
||||
}
|
||||
})
|
||||
}
|
||||
// 修改扣款数据、扣款说明
|
||||
export function WithdrawingEdit(num, quality, Explain) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '车间生产管理_外协扣款_编辑数据',
|
||||
param: '外协加工任务单流水号=' + num + '&扣款_质量=' + quality + '&扣款说明=' + Explain
|
||||
}
|
||||
})
|
||||
}
|
||||
// 单据状态: 1 未成交 2 成交 3 作废
|
||||
export function payment(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '车间生产管理_外协加工任务单_修改数据_作废',
|
||||
param: '外协加工任务单流水号=' + num + '&单据状态=3'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 查询零件信息
|
||||
export function getParts(check, Number, pageCurrent, pageSize) {
|
||||
export function getInvoice(Number, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_外协发票管理_查询数据',
|
||||
param: '外协厂家流水号_check=' + check + '&外协厂家流水号=' + Number + '=int',
|
||||
param: '外协厂家流水号_check=1&外协厂家流水号=' + Number,
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
}
|
||||
})
|
||||
}
|
||||
export function getPayment(Number, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_外协付款记录_查询数据',
|
||||
param: '外协厂家流水号=' + Number,
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
}
|
||||
})
|
||||
|
||||
@@ -12,14 +12,14 @@ export function initOutHelp() {
|
||||
})
|
||||
}
|
||||
// 初始化获取已生成的外协加工任务单
|
||||
export function getTable(checked, contractNumber, checked1, manufacturers, checked2, time1, time2, num, pageCurrent, pageSize, documentStatus, num3) {
|
||||
export function getTable(checked, contractNumber, checked1, manufacturers, checked2, time1, time2, num, pageCurrent, pageSize, documentStatus, num3, check) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间生产管理_外协加工任务单_查询数据',
|
||||
param: '外协加工任务单_check=0&外协加工任务单流水号=null&表单号_check=' + checked + '&表单号=' + contractNumber + '&外协厂家_check=' + checked1 + '&外协厂家=' + manufacturers + '&任务下达日期_时间段=' + checked2 + '&开始时间=' + time1 + '&结束时间=' + time2 + '&单据状态_check=' + num3 + '&单据状态=' + documentStatus + '&外协员编号_check=0&外协员编号=' + num,
|
||||
name: '车间生产管理_外协加工任务单_查询数据_2020',
|
||||
param: '外协加工任务单_check=0&外协加工任务单流水号=null&表单号_check=' + checked + '&表单号=' + contractNumber + '&外协厂家_check=' + checked1 + '&外协厂家=' + manufacturers + '&任务下达日期_时间段=' + checked2 + '&开始时间=' + time1 + '&结束时间=' + time2 + '&单据状态_check=' + num3 + '&单据状态=' + documentStatus + '&外协员编号_check=0&外协员编号=' + num + '&查询历史_check=' + check,
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user