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
6dbda670
authored
Feb 24, 2023
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
标签新增绑定字段
parent
1cbdc065
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
0 deletions
app/Services/LabelService.php
app/Services/OfflineLabelService.php
public/excel/标签离线导入.xlsx
resources/views/web/design.blade.php
resources/views/web/offline_design.blade.php
app/Services/LabelService.php
View file @
6dbda670
...
...
@@ -103,6 +103,8 @@ class LabelService {
$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"
]
:
""
;
$info
[
"ichunt2020"
][
"customer_order_sn"
]
=
isset
(
$item
[
"customer_order_sn"
])
?
$item
[
"customer_order_sn"
]
:
""
;
$info
[
"ichunt2020"
][
"delivery_date"
]
=
isset
(
$item
[
"delivery_date"
])
?
$item
[
"delivery_date"
]
:
""
;
return
$this
->
getHtml
(
$_html
,
$info
);
}
...
...
app/Services/OfflineLabelService.php
View file @
6dbda670
...
...
@@ -14,6 +14,8 @@ class OfflineLabelService{
"customer_code"
,
"customer_type"
,
"data_code"
,
"customer_order_sn"
,
"delivery_date"
,
];
public
function
getOfflineUploadData
(
$data
){
...
...
public/excel/标签离线导入.xlsx
View file @
6dbda670
No preview for this file type
resources/views/web/design.blade.php
View file @
6dbda670
...
...
@@ -181,6 +181,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -251,6 +253,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -282,6 +286,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -313,6 +319,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -344,6 +352,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
resources/views/web/offline_design.blade.php
View file @
6dbda670
...
...
@@ -22,6 +22,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -48,6 +50,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -79,6 +83,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -110,6 +116,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</div>
...
...
@@ -141,6 +149,8 @@
<option
value=
"customer_code"
>
客户编码
</option>
<option
value=
"customer_type"
>
客户型号
</option>
<option
value=
"customer_com"
>
客户公司
</option>
<option
value=
"customer_order_sn"
>
客户订单号
</option>
<option
value=
"delivery_date"
>
送货日期
</option>
</select>
<input
type=
"text"
class=
"sjgl zdynr"
placeholder=
"输入自定义内容"
/>
</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