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
c3e8f2ac
authored
Dec 04, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
药店端增加中药筛选
parent
c216ec12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
app/Admin/Controllers/PharmacyDrugController.php
+1
-0
app/Api/Controllers/PrescriptionController.php
+1
-1
No files found.
app/Admin/Controllers/PharmacyDrugController.php
View file @
c3e8f2ac
...
@@ -62,6 +62,7 @@ protected function grid()
...
@@ -62,6 +62,7 @@ protected function grid()
$filter
->
like
(
'drug.name'
,
'药品名称'
)
->
width
(
3
);
$filter
->
like
(
'drug.name'
,
'药品名称'
)
->
width
(
3
);
$filter
->
like
(
'drug.code'
,
'药品简码'
)
->
width
(
3
);
$filter
->
like
(
'drug.code'
,
'药品简码'
)
->
width
(
3
);
$filter
->
like
(
'drug.factory'
,
'生产厂家'
)
->
width
(
3
);
$filter
->
like
(
'drug.factory'
,
'生产厂家'
)
->
width
(
3
);
$filter
->
in
(
'drug.drug_type'
)
->
checkbox
(
DrugModel
::
DRUG_TYPE_MAP
)
->
width
(
3
);
});
});
// 行按钮控制
// 行按钮控制
...
...
app/Api/Controllers/PrescriptionController.php
View file @
c3e8f2ac
...
@@ -454,7 +454,7 @@ public function enter(Request $request)
...
@@ -454,7 +454,7 @@ public function enter(Request $request)
'unit'
=>
$pharmacyDrugQueryInfo
->
unit
,
'unit'
=>
$pharmacyDrugQueryInfo
->
unit
,
// 'dosage_id' => 0, // $pharmacyDrugQueryInfo->dosage_id,
// 'dosage_id' => 0, // $pharmacyDrugQueryInfo->dosage_id,
// 'dosage_desc' => '等待药师录入', // $pharmacyDrugQueryInfo->dosage->dosage_desc,
// 'dosage_desc' => '等待药师录入', // $pharmacyDrugQueryInfo->dosage->dosage_desc,
'num'
=>
$drug
[
'num'
]
,
// 中药为药师录入数量
'num'
=>
''
,
// 中药为药师录入数量
];
];
}
}
$prescription
->
doses
=
$request
->
input
(
'doses'
);
// 剂量
$prescription
->
doses
=
$request
->
input
(
'doses'
);
// 剂量
...
...
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