|
|
|
@ -47,31 +47,46 @@
|
|
|
|
|
<ContentWrap>
|
|
|
|
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" class="hl-table">
|
|
|
|
|
<el-table-column fixed type="index" width="100" label="序号" align="center" />
|
|
|
|
|
<!-- 生产订单号 -->
|
|
|
|
|
<el-table-column fixed label="生产订单号" align="center" prop="projectCode" min-width="220" />
|
|
|
|
|
<el-table-column label="客户名称" align="center" prop="customerName" min-width="160" />
|
|
|
|
|
<!-- 产品编码 -->
|
|
|
|
|
<el-table-column label="产品编码" align="center" prop="projectSubCode" min-width="260" />
|
|
|
|
|
<!-- 产品名称 -->
|
|
|
|
|
<el-table-column label="产品名称" align="center" prop="projectSubName" min-width="180" />
|
|
|
|
|
<!-- 新增生产车间 -->
|
|
|
|
|
<el-table-column label="生产车间" align="center" prop="materialName" min-width="160" />
|
|
|
|
|
<el-table-column fixed="right" label="质检类型" align="center" prop="type" min-width="140">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :type="DICT_TYPE.BIZ_INSPECTION_TYPE" :value="scope.row.type" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!--7/3 增加字段::规格型号、生产总数、检验数量、不合格详细描述、解决方案、处罚意见 -->
|
|
|
|
|
<el-table-column label="规格型号" align="center" prop="spec" min-width="140" />
|
|
|
|
|
<el-table-column label="生产总数" align="center" prop="productAmount" min-width="140" />
|
|
|
|
|
<el-table-column label="检验数量" align="center" prop="checkAmount" min-width="140" />
|
|
|
|
|
<el-table-column label="不合格详细描述" align="center" prop="remark" min-width="140" />
|
|
|
|
|
<el-table-column label="解决方案" align="center" prop="solutioncontent" min-width="140" />
|
|
|
|
|
<el-table-column label="处罚意见" align="center" prop="punishmentopinion" min-width="140" />
|
|
|
|
|
<el-table-column fixed="right" label="异常数量" align="center" prop="statisticAmount" min-width="140" />
|
|
|
|
|
<el-table-column fixed="right" label="审核意见" align="center" prop="auditOpinion" min-width="120">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :type="DICT_TYPE.BIZ_UNQUALIFIED_NOTIFICATION_OPINION" :value="scope.row.auditOpinion" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column fixed="right" label="操作" align="center" min-width="120">
|
|
|
|
|
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-button link type="primary" @click="openDetail('updata', scope.row.id)">
|
|
|
|
|
编辑
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button link type="primary" @click="openDetail('detail', scope.row.id)">
|
|
|
|
|
查看详情
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- 分页 -->
|
|
|
|
|
<Pagination :total="total" v-model:page="queryParams.pageNo" v-model:limit="queryParams.pageSize" @pagination="getList" />
|
|
|
|
|
</ContentWrap>
|
|
|
|
|
</el-card>
|
|
|
|
|
<!-- <StatisticDialog ref="Statisticref" @success="getList" /> -->
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
@ -80,6 +95,7 @@ import * as UnqualifiedNotificationApi from '@/api/biz/unqualifiednotification'
|
|
|
|
|
import { useCommonStore } from '@/store/modules/common'
|
|
|
|
|
import { getUnqualifiedNotificationStatisticPage } from '@/api/biz/unqualifiednotification'
|
|
|
|
|
import WorkshopSelect from '@/views/biz/hlvuestyle/workshopSelect.vue'
|
|
|
|
|
// import StatisticDialog from './statisticDialog.vue'
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'UnqualifiedNotificationStatistic' })
|
|
|
|
|
|
|
|
|
@ -149,4 +165,9 @@ onMounted(() => {
|
|
|
|
|
const handleSelectedWorkshop = (newValue: any) => {
|
|
|
|
|
queryParams.workshopId = newValue?.id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const Statisticref = ref()
|
|
|
|
|
const openDetail = (type: string, id: number) => {
|
|
|
|
|
Statisticref.value.open(type, id)
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|