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
c4b8612c
Commit
c4b8612c
authored
Oct 08, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
43a1b1af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
detail.vue
pages/warehousing-inspection/detail.vue
+12
-5
index.vue
pages/warehousing-inspection/index.vue
+1
-1
No files found.
pages/warehousing-inspection/detail.vue
View file @
c4b8612c
...
@@ -169,13 +169,14 @@
...
@@ -169,13 +169,14 @@
<view
class=
"flex-col"
>
<view
class=
"flex-col"
>
<view
class=
"margin-sm"
>
<view
class=
"margin-sm"
>
<text
class=
"text-black text-title text-lg"
>
收货数量:
</text>
<text
class=
"text-black text-title text-lg"
>
待
收货数量:
</text>
</view>
</view>
<u--input
<u--input
placeholder=
"请输入"
placeholder=
"请输入"
border=
"surround"
border=
"surround"
v-model=
"orderInfo.
receive
Qty"
v-model=
"orderInfo.
deposit
Qty"
:disabled=
"true"
:disabled=
"true"
@
change=
"onQtyChange"
></u--input>
></u--input>
</view>
</view>
<view
class=
"flex-col"
>
<view
class=
"flex-col"
>
...
@@ -202,7 +203,7 @@
...
@@ -202,7 +203,7 @@
</view>
</view>
<view
class=
"flex-col content-part-1"
>
<view
class=
"flex-col content-part-1"
>
<view
v-if=
"orderInfo &&
orderInfo.status == 0
"
class=
"footer-content"
>
<view
v-if=
"orderInfo &&
['0','2'].includes(orderInfo.status)
"
class=
"footer-content"
>
<view
class=
"btn-box"
>
<view
class=
"btn-box"
>
<button
class=
"cu-btn block bg-blue lg round"
@
tap=
"onOpenTip"
>
提交
</button>
<button
class=
"cu-btn block bg-blue lg round"
@
tap=
"onOpenTip"
>
提交
</button>
</view>
</view>
...
@@ -254,6 +255,10 @@
...
@@ -254,6 +255,10 @@
},
},
methods
:
{
methods
:
{
onQtyChange
(
e
){
console
.
log
(
e
,
9666666666
)
this
.
orderInfo
.
receiveWeight
=
e
*
Number
(
this
.
orderInfo
.
receiveUnitWeight
);
},
onBack
()
{
onBack
()
{
uni
.
redirectTo
({
uni
.
redirectTo
({
url
:
"/pages/warehousing-inspection/index?tabIndex=1"
url
:
"/pages/warehousing-inspection/index?tabIndex=1"
...
@@ -270,7 +275,8 @@
...
@@ -270,7 +275,8 @@
}
}
]
]
getSubList
({
getSubList
({
id
:
this
.
id
companyCode
:
''
,
primaryId
:
this
.
id
}).
then
(
res
=>
{
}).
then
(
res
=>
{
uni
.
hideLoading
();
uni
.
hideLoading
();
...
@@ -281,7 +287,8 @@
...
@@ -281,7 +287,8 @@
receiveDate
:
moment
(
list
[
0
].
receiveDate
).
format
(
"YYYY-MM-DD"
),
receiveDate
:
moment
(
list
[
0
].
receiveDate
).
format
(
"YYYY-MM-DD"
),
receiveQty
:
Number
(
list
[
0
].
receiveQty
)
||
0
,
receiveQty
:
Number
(
list
[
0
].
receiveQty
)
||
0
,
qualifyQty
:
Number
(
list
[
0
].
qualifyQty
)
||
0
,
qualifyQty
:
Number
(
list
[
0
].
qualifyQty
)
||
0
,
unqualifyQty
:
Number
(
list
[
0
].
unqualifyQty
)
||
0
unqualifyQty
:
Number
(
list
[
0
].
unqualifyQty
)
||
0
,
depositQty
:
Number
(
list
[
0
].
receiveQty
)
||
0
};
};
}
}
})
})
...
...
pages/warehousing-inspection/index.vue
View file @
c4b8612c
...
@@ -411,7 +411,7 @@
...
@@ -411,7 +411,7 @@
},
},
onNavTo2
(
val
)
{
onNavTo2
(
val
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/warehousing-inspection/detail?id=
${
val
.
i
d
}
`
url
:
`/pages/warehousing-inspection/detail?id=
${
val
.
primaryI
d
}
`
})
})
},
},
onStartFloat
(
e
)
{
onStartFloat
(
e
)
{
...
...
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