Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
60473acf
authored
Jan 17, 2025
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加时间判断
parent
cb11c165
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
app/Admin/Extensions/ToolBar/Forms/ExternalPrescriptionImportForm.php
+3
-1
No files found.
app/Admin/Extensions/ToolBar/Forms/ExternalPrescriptionImportForm.php
View file @
60473acf
...
@@ -83,7 +83,9 @@ public function handle(array $input): JsonResponse
...
@@ -83,7 +83,9 @@ public function handle(array $input): JsonResponse
$externalPrescriptionModel
->
diagnosis
=
$prescription
[
'诊断'
];
$externalPrescriptionModel
->
diagnosis
=
$prescription
[
'诊断'
];
$externalPrescriptionModel
->
drug_info
=
json_encode
(
$prescription
[
'药品明细'
]);
$externalPrescriptionModel
->
drug_info
=
json_encode
(
$prescription
[
'药品明细'
]);
$externalPrescriptionModel
->
pharmacist_name
=
$prescription
[
'审核药师'
]
??
''
;
$externalPrescriptionModel
->
pharmacist_name
=
$prescription
[
'审核药师'
]
??
''
;
$externalPrescriptionModel
->
review_at
=
$prescription
[
'药师审核时间'
]
??
''
;
if
(
$prescription
[
'药师审核时间'
]){
$externalPrescriptionModel
->
review_at
=
$prescription
[
'药师审核时间'
];
}
$externalPrescriptionModel
->
pharmacist_attr
=
$prescription
[
'药师属性'
]
??
''
;
$externalPrescriptionModel
->
pharmacist_attr
=
$prescription
[
'药师属性'
]
??
''
;
$externalPrescriptionModel
->
dispatcher
=
$prescription
[
'调配人'
]
??
''
;
$externalPrescriptionModel
->
dispatcher
=
$prescription
[
'调配人'
]
??
''
;
$externalPrescriptionModel
->
checker
=
$prescription
[
'核对人'
]
??
''
;
$externalPrescriptionModel
->
checker
=
$prescription
[
'核对人'
]
??
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment