Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d5e9d5a1
authored
Nov 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'sy_xbyh_191113' into development
parents
47533b12
3d3521aa
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
43 additions
and
29 deletions
Application/Home/View/GoodManage/gooddetail.html
Application/Home/View/Home/index.html
Application/Home/View/QuotePrice/inquiry.html
Application/Home/View/QuotePrice/inquirydetail.html
Application/Home/View/QuotePrice/quote.html
Application/Home/View/RobOrder/index.html
Application/Home/View/Search/index.html
Application/Index/View/Index/search.html
Application/Search/View/Index/search.html
dist/js/roborder/index.js
dist/js/search/index.js
Application/Home/View/GoodManage/gooddetail.html
View file @
d5e9d5a1
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<
div
class
=
"fl"
>
<
div
class
=
"fl"
>
<
span
class
=
"icon iconfont iconjuxing10"
><
/span
>
<
span
class
=
"icon iconfont iconjuxing10"
><
/span
>
{{
#
if
(
d
.
company_type
==
1
){
}}
{{
#
if
(
d
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
company_type
==
2
){
}}
{{
#
if
(
d
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Home/View/Home/index.html
View file @
d5e9d5a1
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
<
div
class
=
"company fl ellipsis boxsiz"
><
span
class
=
"mark"
>
<
div
class
=
"company fl ellipsis boxsiz"
><
span
class
=
"mark"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Home/View/QuotePrice/inquiry.html
View file @
d5e9d5a1
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
<
div
class
=
"company fl ellipsis boxsiz"
><
span
class
=
"mark"
>
<
div
class
=
"company fl ellipsis boxsiz"
><
span
class
=
"mark"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Home/View/QuotePrice/inquirydetail.html
View file @
d5e9d5a1
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
<
div
class
=
"fl"
>
<
div
class
=
"fl"
>
<
span
class
=
"icon iconfont iconjuxing10"
><
/span
>
<
span
class
=
"icon iconfont iconjuxing10"
><
/span
>
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Home/View/QuotePrice/quote.html
View file @
d5e9d5a1
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
<
span
class
=
"mark"
>
<
span
class
=
"mark"
>
{{
#
if
(
item
.
company_type
){
}}
{{
#
if
(
item
.
company_type
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Home/View/RobOrder/index.html
View file @
d5e9d5a1
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<script
type=
"text/html"
id=
"zqTpl"
>
<script
type=
"text/html"
id=
"zqTpl"
>
<
div
class
=
"my_xj_list clr "
>
<
div
class
=
"my_xj_list clr "
>
{{
#
layui
.
each
(
d
,
function
(
index
,
item
){
}}
{{
#
layui
.
each
(
d
,
function
(
index
,
item
){
}}
<
div
class
=
"my_xj_item fl boxsiz"
style
=
"cursor:pointer"
userid
=
"{{item.inquiry_items
_id}}"
>
<
div
class
=
"my_xj_item fl boxsiz"
style
=
"cursor:pointer"
inquiryid
=
"{{item.inquiry_items_id}}"
userid
=
"{{item.user
_id}}"
>
<
div
class
=
"item_top clr"
>
<
div
class
=
"item_top clr"
>
<
div
class
=
"fl num ellipsis"
>
{{
item
.
goods_name
}}
<
/div
>
<
div
class
=
"fl num ellipsis"
>
{{
item
.
goods_name
}}
<
/div
>
<
/div
>
<
/div
>
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<
span
class
=
"fl type mystype lineBlock"
>
<
span
class
=
"fl type mystype lineBlock"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Home/View/Search/index.html
View file @
d5e9d5a1
...
@@ -43,9 +43,9 @@
...
@@ -43,9 +43,9 @@
<!-- <div class="fz condition_content ">
<!-- <div class="fz condition_content ">
<span class="bold">封装:</span>
<span class="bold">封装:</span>
<div class="condition_right_content clr">
<div class="condition_right_content clr">
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
</div>
</div>
</div> -->
</div> -->
</div>
</div>
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<
span
class
=
"fl type mystype lineBlock"
>
<
span
class
=
"fl type mystype lineBlock"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
<script
type=
"text/html"
id=
"xjhtml"
>
<script
type=
"text/html"
id=
"xjhtml"
>
<
div
class
=
"my_xj_list clr "
>
<
div
class
=
"my_xj_list clr "
>
{{
#
layui
.
each
(
d
,
function
(
index
,
item
){
}}
{{
#
layui
.
each
(
d
,
function
(
index
,
item
){
}}
<
div
class
=
"my_xj_item fl boxsiz xj_item"
style
=
"cursor:pointer"
userid
=
"{{item.inquiry_items
_id}}"
>
<
div
class
=
"my_xj_item fl boxsiz xj_item"
style
=
"cursor:pointer"
inquiryid
=
"{{item.inquiry_items_id}}"
userid
=
"{{item.user
_id}}"
>
<
div
class
=
"item_top clr"
>
<
div
class
=
"item_top clr"
>
<
div
class
=
"fl num ellipsis"
>
{{
item
.
goods_name
}}
<
/div
>
<
div
class
=
"fl num ellipsis"
>
{{
item
.
goods_name
}}
<
/div
>
<
/div
>
<
/div
>
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
<
span
class
=
"fl type mystype lineBlock"
>
<
span
class
=
"fl type mystype lineBlock"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Index/View/Index/search.html
View file @
d5e9d5a1
...
@@ -41,9 +41,9 @@
...
@@ -41,9 +41,9 @@
<!-- <div class="fz condition_content ">
<!-- <div class="fz condition_content ">
<span class="bold">封装:</span>
<span class="bold">封装:</span>
<div class="condition_right_content clr">
<div class="condition_right_content clr">
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
</div>
</div>
</div> -->
</div> -->
</div>
</div>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
<
span
class
=
"fl type mystype lineBlock"
>
<
span
class
=
"fl type mystype lineBlock"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
<
span
class
=
"fl type mystype lineBlock"
>
<
span
class
=
"fl type mystype lineBlock"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
Application/Search/View/Index/search.html
View file @
d5e9d5a1
...
@@ -41,9 +41,9 @@
...
@@ -41,9 +41,9 @@
<!-- <div class="fz condition_content ">
<!-- <div class="fz condition_content ">
<span class="bold">封装:</span>
<span class="bold">封装:</span>
<div class="condition_right_content clr">
<div class="condition_right_content clr">
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
<div class="fl">
贸易
商</div>
<div class="fl">
经销
商</div>
</div>
</div>
</div> -->
</div> -->
</div>
</div>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
<
span
class
=
"fl type mystype lineBlock"
>
<
span
class
=
"fl type mystype lineBlock"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
<
span
class
=
"fl type mystype lineBlock"
>
<
span
class
=
"fl type mystype lineBlock"
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易
商
经销
商
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
代理商
...
...
dist/js/roborder/index.js
View file @
d5e9d5a1
...
@@ -58,8 +58,15 @@ $(function () {
...
@@ -58,8 +58,15 @@ $(function () {
self
.
getData
(
index
,
1
)
self
.
getData
(
index
,
1
)
});
});
$
(
'.roborder_content'
).
on
(
'click'
,
'.my_xj_item'
,
function
(){
$
(
'.roborder_content'
).
on
(
'click'
,
'.my_xj_item'
,
function
(){
var
inquiryid
=
$
(
this
).
attr
(
'inquiryid'
);
var
userid
=
$
(
this
).
attr
(
'userid'
);
var
userid
=
$
(
this
).
attr
(
'userid'
);
window
.
location
.
href
=
"/quotedetail?id="
+
userid
var
cookieUserId
=
Util
.
getCookie
(
'user_id'
)
||
''
;
if
(
userid
==
cookieUserId
)
{
//自己查看自己的
window
.
location
.
href
=
"/inquirydetail?id="
+
inquiryid
}
else
{
window
.
location
.
href
=
"/quotedetail?id="
+
inquiryid
}
});
});
//编辑
//编辑
// $('.edit_div').click(function () {
// $('.edit_div').click(function () {
...
...
dist/js/search/index.js
View file @
d5e9d5a1
...
@@ -129,23 +129,30 @@ $(function () {
...
@@ -129,23 +129,30 @@ $(function () {
}
}
});
});
$
(
'.goods_data_list'
).
on
(
'click'
,
'.xj_item'
,
function
()
{
$
(
'.goods_data_list'
).
on
(
'click'
,
'.xj_item'
,
function
()
{
var
inquiryid
=
$
(
this
).
attr
(
'inquiryid'
);
var
userid
=
$
(
this
).
attr
(
'userid'
);
var
userid
=
$
(
this
).
attr
(
'userid'
);
window
.
location
.
href
=
"/quotedetail?id="
+
userid
var
cookieUserId
=
Util
.
getCookie
(
'user_id'
)
||
''
;
if
(
userid
==
cookieUserId
)
{
//自己查看自己的
window
.
location
.
href
=
"/inquirydetail?id="
+
inquiryid
}
else
{
window
.
location
.
href
=
"/quotedetail?id="
+
inquiryid
}
});
});
$
(
'.goods_data_list'
).
on
(
'click'
,
'.sp_item'
,
function
()
{
$
(
'.goods_data_list'
).
on
(
'click'
,
'.sp_item'
,
function
()
{
var
goodid
=
$
(
this
).
attr
(
'goodid'
);
var
goodid
=
$
(
this
).
attr
(
'goodid'
);
var
eleuserid
=
$
(
this
).
attr
(
'userid'
);
var
eleuserid
=
$
(
this
).
attr
(
'userid'
);
var
userid
=
Util
.
getCookie
(
'user_id'
)
||
""
;
var
userid
=
Util
.
getCookie
(
'user_id'
)
||
""
;
var
type
;
var
type
;
if
(
userid
===
eleuserid
)
{
if
(
userid
===
eleuserid
)
{
type
=
1
type
=
1
}
else
{
}
else
{
type
=
2
type
=
2
}
}
window
.
location
.
href
=
"/gooddetail?type="
+
type
+
"&id="
+
goodid
window
.
location
.
href
=
"/gooddetail?type="
+
type
+
"&id="
+
goodid
});
});
$
(
'.goods_data_list'
).
on
(
'click'
,
'.lx_cus'
,
function
()
{
$
(
'.goods_data_list'
).
on
(
'click'
,
'.lx_cus'
,
function
()
{
Util
.
setCookie
(
'customer'
,
Util
.
getRequest
(
'key'
)
||
""
,
1
,
cookieHostname
)
Util
.
setCookie
(
'customer'
,
Util
.
getRequest
(
'key'
)
||
""
,
1
,
cookieHostname
)
window
.
location
.
href
=
"/chat"
;
window
.
location
.
href
=
"/chat"
;
});
});
}
}
...
...
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