fix:em中计量物料取消类型筛选

This commit is contained in:
shijing 2024-05-06 11:20:42 +08:00
parent 9e4ac65994
commit 72cab70f23
1 changed files with 19 additions and 19 deletions

View File

@ -160,7 +160,10 @@
</el-form-item>
</el-col>
<el-col :md="12" :sm="24">
<el-form-item label="关联环保字段" label-width="120">
<el-form-item
label="关联环保字段"
label-width="120"
>
<el-select
v-model="form.enp_field"
clearable
@ -181,7 +184,10 @@
</el-form-item>
</el-col>
<el-col :md="12" :sm="24">
<el-form-item label="报告排序" prop="report_sortstr">
<el-form-item
label="报告排序"
prop="report_sortstr"
>
<el-input
v-model="form.report_sortstr"
clearable
@ -255,9 +261,7 @@
label="是否代表所分配工段数据"
label-width="220"
>
<el-switch
v-model="form.is_rep_mgroup"
/>
<el-switch v-model="form.is_rep_mgroup" />
</el-form-item>
</el-col>
<el-col :md="12" :sm="24">
@ -378,9 +382,7 @@ export default {
methods: {
//
getMgroup() {
this.$API.mtm.mgroup.list
.req({ page: 0 })
.then((res) => {
this.$API.mtm.mgroup.list.req({ page: 0 }).then((res) => {
this.mgroupOptions = res;
});
},
@ -394,9 +396,7 @@ export default {
},
//
getMaterial() {
this.$API.mtm.material.list
.req({ page: 0, type__in: "0, 30" })
.then((res) => {
this.$API.mtm.material.list.req({ page: 0 }).then((res) => {
this.materials = res;
});
},