Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
c7abfcac
Commit
c7abfcac
authored
Sep 07, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按指令领用指令号接口特殊处理
parent
d5acf231
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
index.vue
...mes/src/privateComponents/components/AoNoSelect/index.vue
+13
-4
No files found.
applications/dee-mes/src/privateComponents/components/AoNoSelect/index.vue
View file @
c7abfcac
...
@@ -76,13 +76,22 @@ export default {
...
@@ -76,13 +76,22 @@ export default {
if
(
this
.
remoteFlag
)
{
if
(
this
.
remoteFlag
)
{
this
.
remoteFlag
=
false
this
.
remoteFlag
=
false
this
.
tableColumnSelect
=
true
this
.
tableColumnSelect
=
true
let
requestUrl
=
'ExtProcessPlan'
let
queryNo
=
'serialNumber'
if
(
this
.
basicData
.
useRequestType
===
'useAO'
)
{
requestUrl
=
'AbsentAO'
// 按指令AbsentAO
queryNo
=
'aoNo'
}
else
{
requestUrl
=
'ExtProcessPlan'
queryNo
=
'serialNumber'
}
const
params
=
{
const
params
=
{
'pageFrom'
:
1
,
'pageFrom'
:
1
,
'pageSize'
:
999
,
'pageSize'
:
999
,
'searchItems'
:
{
'searchItems'
:
{
'items'
:
[
'items'
:
[
{
{
'fieldName'
:
'serialNumber'
,
'fieldName'
:
queryNo
,
'operator'
:
'LIKE'
,
'operator'
:
'LIKE'
,
'value'
:
query
||
''
'value'
:
query
||
''
},
},
...
@@ -104,12 +113,12 @@ export default {
...
@@ -104,12 +113,12 @@ export default {
}
}
this
.
loading
=
true
this
.
loading
=
true
this
.
options
=
[]
this
.
options
=
[]
this
.
$api
.
searchApi
(
'ExtProcessPlan'
,
params
).
then
(
res
=>
{
this
.
$api
.
searchApi
(
requestUrl
,
params
).
then
(
res
=>
{
if
(
res
.
items
&&
res
.
items
.
content
.
length
)
{
if
(
res
.
items
&&
res
.
items
.
content
.
length
)
{
this
.
options
=
res
.
items
.
content
.
map
((
item
)
=>
{
this
.
options
=
res
.
items
.
content
.
map
((
item
)
=>
{
return
{
return
{
label
:
item
.
serialNumber
,
label
:
item
[
queryNo
]
,
value
:
item
.
id
+
''
value
:
item
[
queryNo
]
}
}
})
})
}
else
{
}
else
{
...
...
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