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
09695334
Commit
09695334
authored
Nov 13, 2024
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 余料退料添加副产品标识
parent
6508ee13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
295 additions
and
298 deletions
+295
-298
manifest.json
manifest.json
+2
-2
oddmentsItem.vue
pages/produceReturn/components/oddmentsItem.vue
+15
-7
putawayInfo.vue
pages/produceReturn/components/putawayInfo.vue
+1
-1
index.vue
pages/sendOutGoodsOff/index.vue
+277
-288
No files found.
manifest.json
View file @
09695334
...
...
@@ -2,8 +2,8 @@
"name"
:
"mes-pda"
,
"appid"
:
"__UNI__FB0FD5F"
,
"description"
:
"MES-PDA"
,
"versionName"
:
"1.2.
3
"
,
"versionCode"
:
12
3
,
"versionName"
:
"1.2.
4
"
,
"versionCode"
:
12
4
,
"transformPx"
:
false
,
/*
5
+App特有相关
*/
"app-plus"
:
{
...
...
pages/produceReturn/components/oddmentsItem.vue
View file @
09695334
...
...
@@ -7,10 +7,11 @@
均摊明细
</u-button>
</view>
<view
class=
"item input"
>
退料数量:
<uni-easyinput
v-model=
"num"
trim=
"all"
type=
"
text
"
<view
class=
"item input"
>
退料数量:
<uni-easyinput
v-model=
"num"
trim=
"all"
type=
"
number
"
@
input=
"handleChange"
></uni-easyinput>
/PCS
</view>
<view
class=
"item"
>
申请数量:
{{
batchNum
}}
/PCS
</view>
<view
class=
"item"
>
是否副产品:
{{
item
.
coproduct
==
"Y"
?
'是'
:
'否'
}}
</view>
</view>
<view
class=
"listBottom"
>
<view
class=
"bottomTitle"
@
tap=
"show = !show"
>
...
...
@@ -27,13 +28,15 @@
</view>
</view>
<view
v-if=
"show"
class=
"bottomBox"
>
<view
class=
"bottomItem"
v-for=
"(ele, idx) in sapList"
>
<view
class=
"bottomItem"
v-for=
"(ele, idx) in sapList"
:key=
"idx"
>
<view
class=
"items"
>
{{
ele
.
batchNo
}}
</view>
<view
class=
"items"
>
{{
ele
.
sapItemCode
}}
<br>
{{
ele
.
itemName
}}
</view>
<view
class=
"items"
>
PL号:
<br>
<view
class=
"items"
v-for=
"p in ele.plNum.split('|')"
>
{{
p
}}
</view>
<template
v-if=
"ele.plNum"
>
<view
class=
"items"
v-for=
"(p, i) in ele.plNum.split('|')"
key=
"i"
>
{{
p
}}
</view>
</
template
>
</view>
<view
class=
"items"
>
批次数量:{{ ele.backNum }}/PCS
</view>
<view
class=
"items"
>
生产日期:{{ ele.produceTime }}
</view>
...
...
@@ -42,7 +45,7 @@
</view>
<u-popup
class=
"oddments-popup"
v-model=
"visible"
mode=
"center"
:mask-close-able=
"false"
>
<scroll-view
scroll-y=
"true"
style=
"height: 600rpx;"
>
<view
class=
"content"
v-for=
"(ele, idx) in pordList"
>
<view
class=
"content"
v-for=
"(ele, idx) in pordList"
:index=
"idx"
>
<view
class=
"item"
>
生产单号:{{ ele.workorderCode }}
</view>
<view
class=
"item"
>
{{ ele.sapItemCode }}
<br>
{{ele.itemName}}
</view>
<view
class=
"item"
>
工单计划数:{{ ele.quantity }}/PCS
</view>
...
...
@@ -141,7 +144,12 @@
this
.
$u
.
toast
(
"退料数量不可以超过申请数量!"
);
}
else
{
this
.
sapList
.
forEach
(
ele
=>
{
ele
.
ERFMG
=
(
val
*
(
ele
.
quantity
/
this
.
totalNum
)).
toFixed
(
2
);
if
(
ele
.
coproduct
==
"Y"
)
{
ele
.
ERFMG
=
val
;
}
else
{
ele
.
ERFMG
=
(
val
*
(
ele
.
quantity
/
this
.
totalNum
)).
toFixed
(
2
);
}
ele
.
COPRODUCT
=
ele
.
coproduct
;
})
}
// }
...
...
pages/produceReturn/components/putawayInfo.vue
View file @
09695334
...
...
@@ -24,7 +24,7 @@
</view>
<ContentLoadingMore
class=
"cardbox"
:list=
'chargaArr'
>
<scroll-view
scroll-y=
"true"
style=
"height: 680rpx;"
>
<view
class=
"cardContent"
v-for=
"(item, index) in chargaArr"
>
<view
class=
"cardContent"
v-for=
"(item, index) in chargaArr"
:key=
"index"
>
<PutwayItem
:item=
'item'
:list=
'chargaArr'
@
delGonds=
"delGonds"
/>
</view>
</scroll-view>
...
...
pages/sendOutGoodsOff/index.vue
View file @
09695334
This diff is collapsed.
Click to expand it.
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