Commit c450aded authored by 沈翠玲's avatar 沈翠玲

增加iqc检验

parent 9a2c565a
...@@ -42,3 +42,37 @@ export function delIqc(iqcId) { ...@@ -42,3 +42,37 @@ export function delIqc(iqcId) {
method: 'delete' method: 'delete'
}) })
} }
export function getpclist(query) {
return request({
url: '/mes/qc/iqc/pclist',
method: 'post',
data: query
})
}
export function getcheckResult() {
return request({
url: '/mes/qc/iqc/getIqcList/checkResult',
method: 'get'
})
}
export function getvoucherNoYear() {
return request({
url: '/mes/qc/iqc/getIqcList/voucherNoYear',
method: 'get'
})
}
export function getcheckStatus() {
return request({
url: '/mes/qc/iqc/getIqcList/checkStatus',
method: 'get'
})
}
export function getstatus() {
return request({
url: '/mes/qc/iqc/getIqcList/status',
method: 'get'
})
}
\ No newline at end of file
...@@ -816,8 +816,11 @@ export default { ...@@ -816,8 +816,11 @@ export default {
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
const params = JSON.parse(JSON.stringify(this.queryParams))
delete params.pageNum
delete params.pageSize
this.download('/mes/pro/ProWorkOrderArrangeRule/export', { this.download('/mes/pro/ProWorkOrderArrangeRule/export', {
...this.queryParams ...params
}, `ProWorkOrderArrangeRule_${new Date().getTime()}.xlsx`) }, `ProWorkOrderArrangeRule_${new Date().getTime()}.xlsx`)
}, },
/** 导入按钮操作 */ /** 导入按钮操作 */
......
...@@ -622,8 +622,11 @@ export default { ...@@ -622,8 +622,11 @@ export default {
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download('qc/ipqc/export', { const queryParams = JSON.parse(JSON.stringify(this.queryParams))
...this.queryParams delete queryParams.pageNum
delete queryParams.pageSize
this.download('mes/qc/ipqc/export', {
...queryParams
}, `ipqc_${new Date().getTime()}.xlsx`) }, `ipqc_${new Date().getTime()}.xlsx`)
}, },
//选择生产工单 //选择生产工单
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment