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
cd46f825
Commit
cd46f825
authored
Nov 08, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金,暗佣+产品全部参数修改为-1
parent
e4dbc2c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
index.vue
src/views/ecw/customerCommissionInfo/index.vue
+7
-7
No files found.
src/views/ecw/customerCommissionInfo/index.vue
View file @
cd46f825
...
@@ -318,8 +318,8 @@ export default {
...
@@ -318,8 +318,8 @@ export default {
//暗佣金+产品
//暗佣金+产品
darkServantAndProductForm
:
[
darkServantAndProductForm
:
[
{
{
productType
:
0
,
//商品类型
productType
:
-
1
,
//商品类型
productAttr
:
0
,
//暗佣 产品属性
productAttr
:
-
1
,
//暗佣 产品属性
darkCommission
:
''
,
//暗佣 佣金
darkCommission
:
''
,
//暗佣 佣金
darkCurrency
:
null
,
// 暗佣 货币
darkCurrency
:
null
,
// 暗佣 货币
darkUnit
:
undefined
,
// 暗佣 单位
darkUnit
:
undefined
,
// 暗佣 单位
...
@@ -406,8 +406,8 @@ export default {
...
@@ -406,8 +406,8 @@ export default {
console
.
log
(
this
.
weightList
[
0
].
id
,
'
this.weightList[0].id
'
);
console
.
log
(
this
.
weightList
[
0
].
id
,
'
this.weightList[0].id
'
);
this
.
$set
(
this
.
darkServantAndProductForm
,
0
,
this
.
$set
(
this
.
darkServantAndProductForm
,
0
,
{
{
productType
:
0
,
//商品类型
productType
:
-
1
,
//商品类型
productAttr
:
0
,
//暗佣 产品属性
productAttr
:
-
1
,
//暗佣 产品属性
darkCommission
:
''
,
//暗佣 佣金
darkCommission
:
''
,
//暗佣 佣金
darkCurrency
:
parseInt
(
this
.
currencyList
[
0
].
id
),
// 暗佣 货币
darkCurrency
:
parseInt
(
this
.
currencyList
[
0
].
id
),
// 暗佣 货币
darkUnit
:
parseInt
(
this
.
weightList
[
0
].
id
),
// 暗佣 单位
darkUnit
:
parseInt
(
this
.
weightList
[
0
].
id
),
// 暗佣 单位
...
@@ -522,8 +522,8 @@ export default {
...
@@ -522,8 +522,8 @@ export default {
addToFn
(
val
){
addToFn
(
val
){
if
(
val
===
1
){
if
(
val
===
1
){
this
.
darkServantAndProductForm
.
push
({
this
.
darkServantAndProductForm
.
push
({
productType
:
0
,
//商品类型
productType
:
-
1
,
//商品类型
productAttr
:
0
,
//暗佣 产品属性
productAttr
:
-
1
,
//暗佣 产品属性
darkCommission
:
''
,
//暗佣 佣金
darkCommission
:
''
,
//暗佣 佣金
darkCurrency
:
parseInt
(
this
.
currencyList
[
0
].
id
),
// 暗佣 货币
darkCurrency
:
parseInt
(
this
.
currencyList
[
0
].
id
),
// 暗佣 货币
darkUnit
:
this
.
darkServantAndProductForm
[
0
].
darkUnit
,
// 暗佣 单位
darkUnit
:
this
.
darkServantAndProductForm
[
0
].
darkUnit
,
// 暗佣 单位
...
@@ -599,7 +599,7 @@ export default {
...
@@ -599,7 +599,7 @@ export default {
commodityList
().
then
(
res
=>
{
commodityList
().
then
(
res
=>
{
this
.
commodity
=
res
.
data
this
.
commodity
=
res
.
data
if
(
this
.
$route
.
params
.
dictId
==
0
||
(
this
.
form
.
type
==
2
&&
this
.
form
.
darkReturnType
!=
1
)){
if
(
this
.
$route
.
params
.
dictId
==
0
||
(
this
.
form
.
type
==
2
&&
this
.
form
.
darkReturnType
!=
1
)){
this
.
darkServantAndProductForm
.
forEach
(
item
=>
{
item
.
productType
=
0
})
this
.
darkServantAndProductForm
.
forEach
(
item
=>
{
item
.
productType
=
-
1
})
}
}
})
})
},
},
...
...
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