master
zhaoxiaolin 1 year ago
parent 8f539b5e06
commit 8f0c9fa6e6

@ -98,7 +98,7 @@
<script> <script>
import { listMaterial, getMaterial, delMaterial, addMaterial, updateMaterial } from "@/api/quality/material"; import { listMaterial, getMaterial, delMaterial, addMaterial, updateMaterial } from "@/api/quality/material";
import UserBind from "./UserBind.vue"; import UserBind from "./userbind.vue";
export default { export default {
name: "Material", name: "Material",

@ -265,12 +265,24 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="8">
<el-form-item label="检验类型" prop="typeCode" >
<el-select v-model="form.typeCode" placeholder="请选择检验类型" style="width: 100%;">
<el-option
v-for="dict in checkTypes"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="收货数量" prop="quality"> <el-form-item label="收货数量" prop="quality">
<el-input type="number" v-model="form.quality" placeholder="请输入收货数量" /> <el-input type="number" v-model="form.quality" placeholder="请输入收货数量" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="8">
<el-form-item label="单位" prop="unit" > <el-form-item label="单位" prop="unit" >
<el-select v-model="form.unit" placeholder="请选择单位" style="width: 100%;"> <el-select v-model="form.unit" placeholder="请选择单位" style="width: 100%;">
<el-option <el-option
@ -417,6 +429,9 @@ export default {
}, },
// //
form: {}, form: {},
checkTypes:[],
// //
rules: { rules: {
batchNo: [ batchNo: [
@ -452,9 +467,13 @@ export default {
created() { created() {
this.getDate(); this.getDate();
this.getList(); this.getList();
this.getCheckTypes();
}, },
methods: { methods: {
/****/
getList() {
},
/**获取默认查询时间段**/ /**获取默认查询时间段**/
getDate() { getDate() {
let start = this.Fungetdate (0) let start = this.Fungetdate (0)

Loading…
Cancel
Save