修改bug,商家端添加商品,选择运费模板

This commit is contained in:
mabo
2021-05-19 14:10:05 +08:00
parent 95d0d4032f
commit 030adb7ae6
9 changed files with 34 additions and 35 deletions

View File

@@ -153,7 +153,7 @@ export default {
if (v) {
this.getAddrById(v);
} else {
this.formData = {}
this.formData = {isDefault: false}
this.$refs.form.resetFields();
}
}

View File

@@ -269,11 +269,12 @@ export default {
});
},
selectedRegion (item) {
console.log(item);
// 地址选择回显
this.$set(this.form, 'storeAddressIdPath', item[0].toString());
this.$set(
this.form,
'companyAddressPath',
'storeAddressPath',
item[1].toString().replace(/\s/g, '')
);
},