|
@@ -176,6 +176,7 @@ export default {
|
176
|
176
|
this.$message.error("请添加药品规格")
|
177
|
177
|
return
|
178
|
178
|
}
|
|
179
|
+
|
179
|
180
|
const params = {
|
180
|
181
|
patient_id:this.patient_id,
|
181
|
182
|
medicineData:this.multipleSelection
|
|
@@ -186,6 +187,9 @@ export default {
|
186
|
187
|
this.$message.success("保存成功")
|
187
|
188
|
this.visible = false
|
188
|
189
|
this.$emit('getlist');
|
|
190
|
+ for(let i=0;i<this.multipleSelection.length;i++){
|
|
191
|
+ this.multipleSelection[i].isSelected = false
|
|
192
|
+ }
|
189
|
193
|
}else {
|
190
|
194
|
this.$message.error("药品名称规格已存在")
|
191
|
195
|
}
|