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
379a5b30
Commit
379a5b30
authored
Jun 15, 2022
by
zhangyichen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.91isoft.com:90/zhangbotao/nlt-e-cigarette
parents
0280b26d
aeb86beb
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
152 additions
and
57 deletions
+152
-57
badDefinition.js
src/api/badDefinition.js
+1
-12
workOrder.js
src/api/workOrder.js
+26
-0
workOrder.vue
src/views/ProductionProcess/workOrder.vue
+117
-39
ProductionModel.vue
src/views/productionInfo/ProductionModel.vue
+6
-4
badDefinition.vue
src/views/productionInfo/badDefinition.vue
+2
-2
No files found.
src/api/badDefinition.js
View file @
379a5b30
...
...
@@ -34,18 +34,7 @@ export function deleteLogical(businessId) {
method
:
'delete'
})
}
// 不良定义修改
export
function
updateStatus
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
console
.
log
(
data
)
return
request
({
url
:
'/nltdisadvantage/update/'
+
businessId
,
method
:
'put'
,
data
})
}
// 不良定义修改状态
// 不良定义
export
function
updateData
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
...
...
src/api/workOrder.js
View file @
379a5b30
...
...
@@ -35,3 +35,29 @@ export function listOrderMater(query) {
params
:
query
})
}
// 查询工单-物料列表
export
function
manualImport
(
query
)
{
return
request
({
url
:
'/nltscheduledresult/singleBom'
,
method
:
'get'
,
params
:
query
})
}
// 查询工单-线别列表
export
function
listOrderLine
(
query
)
{
return
request
({
url
:
'/nltifsorder/queryNltIfsOrderLineLogicByPagination'
,
method
:
'get'
,
params
:
query
})
}
// 查询工单-工站列表
export
function
listStation
(
query
)
{
return
request
({
url
:
'/nltifsorder/queryNltIfsOrderStationByPagination'
,
method
:
'get'
,
params
:
query
})
}
src/views/ProductionProcess/workOrder.vue
View file @
379a5b30
This diff is collapsed.
Click to expand it.
src/views/productionInfo/ProductionModel.vue
View file @
379a5b30
...
...
@@ -8,7 +8,7 @@
<div>
Part No.
</div>
</div>
<el-input
v-model=
"queryParams.
partNo
"
v-model=
"queryParams.
materCode
"
placeholder=
"请输入成品料号"
clearable
:maxlength=
"30"
...
...
@@ -255,7 +255,7 @@ export default {
page
:
1
,
rows
:
10
,
modelType
:
undefined
,
partNo
:
undefined
materCode
:
undefined
},
queryParam
:
{
page
:
1
,
...
...
@@ -350,7 +350,7 @@ export default {
this
.
queryParams
.
rows
=
10
this
.
queryParams
.
page
=
1
this
.
queryParams
.
modelType
=
undefined
this
.
queryParams
.
partNo
=
undefined
this
.
queryParams
.
materCode
=
undefined
this
.
handleQuery
()
},
/* 新增按钮操作 */
...
...
@@ -429,8 +429,10 @@ export default {
return
'北京'
case
'NOSZ'
:
return
'苏州'
default
:
case
'NB,NOSZ'
:
return
'北京,苏州'
default
:
return
contract
}
}
}
...
...
src/views/productionInfo/badDefinition.vue
View file @
379a5b30
...
...
@@ -135,7 +135,7 @@
<
template
slot-scope=
"scope"
>
<el-link
size=
"mini"
type=
"
primary
"
type=
"
success
"
style=
"margin-left: 10px"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-link>
...
...
@@ -505,7 +505,7 @@ export default {
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
form
.
businessId
!==
undefined
)
{
update
Status
(
this
.
form
).
then
(
response
=>
{
update
Data
(
this
.
form
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$message
({
message
:
'修改成功'
,
...
...
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