Commit 82e56539 authored by Marcus's avatar Marcus
parent 1c248e1a
...@@ -431,6 +431,8 @@ export default { ...@@ -431,6 +431,8 @@ export default {
}, },
created() { created() {
this.reset() this.reset()
this.handleAddContact()
if(this.customerId !== '0') { if(this.customerId !== '0') {
this.getCustomer(this.customerId).then(() => { this.getCustomer(this.customerId).then(() => {
getCustomerContactsListByCustomer({customerId: this.customerId}).then(r => { getCustomerContactsListByCustomer({customerId: this.customerId}).then(r => {
...@@ -664,6 +666,7 @@ export default { ...@@ -664,6 +666,7 @@ export default {
createTime: undefined, createTime: undefined,
isShowTidanPrice:true, isShowTidanPrice:true,
}; };
this.form.createTime = (new Date()).getTime()
this.resetForm("form"); this.resetForm("form");
}, },
getCustomer(id) { getCustomer(id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment