|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<el-form
|
|
<el-form
|
|
|
|
|
+ class="form-no-message"
|
|
|
:model="{ categoryMsg, ...workReport }"
|
|
:model="{ categoryMsg, ...workReport }"
|
|
|
ref="formRef"
|
|
ref="formRef"
|
|
|
:show-message="false"
|
|
:show-message="false"
|
|
@@ -98,12 +99,18 @@
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
></el-input> </el-form-item
|
|
></el-input> </el-form-item
|
|
|
></el-descriptions-item>
|
|
></el-descriptions-item>
|
|
|
- <el-descriptions-item label="质检项" :span="2">{{
|
|
|
|
|
- infoData.qualityItem
|
|
|
|
|
- }}</el-descriptions-item>
|
|
|
|
|
- <el-descriptions-item label="质检标准" :span="3">{{
|
|
|
|
|
- infoData.qualityStandard
|
|
|
|
|
- }}</el-descriptions-item>
|
|
|
|
|
|
|
+ <el-descriptions-item label="质检项" :span="2">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="workReport.qualityItem"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ </el-descriptions-item>
|
|
|
|
|
+ <el-descriptions-item label="质检标准" :span="3">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="workReport.qualityStandard"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input
|
|
|
|
|
+ ></el-descriptions-item>
|
|
|
<el-descriptions-item label="">
|
|
<el-descriptions-item label="">
|
|
|
<span class="label-required after" slot="label">合格品数量(PCS)</span>
|
|
<span class="label-required after" slot="label">合格品数量(PCS)</span>
|
|
|
<el-form-item
|
|
<el-form-item
|
|
@@ -264,6 +271,7 @@
|
|
|
import materialDialog from '../materialDialog.vue';
|
|
import materialDialog from '../materialDialog.vue';
|
|
|
import catogaryDialog from '../catogaryDialog.vue';
|
|
import catogaryDialog from '../catogaryDialog.vue';
|
|
|
import { reportCount } from '@/api/produceOrder';
|
|
import { reportCount } from '@/api/produceOrder';
|
|
|
|
|
+ import dayjs from 'dayjs';
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
personSelectRemote,
|
|
personSelectRemote,
|
|
@@ -293,9 +301,11 @@
|
|
|
code: ''
|
|
code: ''
|
|
|
},
|
|
},
|
|
|
workReport: {
|
|
workReport: {
|
|
|
|
|
+ qualityItem: '',
|
|
|
|
|
+ qualityStandard: '',
|
|
|
executorId: '',
|
|
executorId: '',
|
|
|
executorJobNum: '',
|
|
executorJobNum: '',
|
|
|
- executorTime: '',
|
|
|
|
|
|
|
+ executorTime: dayjs(new Date()).format('YYYY-MM-DD HH:mm'),
|
|
|
remark: '',
|
|
remark: '',
|
|
|
productInfo: {
|
|
productInfo: {
|
|
|
standardNum: '',
|
|
standardNum: '',
|
|
@@ -351,6 +361,10 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ created () {
|
|
|
|
|
+ this.workReport.executorId = this.$store.state.user.info?.userId;
|
|
|
|
|
+ this.workReport.executorJobNum = this.$store.state.user.info?.jobNumber;
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
getCategory (id, memo) {
|
|
getCategory (id, memo) {
|
|
|
this.$refs.catogaryDialogRef.open(id, this[memo], (res) => {
|
|
this.$refs.catogaryDialogRef.open(id, this[memo], (res) => {
|
|
@@ -438,6 +452,7 @@
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
.label {
|
|
.label {
|
|
|
margin-right: 5px;
|
|
margin-right: 5px;
|
|
|
}
|
|
}
|