切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
105d569ba4590654675a25a9d05df035650672de
1 个父辈
1f186439
1 个管道 的构建
通过
耗费 0 秒
4
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
3 行删除
public/themes/simpleboot3/portal/salesmangoods/salesman_goods_add.html
public/themes/simpleboot3/portal/salesmangoods/salesman_goods_add.html
查看文件 @
105d569
...
...
@@ -469,10 +469,11 @@
*/
function
Sure_add
(){
show_img
=
$
(
'#show_img'
)[
0
].
src
;
console
.
log
(
show_img
);
/* if(show_img == "http://www.xkeasy.com/themes/simpleboot3/public/assets/images/jiahao.png"){
if
(
show_img
==
"http://www.xkeasy.com/themes/simpleboot3/public/assets/images/jiahao.png"
){
show_img
=
''
;
}
console
.
log
(
show_img
);
thumbnail
=
$
(
'#thumbnail'
)[
0
].
src
;
if
(
thumbnail
==
"http://www.xkeasy.com/themes/simpleboot3/public/assets/images/jiahao.png"
){
thumbnail
=
''
;
...
...
@@ -505,7 +506,7 @@
img2
=
''
;
}
$.post("{:url('Salesmangoods/Salesman_goods_add')}",{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){
/*
$.post("{:url('Salesmangoods/Salesman_goods_add')}",{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 == 3){
alert('添加失败,业务员书籍不能超过8本');
}else if(data == 2){
...
...
请
注册
或
登录
后发表评论