Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
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
ximai
mes-pda-scan
Commits
7190ef8b
Commit
7190ef8b
authored
Apr 24, 2024
by
xiangzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产发料
parent
d65625eb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
145 deletions
+43
-145
oddNumList.vue
pages/productionIssuance/oddNumList.vue
+4
-3
productionIssuance.vue
pages/productionIssuance/productionIssuance.vue
+9
-0
productionIssuanceList.vue
pages/productionIssuance/productionIssuanceList.vue
+29
-141
scanningList.vue
pages/productionIssuance/scanningList.vue
+1
-1
No files found.
pages/productionIssuance/oddNumList.vue
View file @
7190ef8b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<StickyNavBar>
<StickyNavBar>
<NavBar
title=
"生产发料单号"
></NavBar>
<NavBar
title=
"生产发料单号"
></NavBar>
</StickyNavBar>
</StickyNavBar>
<ContentLoadingMore
class=
"cardbox"
:loadmore=
'true'
:status=
"status"
>
<ContentLoadingMore
class=
"cardbox"
:loadmore=
'true'
:status=
"status"
:list=
'goodsList'
>
<view
class=
"cardContent"
v-for=
"(item, index) in goodsList"
>
<view
class=
"cardContent"
v-for=
"(item, index) in goodsList"
>
<view
class=
"listItemTitle"
@
click=
"handleClick(item)"
>
<view
class=
"listItemTitle"
@
click=
"handleClick(item)"
>
<view>
<view>
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
<view
class=
"item"
>
申请单号:
{{
item
.
applyNo
}}
</view>
<view
class=
"item"
>
申请单号:
{{
item
.
applyNo
}}
</view>
<view
class=
"item"
>
物料编号:
{{
item
.
itemCode
}}
</view>
<view
class=
"item"
>
物料编号:
{{
item
.
itemCode
}}
</view>
<view
class=
"item"
>
物料描述:
{{
item
.
itemName
}}
</view>
<view
class=
"item"
>
物料描述:
{{
item
.
itemName
}}
</view>
<view
class=
"item"
>
工作中心:
{{
item
.
workstationName
}}
</view>
<view
class=
"item"
>
作业单元:
{{
item
.
workunitName
}}
</view>
<view
class=
"item"
>
作业类型:
{{
item
.
materialType
?
'补料'
:
'领料'
}}
</view>
<view
class=
"item"
>
备料状态:
{{
item
.
grantNum
?
'配货中'
:
'未配货'
}}
</view>
<view
class=
"item"
>
备料状态:
{{
item
.
grantNum
?
'配货中'
:
'未配货'
}}
</view>
<view
class=
"item"
>
计划时间:
{{
item
.
startTime
}}
</view>
<view
class=
"item"
>
计划时间:
{{
item
.
startTime
}}
</view>
</view>
</view>
...
@@ -103,7 +104,7 @@ export default {
...
@@ -103,7 +104,7 @@ export default {
},
},
handleClick
(
item
){
handleClick
(
item
){
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/productionIssuance/productionIssuanceList?order=
${
JSON
.
stringify
([
item
])
}
`
url
:
`/pages/productionIssuance/productionIssuanceList?order=
${
item
.
applyNo
}
`
});
});
},
},
getBtnHandle
(
row
)
{
getBtnHandle
(
row
)
{
...
...
pages/productionIssuance/productionIssuance.vue
View file @
7190ef8b
...
@@ -107,9 +107,18 @@ export default {
...
@@ -107,9 +107,18 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
console
.
log
(
res
,
'-='
)
console
.
log
(
res
,
'-='
)
if
(
res
.
code
-
200
===
0
)
{
if
(
res
.
code
-
200
===
0
)
{
if
(
res
.
rows
.
length
){
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/productionIssuance/productionIssuanceList?order=
${
applyNo
}
`
url
:
`/pages/productionIssuance/productionIssuanceList?order=
${
applyNo
}
`
});
});
}
else
{
setTimeout
(()
=>
{
this
.
isFocus
=
true
;
this
.
isDisabled
=
false
;
this
.
wxparams
=
''
this
.
$u
.
toast
(
'未查询到数据'
);
},
1000
);
}
// const data = res.rows
// const data = res.rows
// data.forEach((ele,index) => {
// data.forEach((ele,index) => {
// ele.sonItemCode = []
// ele.sonItemCode = []
...
...
pages/productionIssuance/productionIssuanceList.vue
View file @
7190ef8b
This diff is collapsed.
Click to expand it.
pages/productionIssuance/scanningList.vue
View file @
7190ef8b
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<view
v-if=
"!show"
class=
"bottomBox"
>
<view
v-if=
"!show"
class=
"bottomBox"
>
<view
class=
"bottomItem"
v-for=
"(ele, idx) in list"
:key=
"ele.workorderCode+idx"
v-if=
"ele.itemCode === item.itemCode"
>
<view
class=
"bottomItem"
v-for=
"(ele, idx) in list"
:key=
"ele.workorderCode+idx"
v-if=
"ele.itemCode === item.itemCode"
>
<view
class=
"items"
>
生产单号:
{{
ele
.
applyNo
}}
</view>
<view
class=
"items"
>
生产单号:
{{
ele
.
applyNo
}}
</view>
<view
class=
"items"
>
物料批次:
{{
ele
.
charg
}}
</view>
<view
class=
"items"
>
物料批次:
{{
ele
.
CHARG
}}
</view>
<!--
<view
class=
"items"
>
库位:
{{
item
.
MATNR
}}
</view>
-->
<!--
<view
class=
"items"
>
库位:
{{
item
.
MATNR
}}
</view>
-->
<!--
<view
class=
"items"
>
{{
item
.
MATNR
}}
</view>
-->
<!--
<view
class=
"items"
>
{{
item
.
MATNR
}}
</view>
-->
<view
class=
"items inputItem"
>
<view
class=
"items inputItem"
>
...
...
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