diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue index a7a7c71b..1b56d3a8 100644 --- a/src/views/inm/mioitem.vue +++ b/src/views/inm/mioitem.vue @@ -149,8 +149,9 @@ diff --git a/src/views/mtm/materials_form.vue b/src/views/mtm/materials_form.vue index 1f379f34..aab53690 100644 --- a/src/views/mtm/materials_form.vue +++ b/src/views/mtm/materials_form.vue @@ -132,6 +132,18 @@ + + + + + + + + + + + + + + + + @@ -207,7 +219,7 @@ export default { edit: "编辑物料", show: "查看物料", }, - form: {}, + form: { test_mode_in: 20 }, rules: { name: [ { @@ -353,6 +365,7 @@ export default { that.form.unit = data.unit; that.form.process = data.process; that.form.tracking = data.tracking; + that.form.test_mode_in = data.test_mode_in; that.form.count_safe = data.count_safe; that.form.count_safe_upper = data.count_safe_upper; that.form.is_hidden = data.is_hidden; diff --git a/src/views/ops/settings/otherSet.vue b/src/views/ops/settings/otherSet.vue index 1f2db610..3a203e63 100644 --- a/src/views/ops/settings/otherSet.vue +++ b/src/views/ops/settings/otherSet.vue @@ -6,7 +6,7 @@ label-width="auto" style="margin-top: 20px" > - + @@ -51,7 +51,16 @@ export default { }) }, submitForm() { - + this.saveLoading = true; + this.$API.system.config.updateInfo.req({ + mes: this.form.mes, + sms: this.form.sms + }).then(() => { + this.$message.success("保存成功"); + this.saveLoading = false; + }).catch(() => { + this.saveLoading = false; + }) } } }