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
401d56d3
authored
Feb 20, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_pay_refund_20190123' into development
parents
85bd0a76
a545758b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
57 deletions
public/js/order.js
resources/views/refundDetails/content.blade.php
public/js/order.js
View file @
401d56d3
...
@@ -490,9 +490,7 @@
...
@@ -490,9 +490,7 @@
location
.
reload
();
location
.
reload
();
// layer.close();
// layer.close();
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(){
error
:
function
(){
...
@@ -577,9 +575,7 @@
...
@@ -577,9 +575,7 @@
location
.
reload
();
location
.
reload
();
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
})
})
return
false
;
return
false
;
...
@@ -612,9 +608,7 @@
...
@@ -612,9 +608,7 @@
location
.
reload
();
location
.
reload
();
return
false
;
return
false
;
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(){
error
:
function
(){
...
@@ -692,9 +686,7 @@
...
@@ -692,9 +686,7 @@
location
.
reload
();
location
.
reload
();
return
false
;
return
false
;
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(){
error
:
function
(){
...
@@ -739,9 +731,7 @@
...
@@ -739,9 +731,7 @@
btn
:
[],
btn
:
[],
})
})
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(
err
)
{
error
:
function
(
err
)
{
...
@@ -791,9 +781,7 @@
...
@@ -791,9 +781,7 @@
if
(
resp
.
errcode
==
0
){
if
(
resp
.
errcode
==
0
){
location
.
href
=
url
;
location
.
href
=
url
;
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
}
}
});
});
...
@@ -849,9 +837,7 @@
...
@@ -849,9 +837,7 @@
if
(
resp
.
errcode
==
0
){
if
(
resp
.
errcode
==
0
){
location
.
href
=
url
;
location
.
href
=
url
;
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
}
}
});
});
...
@@ -931,9 +917,7 @@
...
@@ -931,9 +917,7 @@
if
(
resp
.
errcode
==
0
){
if
(
resp
.
errcode
==
0
){
location
.
reload
();
location
.
reload
();
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
}
}
})
})
...
@@ -1008,9 +992,7 @@
...
@@ -1008,9 +992,7 @@
location
.
reload
();
location
.
reload
();
return
false
;
return
false
;
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
}
}
});
});
...
@@ -1046,9 +1028,7 @@
...
@@ -1046,9 +1028,7 @@
location
.
reload
();
location
.
reload
();
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
...
@@ -1567,9 +1547,7 @@
...
@@ -1567,9 +1547,7 @@
location
.
href
=
url
;
location
.
href
=
url
;
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
...
@@ -1612,9 +1590,7 @@
...
@@ -1612,9 +1590,7 @@
location
.
href
=
url
;
location
.
href
=
url
;
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
...
@@ -1637,9 +1613,7 @@
...
@@ -1637,9 +1613,7 @@
location
.
href
=
url
;
location
.
href
=
url
;
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
...
@@ -1722,9 +1696,7 @@
...
@@ -1722,9 +1696,7 @@
location
.
reload
();
location
.
reload
();
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(
err
)
{
error
:
function
(
err
)
{
...
@@ -1759,9 +1731,7 @@
...
@@ -1759,9 +1731,7 @@
location
.
reload
();
location
.
reload
();
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(
err
)
{
error
:
function
(
err
)
{
...
@@ -1782,9 +1752,7 @@
...
@@ -1782,9 +1752,7 @@
location
.
reload
();
location
.
reload
();
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(
err
)
{
error
:
function
(
err
)
{
...
@@ -1851,9 +1819,7 @@
...
@@ -1851,9 +1819,7 @@
location
.
reload
();
location
.
reload
();
return
false
;
return
false
;
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
error
:
function
(){
error
:
function
(){
...
@@ -2022,9 +1988,7 @@
...
@@ -2022,9 +1988,7 @@
location
.
href
=
'/details/'
+
order_id
;
// 退款列表
location
.
href
=
'/details/'
+
order_id
;
// 退款列表
},
1000
);
},
1000
);
}
else
{
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
location
.
reload
();
});
}
}
},
},
...
...
resources/views/refundDetails/content.blade.php
View file @
401d56d3
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</tr>
</tr>
<tr>
<tr>
<th>
用户账号
</th>
<th>
用户账号
</th>
<td>
{{ App\Http\Controllers\getAccountName($refund->
create_u
id) }}
</td>
<td>
{{ App\Http\Controllers\getAccountName($refund->
user_
id) }}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
申请时间
</th>
<th>
申请时间
</th>
...
@@ -58,7 +58,6 @@
...
@@ -58,7 +58,6 @@
<td>
{{$refund->refund_reason}}
</td>
<td>
{{$refund->refund_reason}}
</td>
</tr>
</tr>
@if ($refund->order_goods_type == 1)
<tr>
<tr>
<th>
退款型号
</th>
<th>
退款型号
</th>
<td>
<td>
...
@@ -87,7 +86,6 @@
...
@@ -87,7 +86,6 @@
@endif
@endif
</td>
</td>
</tr>
</tr>
@endif
</table>
</table>
</div>
</div>
</div>
</div>
...
...
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