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
54b0afa7
authored
Mar 03, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整交货地
parent
16956301
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
public/js/add_order.js
resources/views/addOrder/content.blade.php
public/js/add_order.js
View file @
54b0afa7
...
@@ -427,7 +427,8 @@
...
@@ -427,7 +427,8 @@
}
}
// if (goods_type == 1) { // 联营需要选择交货地
// if (goods_type == 1) { // 联营需要选择交货地
delivery_place
=
$
(
'input[name=delivery_place]:checked'
).
val
();
// delivery_place = $('input[name=delivery_place]:checked').val();
delivery_place
=
$
(
'.delivery_place'
).
val
();
if
(
delivery_place
==
null
)
{
if
(
delivery_place
==
null
)
{
layer
.
msg
(
'请选择交货地'
);
layer
.
msg
(
'请选择交货地'
);
...
@@ -500,7 +501,8 @@
...
@@ -500,7 +501,8 @@
}
}
// $('input[name=delivery_place][value='+delivery_place+']').attr('checked', true);
// $('input[name=delivery_place][value='+delivery_place+']').attr('checked', true);
$
(
'input[name=delivery_place][value='
+
delivery_place
+
']'
).
trigger
(
'click'
);
// $('input[name=delivery_place][value='+delivery_place+']').trigger('click');
$
(
'.delivery_place'
).
val
(
delivery_place
);
$
(
'.currency-sign'
).
text
(
currency_sign
);
$
(
'.currency-sign'
).
text
(
currency_sign
);
$
(
'.currency-section'
).
show
();
$
(
'.currency-section'
).
show
();
...
...
resources/views/addOrder/content.blade.php
View file @
54b0afa7
...
@@ -253,19 +253,28 @@
...
@@ -253,19 +253,28 @@
<span
class=
"currency-section hide"
>
币别:
<span
class=
"currency-sign"
></span></span>
<span
class=
"currency-section hide"
>
币别:
<span
class=
"currency-sign"
></span></span>
</div>
</div>
<div
class=
"form-group"
>
<span>
交货地址:
</span>
<select
name=
"delivery_place"
class=
"delivery_place"
disabled
>
<option
value=
"1"
>
大陆
</option>
<option
value=
"2"
>
香港
</option>
</select>
</div>
</div>
</div>
<div
class=
"col-sm-6"
>
<
!-- <
div class="col-sm-6">
<div class="form-group">
<div class="form-group">
<span>交货地址:</span>
<span>交货地址:</span>
<label class="radio-inline">
<label class="radio-inline">
<input
type=
"radio"
name=
"delivery_place"
class=
"delivery_place"
value=
"1"
checked=
"checked"
>
大陆
<input type="radio" name="delivery_place" class="delivery_place" value="1" checked="checked"
disabled="disabled"
> 大陆
</label>
</label>
<label class="radio-inline">
<label class="radio-inline">
<input
type=
"radio"
name=
"delivery_place"
class=
"delivery_place"
value=
"2"
>
香港
<input type="radio" name="delivery_place" class="delivery_place" value="2"
disabled="disabled"
> 香港
</label>
</label>
</div>
</div>
</div>
</div>
-->
</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