Commit fe98d315 by lujunyi

Merge branch 'develop'

parents f773d86c a42a9c14
......@@ -290,6 +290,7 @@ public function search()
'img_url' => $imgUrl,
'drug_info' => $prescription->drug_info,
'dosage_list' => $dosageList,
'prescription_type' => $prescription->prescription_type,
],
]);
// } catch (\Exception $e) {
......
......@@ -99,8 +99,9 @@
$('#prescription-image').attr('src', response.data.img_url + '?t=' + new Date().getTime());
$('#download-btn').data('url', response.data.img_url);
$('#prescription-container').show();
this.showEditableForm(response.data.drug_info,response.data.dosage_list);
if (response.data.prescription_type != 1) {
this.showEditableForm(response.data.drug_info,response.data.dosage_list);
}
} else {
Dcat.error(response.message || '获取处方失败');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment