Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
mes
mes-ui
Commits
3e7b7117
Commit
3e7b7117
authored
Jan 06, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 1.上机明细增加查询字段; 2.生产工单补单计算函数修改
parent
5b638eb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
proofingInfo.vue
src/views/mes/pro/workorder/proofingInfo.vue
+2
-2
index.vue
src/views/mes/tm/toolrequestlist/index.vue
+19
-1
No files found.
src/views/mes/pro/workorder/proofingInfo.vue
View file @
3e7b7117
...
@@ -538,7 +538,7 @@ export default {
...
@@ -538,7 +538,7 @@ export default {
this
.
processList
=
[]
this
.
processList
=
[]
const
bomList
=
this
.
currentData
.
bomList
.
map
((
item
,
index
)
=>
{
const
bomList
=
this
.
currentData
.
bomList
.
map
((
item
,
index
)
=>
{
// console.log(item.quantity, 'items')
// console.log(item.quantity, 'items')
let
quantity
=
parse
In
t
(
this
.
form
.
quantity
*
item
.
quantity
*
100
/
this
.
currentData
.
quantity
)
let
quantity
=
parse
Floa
t
(
this
.
form
.
quantity
*
item
.
quantity
*
100
/
this
.
currentData
.
quantity
)
// console.log(quantity, 'quantity')
// console.log(quantity, 'quantity')
return
{
return
{
...
item
,
...
item
,
...
@@ -550,7 +550,7 @@ export default {
...
@@ -550,7 +550,7 @@ export default {
...
ele
,
...
ele
,
processItemList
:
ele
.
processItemList
.
map
((
item
)
=>
{
processItemList
:
ele
.
processItemList
.
map
((
item
)
=>
{
// console.log(item.quantity, 'items2')
// console.log(item.quantity, 'items2')
let
quantity
=
parse
In
t
(
this
.
form
.
quantity
*
item
.
quantity
*
100
/
this
.
currentData
.
quantity
)
let
quantity
=
parse
Floa
t
(
this
.
form
.
quantity
*
item
.
quantity
*
100
/
this
.
currentData
.
quantity
)
return
{
return
{
...
item
,
...
item
,
quantity
:
quantity
/
100
quantity
:
quantity
/
100
...
...
src/views/mes/tm/toolrequestlist/index.vue
View file @
3e7b7117
...
@@ -17,6 +17,22 @@
...
@@ -17,6 +17,22 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"刀模SN"
prop=
"toolCode"
>
<el-input
v-model=
"queryParams.toolCode"
placeholder=
"请输入刀模SN"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"编排单号"
prop=
"arrangeCode"
>
<el-input
v-model=
"queryParams.arrangeCode"
placeholder=
"请输入编排单号"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
@@ -105,7 +121,9 @@ export default {
...
@@ -105,7 +121,9 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
workunitCode
:
null
,
workunitCode
:
null
,
workunitName
:
null
workunitName
:
null
,
toolCode
:
null
,
arrangeCode
:
null
,
}
,
}
,
// 表单参数
// 表单参数
form
:
{
}
,
form
:
{
}
,
...
...
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