|
@@ -414,6 +414,7 @@ export default {
|
|
this.form.happenTime = new Date(this.form.happenTime) * 1;
|
|
this.form.happenTime = new Date(this.form.happenTime) * 1;
|
|
this.form.type = this.type;
|
|
this.form.type = this.type;
|
|
if (this.addFlag) {
|
|
if (this.addFlag) {
|
|
|
|
+ this.form.id = null;
|
|
addManage(this.form).then(res => {
|
|
addManage(this.form).then(res => {
|
|
console.log(res);
|
|
console.log(res);
|
|
//获取经营列表
|
|
//获取经营列表
|
|
@@ -462,6 +463,7 @@ export default {
|
|
},
|
|
},
|
|
// 取消
|
|
// 取消
|
|
resetForm(formName) {
|
|
resetForm(formName) {
|
|
|
|
+ this.form.id = null;
|
|
this.$refs[formName].resetFields();
|
|
this.$refs[formName].resetFields();
|
|
this.dialogFormVisible = false;
|
|
this.dialogFormVisible = false;
|
|
},
|
|
},
|