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
1e564b33
Commit
1e564b33
authored
Oct 20, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料对照表修改
parent
d3bf1864
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
34 deletions
+13
-34
index.vue
...omponents/components/MaterialReferenceLinkTable/index.vue
+12
-33
index.vue
.../src/privateComponents/components/SearchSorties/index.vue
+1
-1
No files found.
applications/dee-mes/src/privateComponents/components/MaterialReferenceLinkTable/index.vue
View file @
1e564b33
...
...
@@ -6,13 +6,19 @@
*/
<
template
>
<div
class=
"materialReferenceLink-table"
>
<dee-form
<dee-as-com
ref=
"searchForm"
:form=
"searchForm"
:lay-config=
"
{ typeName: 'MaterialReferenceLink', layKey: 'search' }"
@searchEvent="initData"
/>
<!--
<dee-form
:form=
"searchForm"
:form-data=
"searchFormData"
:form-buttons=
"formButtons"
:form-btn-position=
"'center'"
@
on-submit=
"initData(searchForm)"
/>
/>
-->
<dee-up-table
:columns=
"tableColumns"
:data=
"tableData"
...
...
@@ -167,42 +173,15 @@ export default {
},
methods
:
{
initData
(
searchForm
)
{
console
.
log
(
searchForm
)
// 初始化数据
const
params
=
{
'pageFrom'
:
this
.
pagination
.
currentPage
,
'pageSize'
:
this
.
pagination
.
pageSize
,
'searchItems'
:
{
'children'
:
[],
'items'
:
[]
}
}
if
(
searchForm
&&
searchForm
.
rescodeA
)
{
params
.
searchItems
.
children
=
[
{
'items'
:
[
{
'fieldName'
:
'source.resCode'
,
'operator'
:
'LIKE'
,
'value'
:
searchForm
.
rescodeA
}
],
'operator'
:
'OR'
'searchItems'
:
{
}
}
]
}
if
(
searchForm
&&
searchForm
.
rescodeB
)
{
params
.
searchItems
.
children
=
[
{
'items'
:
[
{
'fieldName'
:
'target.resCode'
,
'operator'
:
'LIKE'
,
'value'
:
searchForm
.
rescodeB
}
],
'operator'
:
'OR'
}
]
if
(
searchForm
)
{
params
.
searchItems
=
searchForm
}
params
.
openProps
=
[{
name
:
'target'
},
{
name
:
'source'
}]
this
.
$api
.
searchApi
(
'MaterialReferenceLink'
,
params
).
then
(
res
=>
{
...
...
applications/dee-mes/src/privateComponents/components/SearchSorties/index.vue
View file @
1e564b33
...
...
@@ -154,6 +154,6 @@ export default {
<
style
lang=
'scss'
>
#SearchSorties
{
width
:
450px
;
//
width:450px;
}
</
style
>
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