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
0f3dc01e
authored
Mar 05, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
只验证正常订单
parent
48257c6b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
public/js/order.js
resources/views/detail/changeOrder.blade.php
public/js/order.js
View file @
0f3dc01e
...
...
@@ -1934,6 +1934,7 @@
var
sale_id
=
$
(
'input[name=sale_id]'
).
val
();
var
order_goods_type
=
$
(
'input[name=order_goods_type]'
).
val
();
var
order_id
=
$
(
'input[name=order_id]'
).
val
();
var
business_type
=
$
(
'input[name=business_type]'
).
val
();
// 联营订单需要先指派业务员
if
(
order_goods_type
==
1
&&
sale_id
==
0
)
{
...
...
@@ -1961,7 +1962,8 @@
return
false
;
}
// 校验商品数量、单价
// 正常订单校验数量、单价
if
(
business_type
==
0
)
{
var
change_price
=
false
;
var
change_goods_number
=
false
;
var
change_str
=
''
;
...
...
@@ -1985,6 +1987,7 @@
layer
.
alert
(
change_str
)
return
false
;
}
}
// 预付款
if
(
pay_type
==
2
)
{
...
...
resources/views/detail/changeOrder.blade.php
View file @
0f3dc01e
...
...
@@ -22,6 +22,7 @@
<input
type=
"hidden"
name=
"check_failed"
value=
""
>
<input
type=
"hidden"
name=
"check_failed_info"
value=
""
>
<input
type=
"hidden"
name=
"change_pay_type"
value=
""
>
<input
type=
"hidden"
name=
"business_type"
value=
"{{$order_temp_info['business_type']}}"
>
<?php
$isNewClient
=
App\Http\Controllers\isNewClient
(
$order_info
[
'order_goods_type'
],
$order_info
[
'user_id'
],
$order_info
[
'create_time'
]);
?>
@if ($isNewClient)
...
...
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