提交 62ae6ce7 编写于 作者: chendeli's avatar chendeli

去掉药品说明必填

上级 0384afb4
...@@ -318,7 +318,7 @@ ...@@ -318,7 +318,7 @@
<span class="word-num"></span> <span class="word-num"></span>
</el-col> </el-col>
</el-form-item> </el-form-item>
<el-form-item label="药品说明书" class="required-label"> <el-form-item label="药品说明书">
<el-upload <el-upload
class="bg-uploader" class="bg-uploader"
...@@ -920,7 +920,7 @@ ...@@ -920,7 +920,7 @@
this.formData.goodsImages = this.fileGoodsList; this.formData.goodsImages = this.fileGoodsList;
this.formData.specificationImages = this.fileIntrList; this.formData.specificationImages = this.fileIntrList;
this.isgoodsImages = this.formData.goodsImages.length == 0 ? false :true; this.isgoodsImages = this.formData.goodsImages.length == 0 ? false :true;
this.isSpecification_url = this.formData.specificationImages.length == 0 ? false : true // this.isSpecification_url = this.formData.specificationImages.length == 0 ? false : true
this.formData.categoryId = this.formData.goodsType this.formData.categoryId = this.formData.goodsType
this.formData.otc = this.formData.otc1 == 1 ? true : false this.formData.otc = this.formData.otc1 == 1 ? true : false
this.isgoodStock = this.formData.stock > 0 ? true : false this.isgoodStock = this.formData.stock > 0 ? true : false
...@@ -929,9 +929,9 @@ ...@@ -929,9 +929,9 @@
if(!this.isgoodsImages){ if(!this.isgoodsImages){
return; return;
} }
if(!this.isSpecification_url){ // if(!this.isSpecification_url){
return; // return;
} // }
} }
if(!this.isgoodStock){ if(!this.isgoodStock){
return; return;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册