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

iqc检验

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