报工记录

master
A0010407 1 year ago
parent 6c85307a16
commit 8e88153d39

@ -1,6 +1,6 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="88px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="98px">
<el-form-item label="报工单编号" prop="reportCode"> <el-form-item label="报工单编号" prop="reportCode">
<el-input <el-input
v-model="queryParams.reportCode" v-model="queryParams.reportCode"
@ -17,15 +17,31 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="报工时间" prop="feedbackTime"> <el-form-item label="生产工单编码" prop="workorderCode">
<el-date-picker clearable <el-input
v-model="queryParams.feedbackTime" v-model="queryParams.workorderCode"
type="date" placeholder="请输入生产工单编码"
value-format="yyyy-MM-dd" clearable
placeholder="请选择报工时间"> @keyup.enter.native="handleQuery"
</el-date-picker> />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item label="产品编码" prop="productCode">
<el-input
v-model="queryParams.productCode"
placeholder="请输入产品编码"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item label="产品名称" prop="productName">
<el-input
v-model="queryParams.productName"
placeholder="请输入产品名称"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
</el-form-item> </el-form-item>
@ -87,10 +103,10 @@
>{{scope.row.reportCode}}</el-button> >{{scope.row.reportCode}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="报工类型" align="center" prop="reportType" /> <el-table-column label="报工类型" align="center" prop="reportType" width="150"/>
<el-table-column label="生产工单编码" align="center" prop="workorderCode" width="100"/> <el-table-column label="生产工单编码" align="center" prop="workorderCode" width="200"/>
<el-table-column label="产品编码" align="center" prop="productCode" /> <el-table-column label="产品编码" align="center" prop="productCode" width="200"/>
<el-table-column label="产品名称" align="center" prop="productName" /> <el-table-column label="产品名称" align="center" prop="productName" width="200"/>
<el-table-column label="规格型号" align="center" prop="spec" /> <el-table-column label="规格型号" align="center" prop="spec" />
<el-table-column label="单位" align="center" prop="unit" /> <el-table-column label="单位" align="center" prop="unit" />
<el-table-column label="排产数量" align="center" prop="quantity" /> <el-table-column label="排产数量" align="center" prop="quantity" />
@ -118,7 +134,6 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="录入人员" align="center" prop="recordUser" /> <el-table-column label="录入人员" align="center" prop="recordUser" />
<el-table-column label="状态" align="center" prop="status" />
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="工时" align="center" prop="workTime" /> <el-table-column label="工时" align="center" prop="workTime" />
<el-table-column label="线体编码" align="center" prop="machineCode" /> <el-table-column label="线体编码" align="center" prop="machineCode" />

Loading…
Cancel
Save