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
Show 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 {
if
(
this
.
remoteFlag
)
{
this
.
remoteFlag
=
false
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
=
{
'pageFrom'
:
1
,
'pageSize'
:
999
,
'searchItems'
:
{
'items'
:
[
{
'fieldName'
:
'serialNumber'
,
'fieldName'
:
queryNo
,
'operator'
:
'LIKE'
,
'value'
:
query
||
''
},
...
...
@@ -104,12 +113,12 @@ export default {
}
this
.
loading
=
true
this
.
options
=
[]
this
.
$api
.
searchApi
(
'ExtProcessPlan'
,
params
).
then
(
res
=>
{
this
.
$api
.
searchApi
(
requestUrl
,
params
).
then
(
res
=>
{
if
(
res
.
items
&&
res
.
items
.
content
.
length
)
{
this
.
options
=
res
.
items
.
content
.
map
((
item
)
=>
{
return
{
label
:
item
.
serialNumber
,
value
:
item
.
id
+
''
label
:
item
[
queryNo
]
,
value
:
item
[
queryNo
]
}
})
}
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