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
7e671a6a
authored
May 21, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复交期问题
parent
e8d81592
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
app/Http/Services/SupplierService.php
app/Http/Services/SupplierService.php
View file @
7e671a6a
...
@@ -67,8 +67,8 @@ class SupplierService
...
@@ -67,8 +67,8 @@ class SupplierService
$channel
[
'cn_ratio'
]
=
empty
(
$channel
[
'cn_ratio'
])
?
1
:
$channel
[
'cn_ratio'
];
$channel
[
'cn_ratio'
]
=
empty
(
$channel
[
'cn_ratio'
])
?
1
:
$channel
[
'cn_ratio'
];
$channel
[
'us_ratio'
]
=
empty
(
$channel
[
'us_ratio'
])
?
1
:
$channel
[
'us_ratio'
];
$channel
[
'us_ratio'
]
=
empty
(
$channel
[
'us_ratio'
])
?
1
:
$channel
[
'us_ratio'
];
$channel
[
'cn_delivery_time'
]
=
$channel
[
'cn_delivery_time'
]
.
$channel
[
'cn_delivery_time_period'
]
;
$channel
[
'cn_delivery_time'
]
=
$channel
[
'cn_delivery_time'
]
?
$channel
[
'cn_delivery_time'
]
.
$channel
[
'cn_delivery_time_period'
]
:
''
;
$channel
[
'us_delivery_time'
]
=
$channel
[
'us_delivery_time'
]
.
$channel
[
'us_delivery_time_period'
]
;
$channel
[
'us_delivery_time'
]
=
$channel
[
'us_delivery_time'
]
?
$channel
[
'us_delivery_time'
]
.
$channel
[
'us_delivery_time_period'
]
:
''
;
$channel
[
'qualification_photos'
]
=
$this
->
getPhotosData
(
$channel
[
'upload_file'
]);
$channel
[
'qualification_photos'
]
=
$this
->
getPhotosData
(
$channel
[
'upload_file'
]);
unset
(
$channel
[
'upload_file'
]);
unset
(
$channel
[
'upload_file'
]);
$channel
[
'established_time'
]
=
strtotime
(
$channel
[
'established_time'
]);
$channel
[
'established_time'
]
=
strtotime
(
$channel
[
'established_time'
]);
...
@@ -306,7 +306,7 @@ class SupplierService
...
@@ -306,7 +306,7 @@ class SupplierService
$model
->
where
(
'supplier_id'
,
$supplierId
)
->
update
([
$model
->
where
(
'supplier_id'
,
$supplierId
)
->
update
([
'to_follow_up'
=>
1
,
'to_follow_up'
=>
1
,
]);
]);
}
else
{
}
else
{
$model
->
where
(
'supplier_id'
,
$supplierId
)
->
update
([
$model
->
where
(
'supplier_id'
,
$supplierId
)
->
update
([
'to_follow_up'
=>
0
,
'to_follow_up'
=>
0
,
]);
]);
...
...
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