Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
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
d962af76
authored
Dec 01, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Order:订单详情的收货信息与邮寄信息"国家/地区"未显示
parent
a6ca6bff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
11 deletions
public/assets/js/order/index.js
resources/views/admin/pages/order-page.blade.php
public/assets/js/order/index.js
View file @
d962af76
...
...
@@ -17,17 +17,17 @@ layui.use(['form', 'table', 'laydate'], function () {
//列表
table
.
render
({
elem
:
'#list'
,
url
:
'/api/orderList?lang='
+
lang_str
,
url
:
'/api/orderList?lang='
+
lang_str
,
toolbar
:
'#toolbar'
,
method
:
'GET'
,
where
:
{
order_id
:
order_id
},
cols
:
[[
{
type
:
'numbers'
,
fixed
:
true
,
title
:
translation
.
numbers
,
width
:
60
},
{
type
:
'numbers'
,
fixed
:
true
,
title
:
translation
.
numbers
,
width
:
lang
==
2
?
80
:
60
},
{
field
:
'goods_id'
,
title
:
translation
.
goods_id
,
width
:
164
},
{
field
:
'goods_name'
,
title
:
translation
.
goods_name
,
width
:
164
},
{
field
:
'standard_brand_name'
,
title
:
translation
.
standard_brand_name
,
width
:
1
20
},
{
field
:
'standard_brand_name'
,
title
:
translation
.
standard_brand_name
,
width
:
1
54
},
{
field
:
'supplier_name'
,
title
:
translation
.
supplier_name
,
width
:
120
},
{
field
:
'raw_goods_sn'
,
title
:
translation
.
raw_goods_sn
,
width
:
160
},
{
field
:
'raw_brand_name'
,
title
:
translation
.
raw_brand_name
,
width
:
160
},
...
...
@@ -57,7 +57,7 @@ layui.use(['form', 'table', 'laydate'], function () {
{
field
:
'remarks'
,
title
:
translation
.
remarks
,
width
:
120
},
{
field
:
'type_cn'
,
title
:
translation
.
type_cn
,
width
:
120
,
templet
(
d
)
{
return
'<span>'
+
d
.
type_cn
+
'</span><div class="hide-input"><select class="input-style return_type" lay-ignore=""><option>'
+
translation
.
all
+
'</option><option value="1">'
+
translation
.
refund_of_returned_goods
+
'</option><option value="2">'
+
translation
.
refund_only
+
'</option></select></div>'
return
'<span>'
+
d
.
type_cn
+
'</span><div class="hide-input"><select class="input-style return_type" lay-ignore=""><option>'
+
translation
.
all
+
'</option><option value="1">'
+
translation
.
refund_of_returned_goods
+
'</option><option value="2">'
+
translation
.
refund_only
+
'</option></select></div>'
}
},
{
...
...
resources/views/admin/pages/order-page.blade.php
View file @
d962af76
...
...
@@ -85,13 +85,21 @@
}
@
if
(
$info
[
"lang"
]
==
2
)
.
en
-
form
.
layui
-
inline
.
layui
-
form
-
label
{
.
user
-
row
{
flex
:
0
0
48
%
;
}
.
en
-
form
.
layui
-
form
-
label
{
width
:
169
px
;
}
.
en
-
form
.
layui
-
in
line
.
layui
-
in
put
-
block
{
.
en
-
form
.
layui
-
input
-
block
{
margin
-
left
:
169
px
;
}
.
en
-
form
.
layui
-
input
{
width
:
204
px
;
}
@
endif
</
style
>
...
...
@@ -134,7 +142,7 @@
</div>
</div>
<!--商品信息-->
<div class="
layui
-
card
">
<div class="
layui
-
card
en
-
form
">
<div class="
layui
-
card
-
header
">
{
{admin_trans("order.order_page.商品信息")}
}
</div>
<div class="
layui
-
card
-
body
layui
-
form
" style="
padding
-
top
:
0
" lay-filter="
orderListForn
">
<div id="
list
"></div>
...
...
@@ -167,7 +175,7 @@
</div>
</div>
</div>
<div class="
row
bothSide
">
<div class="
row
bothSide
en
-
form
">
<!--收货信息-->
<div class="
user
-
row
">
<div class="
layui
-
card
">
...
...
@@ -233,7 +241,7 @@
<div class="
layui
-
input
-
block
">
<div class="
layui
-
form
-
mid
mid
-
width
">
{
{$info['receiveInfo']['country_name']}
}
</div>
<div class="
show
" style="
display
:
none
;
width
:
158
px
;
">
<input type="
hidden
" name="
country_name
" value="">
<input type="
hidden
" name="
country_name
" value="
{{
$info
[
'receiveInfo'
][
'country_name'
]}}
">
<select data="
1
" name="
country
" lay-filter="
countryChange
" style="
height
:
30
px
;
border
:
1
px
solid
#eee;background: transparent;width: 100%;">
<
option
value
=
""
>
{{
admin_trans
(
"order.order_page.请选择国家"
)}}
</
option
>
@
foreach
(
\App\Models\Country
::
getCountryMap
()
as
$cid
=>
$cname
)
...
...
@@ -342,7 +350,7 @@
<div class="
layui
-
input
-
block
">
<div class="
layui
-
form
-
mid
mid
-
width
">
{
{$info['billingInfo']['country_name']}
}
</div>
<div class="
show
" style="
display
:
none
;
width
:
158
px
;
">
<input type="
hidden
" name="
country_name
" value="">
<input type="
hidden
" name="
country_name
" value="
{{
$info
[
'billingInfo'
][
'country_name'
]}}
">
<select data="
2
" name="
country
" lay-filter="
countryChange
" style="
height
:
30
px
;
border
:
1
px
solid
#eee;background: transparent;width: 100%;">
<
option
value
=
""
>
{{
admin_trans
(
"order.order_page.请选择国家"
)}}
</
option
>
@
foreach
(
\App\Models\Country
::
getCountryMap
()
as
$cid
=>
$cname
)
...
...
@@ -380,7 +388,11 @@
<label class="
layui
-
form
-
label
">
{
{admin_trans("order.order_page.地址")}
}
:</label>
<div class="
layui
-
input
-
block
row
verCenter
">
<div class="
layui
-
form
-
mid
">
{
{$info['billingInfo']['detail_address']}
}
</div>
@if(
$info["lang"]
== 2)
<input type="
text
" class="
layui
-
input
show
" name="
detail_address
" placeholder="" value="
{{
$info
[
'billingInfo'
][
'detail_address'
]}}
" style="
display
:
none
;
">
@else
<input type="
text
" class="
layui
-
input
show
" name="
detail_address
" placeholder="" value="
{{
$info
[
'billingInfo'
][
'detail_address'
]}}
" style="
display
:
none
;
width
:
427
px
;
">
@endif
<div class="
show
row
verCenter
" style="
display
:
none
;
margin
-
left
:
15
px
;
">
<input type="
checkbox
" name="
open
" lay-skin="
switch
" lay-filter="
switchChange
" lay-text="
{{
admin_trans
(
"order.order_page.同收货地址"
)}}
|
{{
admin_trans
(
"order.order_page.同收货地址"
)}}
">
</div>
...
...
@@ -391,7 +403,7 @@
</div>
</div>
<!--结算信息-->
<div class="
layui
-
card
">
<div class="
layui
-
card
en
-
form
">
<div class="
layui
-
card
-
header
">
{
{admin_trans("order.order_page.结算信息")}
}
</div>
<div class="
layui
-
card
-
body
layui
-
form
" style="
width
:
50
%
;
" lay-filter="
settlementInfoForm
">
<input type="
hidden
" name="
order_id
" value="
{{
$info
[
'receiveInfo'
][
'order_id'
]}}
">
...
...
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