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
bb152cbe
Commit
bb152cbe
authored
Nov 05, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加品牌授权类型
parent
e918ec48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
dict.js
src/utils/dict.js
+1
-0
creatPayment.vue
src/views/ecw/financial/creatPayment.vue
+1
-1
index.vue
src/views/ecw/productBrank/Empower/index.vue
+9
-3
No files found.
src/utils/dict.js
View file @
bb152cbe
...
...
@@ -181,6 +181,7 @@ export const DICT_TYPE = {
MANUAL_EXCEPTION_TYPE
:
'
manual_exception_type
'
,
APPLY_STATUS
:
'
apply_status
'
,
//特价申请审核状态
WAREHOUSING_SPECIFICATION_TYPE
:
'
warehousing_specification_type
'
,
ECW_AUTH_TYPE
:
'
auth_type
'
,
//品牌授权
ECASH_INIT
:
'
ecash_init
'
,
//e-cash
FEE_TYPE
:
'
receivable_fee_type
'
,
...
...
src/views/ecw/financial/creatPayment.vue
View file @
bb152cbe
...
...
@@ -197,7 +197,7 @@
</el-table-column>
<el-table-column
:label=
"$t('价税合计(RMB)')"
align=
"center"
prop=
"total"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
total
=
((
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
+
(
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
*
(
scope
.
row
.
taxRate
/
100
)).
toFixed
(
6
)
}}
</span>
<span>
{{
scope
.
row
.
total
=
((
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
+
(
scope
.
row
.
totalAmount
*
scope
.
row
.
exchangeRate
)
*
(
scope
.
row
.
taxRate
/
100
)).
toFixed
(
2
)
}}
</span>
<!--
<span>
{{
scope
.
row
.
total
}}
</span>
-->
</
template
>
</el-table-column>
...
...
src/views/ecw/productBrank/Empower/index.vue
View file @
bb152cbe
...
...
@@ -93,12 +93,13 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"startTime"
width=
"200px"
label=
"授权时间"
>
<
template
v-slot=
"{row}"
>
<span>
{{
row
.
startTime
?(
parseTime
(
row
.
startTime
,
'
{y
}
-{m
}
-{d
}
'
)
+
'
-
'
+
parseTime
(
row
.
endTime
,
'
{y
}
-{m
}
-{d
}
'
)):
'
永久
'
}}
<
/span
>
<span
>
{{
row
.
startTime
?(
parseTime
(
row
.
startTime
,
'
{y
}
-{m
}
-{d
}
'
)
+
'
-
'
+
parseTime
(
row
.
endTime
,
'
{y
}
-{m
}
-{d
}
'
)):
'
永久
'
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
...
...
@@ -130,9 +131,13 @@
title
=
"
添加
"
:
visible
.
sync
=
"
addDialog.dialogVisible
"
width
=
"
600px
"
>
<
el
-
form
ref
=
"
form
"
:
model
=
"
addDialog.form
"
label
-
width
=
"
80px
"
>
<
el
-
form
-
item
label
=
"
客户名称
"
>
{{
addDialog
.
form
.
customerName
}}
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
授权时间
"
>
<
el
-
form
-
item
label
=
"
收费模式
"
>
<
dict
-
selector
v
-
model
=
"
addDialog.form.authType
"
:
type
=
"
DICT_TYPE.ECW_AUTH_TYPE
"
><
/dict-selector
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
授权时间
"
v
-
if
=
"
addDialog.form.authType==1
"
>
<!--
<
el
-
date
-
picker
v
-
model
=
"
addDialog.dateRange
"
@
chang
=
"
handleDatePick
"
...
...
@@ -256,7 +261,8 @@ export default {
"
fileUrl
"
:
""
,
"
productBrandId
"
:
null
,
"
startTime
"
:
""
,
"
status
"
:
0
"
status
"
:
0
,
"
authType
"
:
'
0
'
}
,
dateRange
:
[]
}
,
...
...
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