|
|
@@ -1071,7 +1071,7 @@
|
|
|
<Material v-model="gmpAuthArr" type="image" :num="1" :width="150" :height="150"/>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item v-if="form.isShow === '1' && businessArr.length > 0" label="GMP/GSP认证证书是否长期有效" prop="isGmpAuthPermanent">
|
|
|
+ <el-form-item v-if="form.isShow === '1' && gmpAuthArr.length > 0" label="GMP/GSP认证证书是否长期有效" prop="isGmpAuthPermanent">
|
|
|
<el-switch
|
|
|
@change="switchChange()"
|
|
|
v-model="gmpAuthValue"
|
|
|
@@ -1302,18 +1302,43 @@ export default {
|
|
|
},
|
|
|
imageArr: function (val) {
|
|
|
this.form.image = val.join(',')
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.$refs.form) {
|
|
|
+ this.$refs.form.validateField('image');
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
photoArr: function (val) {
|
|
|
this.form.sliderImage = val.join(',')
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.$refs.form) {
|
|
|
+ this.$refs.form.validateField('sliderImage');
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
drugImageArr: function (val) {
|
|
|
this.form.drugImage = val.join(',');
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.$refs.form) {
|
|
|
+ this.$refs.form.validateField('drugImageArr');
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
qualificationArr: function (val) {
|
|
|
this.form.qualificationCertificate = val.join(',');
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.$refs.form) {
|
|
|
+ this.$refs.form.validateField('qualificationCertificate');
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
businessArr:function(val) {
|
|
|
this.form.business = val.join(',');
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.$refs.form) {
|
|
|
+ this.$refs.form.validateField('business');
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
'form.cateId': {
|
|
|
handler(newVal) {
|
|
|
@@ -1589,19 +1614,19 @@ export default {
|
|
|
{required: true, message: "审核资质不能为空!", trigger: "blur"}
|
|
|
],
|
|
|
business: [
|
|
|
- { required: true, message: "营业执照不能为空!", trigger: "change" }
|
|
|
+ { required: true, message: "营业执照不能为空!", trigger: "blur" }
|
|
|
],
|
|
|
businessExpire: [
|
|
|
{ required: true, message: "营业执照有效期不能为空!", trigger: "change" }
|
|
|
],
|
|
|
license: [
|
|
|
- { required: true, message: "企业生产许可证不能为空!", trigger: "change" }
|
|
|
+ { required: true, message: "企业生产许可证不能为空!", trigger: "blur" }
|
|
|
],
|
|
|
licenseExpire: [
|
|
|
{ required: true, message: "企业生产许可证有效期不能为空!", trigger: "change" }
|
|
|
],
|
|
|
certificate: [
|
|
|
- { required: true, message: "注册证书不能为空!", trigger: "change" }
|
|
|
+ { required: true, message: "注册证书不能为空!", trigger: "blur" }
|
|
|
],
|
|
|
certificateExpire: [
|
|
|
{ required: true, message: "注册证书有效期不能为空!", trigger: "change" }
|
|
|
@@ -1613,7 +1638,7 @@ export default {
|
|
|
{ required: true, message: "Ⅰ类Ⅱ类备案凭证有效期不能为空!", trigger: "change" }
|
|
|
],
|
|
|
gmpAuth: [
|
|
|
- { required: true, message: "GMP认证不能为空!", trigger: "change" }
|
|
|
+ { required: true, message: "GMP认证不能为空!", trigger: "blur" }
|
|
|
],
|
|
|
gmpAuthExpire: [
|
|
|
{ required: true, message: "GMP认证有效期不能为空!", trigger: "change" }
|