Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
6f05c056
Commit
6f05c056
authored
Sep 05, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加删除盘方工鞥
parent
f688b2be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
shop_edit.js
public/resource/js/shop_edit.js
+1
-1
No files found.
public/resource/js/shop_edit.js
View file @
6f05c056
...
@@ -226,7 +226,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -226,7 +226,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
console
.
log
(
_data
[
'dish_name'
][
i
])
console
.
log
(
_data
[
'dish_name'
][
i
])
$
(
'#pf_tel_jia'
).
prev
().
find
(
'input'
).
val
(
_data
[
'dish_name'
][
i
]).
attr
(
'data-id'
,
_data
[
'dish_name'
][
i
].
split
(
'-'
)[
0
]);
$
(
'#pf_tel_jia'
).
prev
().
find
(
'input'
).
val
(
_data
[
'dish_name'
][
i
]).
attr
(
'data-id'
,
_data
[
'dish_name'
][
i
].
split
(
'-'
)[
0
]);
}
else
{
}
else
{
$
(
'#pf_tel_jia'
).
before
(
'<div class="form-group phone-list-container"><input type="tel" class="form-control phone_jia" placeholder="请输入" value="{0}" data-id="{1}"><ul></ul></div>'
.
stringFormatObj
({
$
(
'#pf_tel_jia'
).
before
(
'<div class="form-group phone-list-container"><input type="tel" class="form-control phone_jia" placeholder="请输入" value="{0}" data-id="{1}"><ul></ul><
img src="/resource/image/search_gb.png" class="input-cancel-pic panfang-del-id"><
/div>'
.
stringFormatObj
({
'0'
:
_data
[
'dish_name'
][
i
],
'0'
:
_data
[
'dish_name'
][
i
],
'1'
:
_data
[
'dish_name'
][
i
].
split
(
'-'
)[
0
]
'1'
:
_data
[
'dish_name'
][
i
].
split
(
'-'
)[
0
]
}));
}));
...
...
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