Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
01d70a0f
Commit
01d70a0f
authored
Sep 01, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 奥莱抵金券
parent
cb3871ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
form.vue
src/views/card/form.vue
+8
-2
No files found.
src/views/card/form.vue
View file @
01d70a0f
...
...
@@ -123,8 +123,14 @@
<recycle-scroller
:items=
"storeList"
key-field=
"storeId"
:style=
"{ height: storeList.length > 6 ? '287px' : 'auto' }"
:itemSize=
"48"
v-slot=
"{ item }"
>
<div
class=
"store-row"
>
<div
class=
"store-cell"
style=
"width: 197px"
>
<div
class=
"store-name"
>
{{ item.storeName }}
</div>
<div
class=
"store-code"
>
code:{{ item.storeCode }}
</div>
<el-tooltip
placement=
"top"
:disabled=
"item.storeName.length < 13"
>
<div
slot=
"content"
style=
"max-width: 400px"
>
{{ item.storeName }}
</div>
<div
class=
"store-name"
>
{{ item.storeName.length >= 13 ? `${item.storeName.slice(0, 13)}...` : item.storeName }}
</div>
</el-tooltip>
<el-tooltip
placement=
"top"
:disabled=
"item.storeCode.length < 20"
>
<div
slot=
"content"
style=
"max-width: 400px"
>
code:{{ item.storeCode }}
</div>
<div
class=
"store-code"
>
code:{{ item.storeCode.length >= 20 ? `${item.storeCode.slice(0, 20)}...` : item.storeCode }}
</div>
</el-tooltip>
</div>
<div
class=
"store-cell"
style=
"width: 284px"
><el-input-number
v-model=
"item.costValueProportion"
:disabled=
"isEdit && form.costStoreList.some(el => el.storeId == item.storeId)"
:min=
"0"
:max=
"100"
:precision=
"0"
:controls=
"false"
style=
"margin-right: 10px; width: 130px"
placeholder=
"请输入成本比例"
></el-input-number>
%
</div>
<div
class=
"store-cell"
style=
"width: 135px"
>
{{ typeof item.costValueProportion == 'number'
&&
typeof form.cardDenomination == 'number' ? (item.costValueProportion * form.cardDenomination) / 100 : 0 }} 元
</div>
...
...
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