Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
note-library
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
274117c3
authored
Feb 21, 2023
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
标签
parent
fdddabc1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
1 deletions
app/Services/LabelService.php
app/Services/OfflineLabelService.php
public/excel/标签离线导入.xlsx
public/js/web/offline.js
resources/views/web/offline_design.blade.php
storage/offline_print/1000.txt
app/Services/LabelService.php
View file @
274117c3
...
...
@@ -100,6 +100,7 @@ class LabelService {
$info
[
"ichunt2020"
][
"goods_number"
]
=
isset
(
$item
[
"goods_number"
])
?
$item
[
"goods_number"
]
:
""
;
$info
[
"ichunt2020"
][
"sku_code"
]
=
isset
(
$item
[
"sku_code"
])
?
$item
[
"sku_code"
]
:
""
;
$info
[
"ichunt2020"
][
"customer_code"
]
=
isset
(
$item
[
"customer_code"
])
?
$item
[
"customer_code"
]
:
""
;
$info
[
"ichunt2020"
][
"data_code"
]
=
isset
(
$item
[
"data_code"
])
?
$item
[
"data_code"
]
:
""
;
$info
[
"ichunt2020"
][
"customer_type"
]
=
isset
(
$item
[
"customer_type"
])
?
$item
[
"customer_type"
]
:
""
;
$info
[
"ichunt2020"
][
"customer_com"
]
=
isset
(
$item
[
"customer_com"
])
?
$item
[
"customer_com"
]
:
""
;
return
$this
->
getHtml
(
$_html
,
$info
);
...
...
app/Services/OfflineLabelService.php
View file @
274117c3
...
...
@@ -13,6 +13,7 @@ class OfflineLabelService{
"sku_code"
,
"customer_code"
,
"customer_type"
,
"data_code"
,
];
public
function
getOfflineUploadData
(
$data
){
...
...
public/excel/标签离线导入.xlsx
View file @
274117c3
No preview for this file type
public/js/web/offline.js
View file @
274117c3
...
...
@@ -72,8 +72,9 @@ layui.use(['form', 'table', 'laydate','upload'], function() {
,{
field
:
'goods_type'
,
title
:
'型号'
}
,{
field
:
'goods_brand'
,
title
:
'品牌'
}
,{
field
:
'goods_number'
,
title
:
'数量'
,
width
:
80
}
,{
field
:
'customer_
typ
e'
,
title
:
'客户编码'
}
,{
field
:
'customer_
cod
e'
,
title
:
'客户编码'
}
,{
field
:
'customer_type'
,
title
:
'客户型号'
}
,{
field
:
'data_code'
,
title
:
'批次'
}
]]
,
data
:
data_123456
})
...
...
resources/views/web/offline_design.blade.php
View file @
274117c3
...
...
@@ -13,6 +13,7 @@
<div
class=
"sjglbox fl"
>
<select
class=
"sjgl sjgl1 fl"
>
<option
value=
""
>
自定义
</option>
<option
value=
"data_code"
>
批次号
</option>
<option
value=
"sku_code"
>
SKU编码
</option>
<option
value=
"goods_type"
>
型号名称
</option>
<option
value=
"goods_brand"
>
型号品牌
</option>
...
...
@@ -38,6 +39,7 @@
<div
class=
"sjglbox fl"
>
<select
class=
"sjgl sjgl1 fl"
>
<option
value=
""
>
自定义
</option>
<option
value=
"data_code"
>
批次号
</option>
<option
value=
"sku_code"
>
SKU编码
</option>
<option
value=
"goods_type"
>
型号名称
</option>
<option
value=
"goods_brand"
>
型号品牌
</option>
...
...
@@ -68,6 +70,7 @@
<div
class=
"sjglbox fl"
>
<select
class=
"sjgl sjgl2 fl"
>
<option
value=
""
>
自定义
</option>
<option
value=
"data_code"
>
批次号
</option>
<option
value=
"sku_code"
>
SKU编码
</option>
<option
value=
"goods_type"
>
型号名称
</option>
<option
value=
"goods_brand"
>
型号品牌
</option>
...
...
@@ -98,6 +101,7 @@
<div
class=
"sjglbox fl"
>
<select
class=
"sjgl sjgl3 fl"
>
<option
value=
""
>
自定义
</option>
<option
value=
"data_code"
>
批次号
</option>
<option
value=
"sku_code"
>
SKU编码
</option>
<option
value=
"goods_type"
>
型号名称
</option>
<option
value=
"goods_brand"
>
型号品牌
</option>
...
...
@@ -128,6 +132,7 @@
<div
class=
"sjglbox fl"
>
<select
class=
"sjgl sjgl4 fl"
>
<option
value=
""
>
自定义
</option>
<option
value=
"data_code"
>
批次号
</option>
<option
value=
"sku_code"
>
SKU编码
</option>
<option
value=
"goods_type"
>
型号名称
</option>
<option
value=
"goods_brand"
>
型号品牌
</option>
...
...
storage/offline_print/1000.txt
View file @
274117c3
This diff is collapsed.
Click to expand it.
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