切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
a1302784e483d53dd655f7abad9bb1a6a4919616
1 个父辈
17419c08
筛选学校问题
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
5 行删除
public/themes/simpleboot3/portal/order_salesman/get_all.html
simplewind/cmf/controller/WeChatBaseController.php
public/themes/simpleboot3/portal/order_salesman/get_all.html
查看文件 @
a130278
...
...
@@ -619,6 +619,8 @@
'data'
:
{
'school'
:
school
,
'grade'
:
grade
,
'state'
:
state
,
'is_courier'
:
is_courier
},
'success'
:
(
function
(
data
)
{
var
index
=
$
(
'.log_three_tab_top div'
).
index
(
$
(
'.aaa'
));
console
.
log
(
3333
);
console
.
log
(
data
);
if
(
data
.
code
==
1
)
{
var
result
=
data
.
data
;
if
(
result
==
0
){
...
...
@@ -667,7 +669,7 @@
" "
+
indent_goods_data
[
i3
].
book_name
+
"\n"
+
" </div>\n"
+
" <div class=\"log_three_center_two\">×"
+
indent_goods_data
[
i3
].
number
+
"</div>\n"
+
" <div class=\"log_three_center_three\"><span>¥</span>"
+
indent_goods_data
[
i3
].
price
*
indent_goods_data
[
i3
].
number
+
"</div>\n"
+
" <div class=\"log_three_center_three\"><span>¥</span>"
+
indent_goods_data
[
i3
].
price
+
"</div>\n"
+
" </div>\n"
+
" </div>"
;
}
...
...
@@ -758,7 +760,7 @@
})
})
$
(
'.search'
).
click
(
function
()
{
search
()
search
()
;
});
//发货
$
(
"body"
).
on
(
'click'
,
'.send'
,
function
()
{
...
...
@@ -880,7 +882,7 @@
function
update
()
{
var
is_courier
=
$
(
'#is_courier'
).
val
();
var
index
=
$
(
'.log_three_tab_top
div'
).
index
(
$
(
'.aaa'
)
);
var
index
=
$
(
'.log_three_tab_top
'
).
children
(
'.aaa'
).
index
(
);
if
(
is_courier
==
1
&&
index
==
0
)
{
$
(
'.log_three_list_fixed'
).
show
();
}
else
if
(
is_courier
==
2
||
index
!=
0
)
{
...
...
simplewind/cmf/controller/WeChatBaseController.php
查看文件 @
a130278
...
...
@@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController
*/
public
function
checkWeChatUserLogin
()
{
/*$user = Db::name('user')->where('id',5)->find();
cmf_update_current_user($user);*/
$user
=
Db
::
name
(
'user'
)
->
where
(
'id'
,
5
)
->
find
();
cmf_update_current_user
(
$user
);
$userId
=
cmf_get_current_user_id
();
if
(
empty
(
$userId
))
{
$config
=
[
...
...
请
注册
或
登录
后发表评论