yangwl
zhaoxiaolin 1 year ago
parent 8f539b5e06
commit 8f0c9fa6e6

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

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

Loading…
Cancel
Save