Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
172a22db
Commit
172a22db
authored
Jul 26, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善路线列表和批量修改
parent
492ec523
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
92 additions
and
118 deletions
+92
-118
edit.vue
src/views/ecw/productPrice/edit.vue
+80
-106
index.vue
src/views/ecw/productPrice/index.vue
+12
-12
No files found.
src/views/ecw/productPrice/edit.vue
View file @
172a22db
This diff is collapsed.
Click to expand it.
src/views/ecw/productPrice/index.vue
View file @
172a22db
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['ecw:product-price:create']"
>
新增
</el-button>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['ecw:product-price:create']"
>
新增
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"handleEdit"
:disabled=
"multiple"
v-hasPermi=
"['ecw:product:attr']"
>
批量设置路线
</el-button>
<el-button
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"handle
Batch
Edit"
:disabled=
"multiple"
v-hasPermi=
"['ecw:product:attr']"
>
批量设置路线
</el-button>
</el-col>
</el-col>
<!--
<el-col
:span=
"1.5"
>
<!--
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
...
@@ -78,31 +78,31 @@
...
@@ -78,31 +78,31 @@
<el-table-column
label=
"序号"
prop=
"id"
width=
"50"
/>
<el-table-column
label=
"序号"
prop=
"id"
width=
"50"
/>
<el-table-column
label=
"商品编码"
align=
"center"
prop=
"productCode"
>
<el-table-column
label=
"商品编码"
align=
"center"
prop=
"productCode"
>
<template
slot-scope=
"
scope
"
>
<template
slot-scope=
"
{row}
">
<div>
<div>
{{
scope
.
row
.
productDO
.
productCode
}}
{{
row
.
productDO
?
row
.
productDO
.
productCode
:
'
无productDO字段
'
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"海关编码"
align=
"center"
prop=
"customsCode"
>
<el-table-column
label=
"海关编码"
align=
"center"
prop=
"customsCode"
>
<
template
slot-scope=
"
scope
"
>
<
template
slot-scope=
"
{row}
"
>
<div>
<div>
{{
scope
.
row
.
productDO
.
customsCode
}}
{{
row
.
productDO
?
row
.
productDO
.
customsCode
:
'
无productDO字段
'
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"商品类型"
align=
"center"
prop=
"typeId"
>
<el-table-column
label=
"商品类型"
align=
"center"
prop=
"typeId"
>
<
template
slot-scope=
"
scope
"
>
<
template
slot-scope=
"
{row}
"
>
<span>
{{
getTypeName
(
scope
.
row
.
productDO
.
typeId
)
}}
</span>
<span>
{{
row
.
productDO
?
getTypeName
(
row
.
productDO
.
typeId
)
:
'
无productDO字段
'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"商品名称"
align=
"center"
prop=
"productName"
>
<el-table-column
label=
"商品名称"
align=
"center"
prop=
"productName"
>
<
template
slot-scope=
"
scope
"
>
<
template
slot-scope=
"
{row}
"
>
<div>
<div>
{{
scope
.
row
.
productDO
.
titleZh
}}
{{
row
.
productDO
?
row
.
productDO
.
titleZh
:
'
无productDO字段
'
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -547,12 +547,12 @@ export default {
...
@@ -547,12 +547,12 @@ export default {
},
},
// 批量设置路线
// 批量设置路线
handleEdit
()
{
handle
Batch
Edit
()
{
this
.
$router
.
push
(
'
product-price/edit?id
=
'
+
this
.
ids
)
this
.
$router
.
push
(
'
../../lineProject/product-price/edit?ids
=
'
+
this
.
ids
)
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
return
this
.
$router
.
push
(
'
../../lineProject/product-price/edit?id=
'
+
row
.
id
)
return
this
.
$router
.
push
(
'
../../lineProject/product-price/edit?id
s
=
'
+
row
.
id
)
},
},
updateStatus
(
row
,
type
)
{
updateStatus
(
row
,
type
)
{
...
...
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