Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
mes
mes-ui
Commits
3142aabd
Commit
3142aabd
authored
Jan 26, 2024
by
赵汉亭
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-ui
into dev
parents
ca87c806
2898a381
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
8 deletions
+19
-8
index.vue
src/components/SapPropertyData/index.vue
+2
-0
backFaceColor.vue
src/views/mes/md/product/components/backFaceColor.vue
+4
-8
customerLoss.vue
src/views/mes/md/product/components/customerLoss.vue
+5
-0
faceColor.vue
src/views/mes/md/product/components/faceColor.vue
+4
-0
factory.vue
src/views/mes/md/product/components/factory.vue
+4
-0
No files found.
src/components/SapPropertyData/index.vue
View file @
3142aabd
...
...
@@ -76,6 +76,7 @@ export default {
if
(
valid
)
{
this
.
loading
=
true
this
.
form
.
sapData
=
JSON
.
stringify
(
this
.
sapData
)
console
.
log
(
this
.
form
)
let
handleEdit
=
this
.
form
.
id
?
updateData
:
addData
handleEdit
(
this
.
form
).
then
(()
=>
this
.
$message
.
success
(
'操作成功'
)).
finally
(()
=>
this
.
loading
=
false
)
}
else
{
...
...
@@ -126,6 +127,7 @@ export default {
this
.
$refs
.
form
&&
this
.
$refs
.
form
.
resetFields
()
this
.
form
.
type
=
type
this
.
form
.
relationId
=
relationId
this
.
form
.
viewType
=
viewType
let
sapData
=
{}
// 获取sap特性列表
listByType
({
type
,
viewType
}).
then
(
res
=>
{
...
...
src/views/mes/md/product/components/backFaceColor.vue
View file @
3142aabd
<!--产品正反面颜色-->
<
template
>
<!-- v-hasPermi="['mes:md:faceColor:add']"
v-hasPermi="['mes:md:faceColor:remove']"
v-hasPermi="['mes:md:faceColor:remove']"
v-hasPermi="['mes:md:faceColor:edit']"-->
<div
class=
"app-container"
>
<el-row
:gutter=
"10"
class=
"mb8"
v-if=
"optType !='view'"
>
<el-col
:span=
"1.5"
>
...
...
@@ -13,7 +9,7 @@
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['mes:md:faceColor:add']"
>
新增
</el-button>
<ColorSelect
ref=
"colorSelect"
@
onSelected=
"onColorSelected"
>
</ColorSelect>
</el-col>
...
...
@@ -25,7 +21,7 @@
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['mes:md:faceColor:remove']"
>
删除
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
...
@@ -52,14 +48,14 @@
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['mes:md:faceColor:edit']"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['mes:md:faceColor:remove']"
>
删除
</el-button>
</
template
>
</el-table-column>
...
...
src/views/mes/md/product/components/customerLoss.vue
View file @
3142aabd
...
...
@@ -9,6 +9,7 @@
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['md:loss:add']"
>
新增
</el-button
>
</el-col>
...
...
@@ -20,6 +21,7 @@
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['md:loss:edit']"
>
修改
</el-button
>
</el-col>
...
...
@@ -31,6 +33,7 @@
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['md:loss:remove']"
>
删除
</el-button
>
</el-col>
...
...
@@ -69,6 +72,7 @@
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['md:loss:edit']"
>
修改
</el-button
>
<el-button
...
...
@@ -76,6 +80,7 @@
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['md:loss:remove']"
>
删除
</el-button
>
</
template
>
...
...
src/views/mes/md/product/components/faceColor.vue
View file @
3142aabd
...
...
@@ -9,6 +9,7 @@
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['mes:md:faceColor:add']"
>
新增
</el-button>
<ColorSelect
ref=
"colorSelect"
@
onSelected=
"onColorSelected"
>
</ColorSelect>
</el-col>
...
...
@@ -20,6 +21,7 @@
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['mes:md:faceColor:remove']"
>
删除
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
...
@@ -46,12 +48,14 @@
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['mes:md:faceColor:edit']"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['mes:md:faceColor:remove']"
>
删除
</el-button>
</
template
>
</el-table-column>
...
...
src/views/mes/md/product/components/factory.vue
View file @
3142aabd
...
...
@@ -9,6 +9,7 @@
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['md:factory:add']"
>
新增
</el-button
>
<FactorySelect
ref=
"FactorySelectRef"
@
onSelected=
"onFactorySelect"
/>
...
...
@@ -21,6 +22,7 @@
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['md:factory:remove']"
>
删除
</el-button
>
</el-col>
...
...
@@ -31,6 +33,7 @@
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['md:factory:export']"
>
导出
</el-button
>
</el-col>
...
...
@@ -97,6 +100,7 @@
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['md:factory:remove']"
>
删除
</el-button
>
</
template
>
...
...
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