瀏覽代碼

销售公司 小程序改为非必填2

ct 4 天之前
父節點
當前提交
378143d44b
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/his/company/index.vue

+ 6 - 6
src/views/his/company/index.vue

@@ -765,13 +765,13 @@ export default {
           if(this.doctorIds!=null){
             this.form.doctorIds= (this.doctorIds).toString()
           }
-          if (this.form.miniAppMaster==null || this.form.miniAppMaster.length ===0 ){
-            return this.$message.error("请选择主小程序")
-          }
+          // if (this.form.miniAppMaster==null || this.form.miniAppMaster.length ===0 ){
+          //   return this.$message.error("请选择主小程序")
+          // }
 
-          if (this.form.miniAppServer==null || this.form.miniAppServer.length ===0 ){
-            return this.$message.error("请选择备小程序")
-          }
+          // if (this.form.miniAppServer==null || this.form.miniAppServer.length ===0 ){
+          //   return this.$message.error("请选择备小程序")
+          // }
 
           if (this.form.companyId != null) {
             updateCompany(this.form).then(response => {