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
e1490e5f
authored
May 27, 2021
by
duwenjun
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整字段顺序,显示报价
parent
2faa9bc6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
app/Model/QuoteModel.php
app/Model/QuoteModel.php
View file @
e1490e5f
...
...
@@ -311,6 +311,7 @@ class QuoteModel extends Model
$v
[
"price_rmb"
]
=
"--"
;
}
$v
[
'price_rmb'
]
=
(
$v
[
'currency'
]
==
1
)
?
$v
[
'price_rmb'
]
:
''
;
$v
[
"currency"
]
=
InquiryMap
::
$currency
[
$v
[
"currency"
]];
if
(
$v
[
'delivery_time'
]
>
6
)
{
...
...
@@ -320,11 +321,9 @@ class QuoteModel extends Model
}
$v
[
"effect_days"
]
=
$v
[
"effect_days"
]
.
"天"
;
$v
[
'expire_time'
]
=
(
$v
[
'expire_time'
])
?
date
(
'Y-m-d'
,
$v
[
'expire_time'
])
:
''
;
$v
[
'price_rmb'
]
=
$v
[
'currency'
]
==
1
?
$v
[
'price_rmb'
]
:
''
;
$v
[
"digikey"
]
=
"包装:"
.
$v
[
"raw_goods_packing"
];
$v
[
'source_val'
]
=
array_get
(
Config
(
'quote.quote_source'
),
$v
[
'source'
],
''
);
}
return
[
0
,
'获取成功'
,
$list
[
'data'
],
$list
[
'total'
]];
}
...
...
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