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
1a99a4b9
authored
Sep 12, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
temp
parent
e4edf262
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
app/Http/Controllers/OrderController.php
public/js/order.js
resources/views/detail/changeOrder.blade.php
app/Http/Controllers/OrderController.php
View file @
1a99a4b9
...
@@ -1074,7 +1074,8 @@ Class OrderController extends Controller
...
@@ -1074,7 +1074,8 @@ Class OrderController extends Controller
"k2"
=>
$check
[
'k2'
],
"k2"
=>
$check
[
'k2'
],
"client_source"
=>
$client_source
,
"client_source"
=>
$client_source
,
];
];
echo
'<pre>'
;
print_r
(
curlApi
(
$url
,
$resData
,
"POST"
));
die
;
$temp
=
json_decode
(
curlApi
(
$url
,
$resData
,
"POST"
),
true
);
$temp
=
json_decode
(
curlApi
(
$url
,
$resData
,
"POST"
),
true
);
return
array
(
'errcode'
=>
$temp
[
'err_code'
],
'errmsg'
=>
$temp
[
'err_msg'
]);
return
array
(
'errcode'
=>
$temp
[
'err_code'
],
'errmsg'
=>
$temp
[
'err_msg'
]);
...
...
public/js/order.js
View file @
1a99a4b9
...
@@ -953,10 +953,10 @@
...
@@ -953,10 +953,10 @@
$
(
'input[name=order_pay_type]'
).
click
(
function
(){
$
(
'input[name=order_pay_type]'
).
click
(
function
(){
var
val
=
$
(
this
).
val
();
var
val
=
$
(
this
).
val
();
if
(
val
==
1
)
{
if
(
val
==
2
)
{
$
(
'.show-advance-pay'
).
hide
();
}
else
{
$
(
'.show-advance-pay'
).
show
();
$
(
'.show-advance-pay'
).
show
();
}
else
{
$
(
'.show-advance-pay'
).
hide
();
}
}
})
})
...
...
resources/views/detail/changeOrder.blade.php
View file @
1a99a4b9
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
<td
class=
"check-select"
>
<td
class=
"check-select"
>
<label><input
class=
"order_all_pay"
type=
"radio"
name=
"order_pay_type"
value=
"1"
>
全额付款
</label>
<label><input
class=
"order_all_pay"
type=
"radio"
name=
"order_pay_type"
value=
"1"
>
全额付款
</label>
<label><input
class=
"order_advance_pay"
type=
"radio"
name=
"order_pay_type"
value=
"2"
>
预付首款
</label>
<label><input
class=
"order_advance_pay"
type=
"radio"
name=
"order_pay_type"
value=
"2"
>
预付首款
</label>
<label><input
class=
"order_account_period"
type=
"radio"
name=
"order_pay_type"
value=
"3"
>
账期
</label>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
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