Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
forbes_crm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
crm
forbes_crm
Commits
b8cd9f92
Commit
b8cd9f92
authored
Jun 03, 2021
by
谭文静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改报价单,成交单,产品管理页面
parent
54fb20d7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
802 additions
and
712 deletions
+802
-712
jeethink/jeethink-admin/src/main/resources/templates/crm/order/edit.html
...nk-admin/src/main/resources/templates/crm/order/edit.html
+159
-132
jeethink/jeethink-admin/src/main/resources/templates/crm/orderPrice/edit.html
...min/src/main/resources/templates/crm/orderPrice/edit.html
+585
-575
jeethink/jeethink-admin/src/main/resources/templates/crm/product/edit.html
...-admin/src/main/resources/templates/crm/product/edit.html
+58
-5
No files found.
jeethink/jeethink-admin/src/main/resources/templates/crm/order/edit.html
View file @
b8cd9f92
This diff is collapsed.
Click to expand it.
jeethink/jeethink-admin/src/main/resources/templates/crm/orderPrice/edit.html
View file @
b8cd9f92
This diff is collapsed.
Click to expand it.
jeethink/jeethink-admin/src/main/resources/templates/crm/product/edit.html
View file @
b8cd9f92
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<head>
<th:block
th:include=
"include :: header('修改产品')"
/>
<th:block
th:include=
"include :: header('修改产品')"
/>
</head>
</head>
<body
class=
"white-bg"
>
<body
class=
"white-bg"
>
<div
class=
"wrapper wrapper-content animated fadeInRight ibox-content"
>
<div
class=
"wrapper wrapper-content animated fadeInRight ibox-content"
>
<form
class=
"form-horizontal m"
id=
"form-product-edit"
th:object=
"${wmsProduct}"
>
<form
class=
"form-horizontal m"
id=
"form-product-edit"
th:object=
"${wmsProduct}"
>
<input
name=
"productId"
th:field=
"*{productId}"
type=
"hidden"
>
<input
name=
"productId"
th:field=
"*{productId}"
type=
"hidden"
>
...
@@ -90,11 +93,58 @@
...
@@ -90,11 +93,58 @@
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"col-xs-3 control-label"
>
备注:
</label>
<label
class=
"col-xs-3 control-label"
>
备注:
</label>
<div
class=
"col-xs-8"
>
<div
class=
"col-xs-8"
>
<textarea
name=
"remark"
maxlength=
"500"
class=
"form-control"
rows=
"3"
>
[[*{remark}]]
</textarea>
<textarea
name=
"remark"
maxlength=
"500"
class=
"form-control"
rows=
"3"
>
[[*{remark}]]
</textarea>
</div>
</div>
</div>
</div>
<div>
<p
onclick=
"tableChange()"
><a
href=
"javascript:;"
>
添加
</a></p>
<!-- <button onclick="tableChange()">Copy Text</button>-->
<table
class=
"table table-bordered"
id=
"tables"
>
<thead>
<tr>
<th>
名称
</th>
<th>
值
</th>
<th>
操作
</th>
</tr>
</thead>
<tbody
id=
"tbody"
>
<tr>
<td
align=
"center"
>
<input
type=
"text"
name=
"NO[]"
size=
"2"
/>
</td>
<td
align=
"center"
>
<input
type=
"text"
name=
"serial_number[]"
/>
</td>
<td>
<input
type=
"button"
id=
"Button2"
onClick=
"deltr(this)"
value=
"删行"
>
</td>
</tr>
</tbody>
</table>
<script
type=
"text/javascript"
>
//添加表格
function
tableChange
()
{
var
tableHtml
=
""
;
tableHtml
+=
'
<tr>
'
+
'
<td align="center"><input type="text" name="NO[]" size="2" /> </td>
'
+
'
<td align="center"><input type="text" name="serial_number[]"/></td>
'
+
'
<td><input type="button" onClick="deltr(this)" value="删行"></td>
'
+
'
</tr>
'
;
$
(
"
#tbody
"
).
append
(
tableHtml
)
;
//在表格后面添加一行
}
function
deltr
(
opp
)
{
var
length
=
$
(
"
#tbody tr
"
).
length
;
if
(
length
<=
1
)
{
alert
(
"
至少保留一行
"
);
}
else
{
$
(
opp
).
parent
().
parent
().
remove
();
//移除当前行
}
}
</script>
</div>
</form>
</form>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -104,7 +154,9 @@
...
@@ -104,7 +154,9 @@
</div>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: footer"
/>
<script
th:inline=
"javascript"
>
<script
th:inline=
"javascript"
>
var
argsList
=
[]
var
prefix
=
ctx
+
"
crm/product
"
;
var
prefix
=
ctx
+
"
crm/product
"
;
$
(
"
#form-product-edit
"
).
validate
({
$
(
"
#form-product-edit
"
).
validate
({
focusCleanup
:
true
focusCleanup
:
true
...
@@ -136,7 +188,7 @@
...
@@ -136,7 +188,7 @@
var
url
=
prefix
+
'
/image/
'
+
productId
;
var
url
=
prefix
+
'
/image/
'
+
productId
;
$
.
modal
.
open
(
"
修改产品图片
"
,
url
);
$
.
modal
.
open
(
"
修改产品图片
"
,
url
);
}
}
/*产品管理-编辑-选择产品分类树*/
/*产品管理-编辑-选择产品分类树*/
function
selectCatogory
()
{
function
selectCatogory
()
{
var
treeId
=
$
(
"
#treeId
"
).
val
();
var
treeId
=
$
(
"
#treeId
"
).
val
();
...
@@ -161,5 +213,6 @@
...
@@ -161,5 +213,6 @@
}
}
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
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