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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
7 deletions
pages/tallyReceive/operate.vue
pages/tallyReceive/operate.vue
View file @
9d63572f
...
...
@@ -144,16 +144,16 @@
</
template
>
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"image_list.length < maxNum"
><text
class=
"iconfont icon-a-juxing3"
></text></view>
</view>
<view
class=
"print row verCenter"
@
click=
"toggle()"
>
<text
class=
"check-box-icon"
:class=
"{ curr: p
rint
_flag }"
></text>
<view
class=
"print row verCenter"
@
click=
"toggle(
2
)"
>
<text
class=
"check-box-icon"
:class=
"{ curr: p
ic
_flag }"
></text>
<text
class=
"tt"
>
整单照片
</text>
</view>
<view
class=
"h2"
>
理货备注:
</view>
<view
class=
"textarea-box"
><textarea
placeholder-style=
"color:#919399"
placeholder=
"请输入理货备注"
v-model=
"formParams.tally_remark"
/></view>
</view>
<view
class=
"fix-btn row verCenter"
>
<view
class=
"btn1 row rowCenter verCenter"
>
<text
class=
"check-box-icon
curr
"
></text>
<view
class=
"btn1 row rowCenter verCenter"
@
click=
"toggle(1)"
>
<text
class=
"check-box-icon
"
:class=
"{ curr: print_flag }
"
></text>
<text
class=
"text"
>
打印入库标签
</text>
</view>
<view
class=
"btn2 row rowCenter verCenter"
@
click=
"createTallyReceive"
>
理 货
</view>
...
...
@@ -173,7 +173,8 @@ export default {
stock_in_id
:
''
,
noexebshowFalg
:
true
,
//控制是否会触发生命周期
print_flag
:
true
,
//是否打印
input_flag
:
false
,
pic_flag
:
false
,
//是否整单照片
input_flag
:
true
,
page
:
1
,
limit
:
1
,
index
:
0
,
...
...
@@ -196,7 +197,8 @@ export default {
other_batch_attr
:
''
,
//其他批次属性
image_ids
:
[],
//图片
tally_remark
:
''
,
//理货备注
is_print
:
1
//打印入库标签
is_print
:
1
,
//打印入库标签
is_mobile_default_img
:
0
//整单照片
}
};
},
...
...
@@ -229,13 +231,22 @@ export default {
/**
* 是否打印
*/
toggle
()
{
toggle
(
type
)
{
if
(
type
==
1
)
{
this
.
print_flag
=
!
this
.
print_flag
;
if
(
this
.
print_flag
)
{
this
.
formParams
.
is_print
=
1
;
}
else
{
this
.
formParams
.
is_print
=
0
;
}
}
else
{
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 {
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
)
{
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
{
uni
.
showToast
({
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