Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
Project
Project
Details
Activity
Releases
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
张伯涛
NLT-e-cigarette
Commits
24a77e6b
Commit
24a77e6b
authored
Jun 11, 2022
by
秦嘉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料
parent
d9d2d050
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
7 deletions
+34
-7
material.js
src/api/material.js
+2
-2
workOrder.vue
src/views/ProductionProcess/workOrder.vue
+30
-2
MaterialFile.vue
src/views/productionInfo/MaterialFile.vue
+2
-3
No files found.
src/api/material.js
View file @
24a77e6b
...
...
@@ -36,9 +36,9 @@ export function changeStaStatus(data) {
// 修改物料表
export
function
updateMaterial
(
data
)
{
const
businessId
=
data
.
businessId
//
const businessId = data.businessId
return
request
({
url
:
'/nltifsmaterial/update
/'
+
businessId
,
url
:
'/nltifsmaterial/update
'
,
method
:
'put'
,
data
,
headers
:
{
...
...
src/views/ProductionProcess/workOrder.vue
View file @
24a77e6b
...
...
@@ -287,6 +287,13 @@
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total1>0"
:total=
"total1"
:page
.
sync=
"rowsBom.page"
:limit
.
sync=
"rowsBom.rows"
@
pagination=
"handleDetail"
/>
</el-tab-pane>
<el-tab-pane
label=
"工站信息"
>
<el-table
...
...
@@ -424,6 +431,8 @@ export default {
],
// 表格分页总数
total
:
0
,
// 表格分页总数2
total1
:
0
,
// 对话框打开标志
open
:
false
,
// 对话框表单数据
...
...
@@ -433,7 +442,15 @@ export default {
// 工站表格数据
stationList
:
[],
// 开工表格数据
lineList
:
[]
lineList
:
[],
// 详情数据
rowsBom
:
{
// 表格页码标志
page
:
1
,
rows
:
10
,
orderNo
:
undefined
,
contract
:
undefined
},
}
},
/** 路由离开前存储筛选条件*/
...
...
@@ -476,8 +493,19 @@ export default {
this
.
form
=
response
.
data
this
.
open
=
true
})
listOrderMater
({
bomId
:
row
.
bomId
}).
then
(
response
=>
{
console
.
log
(
row
)
let
temp
=
JSON
.
parse
(
JSON
.
stringify
(
row
.
orderNo
))
this
.
rows
.
orderNo
=
temp
let
temp1
=
JSON
.
parse
(
JSON
.
stringify
(
row
.
contract
))
this
.
rows
.
contract
=
temp1
this
.
getBomTable
()
},
/** 查询工单BOM数据 */
getBomTable
()
{
this
.
Loading1
=
true
listOrderMater
(
this
.
rowsBom
).
then
(
response
=>
{
this
.
bomList
=
response
.
rows
this
.
total1
=
response
.
total
this
.
Loading1
=
false
})
},
...
...
src/views/productionInfo/MaterialFile.vue
View file @
24a77e6b
...
...
@@ -199,7 +199,7 @@
<div
slot=
"label"
class=
"labelClass"
>
<div
class=
"labelName"
>
分组
</div>
</div>
<el-select
v-model
.
trim=
"item.
g
roup"
placeholder=
"请选择"
>
<el-select
v-model
.
trim=
"item.
editG
roup"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -480,7 +480,7 @@ export default {
},
// 删除SN规则方法
delSNRules
(
item
,
index
)
{
this
.
snRules
List
.
splice
(
index
,
1
)
this
.
form
.
nltMaterialEdit
List
.
splice
(
index
,
1
)
},
// 删除SN规则方法2
delSNRule
(
item
,
index1
)
{
...
...
@@ -500,7 +500,6 @@ export default {
}
]
}
this
.
snRulesList
=
[]
this
.
resetForm
(
'form'
,
'form1'
,
'form2'
)
},
}
...
...
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