更新修改耗材信息提交数据格式
This commit is contained in:
parent
949a310c71
commit
000def6dc2
|
|
@ -304,6 +304,9 @@
|
|||
:rules="rules"
|
||||
class="demo-form-inline"
|
||||
>
|
||||
<!-- <el-form-item label="单位" prop="conUnit" >
|
||||
<el-input v-model="ruleForm.conUnit" placeholder="请输入单位"></el-input>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="单位" prop="conUnit" v-if="dialogtitle == '添加'">
|
||||
<el-input v-model="ruleForm.conUnit" placeholder="请输入单位"></el-input>
|
||||
</el-form-item>
|
||||
|
|
@ -859,7 +862,7 @@ export default {
|
|||
if (valid) {
|
||||
this.ruleFormLoading = true;
|
||||
if (this.dialogtitle == "编辑") {
|
||||
await postapitbConsInfo(this.ruleForm);
|
||||
await postapitbConsInfo([this.ruleForm]);
|
||||
this.$message({ type: "success", message: "编辑成功" });
|
||||
this.dialogshow = false;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue