Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-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
pda
pda-ui
Commits
70407814
Commit
70407814
authored
Jan 23, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品外观增加是否直角、是否异型、圆角字段;尺码组bug修改
parent
b1769456
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
29 deletions
+74
-29
look.vue
src/views/mes/md/product/components/look.vue
+54
-22
index.vue
src/views/mes/md/sizegroup/index.vue
+14
-5
index.vue
src/views/mes/md/sizegroup/item/index.vue
+6
-2
No files found.
src/views/mes/md/product/components/look.vue
View file @
70407814
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<el-input
v-model=
"form.weight"
type=
"number"
:precision=
"2"
placeholder=
"请输入成品克重"
/>
<el-input
v-model=
"form.weight"
type=
"number"
:precision=
"2"
placeholder=
"请输入成品克重"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<
!--
<
el-col
:span=
"8"
>
<el-form-item
label=
"角型"
prop=
"angleType"
>
<el-form-item
label=
"角型"
prop=
"angleType"
>
<el-select
v-model=
"form.angleType"
placeholder=
"请选择角型"
>
<el-select
v-model=
"form.angleType"
placeholder=
"请选择角型"
>
<el-option
<el-option
...
@@ -42,6 +42,40 @@
...
@@ -42,6 +42,40 @@
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
-->
<el-col
:span=
"8"
>
<el-form-item
label=
"单重(KG)"
prop=
"singleWeight"
>
<el-input
v-model=
"form.singleWeight"
type=
"number"
:precision=
"2"
placeholder=
"请输入单重"
/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"圆角"
prop=
"fillet"
>
<el-input
v-model=
"form.fillet"
type=
"number"
:precision=
"2"
placeholder=
"请输入圆角"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否异型"
prop=
"fillet"
>
<el-radio-group
v-model=
"form.isAllotype"
>
<el-radio
v-for=
"dict in dict.type.sys_yes_no"
:key=
"dict.value"
:label=
"dict.value"
>
{{
dict
.
label
}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
:span=
"8"
label=
"是否直角"
prop=
"isRightAngle"
>
<el-radio-group
v-model=
"form.isRightAngle"
>
<el-radio
v-for=
"dict in dict.type.sys_yes_no"
:key=
"dict.value"
:label=
"dict.value"
>
{{
dict
.
label
}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -62,11 +96,7 @@
...
@@ -62,11 +96,7 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"单重(KG)"
prop=
"singleWeight"
>
<el-input
v-model=
"form.singleWeight"
type=
"number"
:precision=
"2"
placeholder=
"请输入单重"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"层数"
prop=
"layerNum"
>
<el-form-item
label=
"层数"
prop=
"layerNum"
>
<el-input
v-model=
"form.layerNum"
type=
"number"
:precision=
"2"
placeholder=
"请输入层数"
/>
<el-input
v-model=
"form.layerNum"
type=
"number"
:precision=
"2"
placeholder=
"请输入层数"
/>
...
@@ -74,37 +104,33 @@
...
@@ -74,37 +104,33 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否防霉"
prop=
"isMould"
>
<el-form-item
label=
"是否防霉"
prop=
"isMould"
>
<el-
select
v-model=
"form.isMould"
placeholder=
"请选择是否防霉"
>
<el-
radio-group
v-model=
"form.isMould"
>
<el-
option
<el-
radio
v-for=
"dict in dict.type.sys_yes_no"
v-for=
"dict in dict.type.sys_yes_no"
:key=
"dict.value"
:key=
"dict.value"
:label=
"dict.label"
:label=
"dict.value"
:value=
"dict.value"
>
{{
dict
.
label
}}
</el-radio>
></el-option>
</el-radio-group>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否写码"
prop=
"isCoding"
>
<el-form-item
label=
"是否写码"
prop=
"isCoding"
>
<el-
select
v-model=
"form.isCoding"
placeholder=
"请选择是否写码"
>
<el-
radio-group
v-model=
"form.isCoding"
>
<el-
option
<el-
radio
v-for=
"dict in dict.type.sys_yes_no"
v-for=
"dict in dict.type.sys_yes_no"
:key=
"dict.value"
:key=
"dict.value"
:label=
"dict.label"
:label=
"dict.value"
:value=
"dict.value"
>
{{
dict
.
label
}}
</el-radio>
></el-option>
</el-radio-group>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"体系认证"
prop=
"certification"
>
<el-form-item
label=
"体系认证"
prop=
"certification"
>
<el-input
v-model=
"form.certification"
placeholder=
"请输入体系认证"
/>
<el-input
v-model=
"form.certification"
placeholder=
"请输入体系认证"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"样品形状"
prop=
"shape"
>
<el-form-item
label=
"样品形状"
prop=
"shape"
>
<el-select
v-model=
"form.shape"
placeholder=
"请选择样品形状"
>
<el-select
v-model=
"form.shape"
placeholder=
"请选择样品形状"
>
...
@@ -188,6 +214,9 @@ export default {
...
@@ -188,6 +214,9 @@ export default {
thick
:
''
,
thick
:
''
,
weight
:
''
,
weight
:
''
,
angleType
:
''
,
angleType
:
''
,
isAllotype
:
''
,
isRightAngle
:
''
,
fillet
:
''
,
angle
:
''
,
angle
:
''
,
aperture
:
''
,
aperture
:
''
,
singleLayerThick
:
''
,
singleLayerThick
:
''
,
...
@@ -245,6 +274,9 @@ export default {
...
@@ -245,6 +274,9 @@ export default {
thick
:
null
,
thick
:
null
,
weight
:
null
,
weight
:
null
,
angleType
:
null
,
angleType
:
null
,
isAllotype
:
null
,
isRightAngle
:
null
,
fillet
:
null
,
angle
:
null
,
angle
:
null
,
aperture
:
null
,
aperture
:
null
,
singleLayerThick
:
null
,
singleLayerThick
:
null
,
...
...
src/views/mes/md/sizegroup/index.vue
View file @
70407814
...
@@ -92,7 +92,11 @@
...
@@ -92,7 +92,11 @@
<dict-tag
:options=
"dict.type.size_type"
:value=
"scope.row.sizeType"
/>
<dict-tag
:options=
"dict.type.size_type"
:value=
"scope.row.sizeType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"是否启用"
align=
"center"
prop=
"enableFlag"
/>
<el-table-column
label=
"是否启用"
align=
"center"
prop=
"enableFlag"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_yes_no"
:value=
"scope.row.enableFlag"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -140,9 +144,14 @@
...
@@ -140,9 +144,14 @@
</el-col>
</el-col>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"是否启用"
label-width=
"100px"
prop=
"enableFlag"
>
<el-form-item
label=
"是否启用"
label-width=
"100px"
prop=
"enableFlag"
>
<el-input
v-model=
"form.enableFlag"
placeholder=
"请输入是否启用"
/>
<el-radio-group
v-model=
"form.enableFlag"
>
<el-radio
v-for=
"dict in dict.type.sys_yes_no"
:key=
"dict.value"
:label=
"dict.value"
>
{{dict.label}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</el-row>
</el-row>
...
@@ -160,7 +169,7 @@
...
@@ -160,7 +169,7 @@
</el-row>
</el-row>
</el-form>
</el-form>
<SizeGroupItem
v-if=
"form.sizeGroupId"
/>
<SizeGroupItem
v-if=
"form.sizeGroupId"
:sizeGroupId=
"form.sizeGroupId"
/>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
...
@@ -174,7 +183,7 @@ import { listGroup, getGroup, delGroup, addGroup, updateGroup } from "@/api/mes/
...
@@ -174,7 +183,7 @@ import { listGroup, getGroup, delGroup, addGroup, updateGroup } from "@/api/mes/
import
SizeGroupItem
from
'./item/index.vue'
import
SizeGroupItem
from
'./item/index.vue'
export
default
{
export
default
{
name
:
"Group"
,
name
:
"Group"
,
dicts
:[
'size_type'
],
dicts
:[
'size_type'
,
'sys_yes_no'
],
components
:
{
SizeGroupItem
},
components
:
{
SizeGroupItem
},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/mes/md/sizegroup/item/index.vue
View file @
70407814
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
queryParams
:
{
queryParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
sizeGroupId
:
null
,
sizeGroupId
:
this
.
sizeGroupId
,
sizeIndex
:
null
,
sizeIndex
:
null
,
sizeName
:
null
,
sizeName
:
null
,
sizeDisplayName
:
null
,
sizeDisplayName
:
null
,
...
@@ -238,6 +238,10 @@ export default {
...
@@ -238,6 +238,10 @@ export default {
rules
:
{},
rules
:
{},
};
};
},
},
props
:
{
optType
:
undefined
,
sizeGroupId
:
undefined
,
},
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
},
},
...
@@ -260,7 +264,7 @@ export default {
...
@@ -260,7 +264,7 @@ export default {
reset
()
{
reset
()
{
this
.
form
=
{
this
.
form
=
{
sizeGroupItemId
:
null
,
sizeGroupItemId
:
null
,
sizeGroupId
:
null
,
sizeGroupId
:
this
.
sizeGroupId
,
sizeIndex
:
null
,
sizeIndex
:
null
,
sizeName
:
null
,
sizeName
:
null
,
sizeDisplayName
:
null
,
sizeDisplayName
:
null
,
...
...
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