Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2554ddd5
authored
Aug 24, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
供应商查询
parent
afe0256a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
app/Http/Services/SupplierMemoService.php
resources/views/script/supplier/SupplierMemoScript.blade.php
app/Http/Services/SupplierMemoService.php
View file @
2554ddd5
...
...
@@ -15,6 +15,7 @@ class SupplierMemoService
$limit
=
$request
->
get
(
'limit'
,
10
);
$filter
=
new
SupplierMemoFilter
();
$query
=
$filter
->
listFilter
(
$request
);
$query
->
where
(
'supplier_id'
,
$request
->
input
(
'supplier_id'
));
$list
=
$query
->
paginate
(
$limit
)
->
toArray
();
$transformer
=
new
SupplierMemoTransformer
();
$list
[
'data'
]
=
$transformer
->
transformList
(
$list
[
'data'
]);
...
...
resources/views/script/supplier/SupplierMemoScript.blade.php
View file @
2554ddd5
...
...
@@ -9,7 +9,7 @@
table
.
render
({
elem
:
'#memoList'
,
url
:
'/api/supplier_memo/getSupplierMemoList
'
,
url
:
'/api/supplier_memo/getSupplierMemoList
?supplier_id='
+
getQueryVariable
(
'supplier_id'
)
,
method
:
'post'
,
size
:
'sm'
,
cellMinWidth
:
80
,
//全局定义常规单元格的最小宽度
...
...
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