Commit 7f97d05a by liimin

wanshangzujian

1 parent da0ae5d8
...@@ -267,9 +267,11 @@ export default { ...@@ -267,9 +267,11 @@ export default {
Promise.all([this.get_manufacturer_list(), this.get_merchant_list()]).then( Promise.all([this.get_manufacturer_list(), this.get_merchant_list()]).then(
result => { result => {
manufacturer_list_back_up = this.manufacturer_list = result[0] manufacturer_list_back_up = this.manufacturer_list = result[0]
this.model.manufacturerId = this.default_value.manufacturerId
merchant_list_back_up = this.merchant_list = result[1] merchant_list_back_up = this.merchant_list = result[1]
if (this.default_value) {
this.model.merchantId = this.default_value.merchantId this.model.merchantId = this.default_value.merchantId
this.model.manufacturerId = this.default_value.manufacturerId
}
} }
) )
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!