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
9fd7b338
authored
Dec 09, 2024
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
标签
parent
a0e617e7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
1 deletions
app/Services/LabelService.php
app/Services/OfflineLabelService.php
public/excel/标签离线导入.xlsx
public/js/web/offline.js
resources/views/web/design.blade.php
resources/views/web/offline_design.blade.php
app/Services/LabelService.php
View file @
9fd7b338
...
...
@@ -107,6 +107,7 @@ class LabelService {
$info
[
"ichunt2020"
][
"delivery_date"
]
=
isset
(
$item
[
"delivery_date"
])
?
$item
[
"delivery_date"
]
:
""
;
$info
[
"ichunt2020"
][
"coo"
]
=
isset
(
$item
[
"coo"
])
?
$item
[
"coo"
]
:
""
;
$info
[
"ichunt2020"
][
"customer_material_number"
]
=
isset
(
$item
[
"customer_material_number"
])
?
$item
[
"customer_material_number"
]
:
""
;
$info
[
"ichunt2020"
][
"sku_name"
]
=
isset
(
$item
[
"sku_name"
])
?
$item
[
"sku_name"
]
:
""
;
return
$this
->
getHtml
(
$_html
,
$info
);
}
...
...
app/Services/OfflineLabelService.php
View file @
9fd7b338
...
...
@@ -18,6 +18,7 @@ class OfflineLabelService{
"delivery_date"
,
"coo"
,
"customer_material_number"
,
"sku_name"
,
];
public
function
getOfflineUploadData
(
$data
){
...
...
public/excel/标签离线导入.xlsx
View file @
9fd7b338
No preview for this file type
public/js/web/offline.js
View file @
9fd7b338
...
...
@@ -79,6 +79,7 @@ layui.use(['form', 'table', 'laydate','upload'], function() {
,{
field
:
'delivery_date'
,
title
:
'发货日期'
}
,{
field
:
'coo'
,
title
:
'产地'
}
,{
field
:
'customer_material_number'
,
title
:
'客户物料编码'
}
,{
field
:
'sku_name'
,
title
:
'sku名称'
}
]]
,
data
:
data_123456
})
...
...
resources/views/web/design.blade.php
View file @
9fd7b338
...
...
@@ -190,6 +190,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -264,6 +265,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -301,6 +303,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
...
...
@@ -338,7 +341,8 @@
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</opt
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -376,6 +380,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -413,6 +418,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -450,6 +456,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -487,6 +494,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -525,6 +533,7 @@
<option
value=
"delivery_date"
>
送货日期
</option>
<option
value=
"coo"
>
产地
</option>
<option
value=
"customer_material_number"
>
客户物料编码
</option>
<option
value=
"sku_name"
>
sku名称
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
resources/views/web/offline_design.blade.php
View file @
9fd7b338
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