|
|
|
@ -25,7 +25,11 @@
|
|
|
|
|
<el-table-column label="产品名称" align="materialName" prop="name" min-width="120" />
|
|
|
|
|
<el-table-column label="规格/型号" align="center" prop="spec" min-width="120" />
|
|
|
|
|
<el-table-column label="报工人" align="center" prop="ownerName" min-width="120" />
|
|
|
|
|
<el-table-column label="报工日期" align="center" prop="reportTime" min-width="120" />
|
|
|
|
|
<el-table-column label="报工日期" align="center" prop="reportTime" min-width="220" >
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
{{ formatDate(scope.row.reportTime, 'YYYY-MM-DD HH:mm') }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="报工工序" align="center" prop="procedureName" min-width="120" />
|
|
|
|
|
<el-table-column label="报工工时" align="center" prop="workTime" min-width="120" />
|
|
|
|
|
<el-table-column label="报工数量" align="center" prop="amount" min-width="120" />
|
|
|
|
@ -59,6 +63,7 @@
|
|
|
|
|
<UserDialog ref="userDialogref" @success="handleuserClick" />
|
|
|
|
|
</template>
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { formatDate } from '@/utils/formatTime'
|
|
|
|
|
import { getIntDictOptions, getStrDictOptions, DICT_TYPE, getDictLabel } from '@/utils/dict'
|
|
|
|
|
import { CommonStatusEnum } from '@/utils/constants'
|
|
|
|
|
import { FormRules } from 'element-plus'
|
|
|
|
|