Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
yunxin
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
aa27b923
authored
Apr 12, 2019
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
fb7eb926
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
16 deletions
app/Jobs/JopExportOrderList.php
public/pc/js/controller/OrderDetail.js
resources/views/pc/AbnormalList.blade.php
resources/views/pc/GoodsList.blade.php
resources/views/pc/OrderList.blade.php
resources/views/pc/PutawayList.blade.php
app/Jobs/JopExportOrderList.php
View file @
aa27b923
...
...
@@ -40,7 +40,7 @@ class JopExportOrderList extends Job implements ShouldQueue
$filename
=
date
(
'Y-m-d-H-i-s'
)
.
'-'
.
uniqid
()
.
'.csv'
;
$filePath
=
storage_path
()
.
DIRECTORY_SEPARATOR
.
'app'
.
DIRECTORY_SEPARATOR
.
'uploads'
.
DIRECTORY_SEPARATOR
.
$filename
;
$x
=
fopen
(
$filePath
,
'a'
);
//不存在则创建
$Arr
=
[
"订单号"
,
"创建时间"
,
"订单金额"
,
"结算币种"
,
"结算方式"
,
"
付款
状态"
];
// 表头
$Arr
=
[
"订单号"
,
"创建时间"
,
"订单金额"
,
"结算币种"
,
"结算方式"
,
"状态"
];
// 表头
foreach
(
$Arr
as
$k
=>
$v
){
$Arr
[
$k
]
=
iconv
(
'utf-8'
,
'gbk//IGNORE'
,
$v
);
}
...
...
public/pc/js/controller/OrderDetail.js
View file @
aa27b923
...
...
@@ -29,7 +29,7 @@
"<td><span class=\"t1\">"
+
s
.
mpq
+
"</span></td>"
+
"<td><span class=\"t1\">"
+
s
.
packing_id
+
"</span></td>"
+
"<td><span class=\"t1\">"
+
s
.
putaway_number
+
"</span></td>"
+
"<td><span class=\"t1\">"
+
s
.
initial
_price
+
"</span></td>"
+
"<td><span class=\"t1\">"
+
s
.
picking
_price
+
"</span></td>"
+
"</tr>"
}
$
(
"#shopListContent"
).
html
(
html
)
...
...
resources/views/pc/AbnormalList.blade.php
View file @
aa27b923
...
...
@@ -31,7 +31,7 @@
<input
type=
"text"
name=
"create_time2"
class=
"inp w120 order-time-2"
lay-key=
"2"
placeholder=
"结束时间"
>
</div>
<div
class=
"lineBlock input-inline va-m"
id=
"search"
>
<a
href=
"javascript:;"
class=
"
search
-btn"
>
<a
href=
"javascript:;"
class=
"
export
-btn"
>
<i
class=
"iconfont icon-chaxun-"
></i>
<span>
查询
</span>
</a>
...
...
@@ -42,6 +42,12 @@
<span>
导出
</span>
</a>
</div>
<div
class=
"lineBlock input-inline va-m"
id=
"reset"
>
<a
href=
"javascript:;"
class=
"export-btn"
>
<i
class=
"iconfont icon-shangpinguanli-"
></i>
<span>
重置
</span>
</a>
</div>
</div>
</form>
...
...
@@ -50,7 +56,7 @@
</div>
<script
type=
"text/html"
id=
"cahe"
>
<
a
class
=
"btn btn-xs btn-outline btn-danger pointer"
href
=
"/web/AbnormalDetail?id=@{{ d.abnormal_id }}"
>
明细
<
/a
>
<
a
class
=
"btn btn-xs btn-outline btn-danger pointer"
style
=
"color: #1080d0;border: 1px solid #1080d0;"
href
=
"/web/AbnormalDetail?id=@{{ d.abnormal_id }}"
>&
nbsp
;
明细
&
nbsp
;
<
/a
>
</script>
</div>
...
...
resources/views/pc/GoodsList.blade.php
View file @
aa27b923
...
...
@@ -24,7 +24,7 @@
</div>
<div
style=
"margin-top: 10px"
>
<div
class=
"lineBlock input-inline va-m"
id=
"search"
>
<a
href=
"javascript:;"
class=
"
search
-btn"
>
<a
href=
"javascript:;"
class=
"
export
-btn"
>
<i
class=
"iconfont icon-chaxun-"
></i>
<span>
查询
</span>
</a>
...
...
@@ -42,14 +42,14 @@
{{--
</a>
--}}
{{--
</div>
--}}
<div
class=
"lineBlock input-inline va-m"
id=
"export"
>
<a
href=
"javascript:;"
class=
"
search
-btn"
>
<i
class=
"iconfont icon-
chaxun
-"
></i>
<a
href=
"javascript:;"
class=
"
export
-btn"
>
<i
class=
"iconfont icon-
daochu
-"
></i>
<span>
导出
</span>
</a>
</div>
<div
class=
"lineBlock input-inline va-m"
id=
"reset"
>
<a
href=
"javascript:;"
class=
"
search
-btn"
>
<i
class=
"iconfont icon-
chaxun
-"
></i>
<a
href=
"javascript:;"
class=
"
export
-btn"
>
<i
class=
"iconfont icon-
shangpinguanli
-"
></i>
<span>
重置
</span>
</a>
</div>
...
...
@@ -61,7 +61,7 @@
</div>
<script
type=
"text/html"
id=
"cahe"
>
<
button
class
=
"btn btn-xs btn-outline btn-
danger pointer"
onclick
=
"purePrice(@{{ d.goods_id }})"
>
价格明细
<
/button
>
<
button
class
=
"btn btn-xs btn-outline btn-
success pointer"
style
=
"color: #1080d0;border: 1px solid #1080d0;"
onclick
=
"purePrice(@{{ d.goods_id }})"
>&
nbsp
;
价格明细
&
nbsp
;
<
/button
>
</script>
</div>
...
...
resources/views/pc/OrderList.blade.php
View file @
aa27b923
...
...
@@ -33,7 +33,7 @@
<input
type=
"text"
name=
"create_time2"
class=
"inp w120 order-time-2"
lay-key=
"2"
placeholder=
"结束时间"
>
</div>
<div
class=
"lineBlock input-inline va-m"
id=
"search"
>
<a
href=
"javascript:;"
class=
"
search
-btn"
>
<a
href=
"javascript:;"
class=
"
export
-btn"
>
<i
class=
"iconfont icon-chaxun-"
></i>
<span>
查询
</span>
</a>
...
...
@@ -46,7 +46,7 @@
</div>
<div
class=
"lineBlock input-inline va-m"
id=
"reset"
>
<a
href=
"javascript:;"
class=
"export-btn"
>
<i
class=
"iconfont icon-
daochu
-"
></i>
<i
class=
"iconfont icon-
shangpinguanli
-"
></i>
<span>
重置
</span>
</a>
</div>
...
...
@@ -57,7 +57,7 @@
</div>
<script
type=
"text/html"
id=
"cahe"
>
<
a
class
=
"btn btn-xs btn-outline btn-danger pointer"
href
=
"/web/OrderDetail?id=@{{ d.order_id }}"
>
明细
<
/a
>
<
a
class
=
"btn btn-xs btn-outline btn-danger pointer"
style
=
"color: #1080d0;border: 1px solid #1080d0;"
href
=
"/web/OrderDetail?id=@{{ d.order_id }}"
>&
nbsp
;
明细
&
nbsp
;
<
/a
>
</script>
</div>
...
...
resources/views/pc/PutawayList.blade.php
View file @
aa27b923
...
...
@@ -27,7 +27,7 @@
<input
type=
"text"
name=
"create_time2"
class=
"inp w120 order-time-2"
lay-key=
"2"
placeholder=
"结束时间"
>
</div>
<div
class=
"lineBlock input-inline va-m"
id=
"search"
>
<a
href=
"javascript:;"
class=
"
search
-btn"
>
<a
href=
"javascript:;"
class=
"
export
-btn"
>
<i
class=
"iconfont icon-chaxun-"
></i>
<span>
查询
</span>
</a>
...
...
@@ -40,7 +40,7 @@
</div>
<div
class=
"lineBlock input-inline va-m"
id=
"reset"
>
<a
href=
"javascript:;"
class=
"export-btn"
>
<i
class=
"iconfont icon-
daochu
-"
></i>
<i
class=
"iconfont icon-
shangpinguanli
-"
></i>
<span>
重置
</span>
</a>
</div>
...
...
@@ -51,7 +51,7 @@
</div>
<script
type=
"text/html"
id=
"cahe"
>
<
a
class
=
"btn btn-xs btn-outline btn-danger pointer"
href
=
"/web/PutawayDetail?id=@{{ d.putaway_id }}"
>
明细
<
/a
>
<
a
class
=
"btn btn-xs btn-outline btn-danger pointer"
style
=
"color: #1080d0;border: 1px solid #1080d0;"
href
=
"/web/PutawayDetail?id=@{{ d.putaway_id }}"
>&
nbsp
;
明细
&
nbsp
;
<
/a
>
</script>
</div>
...
...
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