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
162f4f24
authored
Aug 17, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
理货照片必填控制需求变更
parent
9a077c5c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/tallyReceive/index.vue
View file @
162f4f24
...
...
@@ -199,6 +199,7 @@ export default {
print_flag
:
true
,
//是否打印
input_flag
:
false
,
input_contaion
:
false
,
company_id
:
uni
.
getStorageSync
(
'company_id'
)
||
1
,
//公司组织
all_flag
:
false
,
//全选标记
page
:
1
,
limit
:
50
,
...
...
@@ -233,6 +234,8 @@ export default {
image_list
(
arr
)
{
if
(
arr
.
length
>
0
)
{
this
.
formParams
.
image_ids
=
arr
.
join
(
','
);
}
else
{
this
.
formParams
.
image_ids
=
''
;
}
}
},
...
...
@@ -565,6 +568,9 @@ export default {
});
return
false
;
}
//当前登录组织为深贸电子才必填
if
(
this
.
company_id
==
2
)
{
if
(
this
.
formParams
.
image_ids
.
length
<=
0
)
{
uni
.
showToast
({
title
:
'请至少上传一张理货图片'
,
...
...
@@ -572,10 +578,12 @@ export default {
});
return
false
;
}
}
var
params
=
Object
.
assign
(
this
.
formParams
,
{
stock_in_item_id
:
this
.
filter_id
.
join
(
','
)
});
this
.
request
(
API
.
createTallyReceive
,
'POST'
,
params
,
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
uni
.
showToast
({
...
...
@@ -618,7 +626,7 @@ export default {
});
return
false
;
}
this
.
image_list
=
[];
this
.
formParams
.
image_ids
=
[];
//每次打开先清空
this
.
formParams
.
tally_remark
=
''
;
//每次打开先清空
this
.
$refs
.
showRight
.
open
();
...
...
pages/tallyReceive/operate.vue
View file @
162f4f24
...
...
@@ -220,6 +220,7 @@ export default {
pic_flag
:
false
,
//是否整单照片
input_flag
:
true
,
input_contaion
:
true
,
company_id
:
uni
.
getStorageSync
(
'company_id'
)
||
1
,
//公司组织
page
:
1
,
limit
:
1
,
index
:
0
,
...
...
@@ -637,6 +638,8 @@ export default {
return
false
;
}
//当前登录组织为深贸电子才必填
if
(
this
.
company_id
==
2
)
{
if
(
this
.
formParams
.
image_ids
.
length
<=
0
)
{
uni
.
showToast
({
title
:
'请至少上传一张理货图片'
,
...
...
@@ -644,6 +647,7 @@ export default {
});
return
false
;
}
}
var
wait_tally_qty
=
Number
(
this
.
detail
.
wait_tally_qty
);
...
...
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