将车间采购分为基本件和外购件两张表
This commit is contained in:
@@ -118,19 +118,30 @@ export function searchDetailed(num) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_请购单明细_查询数据',
|
||||
name: '车间管理_基本件采购_请购单明细_查询数据_外购件',
|
||||
param: '请购单流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
export function purchaseRequisition(RequisitionList, projectName, projectFloatValue, MachineToolNumber, machineFloatValue, groupName, groupFloatValue, BasicPartsNumber, MaterialName, NumberOfParts, PartType, time, MaterialNum) {
|
||||
export function searchDetailed1(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_请购单明细_查询数据_基本件',
|
||||
param: '请购单流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
export function purchaseRequisition(RequisitionList, projectName, projectFloatValue, MachineToolNumber, machineFloatValue, groupName, groupFloatValue, BasicPartsNumber, MaterialName, PartToolNumber, Material, NumberOfParts, PartType, time, MaterialNum) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单明细_请购',
|
||||
param: '请购单流水号=' + RequisitionList + '&项目名称=' + projectName + '&项目流水号=' + projectFloatValue + '&机床图号=' + MachineToolNumber + '&机床流水号=' + machineFloatValue + '&组号=' + groupName + '&组件流水号=' + groupFloatValue + '&基本件流水号=' + BasicPartsNumber + '&物料名称=' + MaterialName + '&零件数量=' + NumberOfParts + '&零件类型=' + PartType + '&物料计划到货时间=' + time + '&物料流水号=' + MaterialNum
|
||||
param: '请购单流水号=' + RequisitionList + '&项目名称=' + projectName + '&项目流水号=' + projectFloatValue + '&机床图号=' + MachineToolNumber + '&机床流水号=' + machineFloatValue + '&组号=' + groupName + '&组件流水号=' + groupFloatValue + '&基本件流水号=' + BasicPartsNumber + '&物料名称=' + MaterialName + '&零件图号=' + PartToolNumber + '&材料=' + Material + '&零件数量=' + NumberOfParts + '&零件类型=' + PartType + '&物料计划到货时间=' + time + '&物料流水号=' + MaterialNum
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -31,7 +31,19 @@ export function searchArrivalNum(num) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_合同物料到货情况_查询数据',
|
||||
name: '车间管理_合同物料到货情况_查询数据_外购件',
|
||||
param: `采购合同流水号=${num}`
|
||||
}
|
||||
})
|
||||
}
|
||||
// 查询到货情况
|
||||
export function searchArrivalNum1(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_合同物料到货情况_查询数据_基本件',
|
||||
param: `采购合同流水号=${num}`
|
||||
}
|
||||
})
|
||||
|
||||
@@ -44,6 +44,28 @@ export function searchData(num) {
|
||||
}
|
||||
})
|
||||
}
|
||||
export function searchData1(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_请购单明细_查询数据_外购件',
|
||||
param: '请购单流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
export function searchData2(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_请购单明细_查询数据_基本件',
|
||||
param: '请购单流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 初始化付款时间节点
|
||||
export function initPayTimeNode() {
|
||||
return request({
|
||||
@@ -116,14 +138,14 @@ export function searchSheetContract(num1) {
|
||||
})
|
||||
}
|
||||
// 生成采购合同
|
||||
export function doneContract(num1, RequisitionNumber, name1, time1, time2, method, num2, text, freight, num3, partsNum, priceGroup, dayGroup, payGroup, planGroup, taxGroup, currency, num4, id) {
|
||||
export function doneContract(num1, RequisitionNumber, name1, time1, time2, method, num2, text, freight, num3, partsNum, priceGroup, payGroup, planGroup, taxGroup, currency, num4, id) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '车间管理_基本件采购_请购单和请购单明细_增加数据',
|
||||
param: `请购单流水号=${num1}&请购单编号=${RequisitionNumber}&采购合同名称=${name1}&预到货时间=${time1}&规定到货时间=${time2}&付款方式=${method}&采购员=${id}&供应商流水号=${num2}&合同文本=${text}&运费=${freight}&物料流水号组=${num3}&请购单明细流水号组=${num4}&数量组=${partsNum}&单价组=${priceGroup}&发货天数组=${dayGroup}&付款比例组=${payGroup}&计划付款时间组=${planGroup}&税率组=${taxGroup}&币种流水号组=${currency}`
|
||||
param: `请购单流水号=${num1}&请购单编号=${RequisitionNumber}&采购合同名称=${name1}&预到货时间=${time1}&规定到货时间=${time2}&付款方式=${method}&采购员=${id}&供应商流水号=${num2}&合同文本=${text}&运费=${freight}&物料流水号组=${num3}&请购单明细流水号组=${num4}&数量组=${partsNum}&单价组=${priceGroup}&付款比例组=${payGroup}&计划付款时间组=${planGroup}&税率组=${taxGroup}&币种流水号组=${currency}`
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -43,7 +43,19 @@ export function searchTable2(num) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同明细_查询数据',
|
||||
name: '车间采购管理_采购合同_查询数据_外购件',
|
||||
param: '采购合同流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 采购合同明细查询
|
||||
export function searchTable3(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同_查询数据_基本件',
|
||||
param: '采购合同流水号=' + num
|
||||
}
|
||||
})
|
||||
|
||||
@@ -43,7 +43,19 @@ export function searchTable2(num) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同明细_查询数据',
|
||||
name: '车间采购管理_采购合同_查询数据_外购件',
|
||||
param: '采购合同流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 采购合同明细查询
|
||||
export function searchTable3(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同_查询数据_基本件',
|
||||
param: '采购合同流水号=' + num
|
||||
}
|
||||
})
|
||||
|
||||
@@ -30,7 +30,19 @@ export function searchProjectTotal1(num) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_项目总价_明细_查询数据',
|
||||
name: '车间采购管理_项目总价_明细_查询数据_外购件',
|
||||
param: `项目流水号=${num}`
|
||||
}
|
||||
})
|
||||
}
|
||||
// 初始化项目金额统计表
|
||||
export function searchProjectTotal2(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_项目总价_明细_查询数据_基本件',
|
||||
param: `项目流水号=${num}`
|
||||
}
|
||||
})
|
||||
|
||||
@@ -54,7 +54,19 @@ export function searchTable2(num) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同明细_查询数据',
|
||||
name: '车间采购管理_采购合同_查询数据_外购件',
|
||||
param: '采购合同流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 采购合同明细查询
|
||||
export function searchTable5(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同_查询数据_基本件',
|
||||
param: '采购合同流水号=' + num
|
||||
}
|
||||
})
|
||||
@@ -79,7 +91,18 @@ export function searchTable4(num) {
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同明细变更_查询数据',
|
||||
name: '车间采购管理_采购合同明细变更_查询数据_外购件',
|
||||
param: '采购合同变更流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
export function searchTable6(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同明细变更_查询数据_基本件',
|
||||
param: '采购合同变更流水号=' + num
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user