lancer pirms 3 gadiem
vecāks
revīzija
2f1195b055
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. +5
    -5
      src/views/Customer/SalesStage.vue

+ 5
- 5
src/views/Customer/SalesStage.vue Parādīt failu

@@ -67,7 +67,7 @@
<el-input v-model="ruleForm.stageName"></el-input>
</el-form-item>
<el-form-item label="顺序:" prop="sort">
<el-input v-model="ruleForm.sort"></el-input>
<el-input v-model="ruleForm.sort" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)));"></el-input>
</el-form-item>
<el-form-item label="备注:">
<el-input v-model="ruleForm.remarks"></el-input>
@@ -146,7 +146,7 @@ export default {
});
},
//删除
toinifodelete(item) {
toinifodelete(row) {
this.$confirm("此操作将永久删除, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@@ -204,18 +204,18 @@ export default {
if (res.code == 0) {
this.dialogVisible = false;
this.$message.success("编辑成功");
this.zkhousePage();
this.findbypage();
}
});
} else {
// 添加
console.log("添加");
this.$api.api.lifeTrackDefineAdd(this.ruleForm).then((res) => {
this.$api.api.lifeTrackDefineAdd({houseId:this.houseId,...this.ruleForm,}).then((res) => {
console.log(res);
if (res.code == 0) {
this.dialogVisible = false;
this.$message.success("新增成功");
this.zkhousePage();
this.findbypage();
}
});
}


Notiek ielāde…
Atcelt
Saglabāt