|
@@ -442,7 +442,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
selectProduct(row){
|
|
|
- if(this.form.prescribeType==row.productType){
|
|
|
+ // if(this.form.prescribeType==row.productType){
|
|
|
const drug = {};
|
|
|
for(var i=0;i<this.drugList.length;i++){
|
|
|
if(this.drugList[i].productAttrValueId==row.id){
|
|
@@ -465,12 +465,12 @@ export default {
|
|
|
message: '添加成功',
|
|
|
type: 'success'
|
|
|
});
|
|
|
- }else{
|
|
|
- return this.$message({
|
|
|
- message: '请选择正确类型的药品',
|
|
|
- type: 'warning'
|
|
|
- });
|
|
|
- }
|
|
|
+ // }else{
|
|
|
+ // return this.$message({
|
|
|
+ // message: '请选择正确类型的药品',
|
|
|
+ // type: 'warning'
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd(type) {
|