Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
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
7df8c9f3
authored
Jun 22, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_commit_20200526'
parents
829aee83
6877e7b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
app/Model/OrderModel.php
app/Model/OrderModel.php
View file @
7df8c9f3
...
...
@@ -335,6 +335,7 @@ class OrderModel extends Model
'1'
=>
'自采'
,
'2'
=>
'立创'
,
'3'
=>
'京北'
,
'4'
=>
'油柑网'
,
);
$tmp
=
array
();
...
...
@@ -461,7 +462,7 @@ class OrderModel extends Model
$tmp
[
$i
][
'sale_type'
]
=
$order
[
$i
][
'sale_type'
]
==
1
?
'现卖'
:
'预售'
;
// 自营其他业务类型
$tmp
[
$i
][
'business_type'
]
=
$order
[
$i
][
'business_type'
]
?
Config
(
'params.business_type'
)[
$order
[
$i
][
'business_type'
]]
:
'正常订单'
;
$tmp
[
$i
][
'self_supplier_type'
]
=
$self_supplier_type
[
$order
[
$i
][
'self_supplier_type'
]]
;
// 自采标记
$tmp
[
$i
][
'self_supplier_type'
]
=
isset
(
$self_supplier_type
[
$order
[
$i
][
'self_supplier_type'
]])
?
$self_supplier_type
[
$order
[
$i
][
'self_supplier_type'
]]
:
'未知'
;
// 自采标记
$tmp
[
$i
][
'sample_demand_desc'
]
=
$order
[
$i
][
'sample_demand_desc'
];
// 样片项目需求描述
//收货地址的电话
$tmp
[
$i
][
'receiving_address'
]
=
isset
(
$current_order_addr
[
'mobile'
])
?
$current_order_addr
[
'mobile'
]
:
''
;
...
...
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