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

iqc检验

parent c450aded
......@@ -53,26 +53,26 @@ export function getpclist(query) {
export function getcheckResult() {
return request({
url: '/mes/qc/iqc/getIqcList/checkResult',
url: '/mes/qc/iqc/getIqcDictList/checkResult',
method: 'get'
})
}
export function getvoucherNoYear() {
return request({
url: '/mes/qc/iqc/getIqcList/voucherNoYear',
url: '/mes/qc/iqc/getIqcDictList/voucherNoYear',
method: 'get'
})
}
export function getcheckStatus() {
return request({
url: '/mes/qc/iqc/getIqcList/checkStatus',
url: '/mes/qc/iqc/getIqcDictList/checkStatus',
method: 'get'
})
}
export function getstatus() {
return request({
url: '/mes/qc/iqc/getIqcList/status',
url: '/mes/qc/iqc/getIqcDictList/status',
method: 'get'
})
}
\ No newline at end of file
......@@ -71,16 +71,10 @@
<el-table v-loading="loading" :data="ipqcList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="检验单编号" width="150px" align="center" prop="iqcCode">
<!-- <template slot-scope="scope">
<el-button type="text" @click="handleView(scope.row)"
v-hasPermi="['mes:qc:ipqc:query']">{{ scope.row.iqcCode }}</el-button>
</template> -->
</el-table-column>
<el-table-column label="检验单编号" width="150px" align="center" prop="iqcCode" />
<el-table-column label="检验类型" align="center" prop="checkStatus">
<template slot-scope="scope">
<dict-tag :options="dict.type.mes_ipqc_type_pc" :value="scope.row.checkStatus" />
{{scope.row.checkStatus ? checkStatusList.find(v => v.dictKey === scope.row.checkStatus)?.dictValue : ''}}
{{checkStatusList.find(v => v.dictKey === scope.row.checkStatus) ? checkStatusList.find(v => v.dictKey === scope.row.checkStatus).dictValue : ''}}
</template>
</el-table-column>
<el-table-column label="物料分类" width="150px" align="center" prop="itemTypeName" />
......@@ -101,7 +95,7 @@
<el-table-column label="检测人员" align="center" prop="inspector" />
<el-table-column label="单据状态" align="center" prop="status">
<template slot-scope="scope">
{{scope.row.status ? statusList.find(v => v.dictKey === scope.row.status)?.dictValue : ''}}
<div>{{statusList.find(v => v.dictKey === scope.row.status) ? statusList.find(v => v.dictKey === scope.row.status).dictValue : ''}}</div>
</template>
</el-table-column>
<el-table-column label="创建人" align="center" prop="createBy" width="100"/>
......
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