|
@@ -2349,23 +2349,9 @@ export default {
|
|
|
this.form.isDrug = response.data.isDrug === 0 ? "0" :
|
|
this.form.isDrug = response.data.isDrug === 0 ? "0" :
|
|
|
(response.data.isDrug ? response.data.isDrug.toString() : "1");
|
|
(response.data.isDrug ? response.data.isDrug.toString() : "1");
|
|
|
|
|
|
|
|
- if (this.form.isBusinessPermanent == 1) {
|
|
|
|
|
- this.businessValue = true
|
|
|
|
|
- } else {
|
|
|
|
|
- this.businessValue = false
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- if (this.form.isLicensePermanent == 1) {
|
|
|
|
|
- this.licenseValue = true
|
|
|
|
|
- } else {
|
|
|
|
|
- this.licenseValue = false
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- if (this.form.isCertificatePermanent == 1) {
|
|
|
|
|
- this.certificateValue = true
|
|
|
|
|
- } else {
|
|
|
|
|
- this.certificateValue = false
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.businessValue = this.form.isBusinessPermanent == 1;
|
|
|
|
|
+ this.licenseValue = this.form.isLicensePermanent == 1;
|
|
|
|
|
+ this.certificateValue = this.form.isCertificatePermanent == 1;
|
|
|
|
|
|
|
|
const expireFieldMap = [
|
|
const expireFieldMap = [
|
|
|
{ expireKey: 'businessExpire', startKey: 'businessStart', endKey: 'businessEnd' },
|
|
{ expireKey: 'businessExpire', startKey: 'businessStart', endKey: 'businessEnd' },
|