Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
f6bc895c
authored
Apr 14, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
5601a7cf
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
17 deletions
pages/goods/addExectionReceiving.vue
pages/goods/addReceiving.vue
pages/tag/print.vue
pages/tag/repairPrint.vue
util/api.js
pages/goods/addExectionReceiving.vue
View file @
f6bc895c
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<view
class=
"tab-panel row rowCenter verCenter"
@
click=
"change(index, 'delivery_method')"
:class=
"
{ curr: delivery_method_index == index }" v-for="(item, index) in delivery_method_arr" :key="index">
{{
item
}}
</view>
<view
class=
"tab-panel row rowCenter verCenter"
@
click=
"change(index, 'delivery_method')"
:class=
"
{ curr: delivery_method_index == index }" v-for="(item, index) in delivery_method_arr" :key="index">
{{
item
}}
</view>
</view>
</view>
</view>
</view>
<view
class=
"box row verCenter"
>
<view
class=
"box row verCenter"
v-if=
"delivery_method_index == 0"
>
<text
class=
"label"
>
物流信息
</text>
<text
class=
"label"
>
物流信息
</text>
<view
class=
"uni-input-box row bothSide"
>
<view
class=
"uni-input-box row bothSide"
>
<input
type=
"text"
class=
"uni-input"
placeholder=
"请扫描或者手动录入"
placeholder-style=
"color:#404547;font-weight:bold;"
v-model=
"form.logistics_number"
/>
<input
type=
"text"
class=
"uni-input"
placeholder=
"请扫描或者手动录入"
placeholder-style=
"color:#404547;font-weight:bold;"
v-model=
"form.logistics_number"
/>
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"box row verCenter"
>
<view
class=
"box row verCenter"
v-if=
"delivery_method_index == 0"
>
<text
class=
"label"
>
物流公司
</text>
<text
class=
"label"
>
物流公司
</text>
<view
class=
"uni-list-cell-db"
>
<view
class=
"uni-list-cell-db"
>
<text
class=
"iconfont icon-sanjiaoxing1"
></text>
<text
class=
"iconfont icon-sanjiaoxing1"
></text>
...
...
pages/goods/addReceiving.vue
View file @
f6bc895c
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"box row verCenter"
>
<view
class=
"box row verCenter"
v-if=
"currentIndex == 0"
>
<text
class=
"label"
>
物流公司
</text>
<text
class=
"label"
>
物流公司
</text>
<view
class=
"uni-list-cell-db"
>
<view
class=
"uni-list-cell-db"
>
<text
class=
"iconfont icon-sanjiaoxing1"
></text>
<text
class=
"iconfont icon-sanjiaoxing1"
></text>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</picker>
</picker>
</view>
</view>
</view>
</view>
<view
class=
"box row verCenter"
>
<view
class=
"box row verCenter"
v-if=
"currentIndex == 0"
>
<text
class=
"label"
>
物流单号
</text>
<text
class=
"label"
>
物流单号
</text>
<view
class=
"uni-input-box row bothSide"
>
<view
class=
"uni-input-box row bothSide"
>
<input
type=
"text"
class=
"uni-input"
placeholder=
"请输入物流单号"
placeholder-style=
"color:#404547;font-weight:bold;"
v-model=
"form.logistics_number"
/>
<input
type=
"text"
class=
"uni-input"
placeholder=
"请输入物流单号"
placeholder-style=
"color:#404547;font-weight:bold;"
v-model=
"form.logistics_number"
/>
...
@@ -112,11 +112,6 @@ export default {
...
@@ -112,11 +112,6 @@ export default {
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
id
=
options
.
number
;
this
.
id
=
options
.
number
;
},
},
onShow
()
{
if
(
this
.
noexebshowFalg
)
{
this
.
getData
();
}
},
methods
:
{
methods
:
{
getData
()
{
getData
()
{
this
.
request
(
API
.
getCheckInList
,
'POST'
,
{
number
:
this
.
id
},
this
.
loading
).
then
(
res
=>
{
this
.
request
(
API
.
getCheckInList
,
'POST'
,
{
number
:
this
.
id
},
this
.
loading
).
then
(
res
=>
{
...
@@ -254,6 +249,7 @@ export default {
...
@@ -254,6 +249,7 @@ export default {
return
false
;
return
false
;
}
}
if
(
this
.
currentIndex
==
0
)
{
if
(
!
this
.
form
.
logistics_company
)
{
if
(
!
this
.
form
.
logistics_company
)
{
uni
.
showModal
({
uni
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
...
@@ -271,6 +267,7 @@ export default {
...
@@ -271,6 +267,7 @@ export default {
});
});
return
false
;
return
false
;
}
}
}
this
.
form
.
erp_order_sn
=
titleCase
(
this
.
form
.
erp_order_sn
);
//自动转成大写
this
.
form
.
erp_order_sn
=
titleCase
(
this
.
form
.
erp_order_sn
);
//自动转成大写
...
...
pages/tag/print.vue
View file @
f6bc895c
...
@@ -221,9 +221,9 @@ export default {
...
@@ -221,9 +221,9 @@ export default {
data
.
push
(
'T 5 0 10 120 箱号:'
+
this
.
printLabelData
[
this
.
print_number
].
label_sort
+
'/'
+
this
.
printLabelData
[
this
.
print_number
].
label_num
+
'\r\n'
);
data
.
push
(
'T 5 0 10 120 箱号:'
+
this
.
printLabelData
[
this
.
print_number
].
label_sort
+
'/'
+
this
.
printLabelData
[
this
.
print_number
].
label_num
+
'\r\n'
);
}
}
data
.
push
(
'SETMAG 0 0\r\n'
);
data
.
push
(
'SETMAG 0 0\r\n'
);
data
.
push
(
'T 8 0 10 1
9
0 时间:'
+
this
.
printLabelData
[
this
.
print_number
].
create_time_cn
+
'\r\n'
);
data
.
push
(
'T 8 0 10 1
8
0 时间:'
+
this
.
printLabelData
[
this
.
print_number
].
create_time_cn
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
3
0 仓库代码:'
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
2
0 仓库代码:'
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
7
0 流水号:'
+
this
.
printLabelData
[
this
.
print_number
].
wstyptll_id_sn
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
6
0 流水号:'
+
this
.
printLabelData
[
this
.
print_number
].
wstyptll_id_sn
+
'\r\n'
);
data
.
push
(
'B QR 280 110 M 2 U 8\r\n'
);
data
.
push
(
'B QR 280 110 M 2 U 8\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
'|\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
'|\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
...
...
pages/tag/repairPrint.vue
View file @
f6bc895c
...
@@ -200,9 +200,9 @@ export default {
...
@@ -200,9 +200,9 @@ export default {
data
.
push
(
'T 5 0 10 120 箱号:'
+
this
.
printLabelData
[
this
.
print_number
].
label_sort
+
'/'
+
this
.
printLabelData
[
this
.
print_number
].
label_num
+
'\r\n'
);
data
.
push
(
'T 5 0 10 120 箱号:'
+
this
.
printLabelData
[
this
.
print_number
].
label_sort
+
'/'
+
this
.
printLabelData
[
this
.
print_number
].
label_num
+
'\r\n'
);
}
}
data
.
push
(
'SETMAG 0 0\r\n'
);
data
.
push
(
'SETMAG 0 0\r\n'
);
data
.
push
(
'T 8 0 10 1
9
0 时间:'
+
this
.
printLabelData
[
this
.
print_number
].
create_time_cn
+
'\r\n'
);
data
.
push
(
'T 8 0 10 1
8
0 时间:'
+
this
.
printLabelData
[
this
.
print_number
].
create_time_cn
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
3
0 仓库代码:'
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
2
0 仓库代码:'
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
7
0 流水号:'
+
this
.
printLabelData
[
this
.
print_number
].
wstyptll_id_sn
+
'\r\n'
);
data
.
push
(
'T 8 0 10 2
6
0 流水号:'
+
this
.
printLabelData
[
this
.
print_number
].
wstyptll_id_sn
+
'\r\n'
);
data
.
push
(
'B QR 280 110 M 2 U 8\r\n'
);
data
.
push
(
'B QR 280 110 M 2 U 8\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
'|\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
'|\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
...
...
util/api.js
View file @
f6bc895c
//
const API_BASE = 'https://api.ichunt.com';
const
API_BASE
=
'https://api.ichunt.com'
;
const
API_BASE
=
'http://api.liexin.com'
//
const API_BASE = 'http://api.liexin.com'
const
API
=
{
const
API
=
{
/**
/**
* 上传数据
* 上传数据
...
...
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