2
3
Prechádzať zdrojové kódy

当选择代理商时,未保存基本信息时不检查【所代理制造商名称】

baichengfei 5 rokov pred
rodič
commit
6a919f1263

+ 1 - 1
src/dashoo.cn/frontend_web/src/components/oilsupplier/goodsinfo.vue

@@ -693,7 +693,7 @@
              style="margin-top: 10px;">
       <div slot="header"
            class="clearfix">
-        <span style="padding:3px 20px">所代理制造商名称</span>
+        <span style="padding:3px 20px">所代理制造商名称(先保存基本信息后再添加)</span>
         <el-button style="float: right; padding: 3px 10px"
                    type="text"
                    @click="manufacturerdialog"

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

@@ -1508,7 +1508,7 @@ export default {
         //   return
         // }
       } else if (this.formData.OperType === '代理商') {
-        if (!this.formData.MaunAgent) {
+        if (!this.formData.MaunAgent && this.certId) {
           valid1 = false
           this.$message({
             type: 'warning',