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
0d295072
authored
Oct 11, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整账期同步状态
parent
dd3da295
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
29 deletions
resources/views/orderlist/content.blade.php
resources/views/orderlist/content.blade.php
View file @
0d295072
...
@@ -203,7 +203,7 @@
...
@@ -203,7 +203,7 @@
<th
class=
"pl30"
>
订单类型
</th>
<th
class=
"pl30"
>
订单类型
</th>
<th
class=
"pl30"
>
支付方式
</th>
<th
class=
"pl30"
>
支付方式
</th>
<th
class=
"pl30"
>
推送业务员
</th>
<th
class=
"pl30"
>
推送业务员
</th>
<th
class=
"pl30"
>
发货状态
</th>
<th
class=
"pl30"
>
订单来源
</th>
<th
class=
"pl30"
>
同步状态
</th>
<th
class=
"pl30"
>
同步状态
</th>
<th
class=
"pl30"
>
收货人
</th>
<th
class=
"pl30"
>
收货人
</th>
<th
class=
"pl30"
>
下单时间
</th>
<th
class=
"pl30"
>
下单时间
</th>
...
@@ -256,34 +256,17 @@
...
@@ -256,34 +256,17 @@
<td
class=
"show-list"
>
<?php
print_r
(
App\Http\Controllers\getSalesName
(
$v
[
'sale_id'
]));
?>
</td>
<td
class=
"show-list"
>
<?php
print_r
(
App\Http\Controllers\getSalesName
(
$v
[
'sale_id'
]));
?>
</td>
<td
class=
"show-list"
>
<?php
echo
App\Http\Controllers\getOrderSource
(
$v
[
'order_id'
]);
?>
</td>
<td
class=
"show-list"
>
<td
class=
"show-list"
>
<?php
<?php
$shipping
=
App\Http\Controllers\getShipping
(
$v
[
'order_id'
]);
if
(
$v
[
'order_pay_type'
]
==
3
)
{
// 账期订单待付款状态下显示未同步
$statusLimit
=
[
-
1
,
1
];
$shippingStatus
=
''
;
}
else
{
$shippingNo
=
''
;
$statusLimit
=
[
-
1
,
1
,
2
];
if
(
$shipping
)
{
foreach
(
$shipping
as
$s
)
{
switch
(
$s
->
status
)
{
case
0
:
case
1
:
$shippingStatus
.=
'已配送, '
;
break
;
case
2
:
$shippingStatus
.=
'已签收, '
;
break
;
default
:
$shippingStatus
.=
'未配送, '
;
break
;
}
$shippingNo
.=
$s
->
shipping_no
?
$s
->
shipping_no
.
', '
:
''
;
}
$shippingStatus
=
substr
(
$shippingStatus
,
0
,
-
2
);
}
}
echo
$shippingStatus
;
if
(
in_array
(
$v
[
'status'
],
$statusLimit
))
{
?>
</td>
<td
class=
"show-list"
>
<?php
if
(
in_array
(
$v
[
'status'
],
[
-
1
,
1
,
2
]))
{
echo
'不需同步'
;
echo
'不需同步'
;
}
else
{
}
else
{
echo
$v
[
'erp_order_id'
]
!=
''
&&
$v
[
'erp_order_id'
]
!=
'-'
?
'<span class="list-text-success"><b>已同步</b></span>'
:
'<span class="list-text-checking"><b>未同步</b></span>'
;
echo
$v
[
'erp_order_id'
]
!=
''
&&
$v
[
'erp_order_id'
]
!=
'-'
?
'<span class="list-text-success"><b>已同步</b></span>'
:
'<span class="list-text-checking"><b>未同步</b></span>'
;
...
@@ -395,13 +378,32 @@
...
@@ -395,13 +378,32 @@
<td
class=
"table-list-title"
>
优惠金额
</td>
<td
class=
"table-list-title"
>
优惠金额
</td>
<td
class=
"table-list-content"
>
<?php
echo
App\Http\Controllers\getCoupon
(
$v
[
'order_id'
]);
?>
</td>
<td
class=
"table-list-content"
>
<?php
echo
App\Http\Controllers\getCoupon
(
$v
[
'order_id'
]);
?>
</td>
</tr>
</tr>
<?php
$shipping
=
App\Http\Controllers\getShipping
(
$v
[
'order_id'
]);
$shippingStatus
=
''
;
$shippingNo
=
''
;
if
(
$shipping
)
{
foreach
(
$shipping
as
$s
)
{
switch
(
$s
->
status
)
{
case
0
:
case
1
:
$shippingStatus
.=
'已配送, '
;
break
;
case
2
:
$shippingStatus
.=
'已签收, '
;
break
;
default
:
$shippingStatus
.=
'未配送, '
;
break
;
}
$shippingNo
.=
$s
->
shipping_no
?
$s
->
shipping_no
.
', '
:
''
;
}
$shippingStatus
=
substr
(
$shippingStatus
,
0
,
-
2
);
}
?>
<tr>
<tr>
<td
class=
"table-list-title"
>
快递单号
</td>
<td
class=
"table-list-title"
>
快递单号
</td>
<td
class=
"table-list-content"
>
{{$shippingNo ? substr($shippingNo, 0, -2) : ''}}
</td>
<td
class=
"table-list-content"
>
{{$shippingNo ? substr($shippingNo, 0, -2) : ''}}
</td>
<td
class=
"table-list-title"
>
订单来源
</td>
<td
class=
"table-list-title"
>
发货状态
</td>
<td
class=
"table-list-content"
>
<td
class=
"table-list-content"
>
{{$shippingStatus}}
</td>
<?php
echo
App\Http\Controllers\getOrderSource
(
$v
[
'order_id'
]);
?>
</td>
</tr>
</tr>
</table>
</table>
</td>
</td>
...
...
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