切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
b114b3779dc6305bf2cfeda78a7b1566bb986c24
1 个父辈
7523bf6d
1 个管道 的构建
通过
耗费 0 秒
1
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
24 行增加
和
17 行删除
public/themes/simpleboot3/portal/salesmangoods/salesman_goods_edit.html
public/themes/simpleboot3/portal/salesmangoods/salesman_goods_edit.html
查看文件 @
b114b37
...
...
@@ -35,6 +35,9 @@
.log_six_pictyre_titles
{
display
:
none
;
}
.log_six_select_one
span
,
.log_two_input_title
span
,
.log_two_picture_title
span
{
color
:
#F20000
;
}
</style>
</head>
...
...
@@ -114,7 +117,7 @@
<div
class=
"log_two_input"
>
<div
class=
"log_two_input_one "
>
<div
class=
"log_two_input_title"
>
书籍
<span>
*
</span>
书名
</div>
<div
class=
"log_two_input_contant"
>
<input
type=
"text"
placeholder=
"请输入书籍名称"
name=
"book_name"
value=
"{$goods_data.book_name}"
/>
...
...
@@ -122,7 +125,7 @@
</div>
<div
class=
"log_two_input_one "
>
<div
class=
"log_two_input_title"
>
佣金
<span>
*
</span>
佣金
</div>
<div
class=
"log_two_input_contant"
>
<input
type=
"text"
placeholder=
"请输入下级推广佣金"
name=
"money"
value=
"{$goods_data.money}"
/>
...
...
@@ -130,7 +133,7 @@
</div>
<div
class=
"log_two_input_one"
>
<div
class=
"log_two_input_title"
>
售价
<span>
*
</span>
售价
</div>
<div
class=
"log_two_input_contant"
>
<input
type=
"text"
placeholder=
"输入售价"
name=
"price"
value=
"{$goods_data.price}"
/>
...
...
@@ -171,7 +174,7 @@
</div>
<div
class=
"log_two_input_one"
>
<div
class=
"log_two_input_title"
>
开本
<span>
*
</span>
开本
</div>
<div
class=
"log_two_input_contant"
>
<input
type=
"text"
placeholder=
"请输入开本"
name=
"book_size"
value=
"{$goods_data.book_size}"
/>
...
...
@@ -225,7 +228,7 @@
<div
class=
"log_six_select_contant"
>
<div
class=
"log_two_input_one"
>
<div
class=
"log_two_input_title"
>
套装
<span>
*
</span>
套装
</div>
<div
class=
"log_two_input_contant"
>
<input
type=
"text"
placeholder=
"请输入每套本数"
name=
"suit"
value=
"{$goods_data.suit}"
/>
...
...
@@ -234,7 +237,7 @@
<div
class=
"log_six_select_top log_six_select_nianji"
>
<div
class=
"log_six_select_left"
>
<div
class=
"log_six_select_one"
>
适合年级
<span>
*
</span>
适合年级
</div>
<div
class=
"log_six_select_two log_six_nianji_contant"
id=
"grade"
>
{$goods_data.grade}
...
...
@@ -249,7 +252,7 @@
<div
class=
"log_six_wire"
></div>
<div
class=
"log_two_picture"
>
<div
class=
"log_two_picture_title"
>
商品详情
<span>
*
</span>
商品详情
</div>
<div
class=
"log_six_file_picture"
>
<div
class=
"log_six_picture"
>
...
...
@@ -359,19 +362,23 @@
if
(
img2
==
"http://xkeasy.w.bronet.cn/themes/simpleboot3/public/assets/images/jiahao.png"
){
img2
=
''
;
}
$
.
post
(
"{:url('Salesmangoods/Salesman_goods_edit')}"
,{
id
:
id
,
show_img
:
show_img
,
thumbnail
:
thumbnail
,
book_name
:
book_name
,
money
:
money
,
price
:
price
,
pricing
:
pricing
,
instr
:
instr
,
book_number
:
book_number
,
paper
:
paper
,
book_size
:
book_size
,
binding
:
binding
,
author
:
author
,
press
:
press
,
press_time
:
press_time
,
suit
:
suit
,
grade
:
grade
,
img0
:
img0
,
img1
:
img1
,
img2
:
img2
,
printing
:
printing
},
function
(
data
){
if
(
data
==
2
){
alert
(
'佣金不能大于售价'
);
}
else
{
if
(
data
){
window
.
location
.
href
=
"{:url('Salesmangoods/salesman_goods')}"
;
if
(
book_name
!=
""
&&
money
!=
""
&&
price
!=
""
&&
book_size
!=
""
&&
suit
!=
""
&&
grade
!=
""
&&
(
img0
!=
""
||
img1
!=
""
||
img2
!=
""
)){
$
.
post
(
"{:url('Salesmangoods/Salesman_goods_edit')}"
,{
id
:
id
,
show_img
:
show_img
,
thumbnail
:
thumbnail
,
book_name
:
book_name
,
money
:
money
,
price
:
price
,
pricing
:
pricing
,
instr
:
instr
,
book_number
:
book_number
,
paper
:
paper
,
book_size
:
book_size
,
binding
:
binding
,
author
:
author
,
press
:
press
,
press_time
:
press_time
,
suit
:
suit
,
grade
:
grade
,
img0
:
img0
,
img1
:
img1
,
img2
:
img2
,
printing
:
printing
},
function
(
data
){
if
(
data
==
2
){
alert
(
'佣金不能大于售价'
);
}
else
{
alert
(
'更新失败!'
);
if
(
data
){
window
.
location
.
href
=
"{:url('Salesmangoods/salesman_goods')}"
;
}
else
{
alert
(
'更新失败!'
);
}
}
}
});
});
}
else
{
alert
(
"必填项不能为空"
)
}
}
...
...
请
注册
或
登录
后发表评论