Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-front
Commits
8705034b
Commit
8705034b
authored
Sep 10, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产领料细节优化
parent
5728d9b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
add.vue
pages/picking/add.vue
+9
-3
list.vue
pages/picking/list.vue
+2
-3
No files found.
pages/picking/add.vue
View file @
8705034b
...
...
@@ -276,7 +276,8 @@
inventTypeBoxList
:[],
inventTypeBoxEnum
:{},
userList
:[],
userIndex
:
-
1
userIndex
:
-
1
,
confirmBtn
:
false
};
},
onLoad
()
{
...
...
@@ -291,6 +292,7 @@
this
.
formList
[
i
].
amount
=
Number
(
e
)
*
Number
(
this
.
formList
[
i
].
invQty
);
},
onAddSub
(){
if
(
this
.
confirmBtn
)
return
;
if
(
this
.
factoryIndex
<
0
){
uni
.
showToast
({
icon
:
"none"
,
...
...
@@ -343,6 +345,7 @@
},
onSubmit
()
{
if
(
this
.
confirmBtn
)
return
;
if
(
this
.
factoryIndex
<
0
)
{
uni
.
showToast
({
icon
:
"none"
,
...
...
@@ -395,6 +398,7 @@
this
.
onCancel
();
},
onSave
()
{
this
.
confirmBtn
=
true
;
this
.
show
=
false
;
uni
.
showLoading
({
title
:
"加载中..."
...
...
@@ -446,6 +450,7 @@
title
:
"提交成功"
})
setTimeout
(()
=>
{
this
.
confirmBtn
=
false
;
this
.
onBack
();
},
1500
)
return
;
...
...
@@ -461,11 +466,12 @@
}
else
{
uni
.
showToast
({
icon
:
"none"
,
title
:
`领料单创建成功,明细第
${
i
+
1
}
条添加失败,即将返回上一页`
title
:
`领料单创建成功,明细第
${
i
+
1
}
条添加失败,即将返回上一页`
,
duration
:
3000
})
setTimeout
(()
=>
{
this
.
onBack
();
},
50
00
)
},
35
00
)
}
})
},
...
...
pages/picking/list.vue
View file @
8705034b
...
...
@@ -39,9 +39,8 @@
lineColor=
"#0072fc"
:activeStyle=
"
{color: '#0072fc',fontWeight:'bold',fontSize:'16px'}">
</u-tabs>
</view>
<view
class=
"flex-col part-3"
>
<view
v-for=
"(item,k) in projectDataList"
:key=
"k"
class=
"content-item"
>
<view
class=
"header-title"
@
tap=
"onNavToOrderInfo(item)"
>
<view
v-for=
"(item,k) in projectDataList"
:key=
"k"
class=
"content-item"
@
tap=
"onNavToOrderInfo(item)"
>
<view
class=
"header-title"
>
<image
src=
"../../static/icon5.png"
mode=
"widthFix"
></image>
<view
class=
"flex-between"
>
<text
class=
"text-black text-bold ellipsis"
>
{{
item
.
projName
}}
</text>
...
...
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