自制件加序
This commit is contained in:
@@ -80,8 +80,7 @@ export function getTable(checkbox_Machine, Machine, checkbox_Group, Group, check
|
|||||||
ModularID: router.currentRoute.path,
|
ModularID: router.currentRoute.path,
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程_新',
|
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_横向赋值新建存储过程_新',
|
||||||
param: '项目流水号_check=0=string&机床流水号_check=' + checkbox_Machine + '=string&机床流水号=' + Machine + '=string&组件流水号_check=' + checkbox_Group + '=string&组件流水号=' + Group + '=string&零件图号_check=' + checkbox_number + '=string&零件图号=' + number + '=string&是否查询全部数据=1=string&单件是否外协=1=string&考核状态=6=int&开始时间_check=0&开始时间=' + k + '&结束时间_check=0&结束时间=' + m,
|
param: '项目流水号_check=0=string&机床流水号_check=' + checkbox_Machine + '=string&机床流水号=' + Machine + '=string&组件流水号_check=' + checkbox_Group + '=string&组件流水号=' + Group + '=string&零件图号_check=' + checkbox_number + '=string&零件图号=' + number + '=string&是否查询全部数据=1=string&单件是否外协=1=string&考核状态=6=int&开始时间_check=0&开始时间=' + k + '&结束时间_check=0&结束时间=' + m + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
|
||||||
Pagination: pageCurrent + '&' + pageSize
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -443,24 +443,24 @@ export default {
|
|||||||
this.checkbox_number = 1
|
this.checkbox_number = 1
|
||||||
}
|
}
|
||||||
getTable(this.checkbox_Machine, this.Machine, this.checkbox_Group, this.Group, this.checkbox_number, this.number, this.startTime, this.endTime, this.pageCurrent, this.pageSize).then(response => {
|
getTable(this.checkbox_Machine, this.Machine, this.checkbox_Group, this.Group, this.checkbox_number, this.number, this.startTime, this.endTime, this.pageCurrent, this.pageSize).then(response => {
|
||||||
if (response.data.rows.length !== 0) {
|
if (response.data.result.length !== 0) {
|
||||||
for (let i = 0; i < response.data.rows.length; i++) {
|
for (let i = 0; i < response.data.result.length; i++) {
|
||||||
this.tableData.push({
|
this.tableData.push({
|
||||||
工艺计划流水号: response.data.rows[i].工艺计划流水号,
|
工艺计划流水号: response.data.result[i].工艺计划流水号,
|
||||||
考核状态: response.data.rows[i].考核状态,
|
考核状态: response.data.result[i].考核状态,
|
||||||
序号: response.data.rows[i].序号,
|
序号: response.data.result[i].序号,
|
||||||
跟单号: response.data.rows[i].跟单号,
|
跟单号: response.data.result[i].跟单号,
|
||||||
零件图号: response.data.rows[i].零件图号,
|
零件图号: response.data.result[i].零件图号,
|
||||||
零件名称: response.data.rows[i].零件名称,
|
零件名称: response.data.result[i].零件名称,
|
||||||
加工数: response.data.rows[i].完成数量, // MES里采集 现在没有
|
加工数: response.data.result[i].完成数量, // MES里采集 现在没有
|
||||||
投产数量: response.data.rows[i].批次数量,
|
投产数量: response.data.result[i].批次数量,
|
||||||
完成日期: response.data.rows[i].机加工实际完成时间 ? response.data.rows[i].机加工实际完成时间.split(' ')[0] : '', // 排产时间
|
完成日期: response.data.result[i].机加工实际完成时间 ? response.data.result[i].机加工实际完成时间.split(' ')[0] : '', // 排产时间
|
||||||
计划结束时间: response.data.rows[i].机加工结束时间 ? response.data.rows[i].机加工结束时间.split(' ')[0] : '',
|
计划结束时间: response.data.result[i].机加工结束时间 ? response.data.result[i].机加工结束时间.split(' ')[0] : '',
|
||||||
客户名称: response.data.rows[i].客户名称 // 客户名
|
客户名称: response.data.result[i].客户名称 // 客户名
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.total = response.data.total
|
this.total = parseInt(response.data.output[0].ItemCount)
|
||||||
this.loading0 = false
|
this.loading0 = false
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.loading0 = false
|
this.loading0 = false
|
||||||
|
|||||||
Reference in New Issue
Block a user