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
43cdf0fb
authored
Jul 28, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
战略供应商筛选
parent
eeacf34b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
app/Http/Controllers/Filter/SupplierFilter.php
app/Http/Services/DataService.php
app/Http/routes.php
app/Http/Controllers/Filter/SupplierFilter.php
View file @
43cdf0fb
...
@@ -309,7 +309,11 @@ class SupplierFilter
...
@@ -309,7 +309,11 @@ class SupplierFilter
$query
->
where
(
'system_tags'
,
'like'
,
'%历史检测异常%'
);
$query
->
where
(
'system_tags'
,
'like'
,
'%历史检测异常%'
);
break
;
break
;
case
"level_a"
:
case
"level_a"
:
$query
->
where
(
'level'
,
'A'
);
$query
->
where
(
function
(
$q
)
{
$q
->
where
(
'level'
,
'A'
)
->
orWhere
(
'system_tags'
,
'like'
,
'%战略供应商%'
);
});
break
;
break
;
case
"pay_type_term"
:
case
"pay_type_term"
:
$query
->
where
(
'pay_type'
,
1
);
$query
->
where
(
'pay_type'
,
1
);
...
...
app/Http/Services/DataService.php
View file @
43cdf0fb
...
@@ -42,7 +42,7 @@ class DataService
...
@@ -42,7 +42,7 @@ class DataService
// 3 => '客户指定供应商',
// 3 => '客户指定供应商',
// 4 => '开票不及时',
// 4 => '开票不及时',
// 5 => '跳票',
// 5 => '跳票',
'
见票见货后付款
供应商'
,
'
战略
供应商'
,
];
];
...
...
app/Http/routes.php
View file @
43cdf0fb
...
@@ -62,5 +62,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
...
@@ -62,5 +62,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
});
Route
::
match
([
'get'
,
'post'
],
'/test'
,
function
()
{
Route
::
match
([
'get'
,
'post'
],
'/test'
,
function
()
{
(
new
\App\Http\Services\DataService
())
->
syncFootstoneSkuUploadEncoded
();
// (new \App\Http\Services\DataService())->initSystemTag
();
});
});
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