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
62adf20e
Commit
62adf20e
authored
Jun 20, 2022
by
秦嘉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
2fb476fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
15 deletions
+12
-15
workOrder.js
src/api/workOrder.js
+1
-1
workOrder.vue
src/views/ProductionProcess/workOrder.vue
+11
-14
No files found.
src/api/workOrder.js
View file @
62adf20e
...
...
@@ -71,7 +71,7 @@ export function listStation(query) {
}
// 查询工单-模型列表
export
function
listModel
(
query
)
{
export
function
listModel
Order
(
query
)
{
return
request
({
url
:
'/nltifsorder/queryNltIfsOrderModelByPagination'
,
method
:
'get'
,
...
...
src/views/ProductionProcess/workOrder.vue
View file @
62adf20e
...
...
@@ -478,14 +478,13 @@
import
{
delOrder
,
getOrder
,
getOrder1
,
getOrder1
,
listModelOrder
,
listOrder
,
listOrderLine
,
listOrderMater
,
listStation
,
manualImport
}
from
'@/api/workOrder'
import
{
listModel
}
from
'@/api/model'
export
default
{
name
:
'WorkOrder'
,
...
...
@@ -544,12 +543,12 @@ export default {
rowsStation
:
{
page
:
1
,
rows
:
10
,
orderModel
Id
:
undefined
business
Id
:
undefined
},
rowsModel
:
{
page
:
1
,
rows
:
10
,
partNo
:
undefined
businessId
:
undefined
,
},
// 导入弹窗
importDialog
:
false
,
...
...
@@ -615,18 +614,16 @@ export default {
this
.
rowsBom
.
contract
=
row
.
contract
this
.
rowsBom
.
orderNo
=
row
.
orderNo
this
.
rowsLine
.
businessId
=
row
.
businessId
this
.
rowsModel
.
partNo
=
row
.
partNo
this
.
rowsStation
.
orderModelId
=
row
.
orderModel
Id
let
stat
es
=
row
.
state
this
.
rowsModel
.
businessId
=
row
.
businessId
this
.
rowsStation
.
businessId
=
row
.
business
Id
let
stat
us
=
row
.
status
this
.
getBomTable
()
this
.
getLineTable
()
this
.
getStationTable
(
stat
e
s
)
this
.
getStationTable
(
stat
u
s
)
},
/** 查询工单BOM数据 */
getBomTable
()
{
this
.
Loading1
=
true
// this.rowsBom.contract = row.contract
// this.rowsBom.orderNo = row.orderNo
listOrderMater
(
this
.
rowsBom
).
then
(
response
=>
{
this
.
bomList
=
response
.
rows
this
.
total1
=
response
.
total
...
...
@@ -644,11 +641,12 @@ export default {
})
},
/** 查询工单工站和模型数据 */
getStationTable
(
stat
e
s
)
{
getStationTable
(
stat
u
s
)
{
this
.
Loading3
=
true
if
(
states
===
'0'
)
{
console
.
log
(
status
,
'工单状态'
)
if
(
status
===
0
)
{
// this.rowsModel.partNo = row.partNo
listModel
(
this
.
rowsModel
).
then
(
response
=>
{
listModel
Order
(
this
.
rowsModel
).
then
(
response
=>
{
this
.
stationList
=
response
.
rows
this
.
total3
=
response
.
total
this
.
Loading3
=
false
...
...
@@ -768,7 +766,6 @@ export default {
* 表格颜色变化
*/
tableRowClassName
({
row
,
rowIndex
})
{
console
.
log
(
row
,
'表格数据'
)
if
(
row
.
isModel
===
'1'
)
{
return
'warning-row'
}
...
...
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