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
6b4cf547
authored
Mar 24, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
0e8508e8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
9 deletions
assets/css/goods/addExectionReceiving.scss
pages/goods/addExectionReceiving.vue
pages/goods/tally.vue
pages/goods/tallyExectionDetail.vue
pages/goods/tallyQuestion.vue
assets/css/goods/addExectionReceiving.scss
View file @
6b4cf547
...
...
@@ -140,6 +140,7 @@
padding-top
:
23rpx
;
height
:
80rpx
;
textarea
{
height
:
100%
;
font-size
:
24rpx
;
color
:
#6e767a
;
}
...
...
pages/goods/addExectionReceiving.vue
View file @
6b4cf547
This diff is collapsed.
Click to expand it.
pages/goods/tally.vue
View file @
6b4cf547
...
...
@@ -15,7 +15,7 @@
<text
class=
"t2"
v-if=
"index == currentIndex"
>
(
{{
total
}}
)
</text>
</view>
</view>
<template
v-if=
"currentIndex ==
=
0"
>
<template
v-if=
"currentIndex == 0"
>
<view
class=
"list"
v-if=
"goodsArrangeData.length > 0 || !is_complete"
>
<navigator
class=
"box row bothSide verCenter"
:url=
"'/pages/goods/tallyDetail?number=' + item.number"
hover-class=
"none"
v-for=
"(item, index) in goodsArrangeData"
:key=
"index"
>
<view
class=
"bill-number row rowCenter verCenter"
:class=
"numberType[index] ? 'color1' : 'color2'"
>
{{
item
.
number
}}
</view>
...
...
@@ -48,7 +48,7 @@
</view>
</
template
>
</template>
<
template
v-else-if=
"currentIndex ==
=
1"
>
<
template
v-else-if=
"currentIndex == 1"
>
<view
class=
"list"
v-if=
"unusualCheckInList.length > 0 || !is_complete"
>
<navigator
class=
"box row bothSide verCenter"
:url=
"'/pages/goods/tallyExectionDetail?number=' + item.erp_order_sn"
hover-class=
"none"
v-for=
"(item, index) in unusualCheckInList"
:key=
"index"
>
<view
class=
"bill-number row rowCenter verCenter"
:class=
"numberTypeUnusua[index] ? 'color1' : 'color2'"
>
{{
item
.
erp_order_sn
}}
</view>
...
...
@@ -99,13 +99,18 @@ export default {
goodsArrangeData
:
[],
unusualCheckInList
:
[],
numberType
:
[],
numberTypeUnusua
:[]
numberTypeUnusua
:
[]
};
},
onLoad
(
options
)
{
if
(
options
.
currentIndex
!=
undefined
)
{
this
.
currentIndex
=
options
.
currentIndex
;
}
},
onShow
()
{
if
(
this
.
currentIndex
==
=
0
)
{
if
(
this
.
currentIndex
==
0
)
{
this
.
getData
();
}
else
if
(
this
.
currentIndex
==
=
1
)
{
}
else
if
(
this
.
currentIndex
==
1
)
{
this
.
getUnusualSortGoodsList
();
}
},
...
...
@@ -131,7 +136,7 @@ export default {
this
.
is_complete
=
true
;
this
.
goodsArrangeData
=
res
.
data
;
this
.
total
=
res
.
data
.
length
;
//判断A单 B单
if
(
res
.
data
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
res
.
data
.
length
;
i
++
)
{
...
...
@@ -142,7 +147,6 @@ export default {
}
}
}
}
else
{
uni
.
showToast
({
title
:
res
.
err_msg
,
...
...
pages/goods/tallyExectionDetail.vue
View file @
6b4cf547
...
...
@@ -77,7 +77,7 @@
</view>
</view>
</view>
<navigator
class=
"btn row rowCenter verCenter"
:url=
"'/pages/goods/tally
Question
?number=' + customerDetail.base.erp_order_sn"
>
重新发起理货
</navigator>
<navigator
class=
"btn row rowCenter verCenter"
:url=
"'/pages/goods/tally
Detail
?number=' + customerDetail.base.erp_order_sn"
>
重新发起理货
</navigator>
</view>
</
template
>
...
...
pages/goods/tallyQuestion.vue
View file @
6b4cf547
...
...
@@ -295,7 +295,10 @@ export default {
},
submit
()
{
this
.
noexebshowFalg
=
false
;
//不允许再次触发onshow这个生命周期
uni
.
navigateTo
({
url
:
'/pages/goods/tally?currentIndex=1'
});
return
false
;
//判断如有异常,是否填写实际
var
tempArr
=
[];
for
(
let
i
=
0
;
i
<
this
.
form
.
length
;
i
++
)
{
...
...
@@ -341,6 +344,15 @@ export default {
this
.
request
(
API
.
addAskCustomer
,
'POST'
,
params
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
uni
.
showToast
({
title
:
'提交成功'
,
icon
:
'success'
});
setTimeout
(()
=>
{
uni
.
navigateTo
({
url
:
'/pages/goods/tally?currentIndex=1'
});
},
2000
);
}
else
{
uni
.
showToast
({
title
:
res
.
err_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