2
3
فهرست منبع

BF: 代理商必须填报“:代理制造商名称

yuedefeng 6 سال پیش
والد
کامیت
7749fcf454
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

+ 2 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -936,9 +936,8 @@
         this.$refs['GoodsInfo'].$refs['EntityFormCert'].validate((valid) => {
           valid2 = valid
         })
-
         if (this.formData.OperType === '制造商') {
-          if (this.formData.MaunLicense === '' && this.formData.SafetyLicense === '') {
+          if (!this.formData.MaunLicense && !this.formData.SafetyLicense) {
             valid1 = false
             this.$message({
               type: 'warning',
@@ -947,7 +946,7 @@
             return
           }
         } else if (this.formData.OperType === '代理商') {
-          if (this.formData.AgentManufacturer === '') {
+          if (!this.formData.AgentManufacturer) {
             valid1 = false
             this.$message({
               type: 'warning',