feat: 移除mgroups_allocate字段
This commit is contained in:
parent
baa46135fb
commit
02b8364a51
|
@ -252,7 +252,7 @@
|
|||
<el-divider/>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-form-item
|
||||
label="是否代表所分配工段数据"
|
||||
label="是否代表所在工段数据"
|
||||
label-width="220"
|
||||
>
|
||||
<el-switch
|
||||
|
@ -260,7 +260,7 @@
|
|||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<!-- <el-col :md="12" :sm="24">
|
||||
<el-form-item
|
||||
label="累计量工段分配"
|
||||
label-width="120"
|
||||
|
@ -316,7 +316,7 @@
|
|||
></el-button>
|
||||
</el-col>
|
||||
</template>
|
||||
</el-row>
|
||||
</el-row> -->
|
||||
</el-form>
|
||||
</el-main>
|
||||
<el-footer>
|
||||
|
@ -349,7 +349,6 @@ export default {
|
|||
type: 10,
|
||||
belong_dept: null,
|
||||
mgroup: null,
|
||||
mgroups_allocate: [],
|
||||
interval: 10,
|
||||
func_on_change: "",
|
||||
is_rep_ep_running_state: false,
|
||||
|
@ -423,12 +422,12 @@ export default {
|
|||
if (this.form.mgroup == "") {
|
||||
this.form.mgroup = null;
|
||||
}
|
||||
if (this.form.mgroups_allocate.length > 0) {
|
||||
let arr = this.form.mgroups_allocate.filter((item) => {
|
||||
return item.mgroup !== "" && item.mgroup !== null;
|
||||
});
|
||||
this.form.mgroups_allocate = arr;
|
||||
}
|
||||
// if (this.form.mgroups_allocate.length > 0) {
|
||||
// let arr = this.form.mgroups_allocate.filter((item) => {
|
||||
// return item.mgroup !== "" && item.mgroup !== null;
|
||||
// });
|
||||
// this.form.mgroups_allocate = arr;
|
||||
// }
|
||||
if (this.mode == "add") {
|
||||
this.$API.enm.mpoint.create
|
||||
.req(this.form)
|
||||
|
|
Loading…
Reference in New Issue