Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
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
hooloo
web
soss
Commits
81d8474f
Commit
81d8474f
authored
Aug 06, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规格备注
parent
fdc97ad5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
src/components/SelectSpecs/index.vue
+2
-2
src/views/goods/spec/index.vue
+5
-11
No files found.
src/components/SelectSpecs/index.vue
View file @
81d8474f
...
...
@@ -21,8 +21,8 @@
</el-table-column>
<el-table-column
label=
"规格名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"规格编码"
align=
"center"
prop=
"code"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark
s
"
/>
<el-table-column
label=
"原料备注"
align=
"center"
prop=
"
r
emark"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"原料备注"
align=
"center"
prop=
"
materialR
emark"
/>
<el-table-column
label=
"选项"
align=
"center"
prop=
"specRules"
>
<
template
slot-scope=
"scope"
>
<el-tag
style=
"margin-right:10px;"
v-for=
"item in scope.row.specRules"
:key=
"item.id"
>
...
...
src/views/goods/spec/index.vue
View file @
81d8474f
...
...
@@ -46,7 +46,7 @@
<span
v-else
>
停用
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"原料备注"
width=
"180"
align=
"center"
prop=
"
r
emark"
/>
<el-table-column
label=
"原料备注"
width=
"180"
align=
"center"
prop=
"
materialR
emark"
/>
<el-table-column
label=
"操作"
width=
"200"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
...
...
@@ -75,12 +75,12 @@
<el-form-item
label=
"选项"
prop=
"specRules"
>
<SpecsSelect
:initData=
"form.specRules"
ref=
"specsSelect"
/>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remarks"
>
<el-input
v-model=
"form.remarks"
type=
"textarea"
placeholder=
"请输入内容"
maxlength=
"500"
show-word-limit
/>
</el-form-item>
<el-form-item
label=
"原料备注"
prop=
"remark"
>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入内容"
maxlength=
"500"
show-word-limit
/>
</el-form-item>
<el-form-item
label=
"原料备注"
prop=
"materialRemark"
>
<el-input
v-model=
"form.materialRemark"
type=
"textarea"
placeholder=
"请输入内容"
maxlength=
"500"
show-word-limit
/>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
v-hasPermi=
"['system:spec:edit']"
>
确 定
</el-button>
...
...
@@ -198,12 +198,6 @@ export default {
this
.
resetForm
(
"queryForm"
);
this
.
handleQuery
();
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
id
);
this
.
single
=
selection
.
length
!==
1
;
this
.
multiple
=
!
selection
.
length
;
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
reset
();
...
...
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