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
af04ab66
authored
Nov 16, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
已修复标签补打(华云),和理货,一键理货深茂必填的验证
parent
8fc15e50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
78 deletions
pages/repairPrint/index.vue
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/repairPrint/index.vue
View file @
af04ab66
...
...
@@ -149,6 +149,9 @@
}
else
if
(
company_id
==
2
)
{
this
.
warehouse_arr
=
[{
name
:
'香港仓'
,
value
:
'10'
}];
this
.
formParams
.
warehouse_id
=
10
;
}
else
if
(
company_id
==
3
)
{
this
.
warehouse_arr
=
[{
name
:
'华云现货仓'
,
value
:
'11'
}];
this
.
formParams
.
warehouse_id
=
11
;
}
},
methods
:
{
...
...
pages/tallyReceive/index.vue
View file @
af04ab66
...
...
@@ -576,33 +576,15 @@
* 一键理货提交
*/
createTallyReceiveSubmit
()
{
//仅单据的组织为深贸电子时,容器必填,相应操作容器必填
if
(
this
.
company_id
==
1
)
{
if
(
this
.
searchParams
.
container_id
)
{
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'none'
});
return
false
;
}
}
}
else
if
(
this
.
company_id
==
2
)
{
if
(
!
this
.
searchParams
.
container_id
)
{
uni
.
showToast
({
title
:
'请输入容器'
,
icon
:
'none'
});
return
false
;
}
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'none'
});
return
false
;
}
// 现在需求是都去掉容器必填的验证
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'error'
});
return
false
;
}
//当前登录组织为深贸电子才必填
if
(
this
.
company_id
==
2
)
{
if
(
this
.
formParams
.
image_ids
.
length
<=
0
)
{
...
...
@@ -639,32 +621,13 @@
});
},
showDrawer
()
{
//仅单据的组织为深贸电子时,容器必填,相应操作容器必填
if
(
this
.
company_id
==
1
)
{
if
(
this
.
searchParams
.
container_id
)
{
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'none'
});
return
false
;
}
}
}
else
if
(
this
.
company_id
==
2
)
{
if
(
!
this
.
searchParams
.
container_id
)
{
uni
.
showToast
({
title
:
'请输入容器'
,
icon
:
'error'
});
return
false
;
}
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'error'
});
return
false
;
}
// 现在需求是都去掉容器必填的验证
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'error'
});
return
false
;
}
if
(
this
.
filter_id
.
length
==
0
)
{
...
...
pages/tallyReceive/operate.vue
View file @
af04ab66
...
...
@@ -731,32 +731,13 @@
* 理货提交
*/
createTallyReceive
()
{
//仅单据的组织为深贸电子时,容器必填,相应操作容器必填
if
(
this
.
company_id
==
1
)
{
if
(
this
.
searchParams
.
container_id
)
{
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'none'
});
return
false
;
}
}
}
else
if
(
this
.
company_id
==
2
)
{
if
(
!
this
.
searchParams
.
container_id
)
{
uni
.
showToast
({
title
:
'请输入容器'
,
icon
:
'error'
});
return
false
;
}
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'error'
});
return
false
;
}
// 现在需求是都去掉容器必填的验证
if
(
!
this
.
is_submit
)
{
uni
.
showToast
({
title
:
'请输入正确容器'
,
icon
:
'error'
});
return
false
;
}
if
(
!
this
.
formParams
.
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