Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
php_frq_api
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
deac4479
authored
Mar 31, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
924de079
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Model/InquiryItemsReportModel.php
app/Model/InquiryItemsReportModel.php
View file @
deac4479
...
...
@@ -144,7 +144,7 @@ class InquiryItemsReportModel extends Model
$mainCurrency
=
$inquiry
[
"currency"
];
#询价主单币种
$rate
=
(
new
CommonModel
())
->
getRate
(
$mainCurrency
);
#获取汇率
$itemInfo
=
$InquiryItemsModel
->
select
(
"status"
)
->
where
(
"id"
,
$inquiry_items_id
)
->
first
()
->
toArray
();
#询价明细
$itemInfo
=
$InquiryItemsModel
->
select
(
"status"
,
"goods_name"
)
->
where
(
"id"
,
$inquiry_items_id
)
->
first
()
->
toArray
();
#询价明细
if
(
$status
==
1
){
#撤销
$InquiryItemsModel
->
where
(
"id"
,
$inquiry_items_id
)
->
update
([
"status"
=>
1
]);
#更新报价待报价
...
...
@@ -167,7 +167,7 @@ class InquiryItemsReportModel extends Model
$temp
=
[
"currency"
=>
$mainCurrency
,
"goods_name"
=>
$
quoteItem
[
"goods_name"
],
"goods_name"
=>
$
itemInfo
[
"goods_name"
],
"goods_name_pro"
=>
$quoteItem
[
"goods_name"
],
"brand_id"
=>
$quoteItem
[
"brand_id"
],
"brand_name"
=>
$quoteItem
[
"brand_name"
],
...
...
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