Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
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
9d63572f
authored
Apr 27, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
5c695c74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
11 deletions
pages/tallyReceive/operate.vue
pages/tallyReceive/operate.vue
View file @
9d63572f
...
@@ -144,16 +144,16 @@
...
@@ -144,16 +144,16 @@
</
template
>
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
</view>
<view
class=
"print row verCenter"
@
click=
"toggle()"
>
<view
class=
"print row verCenter"
@
click=
"toggle(
2
)"
>
<text
class=
"check-box-icon"
:class=
"{ curr: p
rint
_flag }"
></text>
<text
class=
"check-box-icon"
:class=
"{ curr: p
ic
_flag }"
></text>
<text
class=
"tt"
>
整单照片
</text>
<text
class=
"tt"
>
整单照片
</text>
</view>
</view>
<view
class=
"h2"
>
理货备注:
</view>
<view
class=
"h2"
>
理货备注:
</view>
<view
class=
"textarea-box"
><textarea
placeholder-style=
"color:#919399"
placeholder=
"请输入理货备注"
v-model=
"formParams.tally_remark"
/></view>
<view
class=
"textarea-box"
><textarea
placeholder-style=
"color:#919399"
placeholder=
"请输入理货备注"
v-model=
"formParams.tally_remark"
/></view>
</view>
</view>
<view
class=
"fix-btn row verCenter"
>
<view
class=
"fix-btn row verCenter"
>
<view
class=
"btn1 row rowCenter verCenter"
>
<view
class=
"btn1 row rowCenter verCenter"
@
click=
"toggle(1)"
>
<text
class=
"check-box-icon
curr
"
></text>
<text
class=
"check-box-icon
"
:class=
"{ curr: print_flag }
"
></text>
<text
class=
"text"
>
打印入库标签
</text>
<text
class=
"text"
>
打印入库标签
</text>
</view>
</view>
<view
class=
"btn2 row rowCenter verCenter"
@
click=
"createTallyReceive"
>
理 货
</view>
<view
class=
"btn2 row rowCenter verCenter"
@
click=
"createTallyReceive"
>
理 货
</view>
...
@@ -173,7 +173,8 @@ export default {
...
@@ -173,7 +173,8 @@ export default {
stock_in_id
:
''
,
stock_in_id
:
''
,
noexebshowFalg
:
true
,
//控制是否会触发生命周期
noexebshowFalg
:
true
,
//控制是否会触发生命周期
print_flag
:
true
,
//是否打印
print_flag
:
true
,
//是否打印
input_flag
:
false
,
pic_flag
:
false
,
//是否整单照片
input_flag
:
true
,
page
:
1
,
page
:
1
,
limit
:
1
,
limit
:
1
,
index
:
0
,
index
:
0
,
...
@@ -196,7 +197,8 @@ export default {
...
@@ -196,7 +197,8 @@ export default {
other_batch_attr
:
''
,
//其他批次属性
other_batch_attr
:
''
,
//其他批次属性
image_ids
:
[],
//图片
image_ids
:
[],
//图片
tally_remark
:
''
,
//理货备注
tally_remark
:
''
,
//理货备注
is_print
:
1
//打印入库标签
is_print
:
1
,
//打印入库标签
is_mobile_default_img
:
0
//整单照片
}
}
};
};
},
},
...
@@ -229,12 +231,21 @@ export default {
...
@@ -229,12 +231,21 @@ export default {
/**
/**
* 是否打印
* 是否打印
*/
*/
toggle
()
{
toggle
(
type
)
{
this
.
print_flag
=
!
this
.
print_flag
;
if
(
type
==
1
)
{
if
(
this
.
print_flag
)
{
this
.
print_flag
=
!
this
.
print_flag
;
this
.
formParams
.
is_print
=
1
;
if
(
this
.
print_flag
)
{
this
.
formParams
.
is_print
=
1
;
}
else
{
this
.
formParams
.
is_print
=
0
;
}
}
else
{
}
else
{
this
.
formParams
.
is_print
=
0
;
this
.
pic_flag
=
!
this
.
pic_flag
;
if
(
this
.
pic_flag
)
{
this
.
formParams
.
is_mobile_default_img
=
1
;
}
else
{
this
.
formParams
.
is_mobile_default_img
=
0
;
}
}
}
},
},
/**
/**
...
@@ -281,6 +292,12 @@ export default {
...
@@ -281,6 +292,12 @@ export default {
this
.
request
(
API
.
waitTallyReceiveList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
stock_in_item_id
:
this
.
stock_in_item_id
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
this
.
request
(
API
.
waitTallyReceiveList
,
'POST'
,
{
page
:
this
.
page
,
limit
:
this
.
limit
,
stock_in_item_id
:
this
.
stock_in_item_id
,
...
this
.
searchParams
},
false
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
detail
=
res
.
data
.
list
[
0
];
this
.
detail
=
res
.
data
.
list
[
0
];
this
.
formParams
.
tally_qty
=
res
.
data
.
list
[
0
].
wait_tally_qty
;
this
.
formParams
.
date_code
=
res
.
data
.
list
[
0
].
expect_date_code
;
uni
.
setNavigationBarTitle
({
title
:
res
.
data
.
list
[
0
].
stock_in_sn
+
'-理货'
});
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
msg
,
title
:
res
.
msg
,
...
...
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