|
@@ -1164,24 +1164,16 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
this.form.foodLicense = [];
|
|
this.form.foodLicense = [];
|
|
|
}
|
|
}
|
|
|
- if (this.form.isBusinessLicensePermanent == 1) {
|
|
|
|
|
- this.switchValue = true;
|
|
|
|
|
- }
|
|
|
|
|
- if (this.form.isMedicalDevice1ExpiryPermanent == 1) {
|
|
|
|
|
- this.switchMedicalValue = true;
|
|
|
|
|
- }
|
|
|
|
|
- if (this.form.isMedicalDevice2ExpiryPermanent == 1) {
|
|
|
|
|
- this.medicalDevice2ExpiryValue = true;
|
|
|
|
|
- }
|
|
|
|
|
- if (this.form.isMedicalLicenseExpiryPermanent == 1) {
|
|
|
|
|
- this.medicalLicenseExpiryValue = true;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.switchValue = this.form.isBusinessLicensePermanent == 1;
|
|
|
|
|
+ this.switchMedicalValue = this.form.isMedicalDevice1ExpiryPermanent == 1;
|
|
|
|
|
+ this.medicalDevice2ExpiryValue = this.form.isMedicalDevice2ExpiryPermanent == 1;
|
|
|
|
|
+ this.medicalLicenseExpiryValue = this.form.isMedicalLicenseExpiryPermanent == 1;
|
|
|
|
|
+ this.foodLicenseExpiryValue = this.form.isFoodLicenseExpiryPermanent == 1;
|
|
|
if (this.form.drugScopeHasFrozen === undefined) {
|
|
if (this.form.drugScopeHasFrozen === undefined) {
|
|
|
this.form.drugScopeHasFrozen = null;
|
|
this.form.drugScopeHasFrozen = null;
|
|
|
}
|
|
}
|
|
|
this.open = true;
|
|
this.open = true;
|
|
|
this.title = "修改店铺";
|
|
this.title = "修改店铺";
|
|
|
-
|
|
|
|
|
let str = this.form.shippingType
|
|
let str = this.form.shippingType
|
|
|
this.form.shippingType = str.split(",")
|
|
this.form.shippingType = str.split(",")
|
|
|
this.form.cityIds = ((this.form.cityIds).split(",")).map(Number)
|
|
this.form.cityIds = ((this.form.cityIds).split(",")).map(Number)
|